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

html, body {
    height: 100%;
}

body {
    font-family: 'Kanit', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../betar.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    min-height: 100%;
}

h1 {
    font-size: 2.5rem; /* Augmenté */
    margin-bottom: 15px;
    font-weight: 700;
}

p {
    font-size: 1.2rem; /* Augmenté */
    margin-bottom: 20px;
    font-weight: 300;
}

a {
    color: #fff;
    text-decoration: underline;
}

footer {
    font-size: 1rem;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    text-align: center;
    color: #fff;
    margin-top: auto;
}

.back-to-top {
    position: fixed;
    right: clamp(16px, 4vw, 32px);
    bottom: clamp(16px, 4vw, 32px);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(242, 201, 76, 0.85);
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1500;
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus {
    background: rgba(242, 201, 76, 0.2);
    transform: translateY(-2px);
}

.navbar {
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 12px 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
}

.navbar-brand img {
    width: 42px;
    height: 42px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 12px;
    margin-left: auto;
}

.navbar ul li {
    display: inline;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s;
}

.navbar ul li a:hover {
    background: rgba(255, 255, 255, 0.4);
}

.navbar ul li img {
    vertical-align: middle;
    height: 1.2rem; /* Ajuster la taille de l'image pour correspondre au texte */
    margin-right: 5px;
}

.page-content {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    gap: clamp(20px, 4vw, 36px);
    padding: 70px clamp(24px, 6vw, 72px) 24px;
    flex: 1 0 auto;
    height: auto;
    min-height: auto;
    box-sizing: border-box;
}

.hero-section {
    width: min(880px, 84vw);
    background: rgba(0, 0, 0, 0.6);
    border-radius: 18px;
    padding: 10px clamp(18px, 4vw, 36px) clamp(18px, 4vw, 36px);
    margin: 35px auto 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 4vw, 36px);
}

.hero-copy h1 {
    font-size: clamp(2.1rem, 3.6vw, 3rem);
    margin-bottom: 4px;
}

.hero-subtitle {
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    font-weight: 400;
    margin-bottom: 4px;
}

.hero-lede {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
}

.hero-carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.carousel-frame {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.carousel-window {
    flex: 1;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.25);
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-card {
    display: block;
    flex: 0 0 100%;
    position: relative;
    height: 100%;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.carousel-media {
    width: 100%;
    height: 100%;
}

.carousel-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
}

.carousel-caption {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 90%;
    z-index: 2;
    text-align: center;
}

.carousel-caption-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px;
}

.carousel-caption-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.carousel-control {
    border: 1px solid rgba(242, 201, 76, 0.85);
    background: rgba(0, 0, 0, 0.45);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s, border-color 0.2s;
}

.carousel-control:hover,
.carousel-control:focus {
    background: rgba(242, 201, 76, 0.2);
    border-color: #f2c94c;
    transform: translateY(-1px) scale(1.03);
}

.carousel-icon {
    width: 22px;
    height: 22px;
    display: block;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.carousel-dot.is-active {
    background: #f2c94c;
    transform: scale(1.2);
}

.carousel-card.is-active {
    outline: none;
}

.carousel-card:focus-visible {
    outline: 2px solid #f2c94c;
    outline-offset: 4px;
}

#actualites {
    scroll-margin-top: 70px;
    width: 100%;
}

.blog-section {
    width: min(880px, 84vw);
    background: rgba(0, 0, 0, 0.55);
    border-radius: 14px;
    padding: 16px;
    margin: 8px auto 4px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    min-height: min-content;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
}

.blog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.blog-kicker {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    font-weight: 300;
    color: #f2c94c;
    margin-bottom: 6px;
}

.blog-header h2 {
    font-size: 1.8rem;
    text-align: left;
}

.blog-subtitle {
    text-align: left;
    font-size: 0.95rem;
    color: #f5f5f5;
    margin-bottom: 16px;
    font-weight: 300;
}

.blog-cta {
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 10px 22px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    text-align: center;
    min-width: 140px;
}

.articles-page {
    align-items: center;
    gap: clamp(24px, 5vw, 40px);
}

.articles-hero {
    width: min(380px, 92vw);
    min-height: 90px;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 18px;
    padding: 20px 20px 0;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.articles-hero .blog-subtitle {
    margin-bottom: 0;
}

.count-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.count-option {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #fff;
    padding: 8px 18px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.2s, border-color 0.2s;
}

.count-option.is-active,
.count-option:hover,
.count-option:focus-visible {
    background: rgba(242, 201, 76, 0.2);
    border-color: #f2c94c;
}

.count-options-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.articles-shell {
    width: min(1200px, 95vw);
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: clamp(18px, 3vw, 32px);
    align-items: flex-start;
}

.filters-sidebar {
    position: sticky;
    top: 110px;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
}

.sidebar-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(242, 201, 76, 0.9);
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.filter-field span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.filter-field input,
.filter-field select {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-family: inherit;
}

.search-field .search-input-wrapper {
    position: relative;
}

.search-field input {
    width: 100%;
    padding-right: 40px;
}

.search-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    padding: 4px;
    cursor: pointer;
    color: #fff;
}

.search-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.toggle-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    font-size: 0.85rem;
    cursor: pointer;
    user-select: none;
}

.pill-toggle input {
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: inline-block;
    position: relative;
}

.pill-toggle input:checked {
    background: #f2c94c;
    border-color: #f2c94c;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 260px;
    overflow-y: auto;
    padding-right: 6px;
}

