:root {
    --ink: #171717;
    --muted: #5c5f66;
    --paper: #fafaf7;
    --white: #ffffff;
    --line: #e8e3da;
    --red: #c82424;
    --red-dark: #8f1717;
    --yellow: #f7c948;
    --teal: #128c8c;
    --green: #2fa36b;
    --shadow: 0 20px 55px rgba(23, 23, 23, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Source Sans 3", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

.container {
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    top: -80px;
    left: 16px;
    background: var(--ink);
    color: var(--white);
    padding: 10px 14px;
    z-index: 20;
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(250, 250, 247, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: Outfit, Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 0;
}

.brand img,
.footer-brand img {
    border-radius: 7px;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.15);
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.94rem;
    font-weight: 700;
}

.primary-nav a {
    border-radius: 999px;
    padding: 8px 9px;
    color: #292929;
    text-decoration: none;
    white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
    background: var(--ink);
    color: var(--white);
}

.nav-toggle {
    display: none;
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--hero-poster-image, url("/assets/video/punjab-highway-poster.jpg")) center/cover no-repeat;
    color: var(--white);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(12, 12, 10, 0.45), rgba(12, 12, 10, 0.42) 46%, rgba(12, 12, 10, 0.36));
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    height: 34%;
    background: linear-gradient(0deg, rgba(12, 12, 10, 0.34), transparent);
    pointer-events: none;
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-inner {
    position: relative;
    z-index: 2;
    min-height: clamp(560px, 82vh, 720px);
    display: flex;
    align-items: end;
    padding: 90px 0 70px;
}

.hero-copy {
    max-width: 780px;
}

.hero h1,
.hero .eyebrow,
.hero .lede {
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.48);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--red);
    font-family: Outfit, Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--yellow);
}

h1,
h2,
h3 {
    font-family: Outfit, Arial, sans-serif;
    line-height: 1.04;
    letter-spacing: 0;
}

h1 {
    margin: 0;
    font-size: 3.6rem;
    max-width: 850px;
}

.hero h1 {
    font-size: 6.2rem;
}

h2 {
    margin: 0 0 14px;
    font-size: 3.2rem;
}

h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
}

.lede {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.18rem;
}

.hero .lede {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.28rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.button,
button.button,
.footer-actions a,
.cookie-actions button,
.cookie-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    border-radius: 7px;
    background: var(--ink);
    color: var(--white);
    padding: 11px 16px;
    font: 800 0.95rem/1 Outfit, Arial, sans-serif;
    text-decoration: none;
    cursor: pointer;
}

.button-primary {
    background: var(--red);
}

.button-secondary {
    background: var(--white);
    color: var(--ink);
    border: 1px solid var(--line);
}

.button-accent {
    background: var(--yellow);
    color: var(--ink);
}

.section {
    padding: 72px 0;
}

.section-light {
    background: var(--white);
    border-block: 1px solid var(--line);
}

.section-header {
    max-width: 850px;
    margin-bottom: 30px;
}

.topic-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.topic-card,
.content-card,
.video-card,
.legal-card,
.admin-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(23, 23, 23, 0.06);
}

.topic-card {
    min-height: 180px;
    padding: 18px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topic-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.topic-card span {
    display: inline-block;
    width: 36px;
    height: 5px;
    border-radius: 999px;
    background: var(--red);
    margin-bottom: 18px;
}

.topic-card:nth-child(2) span { background: var(--yellow); }
.topic-card:nth-child(3) span { background: var(--teal); }
.topic-card:nth-child(4) span { background: var(--green); }
.topic-card:nth-child(5) span { background: var(--red-dark); }

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.video-card {
    overflow: hidden;
}

.video-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: #262626;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.video-thumb span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: var(--red);
    color: var(--white);
    border-radius: 7px;
    padding: 7px 10px;
    font-family: Outfit, Arial, sans-serif;
    font-weight: 900;
}

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

.video-card-body {
    padding: 18px;
}

.video-card h2 {
    margin: 0 0 8px;
    font-size: 1.28rem;
}

.video-card h2 a {
    text-decoration: none;
}

.video-card h2 a:hover {
    color: var(--red);
}

.video-meta,
.post-meta {
    color: var(--muted);
    font-size: 0.95rem;
}

.page-hero {
    background: var(--ink);
    color: var(--white);
    padding: 76px 0 52px;
}

