:root {
    --promial-theme-primary: #f59e0b;
    --promial-theme-primary-dark: #d97706;
    --promial-theme-dark: #111827;
    --promial-theme-muted: #64748b;
    --promial-theme-border: #e5e7eb;
    --promial-theme-bg: #f4f5f7;
    --promial-theme-card: #ffffff;
    --promial-theme-radius: 5px;
    --promial-theme-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    --promial-theme-container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--promial-theme-dark);
    background: var(--promial-theme-bg);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--promial-theme-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.promial-theme-container {
    width: min(var(--promial-theme-container), calc(100% - 40px));
    margin: 0 auto;
}

.promial-theme-skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: #fff;
    padding: 10px 14px;
    z-index: 9999;
}

.promial-theme-skip-link:focus {
    left: 10px;
}

.promial-theme-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.admin-bar .promial-theme-header {
    top: 32px;
}

.promial-theme-header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.promial-theme-branding {
    min-width: 180px;
}

.promial-theme-branding img {
    max-height: 54px;
    width: auto;
}

.promial-theme-site-title {
    display: block;
    color: var(--promial-theme-primary);
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
}

.promial-theme-site-description {
    margin: 4px 0 0;
    color: var(--promial-theme-muted);
    font-size: 12px;
}

.promial-theme-navigation {
    flex: 1;
}

.promial-theme-menu,
.promial-theme-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.promial-theme-menu {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.promial-theme-menu li {
    position: relative;
}

.promial-theme-menu a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 13px;
    border-radius: var(--promial-theme-radius);
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
}

.promial-theme-menu a:hover,
.promial-theme-menu .current-menu-item > a,
.promial-theme-menu .current-menu-ancestor > a {
    background: var(--promial-theme-dark);
    color: #fff;
}

.promial-theme-menu .sub-menu {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 220px;
    list-style: none;
    margin: 0;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--promial-theme-border);
    border-radius: var(--promial-theme-radius);
    box-shadow: var(--promial-theme-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.18s ease;
}

.promial-theme-menu li:hover > .sub-menu,
.promial-theme-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.promial-theme-menu .sub-menu a {
    justify-content: flex-start;
    min-height: auto;
    padding: 10px 12px;
}

.promial-theme-menu-toggle,
.promial-theme-search-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--promial-theme-border);
    border-radius: var(--promial-theme-radius);
    background: #fff;
    color: var(--promial-theme-dark);
    cursor: pointer;
}

.promial-theme-menu-toggle {
    display: none;
}

.promial-theme-menu-toggle svg,
.promial-theme-search-toggle svg,
.promial-theme-read-more svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.promial-theme-search-panel {
    padding: 0 0 20px;
}

.promial-theme-search-form {
    display: flex;
    gap: 8px;
    width: 100%;
}

.promial-theme-search-form label {
    flex: 1;
}

.promial-theme-search-field,
.promial-theme-search-submit {
    width: 100%;
    min-height: 46px;
    border-radius: var(--promial-theme-radius);
    border: 1px solid var(--promial-theme-border);
    padding: 10px 14px;
    font: inherit;
}

.promial-theme-search-submit {
    width: auto;
    min-width: 110px;
    border: 0;
    background: var(--promial-theme-dark);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.promial-theme-main {
    min-height: 65vh;
}

.promial-theme-page-header,
.promial-theme-single-header {
    padding: 72px 0 34px;
    text-align: center;
}

.promial-theme-page-header h1,
.promial-theme-single-header h1 {
    max-width: 920px;
    margin: 0 auto;
    color: #0f172a;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.promial-theme-eyebrow {
    margin: 0 0 12px;
    color: var(--promial-theme-primary-dark);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.promial-theme-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    padding: 24px 0 70px;
}

.promial-theme-content {
    min-width: 0;
}

.promial-theme-page-content,
.promial-theme-entry-content,
.promial-theme-empty {
    background: #fff;
    border: 1px solid var(--promial-theme-border);
    border-radius: var(--promial-theme-radius);
    padding: clamp(22px, 4vw, 44px);
    box-shadow: var(--promial-theme-shadow);
}

.promial-theme-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.promial-theme-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--promial-theme-border);
    border-radius: var(--promial-theme-radius);
    box-shadow: var(--promial-theme-shadow);
}

.promial-theme-card-image {
    display: block;
    aspect-ratio: 1.35 / 1;
    background: #e5e7eb;
    overflow: hidden;
}

