@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* =========================
   RESET / BASE
========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #f4f7fb 0%, #eef3f9 100%);
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.section {
    position: relative;
    padding: 70px 0;
}

.section .container {
    position: relative;
    z-index: 2;
}

.section:nth-of-type(odd) {
    background: #f8fbff;
}

.section:nth-of-type(even) {
    background: #ffffff;
}

/* =========================
   TYPOGRAPHY
========================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    line-height: 1.15;
    color: #0f172a;
}

p {
    margin-top: 0;
    color: #64748b;
}

.small-text {
    font-size: 0.92rem;
    color: #64748b;
}

/* =========================
   GENERIC UI
========================= */
.card {
    background: #ffffff;
    border: 1px solid #e5edf5;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: 0.25s ease;
}

.card:hover {
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.page-section-card {
    padding: 28px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
    padding-left: 14px;
}

.section-head::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 4px;
    height: 28px;
    border-radius: 6px;
    background: #e63946;
}

.section-head h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 8px 0 0;
    font-size: 1rem;
    color: #64748b;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #e63946;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 16px;
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 600;
}

.meta span {
    display: inline-flex;
    align-items: center;
}

/* =========================
   BUTTONS
========================= */
.btn-solid,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: 0.2s ease;
    border: 1px solid transparent;
}

.btn-solid {
    background: #e63946;
    color: #fff;
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.18);
}

.btn-solid:hover {
    background: #c81f2d;
    transform: translateY(-1px);
}

.btn-outline {
    background: #fff;
    border-color: #dbe3ee;
    color: #0f172a;
}

.btn-outline:hover {
    background: #f8fafc;
}

/* =========================
   PUBLIC HEADER / NAV
========================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 18px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1rem;
    color: #0f172a;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.main-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: #334155;
    font-weight: 700;
    font-size: 0.94rem;
    transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: #eef2f7;
    color: #0f172a;
}

/* =========================
   PUBLIC HERO / HOMEPAGE
========================= */
.page-hero {
    padding: 36px 0 12px;
}

.page-hero-card {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: center;
    padding: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(230, 57, 70, 0.08), transparent 35%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.page-hero-content {
    max-width: 680px;
}

.page-hero-content h1 {
    margin: 14px 0 16px;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.03em;
    word-break: break-word;
}

.page-hero-content p {
    margin: 0;
    font-size: 1.04rem;
    line-height: 1.8;
    color: #475569;
}

.page-hero-image {
    min-height: 360px;
    border-radius: 24px;
    overflow: hidden;
    background: #eef2f7;
    border: 1px solid #e2e8f0;
}

.page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.page-hero-card:hover .page-hero-image img {
    transform: scale(1.03);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.value-card {
    padding: 24px;
    min-height: 220px;
}

.value-card h3 {
    margin: 14px 0 12px;
    font-size: 1.25rem;
    line-height: 1.25;
    font-weight: 800;
    word-break: break-word;
}

.value-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.8;
    font-size: 0.98rem;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.post-card {
    overflow: hidden;
    transition: 0.25s ease;
    border: 1px solid #e2e8f0;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
}

.post-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef2f7;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.04);
}

.post-card-content {
    padding: 20px 20px 22px;
}

.post-card-content h3 {
    margin: 14px 0 12px;
    font-size: 1.28rem;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: -0.02em;
    word-break: break-word;
    min-height: 3.2em;
}

.post-card-content h3 a:hover {
    color: #e63946;
}

.post-card-content p {
    margin: 0;
    color: #64748b;
    line-height: 1.8;
    font-size: 0.96rem;
}

/* =========================
   SINGLE ARTICLE PAGE
========================= */
.article-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

.article-card {
    padding: 32px;
}

.article-category {
    margin-bottom: 14px;
}

.article-title {
    margin-bottom: 14px;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    word-break: break-word;
}

.article-excerpt {
    margin-bottom: 18px;
    font-size: 1.08rem;
    line-height: 1.8;
    color: #475569;
}

.article-featured-image {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #eef2f7;
    margin: 22px 0 24px;
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

.article-content {
    color: #334155;
    font-size: 1.02rem;
    line-height: 1.95;
}

.article-content p {
    color: #334155;
    margin-bottom: 1.15rem;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 2rem;
    margin-bottom: 0.9rem;
}

.article-content ul,
.article-content ol {
    padding-left: 1.4rem;
    margin-bottom: 1.2rem;
}

.article-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.2rem;
    border-left: 4px solid #e63946;
    background: #f8fafc;
    border-radius: 16px;
    color: #334155;
}

.article-content img {
    border-radius: 18px;
    margin: 1.2rem 0;
}