.page-hero .lede {
    color: rgba(255, 255, 255, 0.82);
}

.breadcrumb {
    color: var(--yellow);
    font-size: 0.95rem;
    font-weight: 800;
}

.split-layout,
.video-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.content-card,
.legal-card {
    padding: 26px;
}

.rich-content h2 {
    margin-top: 34px;
    font-size: 2rem;
}

.rich-content p,
.rich-content li {
    color: #303030;
}

.about-story-section {
    padding-top: 68px;
}

.about-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
    gap: 28px;
    align-items: start;
}

.about-story-copy,
.gaurav-story-card {
    padding: 40px;
    border-radius: 26px;
}

.about-story-copy h2,
.gaurav-story-card h2 {
    margin-top: 0;
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.05;
}

.gaurav-story-card {
    background: #fffaf1;
}

.gaurav-story-card .eyebrow {
    color: var(--green);
}

.family-popover {
    position: relative;
    display: inline;
    padding: 0 1px 2px;
    border-bottom: 2px dotted rgba(13, 108, 54, 0.72);
    color: var(--green);
    cursor: pointer;
    font-family: Outfit, Arial, sans-serif;
    font-weight: 900;
    outline: none;
}

.family-popover:hover,
.family-popover:focus-visible,
.family-popover.is-open {
    border-bottom-color: var(--red);
    color: var(--red);
}

.family-popover__card {
    position: absolute;
    z-index: 20;
    left: 50%;
    bottom: calc(100% + 14px);
    display: grid;
    width: min(230px, 72vw);
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateX(-50%);
    color: var(--ink);
    text-align: center;
}

.family-popover__card[hidden] {
    display: none;
}

.family-photo-icon {
    margin-left: 3px;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
    font-size: 0.72em;
    line-height: 1;
}

.family-popover__card::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 14px;
    height: 14px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--white);
    transform: translateX(-50%) rotate(45deg);
}

.family-popover__card img {
    display: block;
    width: 100%;
    max-height: 260px;
    border-radius: 10px;
    object-fit: cover;
}

.family-popover__card span {
    padding: 8px 4px 3px;
    font-family: Outfit, Arial, sans-serif;
    font-weight: 800;
}

.gaurav-photo-rotator {
    width: min(100%, 440px);
    margin: 24px auto 0;
}

.gaurav-photo-rotator__frame {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px 22px 0 0;
    background: #fffaf1;
}

.gaurav-photo-rotator__image {
    display: none;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(56vh, 390px);
    object-fit: contain;
}

.gaurav-photo-rotator__image.is-active {
    display: block;
}

.journey-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    padding: 14px 14px 8px;
    border-inline: 1px solid var(--line);
    background: #fffaf1;
}

.journey-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c9c0b4;
    cursor: pointer;
}

.journey-dot.is-active {
    background: var(--red);
    transform: scale(1.25);
}

.journey-status {
    margin: 0;
    padding: 0 14px 14px;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 22px 22px;
    color: var(--muted);
    text-align: center;
    font-size: 0.86rem;
}


.video-embed {
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.fact-list,
.tag-list,
.chapter-list,
.faq-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 16px 0 0;
    list-style: none;
}

.fact-list li,
.chapter-list li,
.faq-list li {
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 12px 14px;
    background: #fffaf1;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
}

.tag-list li {
    border-radius: 999px;
    background: #f2eee6;
    padding: 7px 11px;
    font-size: 0.95rem;
    font-weight: 700;
}

.site-footer {
    background: #171717;
    color: var(--white);
    padding: 44px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
}

.footer-grid p {
    color: rgba(255, 255, 255, 0.72);
    max-width: 650px;
}

.footer-links {
    display: grid;
    gap: 9px;
    align-content: start;
}

