:root {
    --background-primary: #0f0f11;
    --text-primary: #f8fafc;
    --background-secondary: #18181b;
    --text-secondary: #a1a1aa;
    --accent-color: #f97316;
    --accent-hover: #ea580c;
    --accent-text: #ffffff;
    --font-family-headings: 'Plus Jakarta Sans', sans-serif;
    --font-family-body: 'Inter', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-primary);
    color: var(--text-primary);
    font-family: var(--font-family-body);
    font-size: 0.95rem;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-headings);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

a,
a:hover,
a:focus {
    text-decoration: none;
}

a {
    color: var(--accent-color);
}

a:hover,
a:focus {
    color: var(--accent-hover);
}

button,
.btn {
    cursor: pointer;
    border: none;
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

@media (min-width: 768px) {
    body {
        font-size: 1rem;
    }

    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    a,
    li,
    span,
    input,
    textarea {
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
    }

    h1 {
        font-size: clamp(1.75rem, 8vw, 2rem);
    }

    h2 {
        font-size: clamp(1.5rem, 6vw, 1.75rem);
    }

    h3 {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
    }
}

/* ===== header ===== */
.zindalo-header {
    background-color: var(--background-secondary);
    border-bottom: 1px solid rgba(248, 250, 252, 0.1);
    font-family: var(--font-family-headings);
    position: relative;
    z-index: 100;
    overflow-x: hidden;
}

.brand-logo-container {
    width: 40px;
    height: 40px;
    max-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.brand-logo-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.brand-text {
    font-family: var(--font-family-headings);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

@media (min-width: 992px) {
    .brand-text {
        font-size: 1.25rem;
    }
}

.nav-link {
    font-family: var(--font-family-body);
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    hyphens: auto;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--text-primary) !important;
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--accent-text) !important;
    font-family: var(--font-family-headings);
    font-weight: 600;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-accent:hover,
.btn-accent:focus {
    background-color: var(--accent-hover);
    color: var(--accent-text) !important;
    transform: translateY(-1px);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--background-primary);
    z-index: 1050;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.mobile-menu-overlay.is-active {
    display: flex !important;
}

.btn-close-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.btn-close-menu:hover {
    transform: rotate(90deg);
}

.mobile-nav-link {
    font-family: var(--font-family-headings);
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    line-height: 1.3;
    hyphens: auto;
}

.mobile-nav-link:hover {
    color: var(--accent-color);
}

.bi-list {
    color: var(--text-primary) !important;
}

.bi-x {
    color: var(--text-primary) !important;
}

/* ===== hero ===== */
#hero {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 100px;
    padding-bottom: 100px;
    overflow-x: hidden;
}

#hero .hero-overlay {
    background-color: rgba(15, 15, 17, 0.75);
    z-index: 1;
}

#hero .hero-container {
    z-index: 2;
}

#hero .hero-badge {
    background-color: rgba(249, 115, 22, 0.15);
    color: var(--accent-color);
    font-family: var(--font-family-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 50px;
}

#hero .hero-title {
    color: var(--text-primary);
    font-family: var(--font-family-headings);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    hyphens: auto;
}

#hero .hero-description {
    color: var(--text-secondary);
    font-family: var(--font-family-body);
    font-size: 1.25rem;
    line-height: 1.6;
}

#hero .hero-cta-btn {
    background-color: var(--accent-color);
    color: var(--accent-text);
    font-family: var(--font-family-headings);
    font-weight: 700;
    padding: 1rem 2.25rem;
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.125rem;
    text-decoration: none;
}

#hero .hero-cta-btn:hover,
#hero .hero-cta-btn:focus {
    background-color: var(--accent-hover);
    color: var(--accent-text);
    transform: translateY(-2px);
}

#hero .hero-btn-icon {
    font-size: 1.5rem;
    color: var(--accent-text);
    line-height: 1;
}

@media (max-width: 767.98px) {
    #hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 80px;
    }

    #hero .hero-title {
        font-size: 1.125rem !important;
        line-height: 1.2 !important;
        hyphens: auto;
    }

    #hero .hero-badge {
        font-size: 0.75rem;
    }

    #hero .hero-description {
        font-size: 0.875rem;
    }

    #hero .hero-cta-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* ===== featured_article ===== */
.featured-header-bg {
    position: relative;
    width: 100%;
}

.featured-article-body p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.featured-article-body li {
    transition: background-color 0.3s ease;
}

.featured-article-body li:hover {
    background-color: rgba(248, 250, 252, 0.03) !important;
}

.tracking-wider {
    letter-spacing: 0.08em;
}