/* =========================
   FORMS
========================= */
.form-grid {
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.input,
.textarea,
.select,
select.input {
    width: 100%;
    border: 1px solid #dbe3ee;
    border-radius: 18px;
    background: #fff;
    color: #0f172a;
    font-size: 0.96rem;
    outline: none;
    transition: 0.2s ease;
}

.input,
.select,
select.input {
    min-height: 54px;
    padding: 0 16px;
}

.textarea {
    min-height: 140px;
    padding: 16px;
    resize: vertical;
}

.input:focus,
.textarea:focus,
.select:focus,
select.input:focus {
    border-color: rgba(230, 57, 70, 0.35);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.08);
}

/* =========================
   UTILITY LISTS / TABLES
========================= */
.modern-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-list li {
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}

.modern-list li:last-child {
    border-bottom: none;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

/* =========================
   PUBLIC FOOTER
========================= */
.site-footer {
    margin-top: 56px;
    padding: 50px 0 20px;
    background: #0f172a;
    color: #cbd5e1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 28px;
}

.footer-logo img {
    height: 44px;
    width: auto;
    margin-bottom: 12px;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 1.05rem;
}

.site-footer p {
    color: #cbd5e1;
    line-height: 1.8;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li+li {
    margin-top: 10px;
}

.footer-links a {
    color: #cbd5e1;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

/* =========================
   ADMIN CMS STYLES
========================= */
.admin-body {
    background: #f3f6fb;
    color: #0f172a;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.admin-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 270px 1fr;
}

.admin-sidebar {
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color: #fff;
    padding: 24px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 8px 22px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    padding: 4px;
}

.admin-brand-text h1 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}

.admin-brand-text p {
    margin: 2px 0 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
}

.admin-nav {
    display: grid;
    gap: 8px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    font-weight: 600;
    transition: 0.2s ease;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.admin-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-topbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    padding: 18px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 20;
}

.admin-topbar h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
}

.admin-topbar p {
    margin: 4px 0 0;
    font-size: 0.92rem;
    color: #64748b;
}

.admin-topbar-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-content {
    padding: 28px;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.admin-stat-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.admin-stat-card span {
    display: block;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.admin-stat-card strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
    color: #0f172a;
}

.admin-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.admin-panel+.admin-panel {
    margin-top: 20px;
}

.admin-panel h3 {
    margin: 0 0 18px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.admin-table-wrap {
    overflow: auto;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.admin-table th,
.admin-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
}

.admin-table th {
    background: #f8fafc;
    color: #334155;
    font-weight: 700;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.82rem;
    font-weight: 700;
}

.admin-badge.published {
    background: #dcfce7;
    color: #166534;
}

.admin-badge.draft {
    background: #fef3c7;
    color: #92400e;
}

.admin-form-grid {
    display: grid;
    gap: 16px;
}

.admin-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.admin-input,
.admin-select,
.admin-textarea {
    width: 100%;
    border: 1px solid #dbe3ee;
    border-radius: 18px;
    background: #fff;
    color: #0f172a;
    font-size: 0.96rem;
    outline: none;
    transition: 0.2s ease;
}

.admin-input,
.admin-select {
    min-height: 54px;
    padding: 0 16px;
}

.admin-textarea {
    min-height: 140px;
    padding: 16px;
    resize: vertical;
}

.admin-input:focus,
.admin-select:focus,
.admin-textarea:focus {
    border-color: rgba(230, 57, 70, 0.35);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.08);
}

.admin-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #334155;
    font-weight: 700;
}

.admin-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.admin-btn-primary,
.admin-btn-secondary,
.admin-btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.94rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.2s ease;
}

.admin-btn-primary {
    background: #e63946;
    color: #fff;
}

.admin-btn-primary:hover {
    background: #c81f2d;
}

.admin-btn-secondary {
    background: #fff;
    border-color: #dbe3ee;
    color: #0f172a;
}

.admin-btn-secondary:hover {
    background: #f8fafc;
}

.admin-btn-danger {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #be123c;
}

.admin-btn-danger:hover {
    background: #ffe4e6;
}

.admin-image-preview img {
    max-width: 240px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    display: block;
}