.footer-links a,
.footer-actions a {
    color: var(--white);
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-actions a {
    background: rgba(255, 255, 255, 0.12);
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.94rem;
}

body.construction-notice-open {
    overflow: hidden;
}

.construction-notice {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    overflow-y: auto;
    padding: 24px;
    background: rgba(9, 17, 30, 0.78);
    backdrop-filter: blur(5px);
}

.construction-notice[hidden] {
    display: none;
}

.construction-notice__dialog {
    width: min(100%, 570px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    background: #fffaf1;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
}

.construction-notice__image {
    display: block;
    width: 100%;
    height: clamp(250px, 38vh, 340px);
    border-radius: 23px 23px 0 0;
    object-fit: cover;
    object-position: 60% 18%;
}

.construction-notice__content {
    padding: 22px 30px 26px;
    text-align: center;
}

.construction-notice__eyebrow {
    margin: 0 0 8px;
    color: var(--green);
    font: 900 0.82rem/1 Outfit, Arial, sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.construction-notice__content h2 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: clamp(1.65rem, 4vw, 2.15rem);
    line-height: 1.08;
}

.construction-notice__content p:not(.construction-notice__eyebrow) {
    margin: 0;
    color: #3b3b3b;
    font-size: 0.98rem;
    line-height: 1.48;
}

.construction-notice__content .construction-notice__thanks {
    margin-top: 8px;
    font-weight: 700;
}

.construction-notice__button {
    min-width: 210px;
    min-height: 48px;
    margin-top: 18px;
    border: 0;
    border-radius: 999px;
    background: var(--red);
    box-shadow: 0 8px 18px rgba(200, 36, 36, 0.25);
    color: var(--white);
    font: 900 0.95rem/1 Outfit, Arial, sans-serif;
    letter-spacing: 0.06em;
    cursor: pointer;
}

.construction-notice__button:hover,
.construction-notice__button:focus-visible {
    background: #a81919;
    outline: 3px solid rgba(244, 174, 31, 0.72);
    outline-offset: 3px;
}

.cookie-banner {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 880px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 16px;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner p {
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.alert {
    border-radius: 8px;
    margin: 16px 0;
    padding: 13px 15px;
    font-weight: 700;
}

.alert-success {
    background: #eaf8f0;
    color: #14592f;
    border: 1px solid #bfe8ce;
}

.alert-error {
    background: #fff0f0;
    color: #8f1717;
    border: 1px solid #f3c3c3;
}

.alert-warning {
    background: #fff8df;
    color: #7b5a00;
    border: 1px solid #efd678;
}

.admin-body {
    --admin-topbar-height: 68px;
    --admin-sidebar-width: 256px;
    background: #f4f2ee;
}

.admin-topbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    height: var(--admin-topbar-height);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.admin-topbar-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
    padding: 0 24px;
}

.admin-topbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    text-decoration: none;
    font: 900 1.02rem/1 Outfit, Arial, sans-serif;
}

.admin-topbar-brand img {
    width: 76px;
    height: 43px;
    border-radius: 0;
    object-fit: contain;
    box-shadow: none;
}

.admin-account-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 800;
}

.admin-account-summary a {
    color: var(--ink);
    text-decoration: none;
    font-family: Outfit, Arial, sans-serif;
    font-weight: 900;
}

.admin-account-summary a:hover {
    color: var(--red);
    text-decoration: underline;
}

.admin-sidebar {
    position: fixed;
    inset: var(--admin-topbar-height) auto 0 0;
    z-index: 40;
    width: var(--admin-sidebar-width);
    overflow-y: auto;
    background: #17243a;
    color: var(--white);
    padding: 24px 16px 28px;
    box-shadow: 12px 0 32px rgba(19, 30, 48, 0.08);
}

.admin-sidebar-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px 18px;
}