@media (max-width: 767.98px) {
    #featured h1 {
        font-size: 1.125rem !important;
        line-height: 1.25 !important;
        hyphens: auto;
    }

    #featured h2 {
        font-size: 1rem !important;
        line-height: 1.25 !important;
        hyphens: auto;
    }

    #featured h3 {
        font-size: 0.875rem !important;
        line-height: 1.25 !important;
        hyphens: auto;
    }

    .featured-header-bg {
        min-height: 360px !important;
    }
}

/* ===== latest_posts ===== */
#latest .js-post-card:hover {
    transform: translateY(-5px);
    border: 1px solid var(--accent-color) !important;
    transition: all 0.3s ease;
}

#latest .js-post-card {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: all 0.3s ease;
}

#latest .js-open-modal:hover {
    background-color: var(--accent-hover) !important;
}

.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 15, 17, 0.95);
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.custom-modal-content {
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-body-scroll {
    overflow-y: auto;
    max-height: calc(90vh - 170px);
}

.modal-article-text h3 {
    color: var(--text-primary);
    font-family: var(--font-family-headings);
    font-weight: 700;
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.modal-article-text p {
    margin-bottom: 1rem;
}

.modal-article-text ul {
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
}

.modal-article-text li {
    margin-bottom: 0.5rem;
    list-style-type: square;
    color: var(--text-secondary);
}

.modal-body-scroll::-webkit-scrollbar {
    width: 6px;
}

.modal-body-scroll::-webkit-scrollbar-track {
    background: var(--background-primary);
}

.modal-body-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.modal-body-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

@media (max-width: 767.98px) {
    #latest h2 {
        font-size: 1.25rem !important;
        line-height: 1.25 !important;
        hyphens: auto;
    }

    #latest h3,
    #post-modal h2 {
        font-size: 1rem !important;
        line-height: 1.25 !important;
        hyphens: auto;
    }

    .modal-article-text h3 {
        font-size: 0.875rem !important;
        line-height: 1.25 !important;
        hyphens: auto;
    }

    #latest p,
    .modal-article-text p,
    .modal-article-text li {
        font-size: 0.8rem !important;
        line-height: 1.35 !important;
    }
}

/* ===== articles_grid ===== */
.pension-card {
    background-color: var(--background-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.pension-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(249, 115, 22, 0.4);
}

.pension-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 250px;
}

.pension-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    min-height: 250px;
}

.pension-card:hover .pension-card-img {
    transform: scale(1.04);
}

.pension-card-body {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.pension-date {
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.pension-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.pension-btn {
    background-color: var(--accent-color);
    color: var(--accent-text);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
}

.pension-btn:hover {
    background-color: var(--accent-hover);
    color: var(--accent-text);
    transform: translateX(3px);
}

.pension-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 15, 17, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.pension-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.pension-modal {
    background-color: var(--background-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    max-width: 1200px;
    width: 95%;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--background-secondary);
}

.pension-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pension-modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pension-modal-close:hover {
    color: var(--accent-color);
}

.pension-modal-body {
    padding: 2rem;
}

.pension-modal-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.pension-modal-content {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.75;
}

.pension-modal-content h4 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-family: var(--font-family-headings);
    font-weight: 600;
}

.pension-modal-content p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

.pension-modal-content ul {
    padding-left: 1.25rem;
    margin-bottom: 1.75rem;
}

.pension-modal-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

@media (max-width: 767.98px) {
    #grid h2 {
        font-size: 1.125rem !important;
        line-height: 1.2;
    }

    #grid h3 {
        font-size: 1rem !important;
        line-height: 1.2;
    }

    .pension-card-body {
        padding: 1.5rem;
    }

    .pension-modal-img {
        height: 200px;
    }

    .pension-modal-body {
        padding: 1.25rem;
    }
}

/* ===== articles_carousel ===== */
#carousel {
    background-color: var(--background-primary);
    color: var(--text-primary);
    overflow-x: hidden;
}

.badge-tag {
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--accent-color);
    font-size: 0.85rem;
    font-family: var(--font-family-body);
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-family: var(--font-family-headings);
    color: var(--text-primary);
    font-weight: 700;
}

.section-subtitle {
    color: var(--text-secondary);
    font-family: var(--font-family-body);
    max-width: 650px;
    font-size: 1rem;
    line-height: 1.6;
}

.scroll-container {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--background-secondary);
}

.scroll-container::-webkit-scrollbar {
    height: 6px;
}

.scroll-container::-webkit-scrollbar-track {
    background: var(--background-secondary);
}

.scroll-container::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 3px;
}