.promial-theme-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.promial-theme-card:hover .promial-theme-card-image img {
    transform: scale(1.04);
}

.promial-theme-card-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0, #f8fafc);
}

.promial-theme-card-body {
    padding: 18px;
}

.promial-theme-card-meta {
    margin-bottom: 8px;
    color: var(--promial-theme-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.promial-theme-card-title {
    margin: 0 0 10px;
    color: #111827;
    font-size: 22px;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.promial-theme-card-excerpt {
    color: #475569;
    font-size: 14px;
}

.promial-theme-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--promial-theme-primary-dark);
    font-size: 14px;
    font-weight: 900;
}

.promial-theme-single-image {
    overflow: hidden;
    margin: 0 0 28px;
    border-radius: var(--promial-theme-radius);
    box-shadow: var(--promial-theme-shadow);
}

.promial-theme-single-image img {
    width: 100%;
}

.promial-theme-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.promial-theme-widget {
    background: #fff;
    border: 1px solid var(--promial-theme-border);
    border-radius: var(--promial-theme-radius);
    padding: 20px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.promial-theme-widget-title {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.15;
}

.promial-theme-footer-widgets {
    padding: 42px 0;
    background: #fff;
    border-top: 1px solid var(--promial-theme-border);
}

.promial-theme-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.promial-theme-footer {
    padding: 22px 0;
    background: #1f1f1f;
    color: #cbd5e1;
    font-size: 14px;
}

.promial-theme-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.promial-theme-footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.promial-theme-promial-business-content {
    padding: 38px 0 70px;
}

.promial-theme-business-single .promial-theme-page-header,
.promial-theme-business-single .promial-theme-single-header {
    display: none;
}

.navigation.pagination {
    margin-top: 30px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nav-links a,
.nav-links span {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--promial-theme-radius);
    background: #fff;
    border: 1px solid var(--promial-theme-border);
    font-weight: 900;
}

.nav-links .current {
    background: var(--promial-theme-dark);
    color: #fff;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1024px) {
    .promial-theme-layout {
        grid-template-columns: 1fr;
    }

    .promial-theme-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 782px) {
    .admin-bar .promial-theme-header {
        top: 46px;
    }
}

@media (max-width: 760px) {
    .promial-theme-container {
        width: min(100% - 24px, var(--promial-theme-container));
    }

    .promial-theme-header-inner {
        min-height: 68px;
    }

    .promial-theme-menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .promial-theme-navigation {
        position: absolute;
        left: 12px;
        right: 12px;
        top: calc(100% + 8px);
        display: none;
        background: #fff;
        border: 1px solid var(--promial-theme-border);
        border-radius: var(--promial-theme-radius);
        padding: 10px;
        box-shadow: var(--promial-theme-shadow);
    }

    .promial-theme-navigation.is-open {
        display: block;
    }

    .promial-theme-menu {
        display: block;
    }

    .promial-theme-menu a {
        justify-content: flex-start;
    }

    .promial-theme-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        padding: 0 0 0 14px;
    }

    .promial-theme-page-header,
    .promial-theme-single-header {
        padding: 42px 0 24px;
    }

    .promial-theme-post-grid,
    .promial-theme-footer-grid {
        grid-template-columns: 1fr;
    }

    .promial-theme-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

.promial-theme-category-header {
    text-align: left;
}

.promial-theme-category-header-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.promial-theme-category-header .promial-theme-archive-description {
    max-width: 760px;
    margin-top: 12px;
    color: var(--promial-theme-muted);
}

.promial-theme-view-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--promial-theme-border);
    border-radius: var(--promial-theme-radius);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.promial-theme-view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: var(--promial-theme-radius);
    color: #475569;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}

.promial-theme-view-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.promial-theme-view-button.is-active,
.promial-theme-view-button:hover {
    background: var(--promial-theme-dark);
    color: #fff;
}

.promial-theme-post-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.promial-theme-list-card {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    min-height: 168px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--promial-theme-border);
    border-radius: var(--promial-theme-radius);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.promial-theme-list-card:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.promial-theme-list-card-image {
    position: relative;
    display: block;
    min-height: 168px;
    background: #e5e7eb;
    overflow: hidden;
}

.promial-theme-list-card-image img {
    width: 100%;
    height: 100%;
    min-height: 168px;
    object-fit: cover;
    transition: transform 0.24s ease;
}

.promial-theme-list-card:hover .promial-theme-list-card-image img {
    transform: scale(1.04);
}

.promial-theme-list-card-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 168px;
    background: linear-gradient(135deg, #e2e8f0, #f8fafc);
}

.promial-theme-list-card-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    padding: 6px 9px;
    border-radius: var(--promial-theme-radius);
    background: var(--promial-theme-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.promial-theme-list-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 18px 20px 18px 0;
}

.promial-theme-list-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.promial-theme-list-card-meta a {
    color: var(--promial-theme-primary-dark);
}

.promial-theme-list-card-title {
    margin: 0;
    color: #111827;
    font-size: clamp(20px, 2.4vw, 30px);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.promial-theme-list-card-title a:hover {
    color: var(--promial-theme-primary-dark);
}

.promial-theme-list-card-excerpt {
    margin-top: 10px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
}

.promial-theme-list-card-excerpt p {
    margin: 0;
}

.promial-theme-list-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    color: var(--promial-theme-primary-dark);
    font-size: 13px;
    font-weight: 900;
}

.promial-theme-list-card-link svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 900px) {
    .promial-theme-category-header-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .promial-theme-list-card {
        grid-template-columns: 220px minmax(0, 1fr);
    }
}