.admin-sidebar-kicker {
    color: #ffbd73;
    font: 900 0.8rem/1 Outfit, Arial, sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.admin-sidebar-close,
.admin-menu-toggle {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.admin-sidebar-close {
    display: none;
    color: var(--white);
    font-size: 2rem;
    line-height: 1;
    padding: 0 5px;
}

.admin-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    padding: 9px;
}

.admin-menu-toggle span:not(.sr-only) {
    display: block;
    width: 23px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    margin: 4px auto;
}

.admin-sidebar-nav {
    display: grid;
    gap: 22px;
}

.admin-nav-group h2 {
    margin: 0 10px 7px;
    color: #97a6bc;
    font: 900 0.72rem/1 Outfit, Arial, sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.admin-nav-group a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 42px;
    border-radius: 8px;
    color: #e7edf6;
    font: 800 0.94rem/1.15 Outfit, Arial, sans-serif;
    padding: 8px 10px;
    text-decoration: none;
    transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.admin-nav-group a:hover {
    background: rgba(255, 255, 255, 0.09);
    color: var(--white);
    transform: translateX(2px);
}

.admin-nav-group a[aria-current="page"] {
    background: #ff982d;
    color: #211200;
    box-shadow: 0 7px 20px rgba(255, 153, 51, 0.2);
}

.admin-nav-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    color: #b8c5d8;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
}

.admin-nav-group a[aria-current="page"] .admin-nav-icon {
    border-color: rgba(33, 18, 0, 0.22);
    color: #211200;
}

.admin-sidebar-backdrop {
    display: none;
}

.admin-main {
    min-height: 100vh;
    padding: calc(var(--admin-topbar-height) + 32px) 0 70px;
}

.admin-has-sidebar .admin-main {
    margin-left: var(--admin-sidebar-width);
}

.admin-no-sidebar .admin-main {
    display: grid;
    align-items: start;
}

.admin-main h1 {
    font-size: 2.35rem;
}

.admin-main h2 {
    font-size: 1.8rem;
}

.admin-card {
    margin-bottom: 22px;
    padding: 24px;
}

.admin-content-container {
    width: min(1320px, calc(100% - 44px));
}

.admin-narrow {
    max-width: 560px;
    margin: 50px auto;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.admin-stat {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
}

.admin-stat strong {
    display: block;
    font: 900 2.2rem/1 Outfit, Arial, sans-serif;
}

.admin-stat span {
    color: var(--muted);
    font-weight: 700;
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.admin-dashboard-card {
    display: flex;
    flex-direction: column;
    min-height: 245px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(23, 23, 23, 0.06);
    padding: 24px;
}

.admin-dashboard-card h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.05;
}

.admin-dashboard-card p {
    color: var(--ink);
}

.admin-dashboard-card .button {
    align-self: flex-start;
    margin-top: auto;
}

.admin-management-card > p {
    color: var(--muted);
}

.admin-users-list {
    display: grid;
    gap: 18px;
}

.admin-user-card {
    display: grid;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffaf1;
    padding: 18px;
}

.admin-user-form {
    display: grid;
    gap: 16px;
}

.admin-form-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-field-full {
    grid-column: 1 / -1;
}

.admin-user-meta,
.admin-user-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-weight: 700;
}

.admin-user-actions {
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    padding: 5px 9px;
    font: 900 0.78rem/1 Outfit, Arial, sans-serif;
}

.admin-dark-button {
    background: var(--ink);
    color: var(--white);
}

.danger-button {
    background: #fee2e2;
    color: #7f1d1d;
    border: 1px solid #fecaca;
}

.danger-button:hover {
    background: #b91c1c;
    color: var(--white);
}

.admin-countdown-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffaf1;
    padding: 14px 16px;
}

.admin-countdown-card span {
    color: var(--muted);
    font-weight: 800;
}

.admin-countdown-card strong {
    font: 900 1.4rem/1 Outfit, Arial, sans-serif;
}

.admin-resend-form {
    margin-top: 14px;
}

.form-grid {
    display: grid;
    gap: 18px;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-field {
    display: grid;
    gap: 7px;
}

.form-field label,
.form-field legend {
    font-weight: 900;
    font-family: Outfit, Arial, sans-serif;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--white);
    color: var(--ink);
    font: 500 1rem/1.4 "Source Sans 3", Arial, sans-serif;
    padding: 11px 12px;
}

.form-field textarea {
    resize: vertical;
}

.hidden-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.field-error,
.field-help {
    margin: 0;
    font-size: 0.92rem;
}

.field-error {
    color: var(--red-dark);
    font-weight: 800;
}

.field-help {
    color: var(--muted);
}

.inline-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-weight: 700;
}

.inline-check input {
    width: auto;
}

.contact-form-card .button-primary {
    width: 100%;
}

.contact-detail-list {
    display: grid;
    gap: 16px;
    padding: 0;
    margin: 18px 0 22px;
    list-style: none;
}

.contact-detail-list li {
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 14px;
    background: #fffaf1;
}

.contact-detail-list strong {
    display: block;
    font-family: Outfit, Arial, sans-serif;
    line-height: 1.2;
    margin-bottom: 4px;
}

.contact-detail-list p,
.contact-form-intro {
    color: var(--muted);
}

.contact-message-list {
    display: grid;
    gap: 18px;
}

.contact-message-body {
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fffaf1;
    padding: 14px;
    white-space: normal;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.checkbox-grid label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    background: #fffaf1;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 10px 12px;
    font-weight: 700;
}