.filter-empty {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.checklist.is-collapsed {
    max-height: 0;
    overflow: hidden;
    padding: 0;
}

.checkbox-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.checkbox-pill input {
    width: 16px;
    height: 16px;
    accent-color: #f2c94c;
}

.filter-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.filter-collapse {
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
}

.filter-collapse.is-collapsed {
    transform: rotate(45deg);
}

.filters-reset {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.filters-reset:hover,
.filters-reset:focus-visible {
    background: rgba(242, 201, 76, 0.2);
    border-color: #f2c94c;
}

.filters-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.articles-results {
    background: rgba(0, 0, 0, 0.55);
    border-radius: 18px;
    padding: clamp(18px, 3vw, 28px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.articles-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

#articlesStatus {
    font-size: 0.95rem;
    text-align: left;
}

#articlesStatus[data-state="warning"] {
    color: #f2c94c;
}

#articlesStatus[data-state="error"] {
    color: #ff9b9b;
}

#articlesStatus[data-state="success"] {
    color: #9fe2bf;
}

.articles-grid {
    width: 100%;
    display: grid;
    gap: 16px;
    position: relative;
    min-height: 160px;
}

.articles-grid.is-loading::after {
    content: 'Actualisation des articles...';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 12px;
}

.articles-results-footer {
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.articles-results-footer .count-options-label {
    text-align: right;
}

.pagination-controls {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pagination-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.pagination-pages {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.pagination-pill {
    min-width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    background: transparent;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

button.pagination-pill {
    cursor: pointer;
}

button.pagination-pill:hover,
button.pagination-pill:focus-visible {
    background: rgba(242, 201, 76, 0.2);
    border-color: #f2c94c;
}

.pagination-pill.is-active {
    background: #f2c94c;
    border-color: #f2c94c;
    color: #121212;
    cursor: default;
}

.pagination-button {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.pagination-button:hover,
.pagination-button:focus-visible {
    background: rgba(242, 201, 76, 0.2);
    border-color: #f2c94c;
}

.pagination-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.15);
}

.articles-empty {
    text-align: left;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1024px) {
    .articles-shell {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .count-options {
        justify-content: center;
    }

    .articles-results-footer {
        justify-content: center;
        text-align: center;
    }

    .articles-results,
    .filters-sidebar {
        padding: 16px;
    }

    .articles-hero {
        padding: 18px;
    }
}

.blog-cta:hover {
    background: #fff;
    color: #000;
}

.blog-status {
    font-size: 0.9rem;
    color: #dcdcdc;
    margin-bottom: 14px;
    font-style: italic;
    display: none;
}

.blog-empty {
    font-size: 0.95rem;
    color: #f5f5f5;
    text-align: center;
    margin: 20px auto;
    font-style: italic;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    column-gap: clamp(24px, 4vw, 48px);
    row-gap: clamp(14px, 3vw, 28px);
    width: 100%;
    padding: 12px 8px;
    flex: 0 1 auto;
    justify-content: center;
    align-items: start;
    overflow: visible;
}

.blog-grid.cols-1 {
    grid-template-columns: minmax(280px, 320px);
}

.blog-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(260px, 300px));
}

.blog-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
}

.blog-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    min-height: 220px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.3);
    position: relative;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.blog-card:focus-visible {
    outline: 2px solid #f2c94c;
    outline-offset: 3px;
    border-color: #f2c94c;
}

.blog-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 160px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.blog-card-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #f2c94c;
}

.blog-card h3 {
    font-size: 1.05rem;
}

.blog-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.3;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.blog-link {
    margin-top: auto;
    align-self: center;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    text-align: center;
    min-width: 140px;
}

.blog-link:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    padding: 16px;
}
.modal-content {
    background-color: #222;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    width: min(900px, 96vw);
    max-height: 96vh;
    box-sizing: border-box;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    position: relative;
    animation: modalIn 0.3s;
    display: flex;
    flex-direction: column;
    overflow: visible;
}
.modal-content iframe {
    flex: 1 1 auto;
    width: 100%;
    height: clamp(520px, 78vh, 980px);
    max-height: calc(96vh - 56px);
    border: none;
    border-radius: 8px;
}
.close {
    color: #fff;
    position: absolute;
    top: -14px;
    right: -14px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 10;
    background: linear-gradient(135deg, #0e0e0e, #1c1c1c);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.06) inset;
    transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.close:hover,
.close:focus-visible {
    background: linear-gradient(135deg, #1c1c1c, #2b2b2b);
    border-color: rgba(255,255,255,0.35);
    box-shadow: 0 10px 24px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.12) inset;
    transform: translateY(-2px) scale(1.02);
    outline: none;
}
@keyframes modalIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    footer {
        font-size: 0.9rem;
    }

    .navbar ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
        justify-content: center;
    }

    .navbar ul li a {
        font-size: 1rem;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 20px;
    }

    .navbar-brand {
        width: 100%;
        justify-content: center;
    }

    .page-content {
        padding: 80px 12px 8px;
    }

    .hero-section {
        padding: 20px;
    }

    .hero-carousel {
        gap: 14px;
    }

    .carousel-frame {
        flex-direction: column;
    }

    .carousel-window {
        width: 100%;
    }

    .carousel-control {
        width: 44px;
        height: 44px;
    }

    .carousel-icon {
        width: 18px;
        height: 18px;
    }

    .blog-section {
        padding: 16px 14px;
    }

    .blog-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-header h2 {
        font-size: 1.6rem;
    }

    .blog-card-body {
        padding: 12px;
        gap: 5px;
    }

    .blog-grid {
        gap: 32px;
        padding: 10px 4px;
    }

    .modal-content {
        width: 100%;
        max-height: 94vh;
        padding: 14px 12px 12px;
    }

    .modal-content iframe {
        height: 76vh;
        max-height: calc(94vh - 50px);
    }

    .close {
        top: -10px;
        right: -10px;
        width: 36px;
        height: 36px;
        font-size: 1.4rem;
    }
}