.card {
    background-color: var(--background-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.card-img-wrapper {
    height: 220px;
    overflow: hidden;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.badge-category {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

.bg-secondary-badge {
    background-color: #3b82f6 !important;
}

.card-body {
    padding: 1.5rem;
    color: var(--text-primary);
}

.meta-info {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: var(--font-family-body);
}

.meta-info i {
    color: var(--accent-color);
}

.card-title {
    font-family: var(--font-family-headings);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.1rem;
}

.card-text {
    font-family: var(--font-family-body);
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-custom-accent {
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-family: var(--font-family-body);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-custom-accent:hover {
    background-color: var(--accent-color);
    color: var(--accent-text);
    border-color: var(--accent-color);
}

.custom-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 15, 17, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1050;
    overflow-y: auto;
    padding: 1.5rem;
    align-items: center;
    justify-content: center;
}

.custom-modal-overlay.show {
    display: flex;
}

.custom-modal-container {
    background-color: var(--background-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    width: 100%;
    max-width: 700px;
    margin: auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
}

.custom-modal-header {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.btn-close-custom {
    background: rgba(15, 15, 17, 0.7);
    border: none;
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-close-custom:hover {
    background: var(--accent-color);
    color: var(--accent-text);
}

.custom-modal-content {
    padding: 2.5rem 2rem 1.5rem 2rem;
    max-height: 75vh;
    overflow-y: auto;
}

.modal-hero {
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
    width: 100%;
}

.modal-image-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-article-title {
    font-family: var(--font-family-headings);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.modal-article-body {
    font-family: var(--font-family-body);
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.modal-article-body h5,
.modal-article-body h6 {
    font-family: var(--font-family-headings);
    font-weight: 600;
    margin-top: 1.5rem;
}

.modal-article-body ul {
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
}

.modal-article-body li {
    margin-bottom: 0.5rem;
}

.custom-modal-footer {
    padding: 1rem 2rem 2rem 2rem;
    background-color: var(--background-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: flex-end;
}

.btn-modal-close {
    background-color: #27272a;
    color: var(--text-primary);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.btn-modal-close:hover {
    background-color: #3f3f46;
    color: var(--text-primary);
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.25rem !important;
    }

    .section-subtitle {
        font-size: 0.875rem !important;
    }

    .card-title {
        font-size: 1rem !important;
        height: auto;
        display: block;
    }

    .card-text {
        font-size: 0.85rem !important;
        display: block;
        height: auto;
    }

    .carousel-scroll-wrapper {
        margin-right: -15px;
        margin-left: -15px;
        padding-right: 15px;
        padding-left: 15px;
    }

    .custom-modal-overlay {
        padding: 0.75rem;
    }

    .custom-modal-container .custom-modal-content {
        padding: 1.75rem 1.25rem 1.25rem 1.25rem;
    }

    #post-modal .custom-modal-content {
        padding: 0;
        max-width: 100%;
        max-height: 92vh;
    }

    #post-modal .modal-body-scroll {
        max-height: calc(92vh - 165px);
    }

    .modal-hero {
        height: 180px;
    }

    .modal-article-title {
        font-size: 1.15rem !important;
    }

    .modal-article-body {
        font-size: 0.85rem !important;
    }

    .custom-modal-container {
        max-width: 100%;
        max-height: 92vh;
        border-radius: 14px;
    }

    body.modal-open {
        overflow: hidden;
    }
}

/* ===== news_grid ===== */
#news {
    background-color: var(--background-primary);
    font-family: var(--font-family-body);
    overflow-x: hidden;
    position: relative;
}

#news .news-section-title {
    font-family: var(--font-family-headings);
    font-weight: 700;
}

#news .text-accent-color {
    color: var(--accent-color);
}

#news .bg-accent {
    background-color: var(--accent-color);
}

#news .news-card {
    background-color: var(--background-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

#news .news-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

#news .news-image-wrapper {
    height: 230px;
    overflow: hidden;
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;
}

#news .news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#news .news-card:hover .news-card-img {
    transform: scale(1.05);
}

#news .badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

#news .news-card-title {
    font-family: var(--font-family-headings);
    font-size: 1.15rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

#news .news-card:hover .news-card-title {
    color: var(--accent-color) !important;
}

#news .news-card-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
}

#news .news-read-more {
    font-size: 0.9rem;
    transition: gap 0.2s ease;
}

#news .news-card:hover .news-read-more {
    gap: 0.6rem !important;
}


.news-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 15, 17, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow-y: auto;
}