.admin-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid var(--line);
    padding: 13px 10px;
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--muted);
    font: 900 0.9rem/1 Outfit, Arial, sans-serif;
    text-transform: uppercase;
}

.admin-video-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 320px;
}

.admin-video-cell img {
    width: 112px;
    height: 63px;
    object-fit: cover;
    border-radius: 6px;
    background: #ddd;
}

.admin-video-cell strong,
.admin-video-cell span,
.admin-video-cell a {
    display: block;
}

.admin-video-cell a {
    color: var(--red);
    font-weight: 800;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 9px;
    font: 900 0.78rem/1 Outfit, Arial, sans-serif;
}

.status-ready {
    background: #eef6ff;
    color: #125a8c;
}

.status-draft {
    background: #fff8df;
    color: #7b5a00;
}

.status-published {
    background: #eaf8f0;
    color: #14592f;
}

.button-small {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 0.84rem;
}

button[disabled],
.button[disabled] {
    cursor: not-allowed;
    opacity: 0.48;
}

.sr-only {
    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: 1180px) {
    .admin-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .split-layout,
    .video-layout,
    .settings-grid,
    .admin-form-grid-two,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 3rem;
    }

    .hero h1 {
        font-size: 4.6rem;
    }

    h2 {
        font-size: 2.7rem;
    }

    .topic-strip,
    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .primary-nav {
        position: absolute;
        left: 18px;
        right: 18px;
        top: 76px;
        display: none;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
        padding: 12px;
    }

    .primary-nav.is-open {
        display: grid;
    }

    .nav-toggle {
        display: inline-grid;
        place-items: center;
        width: 44px;
        height: 44px;
        border: 1px solid var(--line);
        border-radius: 7px;
        background: var(--white);
    }

    .nav-toggle span:not(.sr-only) {
        width: 22px;
        height: 2px;
        background: var(--ink);
        margin: 2px 0;
    }

    .admin-body {
        --admin-topbar-height: 62px;
    }

    .admin-topbar-inner {
        padding: 0 16px;
    }

    .admin-menu-toggle {
        display: block;
    }

    .admin-sidebar {
        inset: 0 auto 0 0;
        width: min(84vw, 290px);
        padding-top: 20px;
        transform: translateX(-105%);
        transition: transform 0.2s ease;
        z-index: 70;
    }

    .admin-sidebar-heading {
        padding-bottom: 24px;
    }

    .admin-sidebar-close {
        display: block;
    }

    .admin-sidebar-open {
        overflow: hidden;
    }

    .admin-sidebar-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(10, 18, 31, 0.58);
        z-index: 60;
    }

    .admin-sidebar-backdrop[hidden] {
        display: none;
    }

    .admin-has-sidebar .admin-main {
        margin-left: 0;
    }

    .admin-main {
        padding-top: calc(var(--admin-topbar-height) + 24px);
    }

    .admin-content-container {
        width: min(100% - 32px, 1160px);
    }

    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .admin-topbar-brand span {
        font-size: 0.92rem;
    }

    .admin-account-summary span {
        display: none;
    }

    .admin-account-summary {
        gap: 8px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    h1 {
        font-size: 2.65rem;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    h2 {
        font-size: 2.15rem;
    }

    .hero {
        background-position: 58% center;
    }

    .hero::before {
        background: linear-gradient(90deg, rgba(12, 12, 10, 0.45), rgba(12, 12, 10, 0.42));
    }

    .hero-video {
        object-position: 58% center;
    }

    .hero-inner {
        min-height: 590px;
        padding: 62px 0 54px;
    }

    .construction-notice {
        padding: 14px;
    }

    .construction-notice__dialog {
        max-height: calc(100vh - 28px);
        border-radius: 18px;
    }

    .construction-notice__image {
        height: clamp(190px, 30vh, 240px);
        border-radius: 17px 17px 0 0;
    }

    .construction-notice__content {
        padding: 18px 18px 22px;
    }

    .construction-notice__button {
        width: 100%;
    }

    .gaurav-photo-rotator__image {
        max-height: min(52vh, 350px);
    }

    .topic-strip,
    .video-grid,
    .admin-stat-grid,
    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .admin-topbar-inner,
    .admin-nav,
    .admin-account {
        align-items: flex-start;
        flex-direction: column;
    }

    .cookie-banner {
        display: grid;
    }
}