@media (max-width: 620px) {
    .promial-theme-view-switcher,
    .promial-theme-view-button {
        width: 100%;
    }

    .promial-theme-view-button {
        flex: 1;
    }

    .promial-theme-list-card {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .promial-theme-list-card-image,
    .promial-theme-list-card-image img,
    .promial-theme-list-card-placeholder {
        min-height: 210px;
    }

    .promial-theme-list-card-body {
        padding: 18px;
    }
}

/* Single blog post modern layout */
.promial-theme-single-post .promial-theme-single-modern-header {
    padding: 76px 0 28px;
    text-align: center;
}

.promial-theme-single-modern-header h1 {
    max-width: 980px;
    margin: 12px auto 14px;
    color: #0f172a;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.promial-theme-single-categories {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.promial-theme-single-categories a,
.promial-theme-single-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: var(--promial-theme-radius);
    background: rgba(245, 158, 11, 0.12);
    color: var(--promial-theme-primary-dark);
    padding: 6px 11px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.promial-theme-single-categories a:hover,
.promial-theme-single-tags a:hover {
    background: var(--promial-theme-primary);
    color: #111827;
}

.promial-theme-single-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: var(--promial-theme-muted);
    font-size: 14px;
    font-weight: 700;
}

.promial-theme-single-meta span:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-left: 14px;
    border-radius: 999px;
    background: #cbd5e1;
    vertical-align: middle;
}

.promial-theme-single-modern-image {
    position: relative;
    overflow: hidden;
    margin: 0 0 26px;
    border-radius: var(--promial-theme-radius);
    background: #e5e7eb;
    box-shadow: var(--promial-theme-shadow);
}

.promial-theme-single-modern-image--compact {
    aspect-ratio: 16 / 9;
    max-height: var(--promial-theme-single-image-max-height, 460px);
}

.promial-theme-single-modern-image--wide {
    aspect-ratio: 21 / 9;
    max-height: var(--promial-theme-single-image-max-height, 460px);
}

.promial-theme-single-modern-image--full {
    max-height: none;
}

.promial-theme-single-modern-image a,
.promial-theme-single-modern-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.promial-theme-single-modern-image img {
    object-fit: cover;
}

.promial-theme-single-modern-image--full img {
    height: auto;
    object-fit: contain;
}

.promial-theme-featured-lightbox-trigger {
    cursor: zoom-in;
}

.promial-theme-featured-lightbox-trigger::after {
    content: "↗";
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: var(--promial-theme-radius);
    background: rgba(15, 23, 42, 0.82);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.promial-theme-featured-lightbox-trigger:hover::after {
    opacity: 1;
}

.promial-theme-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(2, 6, 23, 0.9);
}

.promial-theme-lightbox.is-open {
    display: flex;
}

.promial-theme-lightbox img {
    max-width: min(100%, 1180px);
    max-height: 90vh;
    border-radius: var(--promial-theme-radius);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.promial-theme-lightbox button {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: var(--promial-theme-radius);
    background: #fff;
    color: #0f172a;
    font-size: 26px;
    font-weight: 900;
    cursor: pointer;
}

.promial-theme-single-modern-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    padding: 18px 0 72px;
}

.promial-theme-single-main {
    min-width: 0;
}