.news-modal-content {
    background-color: var(--background-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    width: 100%;
    max-width: 820px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    animation: modalFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--background-secondary);
}

.news-modal-content::-webkit-scrollbar {
    width: 8px;
}

.news-modal-content::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 4px;
}

.news-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.news-modal-close:hover {
    background: var(--accent-color);
    color: var(--accent-text);
}

.news-modal-image-wrapper {
    width: 100%;
    max-height: 380px;
    border-radius: 12px;
    overflow: hidden;
}

.news-modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 380px;
}

.news-modal-body {
    font-size: 0.95rem;
    line-height: 1.6;
}

.news-modal-body ul li {
    position: relative;
    padding-left: 1.5rem;
}

.news-modal-body ul li::before {
    content: "\2022";
    color: var(--accent-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0.5rem;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


@media (max-width: 767.98px) {
    #news .news-section-title {
        font-size: 1rem !important;
        line-height: 1.2;
        hyphens: auto;
    }

    #news .news-section-desc {
        font-size: 0.85rem !important;
    }

    #news .news-card-title {
        font-size: 0.875rem !important;
        line-height: 1.2;
        hyphens: auto;
    }

    #news .news-card-excerpt {
        font-size: 0.8rem;
    }

    .news-modal-content {
        padding: 1.5rem;
        max-height: 95vh;
    }

    .news-modal-close {
        top: 1rem;
        right: 1rem;
    }

    .news-modal-image-wrapper {
        max-height: 200px;
    }

    .news-modal-img {
        max-height: 200px;
    }
}

/* ===== about_author ===== */
#about {
    background-color: var(--background-primary);
    color: var(--text-primary);
    overflow-x: hidden;
}

#about h2 {
    font-family: var(--font-family-headings);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

#about p {
    font-family: var(--font-family-body);
    color: var(--text-secondary);
    line-height: 1.65;
}

.accent-badge {
    background-color: rgba(249, 115, 22, 0.15);
    color: var(--accent-color);
    font-family: var(--font-family-headings);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 4px;
}

.text-accent-highlight {
    color: var(--accent-color);
    font-weight: 600;
}

.author-quote-box {
    border-color: var(--accent-color) !important;
    background-color: var(--background-secondary);
    border-radius: 0 8px 8px 0;
}

.stat-card {
    background-color: var(--background-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 115, 22, 0.3);
}

.stat-icon-wrapper {
    width: 56px;
    height: 56px;
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
}

.stat-card h3 {
    color: var(--text-primary);
    font-family: var(--font-family-headings);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.08em;
}

@media (max-width: 767.98px) {
    #about h2 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
        hyphens: auto;
    }

    #about h3 {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
        hyphens: auto;
    }

    #about p,
    #about span,
    #about div {
        hyphens: auto;
    }
}

/* ===== feedback_form ===== */
#contact .form-control:focus {
    border-color: var(--accent-color) !important;
    background-color: #1a1a1f !important;
    color: var(--text-primary) !important;
}

#contact .input-group-text {
    border-color: var(--text-secondary);
    transition: border-color 0.2s ease, color 0.2s ease;
}

#contact input::placeholder,
#contact textarea::placeholder {
    color: var(--text-secondary) !important;
    opacity: 0.6;
}

#contact .js-submit-button:hover {
    background-color: var(--accent-hover) !important;
    color: var(--accent-text) !important;
}

#contact .form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

@media (max-width: 767.98px) {
    #contact h2 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
        hyphens: auto;
    }

    #contact p {
        font-size: 0.875rem !important;
    }
}

/* ===== footer ===== */
#footer {
    background-color: var(--background-primary);
    color: var(--text-secondary);
    font-family: var(--font-family-body);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow-x: hidden;
}

.footer-container {
    overflow-x: hidden;
}

.text-primary-custom {
    color: var(--text-primary) !important;
}

.text-secondary-custom {
    color: var(--text-secondary) !important;
}

.text-accent-custom {
    color: var(--accent-color) !important;
    transition: color 0.2s ease-in-out;
}

.text-accent-custom:hover {
    color: var(--accent-hover) !important;
}

.hover-accent {
    transition: color 0.2s ease-in-out;
}

.hover-accent:hover {
    color: var(--accent-color) !important;
}

.tracking-wider {
    letter-spacing: 0.075em;
}

.footer-brand span {
    font-family: var(--font-family-headings);
}

@media (max-width: 767.98px) {
    #footer {
        text-align: center !important;
    }

    .footer-links a {
        display: inline-block;
        margin-bottom: 0.5rem;
    }

    .footer-links a:last-child {
        margin-bottom: 0;
    }
}