/* =========================
   FEATURED VIDEO
========================= */
.featured-video-section {
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(230, 57, 70, 0.08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.featured-video-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 26px;
    align-items: center;
}

.featured-video-content h2 {
    margin: 14px 0 14px;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.featured-video-content p {
    font-size: 1rem;
    line-height: 1.85;
    color: #475569;
    margin: 0;
}

.featured-video-embed {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #0f172a;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.video-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

.video-responsive iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* =========================
   VIDEOS
========================= */
.video-tile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.video-tile {
    overflow: hidden;
}

.video-tile-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: #e5e7eb;
    overflow: hidden;
}

.video-tile-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.video-tile:hover .video-tile-thumb img {
    transform: scale(1.04);
}

.video-play-btn {
    position: absolute;
    left: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(230, 57, 70, 0.92);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(230, 57, 70, 0.25);
}

.video-tile-content {
    padding: 18px;
}

.video-tile-content h3 {
    margin: 14px 0 10px;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.3;
}

.video-tile-content p {
    margin: 0;
    color: #64748b;
}

.video-tile-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
}

.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.video-gallery-card {
    overflow: hidden;
}

/* =========================
   NEW HERO NEWS LAYOUT
========================= */
.hero-news-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 24px;
    align-items: start;
}

.hero-feature-card {
    overflow: hidden;
    padding: 0;
    border: 2px solid #f1f5f9;
}

.hero-feature-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eef2f7;
}

.hero-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-feature-card:hover .hero-feature-image img {
    transform: scale(1.03);
}

.hero-feature-content {
    padding: 26px;
}

.hero-feature-content h1 {
    margin: 16px 0 16px;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.hero-feature-content h1 a:hover {
    color: #c81f2d;
}

.hero-feature-content p {
    font-size: 1rem;
    line-height: 1.85;
    color: #475569;
    margin: 0;
}

.hero-side-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-side-head {
    padding: 6px 4px 0;
}

.hero-side-head h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-side-head p {
    margin: 6px 0 0;
    color: #64748b;
}

.hero-side-list {
    display: grid;
    gap: 16px;
}

.hero-side-story {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 14px;
    padding: 12px;
    align-items: start;
}

.hero-side-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 18px;
    background: #eef2f7;
}

.hero-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.hero-side-story:hover .hero-side-thumb img {
    transform: scale(1.04);
}

.hero-side-content {
    min-width: 0;
}

.hero-side-content .category-pill {
    margin-bottom: 10px;
}

.hero-side-content h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 800;
}

.hero-side-content h3 a:hover {
    color: #c81f2d;
}

.hero-side-content .meta {
    margin-top: 0;
    font-size: 0.82rem;
}

/* =========================
   AD BANNERS
========================= */
.ad-banner-wrap {
    width: 100%;
}

.ad-banner-full {
    display: block;
    width: 100%;
    text-decoration: none;
}

.ad-banner-full img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.ad-banner-contained {
    display: block;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.ad-banner-contained img {
    width: 100%;
    height: 385px;
    object-fit: cover;
    display: block;
}

/* =========================
   WHATSAPP FLOAT
========================= */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #25d366;
    color: #fff;
    padding: 14px 18px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: 0.3s;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}

/* =========================
   MOBILE NAV FIX
========================= */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 26px;
    height: 3px;
    margin: 5px 0;
    background: #0f172a;
    border-radius: 2px;
    transition: 0.25s ease;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
    .video-tile-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {

    .page-hero-card,
    .post-grid,
    .mission-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .page-hero-card {
        grid-template-columns: 1fr;
    }

    .page-hero-image {
        min-height: 280px;
    }

    .hero-news-layout {
        grid-template-columns: 1fr;
    }

    .hero-side-story {
        grid-template-columns: 120px 1fr;
    }
}

@media (max-width: 980px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        padding-bottom: 10px;
    }

    .admin-stat-grid,
    .admin-form-row {
        grid-template-columns: 1fr;
    }

    .admin-content,
    .admin-topbar {
        padding: 18px;
    }
}

@media (max-width: 900px) {
    .featured-video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-wrap {
        flex-direction: row;
        align-items: center;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav {
        display: none !important;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 12px 20px;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        z-index: 100;
    }

    .main-nav.open {
        display: flex !important;
    }

    .main-nav a {
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid #e2e8f0;
    }

    .main-nav a:last-child {
        border-bottom: none;
    }
}

@media (max-width: 720px) {

    .section-head,
    .nav-wrap {
        align-items: start;
        flex-direction: column;
    }

    .post-grid,
    .mission-grid,
    .footer-grid,
    .content-grid,
    .form-row,
    .video-tile-grid,
    .video-gallery-grid {
        grid-template-columns: 1fr;
    }

    .page-hero-card,
    .page-section-card,
    .value-card,
    .article-card {
        padding: 20px;
    }

    .page-hero-content h1 {
        font-size: 2.2rem;
    }

    .main-nav {
        width: 100%;
    }

    .main-nav a {
        width: 100%;
    }

    .hero-feature-content {
        padding: 20px;
    }

    .hero-side-story {
        grid-template-columns: 1fr;
    }

    .hero-side-thumb {
        aspect-ratio: 16 / 9;
    }
}