.promial-theme-single-modern-content {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.promial-theme-single-share {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 16px;
}

.promial-theme-single-share a,
.promial-theme-author-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 36px;
    border-radius: var(--promial-theme-radius);
    color: #fff;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.promial-theme-single-share a:hover,
.promial-theme-author-socials a:hover {
    transform: translateY(-2px);
    color: #fff;
    opacity: 0.92;
}

.promial-theme-single-share svg,
.promial-theme-author-socials svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.promial-theme-share-facebook,
.promial-theme-author-socials a:nth-child(1) {
    background: #3b5998;
}

.promial-theme-share-x,
.promial-theme-author-socials a:nth-child(2) {
    background: #111827;
}

.promial-theme-share-linkedin,
.promial-theme-author-socials a:nth-child(3) {
    background: #0a66c2;
}

.promial-theme-share-copy,
.promial-theme-author-socials a:nth-child(4),
.promial-theme-author-socials a:nth-child(5) {
    background: var(--promial-theme-primary-dark);
}

.promial-theme-share-facebook svg,
.promial-theme-author-socials a[aria-label="Facebook"] svg {
    fill: currentColor;
    stroke: none;
}

.promial-theme-share-linkedin svg,
.promial-theme-author-socials a[aria-label="LinkedIn"] svg {
    fill: currentColor;
    stroke: none;
}

.promial-theme-share-copy.is-copied {
    background: #16a34a;
}

.promial-theme-single-tags {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 22px 0 28px;
    padding: 20px;
    border: 1px solid var(--promial-theme-border);
    border-radius: var(--promial-theme-radius);
    background: #fff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.04);
}

.promial-theme-single-tags > span {
    flex: 0 0 auto;
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.promial-theme-single-tags > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.promial-theme-author-box {
    display: grid;
    grid-template-columns: 62px 110px minmax(0, 1fr);
    overflow: hidden;
    margin: 30px 0 34px;
    border: 1px solid var(--promial-theme-border);
    border-radius: var(--promial-theme-radius);
    background: #fff;
    box-shadow: var(--promial-theme-shadow);
}

.promial-theme-author-socials {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    padding: 18px 10px;
    background: #f1f5f9;
}

.promial-theme-author-socials a {
    width: 38px;
    height: 38px;
    background: transparent;
    color: #0f172a;
}

.promial-theme-author-socials a:hover {
    background: #fff;
    color: var(--promial-theme-primary-dark);
}

.promial-theme-author-avatar {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 28px 0 24px 24px;
}

.promial-theme-author-avatar img {
    width: 92px;
    height: 92px;
    border-radius: var(--promial-theme-radius);
    object-fit: cover;
}

.promial-theme-author-content {
    padding: 26px 30px 28px;
}

.promial-theme-author-content h2 {
    margin: 0;
    color: var(--promial-theme-primary-dark);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.promial-theme-author-role {
    margin: 4px 0 16px;
    color: #111827;
    font-size: 18px;
    font-style: italic;
    line-height: 1.35;
}

.promial-theme-author-description {
    margin: 0 0 16px;
    color: #334155;
    font-size: 16px;
    line-height: 1.6;
}

.promial-theme-author-latest {
    display: inline-flex;
    color: #0f172a;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .promial-theme-single-modern-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .promial-theme-single-post .promial-theme-single-modern-header {
        padding: 44px 0 20px;
    }

    .promial-theme-single-modern-image--compact,
    .promial-theme-single-modern-image--wide {
        aspect-ratio: 4 / 3;
        max-height: 320px;
    }

    .promial-theme-single-modern-layout {
        padding-bottom: 48px;
    }

    .promial-theme-author-box {
        grid-template-columns: 1fr;
    }

    .promial-theme-author-socials {
        flex-direction: row;
        justify-content: center;
    }

    .promial-theme-author-avatar {
        padding: 22px 0 0;
    }

    .promial-theme-author-content {
        padding: 20px;
        text-align: center;
    }

    .promial-theme-single-tags {
        flex-direction: column;
    }
}

/* Promial Theme v1.4.0 - single post card header + related posts */
.promial-theme-single-post .promial-theme-single-modern-layout {
    padding-top: 58px;
}

.promial-theme-single-article-card {
    overflow: hidden;
    border: 1px solid var(--promial-theme-border);
    border-radius: var(--promial-theme-radius);
    background: #fff;
    box-shadow: var(--promial-theme-shadow);
}

.promial-theme-single-post .promial-theme-single-article-card .promial-theme-single-modern-header {
    padding: 34px 34px 18px;
    background: #fff;
}

.promial-theme-single-post .promial-theme-single-article-card .promial-theme-single-modern-header h1 {
    margin-top: 12px;
    margin-bottom: 12px;
    font-size: clamp(34px, 4.2vw, 58px);
}

.promial-theme-single-post .promial-theme-single-article-card .promial-theme-single-modern-image {
    margin: 0 34px 18px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.promial-theme-single-post .promial-theme-single-article-card .promial-theme-single-share {
    margin: 0 34px 20px;
}

.promial-theme-single-post .promial-theme-single-article-card .promial-theme-single-modern-content {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding-top: 24px;
}

.promial-theme-related-posts {
    margin: 32px 0 42px;
}

.promial-theme-related-header {
    margin-bottom: 16px;
}

.promial-theme-related-header span {
    display: inline-flex;
    margin-bottom: 7px;
    color: var(--promial-theme-primary-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.promial-theme-related-header h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.promial-theme-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.promial-theme-related-card {
    overflow: hidden;
    border: 1px solid var(--promial-theme-border);
    border-radius: var(--promial-theme-radius);
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.promial-theme-related-card:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, 0.42);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.1);
}

.promial-theme-related-image,
.promial-theme-related-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #e2e8f0, #f8fafc);
    overflow: hidden;
}

.promial-theme-related-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.24s ease;
}

.promial-theme-related-card:hover .promial-theme-related-image img {
    transform: scale(1.04);
}

.promial-theme-related-body {
    padding: 16px 16px 18px;
}

.promial-theme-related-body h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 19px;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.promial-theme-related-body h3 a:hover {
    color: var(--promial-theme-primary-dark);
}

.promial-theme-related-meta {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .promial-theme-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .promial-theme-single-post .promial-theme-single-modern-layout {
        padding-top: 28px;
    }

    .promial-theme-single-post .promial-theme-single-article-card .promial-theme-single-modern-header {
        padding: 24px 18px 16px;
    }

    .promial-theme-single-post .promial-theme-single-article-card .promial-theme-single-modern-image,
    .promial-theme-single-post .promial-theme-single-article-card .promial-theme-single-share {
        margin-left: 18px;
        margin-right: 18px;
    }
}


/* Promial Theme v1.5.2 - fixed author box layout */
.promial-theme-single-main .promial-theme-author-box {
    display: grid !important;
    grid-template-columns: 58px 104px minmax(0, 1fr) !important;
    align-items: center !important;
    overflow: hidden !important;
    margin: 30px 0 34px !important;
    border: 1px solid var(--promial-theme-border) !important;
    border-radius: var(--promial-theme-radius) !important;
    background: #fff !important;
    box-shadow: var(--promial-theme-shadow) !important;
    min-height: 190px !important;
}

.promial-theme-single-main .promial-theme-author-socials {
    align-self: stretch !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 14px 8px !important;
    background: #f1f5f9 !important;
}

.promial-theme-single-main .promial-theme-author-socials a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border: 1px solid #dbe3ef !important;
    border-radius: var(--promial-theme-radius) !important;
    background: #fff !important;
    color: #0f172a !important;
    box-shadow: none !important;
    transform: none !important;
}

