body {
    font-family: 'Google Sans Flex', sans-serif;
}

.social-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid;
    font-size: 1.35rem;
    text-decoration: none;
    transition: transform .2s ease, filter .2s ease;
}


.social-icon:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.social-linkedin {
    color: #0A66C2;
    border-color: #0A66C2;
    background: rgba(10, 102, 194, 0.12);
}

.social-instagram {
    color: #E4405F;
    border-color: #E4405F;
    background: rgba(228, 64, 95, 0.12);
}

.social-youtube {
    color: #FF0000;
    border-color: #FF0000;
    background: rgba(255, 0, 0, 0.12);
}

.social-facebook {
    color: #1877F2;
    border-color: #1877F2;
    background: rgba(24, 119, 242, 0.12);
}

.consult-icon-wrap {
    width: 74px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.14);
}

.consult-icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.core-card-img {
    height: 210px;
    object-fit: cover;
}

.core-card-title {
    font-size: 1.3rem;
    line-height: 1.2;
}

.industry-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.industry-subtitle {
    font-size: 0.85rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.cta-circle-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
    border: 6px solid rgba(255, 255, 255, 0.12);
}

.lang-toggle {
    padding: 0;
    border: 0;
    background: transparent;
    line-height: 1;
}

.lang-toggle::after {
    margin-left: 0.45rem;
    vertical-align: middle;
}

.lang-flag {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.lang-flag-sm {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.admin-topbar {
    background: #f1f5f9;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.admin-topbar-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.admin-topbar-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #334155;
    font-size: 0.86rem;
    font-weight: 600;
    min-width: 0;
}

.admin-topbar-label,
.admin-topbar-separator,
.admin-topbar-locale {
    color: #64748b;
}

.admin-topbar-user {
    color: #0f172a;
}

.admin-topbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.admin-topbar-link {
    display: inline-flex;
    align-items: center;
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.admin-topbar-link:hover {
    color: #0d6efd;
}

.navbar-search-panel {
    position: absolute;
    top: calc(100% - 2px);
    right: 0;
    z-index: 20;
    width: min(340px, 100%);
    padding-top: 0.75rem;
}

.navbar-search-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
    padding: 0.9rem;
}

.admin-alert {
    border-radius: 1rem;
    margin-bottom: 0.85rem;
}

.admin-edit-anchor {
    position: relative;
}

.admin-edit-anchor-hero {
    padding-right: 3.75rem;
}

.admin-edit-anchor-stats {
    padding-top: 1.25rem;
}

.admin-section-tools {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 12;
    width: auto;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.admin-edit-button {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #0d6efd;
    border: 1px solid rgba(13, 110, 253, 0.24);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
    pointer-events: auto;
}

.admin-edit-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
    background: #ffffff;
    color: #0b5ed7;
}

.admin-editor-card {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 1.25rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    padding: 1rem;
    margin-top: 3.4rem !important;
    width: min(720px, calc(100vw - 2rem));
    pointer-events: auto;
}

.admin-json-field {
    min-height: 260px;
    width: 100%;
    font-family: Consolas, Monaco, 'Courier New', monospace;
    font-size: 0.92rem;
    line-height: 1.6;
}

.zoomable-image {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
    transform-origin: center center;
}

.zoomable-image:hover {
    transform: scale(1.08);
    filter: saturate(1.04);
}

.media-hover-card {
    overflow: hidden;
}

.industry-overlay {
    background: linear-gradient(to top, rgba(2, 6, 23, 0.84) 0%, rgba(2, 6, 23, 0.5) 34%, rgba(2, 6, 23, 0) 80%);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translate3d(0, 72px, 0);
    visibility: hidden;
    will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
    visibility: visible;
    animation: landioFadeUp 1.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--reveal-delay, 0ms);
}

.blog-featured-card,
.insight-list-card,
.empty-state-card {
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.blog-featured-card {
    min-height: 100%;
}

.lazy-article-hidden {
    display: none;
}

.lazy-article-item.lazy-article-entering {
    animation: landioFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lazy-articles-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 96px;
    margin-top: 1.5rem;
}

.lazy-loader-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.lazy-loader-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #0d6efd;
    animation: lazyDotPulse 1.05s ease-in-out infinite;
}

.lazy-loader-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.lazy-loader-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

.lazy-articles-sentinel {
    width: 100%;
    height: 2px;
}

.article-shell {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 32%);
}

.article-detail-card,
.article-sidebar-card {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1.5rem;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.article-detail-card {
    padding: 2rem;
}

.article-sidebar-card {
    padding: 1.5rem;
    position: sticky;
    top: 1.5rem;
}

.article-body {
    color: #334155;
    font-size: 1.02rem;
    line-height: 1.85;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    color: #0f172a;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-body ul,
.article-body ol {
    padding-left: 1.35rem;
    margin-bottom: 1rem;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

.article-body p:last-child {
    margin-bottom: 0;
}

.insight-list-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.insight-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}

.empty-state-card {
    max-width: 42rem;
    padding: 3rem 2rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1.5rem;
    background: #fff;
}

.empty-state-icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1rem;
    background: rgba(13, 110, 253, 0.12);
    color: #0d6efd;
    font-size: 1.8rem;
}

@keyframes landioFadeUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 72px, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes lazyDotPulse {
    0%,
    80%,
    100% {
        opacity: 0.35;
        transform: scale(0.78);
    }

    40% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 991.98px) {
    .admin-topbar-inner {
        min-height: auto;
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
        flex-wrap: wrap;
    }

    .admin-topbar-meta {
        width: 100%;
        flex-wrap: wrap;
    }

    .admin-topbar-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .navbar-search-panel {
        left: 0;
        right: 0;
        width: 100%;
    }

    .admin-section-tools {
        top: 0.75rem;
        right: 0.75rem;
    }

    .admin-edit-button {
        width: 38px;
        height: 38px;
    }

    .article-detail-card,
    .article-sidebar-card {
        padding: 1.25rem;
    }

    .article-sidebar-card {
        position: static;
    }

}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
}