.promial-theme-single-main .promial-theme-author-socials a:hover {
    background: var(--promial-theme-dark) !important;
    border-color: var(--promial-theme-dark) !important;
    color: #fff !important;
    opacity: 1 !important;
}

.promial-theme-single-main .promial-theme-author-socials svg {
    width: 17px !important;
    height: 17px !important;
    max-width: 17px !important;
    max-height: 17px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.promial-theme-single-main .promial-theme-author-socials a[aria-label="Facebook"] svg,
.promial-theme-single-main .promial-theme-author-socials a[aria-label="LinkedIn"] svg {
    fill: currentColor !important;
    stroke: none !important;
}

.promial-theme-single-main .promial-theme-author-avatar {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 0 0 18px !important;
}

.promial-theme-single-main .promial-theme-author-avatar img {
    display: block !important;
    width: 82px !important;
    height: 82px !important;
    max-width: 82px !important;
    max-height: 82px !important;
    border-radius: var(--promial-theme-radius) !important;
    object-fit: cover !important;
}

.promial-theme-single-main .promial-theme-author-content {
    min-width: 0 !important;
    padding: 24px 28px !important;
    text-align: left !important;
}

.promial-theme-single-main .promial-theme-author-content h2 {
    margin: 0 0 4px !important;
    color: var(--promial-theme-primary-dark) !important;
    font-size: clamp(24px, 2.4vw, 32px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
}

.promial-theme-single-main .promial-theme-author-role {
    margin: 0 0 12px !important;
    color: #111827 !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-style: italic !important;
}

.promial-theme-single-main .promial-theme-author-description {
    margin: 0 0 14px !important;
    color: #334155 !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}

.promial-theme-single-main .promial-theme-author-latest {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #0f172a !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

@media (max-width: 680px) {
    .promial-theme-single-main .promial-theme-author-box {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
    }

    .promial-theme-single-main .promial-theme-author-socials {
        flex-direction: row !important;
        align-self: auto !important;
        padding: 12px !important;
    }

    .promial-theme-single-main .promial-theme-author-avatar {
        padding: 22px 0 0 !important;
    }

    .promial-theme-single-main .promial-theme-author-content {
        padding: 18px 20px 24px !important;
        text-align: center !important;
    }
}

/* Promial Theme v1.5.3 - horizontal silver author box */
.promial-theme-single-main .promial-theme-author-box {
    display: grid !important;
    grid-template-columns: 116px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 22px !important;
    min-height: 0 !important;
    padding: 24px 28px !important;
    overflow: hidden !important;
    margin: 30px 0 34px !important;
    border: 1px solid var(--promial-theme-border) !important;
    border-radius: var(--promial-theme-radius) !important;
    background: #fff !important;
    box-shadow: var(--promial-theme-shadow) !important;
}

.promial-theme-single-main .promial-theme-author-avatar {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.promial-theme-single-main .promial-theme-author-avatar img {
    display: block !important;
    width: 96px !important;
    height: 96px !important;
    max-width: 96px !important;
    max-height: 96px !important;
    border-radius: var(--promial-theme-radius) !important;
    object-fit: cover !important;
}

.promial-theme-single-main .promial-theme-author-content {
    min-width: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.promial-theme-single-main .promial-theme-author-content h2 {
    margin: 0 0 4px !important;
    color: var(--promial-theme-primary-dark) !important;
    font-size: clamp(24px, 2.4vw, 32px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
}

.promial-theme-single-main .promial-theme-author-role {
    margin: 0 0 8px !important;
    color: #111827 !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-style: normal !important;
}

.promial-theme-single-main .promial-theme-author-description {
    margin: 0 0 16px !important;
    color: #334155 !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}

.promial-theme-single-main .promial-theme-author-description a {
    color: #2563eb !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

.promial-theme-single-main .promial-theme-author-description a:hover {
    color: var(--promial-theme-primary-dark) !important;
    text-decoration: underline !important;
}

.promial-theme-single-main .promial-theme-author-description b,
.promial-theme-single-main .promial-theme-author-description strong {
    color: #0f172a !important;
    font-weight: 900 !important;
}

.promial-theme-single-main .promial-theme-author-footer-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    width: 100% !important;
}

.promial-theme-single-main .promial-theme-author-socials {
    align-self: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    gap: 8px !important;
    padding: 0 !important;
    background: transparent !important;
}

.promial-theme-single-main .promial-theme-author-socials a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border: 1px solid #dbe3ef !important;
    border-radius: var(--promial-theme-radius) !important;
    background: #f8fafc !important;
    color: #94a3b8 !important;
    box-shadow: none !important;
    transform: none !important;
}

.promial-theme-single-main .promial-theme-author-socials a:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #64748b !important;
    opacity: 1 !important;
}

.promial-theme-single-main .promial-theme-author-socials svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.promial-theme-single-main .promial-theme-author-socials a[aria-label="Facebook"] svg,
.promial-theme-single-main .promial-theme-author-socials a[aria-label="LinkedIn"] svg {
    fill: currentColor !important;
    stroke: none !important;
}

.promial-theme-single-main .promial-theme-author-latest {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    color: #0f172a !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

.promial-theme-single-main .promial-theme-author-latest:hover {
    color: var(--promial-theme-primary-dark) !important;
}

@media (max-width: 680px) {
    .promial-theme-single-main .promial-theme-author-box {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        padding: 22px 18px !important;
        text-align: center !important;
    }

    .promial-theme-single-main .promial-theme-author-content {
        text-align: center !important;
    }

    .promial-theme-single-main .promial-theme-author-footer-row {
        align-items: center !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 12px !important;
    }

    .promial-theme-single-main .promial-theme-author-socials {
        justify-content: center !important;
    }

    .promial-theme-single-main .promial-theme-author-latest {
        margin: 0 !important;
    }
}
