@charset "utf-8";
/* ==========================================================
   ANUGAMAN.COM — Magazine redesign
   File: frontend/web/css/anugaman.css  (loads LAST in AppAsset)
   Brand: blue #00468a / #003f7a · red #b8202f
   ========================================================== */

:root {
    --ag-blue: #00468a;
    --ag-blue-dark: #003f7a;
    --ag-blue-deep: #002f5c;
    --ag-red: #b8202f;
    --ag-ink: #14171f;
    --ag-slate: #55606e;
    --ag-muted: #857f73;
    --ag-line: #e3ded2;
    --ag-paper: #f7f5f0;
    --ag-cream: #f3eee3;
    --ag-gold: #c99a3c;
    --ag-gold-soft: #e8cf99;
    --ag-serif: 'Noto Serif Devanagari', 'Mukta', serif;
    --ag-sans: 'Mukta', sans-serif;

    /* Old tokens re-mapped to the brand (lead story + article pages pick these up) */
    --crimson: #b8202f;
    --navy: #00468a;
    --ink: #14171f;
    --amber: #c99a3c;

    --ag-accent: var(--ag-red);
}

body {
    color: var(--ag-ink);
    font-family: var(--ag-sans);
    background: #ffffff;
}

a[class*="ag-"]:hover,
a[class*="ag-"]:focus,
[class*="ag-"] a:hover,
[class*="ag-"] a:focus {
    text-decoration: none;
}

/* Accent switches: add .ag-red or .ag-blue on any wrapper */
.ag-red  { --ag-accent: var(--ag-red);  --cat-accent: var(--ag-red); }
.ag-blue { --ag-accent: var(--ag-blue); --cat-accent: var(--ag-blue); }

/* Old per-category colour classes → brand colours only */
.accent-blue, .accent-green, .accent-purple, .accent-teal, .accent-orange, .accent-pink {
    --cat-accent: var(--ag-blue);
}


/* ----------------------------------------------------------
   ONE CONTAINER WIDTH FOR EVERYTHING (content = 1200px)
   so the lead story lines up with every section
   ---------------------------------------------------------- */
.hp-fullwidth.container {
    width: 100%;
    max-width: 1280px;
    padding-left: 40px;
    padding-right: 40px;
}

@media only screen and (max-width: 1500px) {
    .hp-fullwidth.container { max-width: 1280px; }
}

@media only screen and (max-width: 991px) {
    .hp-fullwidth.container { padding-left: 20px; padding-right: 20px; }
}

@media only screen and (max-width: 480px) {
    .hp-fullwidth.container { padding-left: 16px; padding-right: 16px; }
}


/* ----------------------------------------------------------
   TOP BAR
   ---------------------------------------------------------- */
.ag-topbar {
    background: var(--ag-blue-dark);
    color: rgba(255, 255, 255, .85);
    font: 400 14px var(--ag-sans);
}

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

.ag-date {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ag-date strong { color: #fff; font-weight: 600; }
.ag-sep { opacity: .45; }

.ag-topbar-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.ag-topbar a { color: rgba(255, 255, 255, .85); transition: color .2s ease; }
.ag-topbar a:hover { color: #fff; }

.ag-topbar a.ag-tv {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ag-red);
    color: #fff;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 30px;
    transition: background .2s ease, color .2s ease;
}

.ag-topbar a.ag-tv:hover { background: #fff; color: var(--ag-red); }


/* ----------------------------------------------------------
   MASTHEAD (logo + ad)
   ---------------------------------------------------------- */
.ag-masthead {
    background: #fff;
    padding: 24px 0;
}

.ag-masthead-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.ag-logo img {
    display: block;
    height: 84px;
    width: auto;
    max-width: 100%;
}

.ag-header-ad {
    flex: 0 1 728px;
    text-align: right;
    line-height: 0;
}

.ag-header-ad img { max-width: 100%; height: auto; }


/* ----------------------------------------------------------
   DESKTOP MENU
   ---------------------------------------------------------- */
#pf-main-nav .pf-nav-desktop.ag-nav {
    background: #fff;
    border-top: 3px solid var(--ag-blue);
    border-bottom: 1px solid var(--ag-line);
}

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

#pf-main-nav .ag-nav #cssmenu {
    flex: 1;
    min-width: 0;
    background: transparent;
    width: auto;
}

#pf-main-nav .ag-nav #cssmenu > ul {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: transparent;
}

#pf-main-nav .ag-nav #cssmenu > ul > li {
    position: relative;
    float: none;
    list-style: none;
    background: transparent;
    border: none;
    margin: 0;
}

#pf-main-nav .ag-nav #cssmenu > ul > li > a {
    display: flex;
    align-items: center;
    height: 56px;
    padding: 0;
    background: transparent;
    color: var(--ag-ink);
    font: 600 17px var(--ag-sans);
    text-transform: none;
    letter-spacing: 0;
    border: none;
    border-bottom: 3px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}

#pf-main-nav .ag-nav #cssmenu > ul > li > a:hover,
#pf-main-nav .ag-nav #cssmenu > ul > li.active > a {
    color: var(--ag-red);
    border-bottom-color: var(--ag-red);
    background: transparent;
    text-decoration: none;
}

/* dropdown */
#pf-main-nav .ag-nav #cssmenu ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: -16px;
    z-index: 1000;
    min-width: 220px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border-top: 3px solid var(--ag-red);
    box-shadow: 0 14px 30px rgba(0, 47, 92, .14);
}

#pf-main-nav .ag-nav #cssmenu li:hover > ul { display: block; }

#pf-main-nav .ag-nav #cssmenu ul ul li { float: none; width: 100%; }

#pf-main-nav .ag-nav #cssmenu ul ul a {
    display: block;
    padding: 8px 18px;
    color: var(--ag-ink);
    font: 500 16px var(--ag-sans);
    background: transparent;
    border: none;
}

#pf-main-nav .ag-nav #cssmenu ul ul a:hover {
    color: var(--ag-red);
    background: var(--ag-paper);
    text-decoration: none;
}

/* search */
.ag-nav-search {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 40px;
    padding: 0 4px 0 16px;
    border: 1px solid var(--ag-line);
    border-radius: 30px;
    background: #fff;
    transition: border-color .2s ease;
}

.ag-nav-search:focus-within { border-color: var(--ag-blue); }

.ag-nav-search input {
    width: 150px;
    border: 0;
    outline: 0;
    background: transparent;
    font: 400 15px var(--ag-sans);
    color: var(--ag-ink);
}

.ag-nav-search button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: var(--ag-blue);
    color: #fff;
    cursor: pointer;
    transition: background .2s ease;
}

.ag-nav-search button:hover { background: var(--ag-red); }

@media only screen and (max-width: 1199px) {
    #pf-main-nav .ag-nav #cssmenu > ul { gap: 0 18px; }
    #pf-main-nav .ag-nav #cssmenu > ul > li > a { font-size: 16px; }
    .ag-nav-search input { width: 110px; }
}

/* mobile bar logo */
.pf-mobile-logo img { height: 40px; width: auto; }
.pf-drawer-logo { max-height: 44px; width: auto; background: #fff; padding: 4px 8px; border-radius: 4px; }


/* ----------------------------------------------------------
   "ताजा" TICKER
   ---------------------------------------------------------- */
.ag-ticker {
    background: var(--ag-paper);
    border-bottom: 1px solid var(--ag-line);
}

.ag-ticker-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 46px;
    overflow: hidden;
}

.ag-ticker-label {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ag-red);
    color: #fff;
    font: 700 14px var(--ag-sans);
    letter-spacing: .04em;
    padding: 3px 14px;
    border-radius: 3px;
}

.ag-ticker-label i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    animation: agPulse 1.4s ease-in-out infinite;
}

.ag-ticker-track {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.ag-ticker-move {
    display: inline-flex;
    white-space: nowrap;
    animation: agTicker 60s linear infinite;
}

.ag-ticker-set {
    display: inline-flex;
    gap: 42px;
    padding-right: 42px;
}

.ag-ticker-track:hover .ag-ticker-move { animation-play-state: paused; }

.ag-ticker-move a {
    position: relative;
    color: var(--ag-ink);
    font: 500 16px var(--ag-sans);
}

.ag-ticker-set a:before {
    content: "";
    position: absolute;
    left: -25px;
    top: 50%;
    width: 7px;
    height: 7px;
    background: var(--ag-gold);
    transform: translateY(-50%) rotate(45deg);
}

.ag-ticker-move a:hover { color: var(--ag-red); }

@keyframes agTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes agPulse  { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

@media (prefers-reduced-motion: reduce) {
    .ag-ticker-move { animation: none; }
    .ag-ticker-label i { animation: none; }
}

@media only screen and (max-width: 767px) {
    .ag-ticker-inner { height: 42px; gap: 10px; }
    .ag-ticker-label { font-size: 13px; padding: 2px 10px; }
    .ag-ticker-move a { font-size: 15px; }
}


/* ----------------------------------------------------------
   LEAD STORY — design untouched; it now just sits in the
   same container as the rest of the page.
   ---------------------------------------------------------- */
.ag-lead .widget { margin-bottom: 0; }


/* ----------------------------------------------------------
   ADS
   ---------------------------------------------------------- */
.sponsorAd.ag-ad {
    margin: 36px 0;
    text-align: center;
}

.sponsorAd.ag-ad img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 12px;
}

.sponsorAd.ag-ad img:last-child { margin-bottom: 0; }


/* ----------------------------------------------------------
   SECTION FRAME
   ---------------------------------------------------------- */
.ag-section { padding-top: 24px; padding-bottom: 56px; }

.ag-section--rule {
    border-top: 1px solid var(--ag-line);
    padding-top: 52px;
}

.ag-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 44px;
    align-items: start;
}

.ag-aside > * + * { margin-top: 28px; }

/* divider line between the two columns (full height, drawn on the grid,
   so the sidebar can still be sticky) */
.ag-split--rule {
    background-image: linear-gradient(var(--ag-line), var(--ag-line));
    background-repeat: no-repeat;
    background-size: 1px 100%;
    background-position: right 382px top;   /* 360px aside + half of 44px gap */
}

@media only screen and (max-width: 1199px) {
    .ag-split { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
    .ag-split--rule { background-position: right 336px top; }
}

@media only screen and (max-width: 991px) {
    .ag-split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .ag-split--rule { background-image: none; }
    .ag-section { padding-bottom: 40px; }
    .ag-section--rule { padding-top: 36px; }
}


/* ----------------------------------------------------------
   SECTION HEADING
   ---------------------------------------------------------- */
.ag-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--ag-line);
}

.ag-kicker {
    display: block;
    margin-bottom: 8px;
    color: #9a8f7a;
    font: 600 12px/1 var(--ag-sans);
    letter-spacing: .2em;
}

.ag-title {
    display: inline-block;
    margin: 0 0 -1px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--ag-accent);
    font: 700 30px/1.3 var(--ag-serif);
}

.ag-title a { color: var(--ag-ink); transition: color .2s ease; }
.ag-title a:hover { color: var(--ag-accent); }

.ag-more {
    padding-bottom: 12px;
    color: var(--ag-accent);
    font: 700 15px var(--ag-sans);
    white-space: nowrap;
    transition: color .2s ease;
}

.ag-more:hover { color: var(--ag-ink); }

.ag-head--sm { margin-bottom: 12px; }
.ag-head--sm .ag-title { font-size: 25px; }

/* centred (opinion band) */
.ag-head--center {
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 40px;
    border-bottom: 0;
    text-align: center;
}

.ag-head--center .ag-head-left { display: flex; flex-direction: column; align-items: center; }

.ag-head--center .ag-title {
    padding-bottom: 0;
    border-bottom: 0;
    font-size: 38px;
    font-weight: 800;
}

.ag-head--center .ag-title:after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 14px auto 0;
    background: var(--ag-accent);
}

.ag-head--center .ag-more { padding: 12px 0 0; }

/* on dark-blue band */
.ag-head--dark { border-bottom-color: rgba(255, 255, 255, .16); }
.ag-head--dark .ag-kicker { color: var(--ag-gold-soft); }
.ag-head--dark .ag-title { border-bottom-color: var(--ag-red); }
.ag-head--dark .ag-title a { color: #fff; }
.ag-head--dark .ag-title a:hover,
.ag-head--dark .ag-more { color: var(--ag-gold-soft); }
.ag-head--dark .ag-more:hover { color: #fff; }

@media only screen and (max-width: 767px) {
    .ag-title { font-size: 24px; padding-bottom: 10px; }
    .ag-head--sm .ag-title { font-size: 22px; }
    .ag-head--center .ag-title { font-size: 28px; }
    .ag-more { font-size: 14px; padding-bottom: 10px; }
    .ag-head { margin-bottom: 18px; }
}


/* ----------------------------------------------------------
   SHARED PIECES
   ---------------------------------------------------------- */
.ag-img {
    display: block;
    overflow: hidden;
    border-radius: 3px;
    background: #e9e4d8;
}

.ag-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

a:hover > .ag-img img,
a:hover .ag-img img { transform: scale(1.04); }

.ag-meta {
    display: block;
    margin-top: 6px;
    color: var(--ag-muted);
    font: 400 14px var(--ag-sans);
}

/* photo with headline on top */
.ag-overlay {
    position: relative;
    display: block;
    height: 430px;
    overflow: hidden;
    border-radius: 3px;
    background: var(--ag-blue-deep);
}

.ag-overlay > img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.ag-overlay:hover > img { transform: scale(1.04); }

.ag-overlay:after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 28, 58, 0) 35%, rgba(0, 28, 58, .92) 100%);
    pointer-events: none;
}

.ag-overlay-body {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 28px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ag-chip {
    align-self: flex-start;
    padding: 3px 12px;
    border-radius: 3px;
    background: var(--ag-red);
    color: #fff;
    font: 700 13px var(--ag-sans);
}

.ag-overlay-title {
    color: #fff;
    font: 700 32px/1.4 var(--ag-serif);
}

.ag-overlay-meta {
    color: var(--ag-gold-soft);
    font: 500 15px var(--ag-sans);
}

@media only screen and (max-width: 767px) {
    .ag-overlay { height: 260px; }
    .ag-overlay-body { left: 18px; right: 18px; bottom: 16px; gap: 6px; }
    .ag-overlay-title { font-size: 21px; line-height: 1.45; }
    .ag-overlay-meta { font-size: 13px; }
}


/* ----------------------------------------------------------
   01 FEATURE (big photo + 3 cards + text links)
   ---------------------------------------------------------- */
.ag-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-top: 28px;
}

.ag-card { display: block; color: var(--ag-ink); }
.ag-card .ag-img { height: 150px; margin-bottom: 12px; }
.ag-card-text { display: block; }

.ag-card-title {
    display: block;
    color: var(--ag-ink);
    font: 700 18px/1.5 var(--ag-sans);
    transition: color .2s ease;
}

.ag-card:hover .ag-card-title { color: var(--ag-accent); }

.ag-textlinks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 26px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--ag-line);
}

.ag-textlink {
    position: relative;
    display: block;
    padding-left: 20px;
    color: var(--ag-ink);
    font: 600 18px/1.5 var(--ag-sans);
}

.ag-textlink:before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    background: var(--ag-accent);
}

.ag-textlink:hover { color: var(--ag-accent); }

@media only screen and (max-width: 767px) {
    .ag-grid-3 { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 8px; }
    .ag-textlinks { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .ag-textlink { font-size: 16px; }

    /* cards turn into rows: headline left, photo right */
    .ag-grid-3 .ag-card,
    .ag-mosaic .ag-card {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 0;
        border-bottom: 1px solid var(--ag-line);
    }
    .ag-grid-3 .ag-card .ag-img,
    .ag-mosaic .ag-card .ag-img {
        order: 2;
        flex-shrink: 0;
        width: 96px;
        height: 72px;
        margin: 0;
    }
    .ag-grid-3 .ag-card-text,
    .ag-mosaic .ag-card-text { flex: 1; min-width: 0; }
    .ag-grid-3 .ag-card-title,
    .ag-mosaic .ag-card-title { font-size: 16px; font-weight: 600; }
}


/* ----------------------------------------------------------
   LEAD + LIST
   ---------------------------------------------------------- */
.ag-leadlist {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 30px;
}

.ag-story { display: block; color: var(--ag-ink); }
.ag-story .ag-img { height: 300px; margin-bottom: 16px; }

.ag-story-title {
    display: block;
    margin-bottom: 10px;
    color: var(--ag-ink);
    font: 700 27px/1.45 var(--ag-serif);
    transition: color .2s ease;
}

.ag-story:hover .ag-story-title { color: var(--ag-accent); }

.ag-story-excerpt {
    display: block;
    color: var(--ag-slate);
    font: 400 16px/1.75 var(--ag-sans);
}

.ag-rows { display: flex; flex-direction: column; }

.ag-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--ag-line);
    color: var(--ag-ink);
}

.ag-row:first-child { padding-top: 0; }
.ag-row:last-child { padding-bottom: 0; border-bottom: 0; }

.ag-row-title {
    flex: 1;
    min-width: 0;
    font: 600 18px/1.5 var(--ag-sans);
    transition: color .2s ease;
}

.ag-row:hover .ag-row-title { color: var(--ag-accent); }
.ag-row .ag-img { flex-shrink: 0; width: 96px; height: 76px; }

@media only screen and (max-width: 991px) {
    .ag-leadlist { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .ag-story .ag-img { height: 260px; }
}

@media only screen and (max-width: 480px) {
    .ag-story .ag-img { height: 210px; }
    .ag-story-title { font-size: 21px; }
    .ag-story-excerpt { font-size: 15px; }
    .ag-row-title { font-size: 16px; }
    .ag-row .ag-img { width: 90px; height: 70px; }
}


/* ----------------------------------------------------------
   SIDE LIST
   ---------------------------------------------------------- */
.ag-side-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--ag-line);
    color: var(--ag-ink);
}

.ag-side-item:last-child { border-bottom: 0; padding-bottom: 0; }
.ag-side-item .ag-img { flex-shrink: 0; width: 78px; height: 78px; }
.ag-side-text { display: block; min-width: 0; }

.ag-side-meta {
    display: block;
    color: var(--ag-accent);
    font: 700 13px var(--ag-sans);
}

.ag-side-title {
    display: block;
    font: 600 17px/1.5 var(--ag-sans);
    transition: color .2s ease;
}

.ag-side-item:hover .ag-side-title { color: var(--ag-accent); }


/* ----------------------------------------------------------
   BANDS (full width)
   ---------------------------------------------------------- */
.ag-band { padding: 60px 0 64px; }

.ag-band--cream {
    background: var(--ag-cream);
    border-top: 1px solid var(--ag-line);
    border-bottom: 1px solid var(--ag-line);
}

.ag-band--dark {
    background: var(--ag-blue-dark);
    color: #fff;
    --ag-accent: var(--ag-red);
}

@media only screen and (max-width: 767px) {
    .ag-band { padding: 36px 0 40px; }
}


/* ----------------------------------------------------------
   OPINION
   ---------------------------------------------------------- */
.ag-opinion {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ag-op {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 22px;
    border-right: 1px solid #ddd4c2;
    color: var(--ag-ink);
}

.ag-op:first-child { padding-left: 0; }
.ag-op:last-child { padding-right: 0; border-right: 0; }

.ag-op-quote {
    display: block;
    height: 30px;
    color: var(--ag-accent);
    font: 800 64px/.9 var(--ag-serif);
}

.ag-op-title {
    font: 700 20px/1.55 var(--ag-serif);
    transition: color .2s ease;
}

.ag-op:hover .ag-op-title { color: var(--ag-accent); }

.ag-op-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.ag-op-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 2px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 47, 92, .15);
}

.ag-op-name { display: block; font: 700 15px/1.3 var(--ag-sans); }
.ag-op-date { display: block; color: var(--ag-muted); font-size: 13px; }

@media only screen and (max-width: 1199px) {
    .ag-opinion { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
    .ag-op { padding: 0 20px; }
    .ag-op:nth-child(3n+1) { padding-left: 0; }
    .ag-op:nth-child(3n) { border-right: 0; padding-right: 0; }
}

@media only screen and (max-width: 767px) {
    .ag-opinion {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin-right: -16px;
        padding-right: 16px;
        padding-bottom: 6px;
    }
    .ag-op,
    .ag-op:first-child,
    .ag-op:last-child,
    .ag-op:nth-child(3n),
    .ag-op:nth-child(3n+1) {
        flex: 0 0 78%;
        padding: 18px;
        border: 0;
        border-radius: 4px;
        background: #fff;
        scroll-snap-align: start;
    }
    .ag-op-title { font-size: 18px; }
}


/* ----------------------------------------------------------
   TWO CARDS + NUMBERED
   ---------------------------------------------------------- */
.ag-cards2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.ag-card2 { display: block; color: var(--ag-ink); }
.ag-card2 .ag-img { height: 240px; margin-bottom: 14px; }

.ag-card2-title {
    display: block;
    margin-bottom: 8px;
    font: 700 23px/1.5 var(--ag-serif);
    transition: color .2s ease;
}

.ag-card2:hover .ag-card2-title { color: var(--ag-accent); }

.ag-card2-excerpt {
    display: block;
    color: var(--ag-slate);
    font: 400 16px/1.7 var(--ag-sans);
}

.ag-numbered {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
    border-top: 1px solid var(--ag-line);
}

.ag-num {
    display: flex;
    gap: 12px;
    padding: 18px 20px 0;
    border-right: 1px solid var(--ag-line);
    color: var(--ag-ink);
    font: 600 17px/1.5 var(--ag-sans);
}

.ag-num:first-child { padding-left: 0; }
.ag-num:last-child { padding-right: 0; border-right: 0; }
.ag-num b { color: var(--ag-accent); font: 800 30px/1 var(--ag-serif); }
.ag-num:hover span { color: var(--ag-accent); }

@media only screen and (max-width: 767px) {
    .ag-cards2 { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .ag-card2 .ag-img { height: 210px; }
    .ag-card2-title { font-size: 20px; }
    .ag-numbered { grid-template-columns: minmax(0, 1fr); margin-top: 20px; }
    .ag-num,
    .ag-num:first-child,
    .ag-num:last-child { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--ag-line); font-size: 16px; }
}


/* ----------------------------------------------------------
   DARK CARD SIDE
   ---------------------------------------------------------- */
.ag-darkcard {
    display: block;
    overflow: hidden;
    margin-bottom: 4px;
    border-top: 3px solid var(--ag-accent);
    border-radius: 2px;
    background: var(--ag-blue-dark);
}

.ag-darkcard .ag-img { height: 190px; border-radius: 0; }
.ag-darkcard-body { display: block; padding: 16px 20px 20px; }

.ag-darkcard-meta {
    display: block;
    margin-bottom: 6px;
    color: var(--ag-gold-soft);
    font-size: 14px;
}

.ag-darkcard-title {
    display: block;
    color: #fff;
    font: 700 21px/1.45 var(--ag-serif);
}

.ag-darkcard:hover .ag-darkcard-title { color: var(--ag-gold-soft); }

.ag-plain {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--ag-line);
    color: var(--ag-ink);
    font: 600 17px/1.5 var(--ag-sans);
}

.ag-plain:last-child { border-bottom: 0; }
.ag-plain:hover { color: var(--ag-accent); }


/* ----------------------------------------------------------
   MOSAIC (1 big + 4 cards)
   ---------------------------------------------------------- */
.ag-mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.ag-mosaic > .ag-overlay {
    grid-column: span 2;
    grid-row: span 2;
    height: auto;
    min-height: 460px;
}

.ag-mosaic .ag-card .ag-img { height: 140px; }
.ag-mosaic .ag-card-title { font-size: 17px; }

@media only screen and (max-width: 991px) {
    .ag-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ag-mosaic > .ag-overlay { grid-row: auto; min-height: 340px; }
}

@media only screen and (max-width: 767px) {
    .ag-mosaic { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .ag-mosaic > .ag-overlay { grid-column: auto; min-height: 0; height: 260px; margin-bottom: 4px; }
}


/* ----------------------------------------------------------
   VIDEO BAND
   ---------------------------------------------------------- */
.ag-video {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 36px;
}

.ag-video-main { height: 450px; background: #0b2f55; }

.ag-play {
    position: absolute;
    left: 50%;
    top: 42%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--ag-red);
    box-shadow: 0 0 0 10px rgba(184, 32, 47, .25);
    transform: translate(-50%, -50%);
    transition: transform .25s ease;
}

.ag-video-main:hover .ag-play { transform: translate(-50%, -50%) scale(1.08); }

.ag-video-list { display: flex; flex-direction: column; gap: 18px; }

.ag-vitem { display: flex; gap: 14px; color: #fff; }

.ag-vitem .ag-img {
    position: relative;
    flex-shrink: 0;
    width: 150px;
    height: 92px;
    background: #1d5188;
}

.ag-mini-play {
    position: absolute;
    left: 8px;
    bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ag-red);
}

.ag-vitem-title {
    color: #fff;
    font: 600 17px/1.5 var(--ag-sans);
    transition: color .2s ease;
}

.ag-vitem:hover .ag-vitem-title { color: var(--ag-gold-soft); }

@media only screen and (max-width: 991px) {
    .ag-video { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .ag-video-main { height: 340px; }
}

@media only screen and (max-width: 480px) {
    .ag-video-main { height: 220px; }
    .ag-play { width: 60px; height: 60px; }
    .ag-play svg { width: 22px; height: 22px; }
    .ag-vitem .ag-img { width: 120px; height: 72px; }
    .ag-vitem-title { font-size: 15px; }
}


/* ----------------------------------------------------------
   SIDEBAR TABS (ताजा अपडेट / धेरैले पढेको)
   ---------------------------------------------------------- */
.ag-tabs .nav-tabs > li { width: 50%; }
.ag-tabs.tab .nav-tabs li.active a,
.ag-tabs.tab .nav-tabs li a:hover { border-bottom-color: var(--ag-red); }
.ag-tabs.tab .nav-tabs { margin-bottom: 4px; }

.ag-tabrow {
    display: flex;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--ag-line);
    color: var(--ag-ink);
}

.ag-tabrow:last-child { border-bottom: 0; }

.ag-tabrow-time {
    flex-shrink: 0;
    width: 72px;
    color: var(--ag-muted);
    font: 700 13px/1.9 var(--ag-sans);
}

.ag-tabrow.is-fresh .ag-tabrow-time { color: var(--ag-red); }

.ag-tabrow-title {
    font: 600 17px/1.5 var(--ag-sans);
    transition: color .2s ease;
}

.ag-tabrow:hover .ag-tabrow-title { color: var(--ag-red); }

.ag-rank-num {
    flex-shrink: 0;
    width: 34px;
    color: var(--ag-gold);
    font: 700 22px/1.2 var(--ag-sans);
}

.ag-tabscroll {
    max-height: 640px;
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: var(--ag-line) transparent;
}

.lp-fbLikeBox { border-top-color: var(--ag-blue); }


/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */
.ag-footer {
    margin-top: 40px;
    background: var(--ag-blue-dark);
    color: rgba(255, 255, 255, .8);
    font-family: var(--ag-sans);
}

.ag-footer a { color: rgba(255, 255, 255, .9); transition: color .2s ease; }
.ag-footer a:hover { color: #fff; text-decoration: none; }

.ag-footer-brandbar {
    background: #fff;
    border-top: 4px solid var(--ag-red);
}

.ag-footer-brandbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    padding: 24px 0;
}

.ag-footer-brand { display: flex; align-items: center; gap: 24px; }
.ag-footer-brand img { display: block; height: 64px; width: auto; }

.ag-footer-tagline {
    padding-left: 24px;
    border-left: 1px solid var(--ag-line);
    color: var(--ag-slate);
    font: 500 16px var(--ag-sans);
}

.ag-footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ag-footer-menu li { list-style: none; }
.ag-footer-menu li ul,
.ag-footer-menu .dropdown-menu,
.ag-footer-menu .caret { display: none !important; }

.ag-footer .ag-footer-menu a {
    padding: 0;
    background: transparent;
    color: var(--ag-blue);
    font: 600 15px var(--ag-sans);
}

.ag-footer .ag-footer-menu a:hover { color: var(--ag-red); background: transparent; }

.ag-footer-main { padding: 48px 0; }

.ag-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 56px;
}

.ag-fh {
    display: inline-block;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ag-red);
    color: #fff;
    font: 700 18px var(--ag-sans);
}

.ag-footer p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, .8);
    font: 400 15px/1.8 var(--ag-sans);
}

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

.ag-reg div {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 3px;
}

.ag-reg span { display: block; font-size: 12px; line-height: 1.4; }
.ag-reg strong { color: #fff; font-size: 17px; }

.ag-contact { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.ag-contact div { display: flex; align-items: center; gap: 10px; }
.ag-contact svg { flex-shrink: 0; color: var(--ag-gold-soft); }

.ag-fb {
    margin-top: 22px;
    overflow: hidden;
    padding: 8px;
    border-radius: 4px;
    background: #fff;
}

.ag-team { margin: 0; padding: 0; list-style: none; }

.ag-team li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-size: 15px;
}

.ag-team li:last-child { border-bottom: 0; }
.ag-team strong { color: #fff; font-weight: 600; text-align: right; }
.ag-team em { display: block; color: rgba(255, 255, 255, .6); font-style: normal; font-weight: 400; font-size: 13px; }

.ag-footer-bottom {
    padding: 16px 0;
    background: var(--ag-blue-deep);
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
}

.ag-footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 20px;
}

@media only screen and (max-width: 991px) {
    .ag-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .ag-footer-brandbar-inner { flex-direction: column; align-items: flex-start; }
}

@media only screen and (max-width: 480px) {
    .ag-footer-brand { flex-direction: column; align-items: flex-start; gap: 8px; }
    .ag-footer-brand img { height: 48px; }
    .ag-footer-tagline { padding-left: 0; border-left: 0; font-size: 14px; }
    .ag-reg span { font-size: 11px; }
    .ag-footer-bottom-inner { flex-direction: column; }
}


/* ==========================================================
   UPDATE 2 — sticky columns, article page, category page
   ========================================================== */

html { scroll-behavior: smooth; }

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

/* Sticky columns (see js/anugaman.js). Only desktop. */
.ag-sticky-col { transition: top .25s ease; }

@media only screen and (min-width: 992px) {
    /* Article page: Bootstrap floats → flex, so columns can be sticky */
    .ag-sticky-row {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .ag-sticky-row:before,
    .ag-sticky-row:after { display: none; }
    .ag-sticky-row > [class*="col-"] { float: none; }
}

/* Article page sidebar: a thin divider and room to breathe */
@media only screen and (min-width: 992px) {
    .ag-sidebar-col { border-left: 1px solid var(--ag-line); padding-left: 28px; }
}


/* ----------------------------------------------------------
   CATEGORY PAGE
   ---------------------------------------------------------- */
.ag-catpage { padding-top: 36px; padding-bottom: 40px; }

.ag-head--page .ag-title { font-size: 36px; font-weight: 800; }

.ag-cat-count {
    padding-bottom: 14px;
    color: var(--ag-muted);
    font: 600 15px var(--ag-sans);
    white-space: nowrap;
}

/* top 2 stories */
.ag-cat-top {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 24px;
    margin-bottom: 44px;
}

.ag-cat-top .ag-overlay { height: 460px; }
.ag-cat-top .ag-overlay:not(.ag-cat-top-main) .ag-overlay-title { font-size: 24px; }
.ag-cat-top--single { grid-template-columns: minmax(0, 1fr); }

/* card grid */
.ag-catgrid,
.list-wrapper:not(.ag-catlist):has(.ag-catcard) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 28px;
}

.list-wrapper:not(.ag-catlist):has(.ag-catcard) > .summary,
.list-wrapper:not(.ag-catlist):has(.ag-catcard) > .pagination,
.list-wrapper:not(.ag-catlist):has(.ag-catcard) > .empty { grid-column: 1 / -1; }

.ag-catcard {
    display: flex;
    flex-direction: column;
    padding-top: 14px;
    border-top: 3px solid var(--ag-accent, var(--ag-red));
    color: var(--ag-ink);
}

.ag-catcard .ag-img {
    height: 200px;
    margin-bottom: 14px;
}

.ag-catcard-body { display: flex; flex-direction: column; flex: 1; }

.ag-catcard-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
    font: 700 19px/1.5 var(--ag-serif);
    transition: color .2s ease;
}

.ag-catcard:hover .ag-catcard-title { color: var(--ag-accent, var(--ag-red)); }

.ag-catcard-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--ag-slate);
    font: 400 16px/1.7 var(--ag-sans);
}

.ag-catcard .ag-meta { margin-top: auto; padding-top: 10px; }

.ag-pager { margin-top: 48px; text-align: center; }
.ag-pager .pagination { margin: 0; }

.ag-empty { color: var(--ag-muted); font-size: 18px; padding: 40px 0; text-align: center; }

@media only screen and (min-width: 1400px) {
    .ag-catgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media only screen and (max-width: 991px) {
    .ag-cat-top { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .ag-cat-top .ag-overlay { height: 340px; }
    .ag-catgrid,
    .list-wrapper:not(.ag-catlist):has(.ag-catcard) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
}

@media only screen and (max-width: 600px) {
    .ag-catpage { padding-top: 22px; }
    .ag-head--page .ag-title { font-size: 26px; }
    .ag-cat-top { margin-bottom: 24px; }
    .ag-cat-top .ag-overlay { height: 250px; }
    .ag-cat-top .ag-overlay:not(.ag-cat-top-main) { height: 200px; }
    .ag-catgrid,
    .list-wrapper:not(.ag-catlist):has(.ag-catcard) { grid-template-columns: minmax(0, 1fr); gap: 0; }

    /* phone: cards become rows — headline left, photo right */
    .ag-catcard {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 0;
        border-top: 0;
        border-bottom: 1px solid var(--ag-line);
    }
    .ag-catcard .ag-img { order: 2; flex-shrink: 0; width: 100px; height: 76px; margin: 0; }
    .ag-catcard-title { font: 600 16px/1.5 var(--ag-sans); margin-bottom: 4px; }
    .ag-catcard-excerpt { display: none; }
    .ag-catcard .ag-meta { padding-top: 2px; }
}

/* Nepali text must not be letter-spaced (it breaks joined letters) */
.ag-head--page .ag-kicker { letter-spacing: 0; font-size: 14px; }

a[class*="ag-"],
a[class*="ag-"]:hover,
a[class*="ag-"]:focus { text-decoration: none; }


/* ==========================================================
   UPDATE 3 — inner pages: about, contact, error, login,
   signup, search, unicode
   ========================================================== */

/* ---------- page heading band ---------- */
.ag-pagehero {
    background: var(--ag-paper);
    border-bottom: 1px solid var(--ag-line);
    padding: 34px 0 38px;
    position: relative;
}

.ag-pagehero:after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 3px;
    background: linear-gradient(90deg, var(--ag-blue) 0 70%, var(--ag-red) 70% 100%);
}

.ag-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--ag-muted);
    font: 500 14px var(--ag-sans);
}

.ag-crumbs a { color: var(--ag-blue); }
.ag-crumbs a:hover { color: var(--ag-red); }

.ag-pagehero-kicker {
    display: block;
    margin-bottom: 8px;
    color: #9a8f7a;
    font: 600 12px/1 var(--ag-sans);
    letter-spacing: .2em;
}

.ag-pagehero-title {
    margin: 0;
    color: var(--ag-ink);
    font: 800 44px/1.25 var(--ag-serif);
}

.ag-pagehero-sub {
    max-width: 720px;
    margin: 12px 0 0;
    color: var(--ag-slate);
    font: 400 18px/1.7 var(--ag-sans);
}

.ag-pagehero-sub strong { color: var(--ag-ink); }

.ag-page { padding-top: 44px; padding-bottom: 64px; }

@media only screen and (max-width: 767px) {
    .ag-pagehero { padding: 22px 0 26px; }
    .ag-pagehero-title { font-size: 30px; }
    .ag-pagehero-sub { font-size: 16px; }
    .ag-page { padding-top: 28px; padding-bottom: 44px; }
}

/* ---------- buttons ---------- */
.ag-btn,
a.ag-btn,
button.ag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 24px;
    border: 2px solid var(--ag-blue);
    border-radius: 4px;
    background: var(--ag-blue);
    color: #fff;
    font: 700 16px var(--ag-sans);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.ag-btn:hover,
.ag-btn:focus { background: var(--ag-red); border-color: var(--ag-red); color: #fff; }

.ag-btn--block { display: flex; width: 100%; }

.ag-btn.ag-btn--ghost { background: transparent; color: var(--ag-blue); }
.ag-btn.ag-btn--ghost:hover { background: var(--ag-blue); border-color: var(--ag-blue); color: #fff; }

.ag-btn.ag-btn--light { background: #fff; border-color: #fff; color: var(--ag-blue); }
.ag-btn.ag-btn--light:hover { background: var(--ag-red); border-color: var(--ag-red); color: #fff; }

.ag-btn.ag-btn--outline { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.ag-btn.ag-btn--outline:hover { background: #fff; border-color: #fff; color: var(--ag-blue); }

/* ---------- about ---------- */
.ag-lede {
    margin: 0 0 18px;
    color: var(--ag-ink);
    font: 700 28px/1.6 var(--ag-serif);
}

.ag-prose p {
    margin: 0 0 18px;
    color: #2a2f3a;
    font: 400 19px/1.9 var(--ag-sans);
}

.ag-subhead {
    margin: 36px 0 20px;
    font: 700 24px/1.3 var(--ag-serif);
}

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

.ag-value {
    padding: 22px 22px 20px;
    border: 1px solid var(--ag-line);
    border-top: 3px solid var(--ag-accent);
    border-radius: 3px;
    background: #fff;
}

.ag-value:nth-child(2) { border-top-color: var(--ag-blue); }

.ag-value-num { color: var(--ag-gold); font: 700 14px var(--ag-sans); letter-spacing: .1em; }
.ag-value h3 { margin: 6px 0 8px; font: 800 26px/1.3 var(--ag-serif); }
.ag-value p { margin: 0; color: var(--ag-slate); font: 400 16px/1.7 var(--ag-sans); }

.ag-infocard {
    padding: 24px;
    border: 1px solid var(--ag-line);
    border-top: 3px solid var(--ag-blue);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(0, 47, 92, .07);
    overflow: hidden;
}

.ag-infocard-title {
    margin: 0 0 14px;
    font: 700 20px/1.3 var(--ag-serif);
}

.ag-infolist { margin: 0 0 20px; }
.ag-infolist > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid var(--ag-line);
}
.ag-infolist > div:last-child { border-bottom: 0; }
.ag-infolist dt { color: var(--ag-slate); font: 400 15px/1.5 var(--ag-sans); }
.ag-infolist dd { margin: 0; color: var(--ag-ink); font: 700 16px/1.5 var(--ag-sans); text-align: right; }

.ag-teamsec { margin-top: 64px; }

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

.ag-member {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 16px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid var(--ag-line);
    border-radius: 4px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.ag-member:hover { border-color: var(--ag-blue); box-shadow: 0 6px 20px rgba(0, 47, 92, .08); }

.ag-member-badge {
    grid-row: 1 / span 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ag-blue);
    color: #fff;
    font: 800 24px/1 var(--ag-serif);
}

.ag-member:nth-child(even) .ag-member-badge { background: var(--ag-red); }

.ag-member-role { color: var(--ag-muted); font: 500 14px/1.4 var(--ag-sans); }
.ag-member-name { color: var(--ag-ink); font: 700 18px/1.4 var(--ag-sans); }
.ag-member-phone { color: var(--ag-blue); font: 600 14px var(--ag-sans); }

.ag-ctaband {
    background: var(--ag-blue-dark);
    color: #fff;
    padding: 44px 0;
}

.ag-ctaband-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
}

.ag-ctaband h2 { margin: 0 0 6px; font: 700 28px/1.3 var(--ag-serif); color: #fff; }
.ag-ctaband p { margin: 0; color: rgba(255,255,255,.8); font-size: 17px; }
.ag-ctaband-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media only screen and (max-width: 991px) {
    .ag-teamgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media only screen and (max-width: 600px) {
    .ag-lede { font-size: 22px; }
    .ag-prose p { font-size: 17px; }
    .ag-values,
    .ag-teamgrid { grid-template-columns: minmax(0, 1fr); }
    .ag-ctaband h2 { font-size: 22px; }
    .ag-ctaband-actions,
    .ag-ctaband-actions .ag-btn { width: 100%; }
}

/* ---------- contact ---------- */
.ag-contactgrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.ag-ccard {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 24px 22px;
    border: 1px solid var(--ag-line);
    border-radius: 4px;
    background: #fff;
    transition: border-color .2s ease, transform .2s ease;
}

.ag-ccard:hover { border-color: var(--ag-blue); transform: translateY(-3px); }

.ag-ccard-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: rgba(0, 70, 138, .09);
    color: var(--ag-blue);
}

.ag-ccard:nth-child(even) .ag-ccard-icon { background: rgba(184, 32, 47, .09); color: var(--ag-red); }

.ag-ccard h3 { margin: 0 0 4px; font: 700 19px/1.3 var(--ag-serif); }
.ag-ccard a { color: var(--ag-ink); font: 600 17px/1.6 var(--ag-sans); word-break: break-word; }
.ag-ccard a:hover { color: var(--ag-red); }
.ag-ccard strong { font: 600 17px/1.6 var(--ag-sans); }
.ag-ccard-note { color: var(--ag-muted); font-size: 14px; }

.ag-formcard {
    padding: 32px;
    border: 1px solid var(--ag-line);
    border-radius: 4px;
    background: var(--ag-paper);
}

.ag-formcard-title { margin: 0 0 6px; font: 700 26px/1.3 var(--ag-serif); }
.ag-formcard-sub { margin: 0 0 24px; color: var(--ag-slate); font-size: 16px; }

.ag-mailbox p { margin: 0 0 18px; color: #2a2f3a; font-size: 17px; line-height: 1.8; }

.ag-alert {
    margin-bottom: 28px;
    padding: 14px 18px;
    border-radius: 4px;
    font: 500 16px/1.6 var(--ag-sans);
}

.ag-alert--ok  { background: #e8f3ec; border: 1px solid #b9dcc5; color: #1d5b35; }
.ag-alert--err { background: #fbeaec; border: 1px solid #f0c2c7; color: #8c1622; }

@media only screen and (max-width: 1199px) {
    .ag-contactgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media only screen and (max-width: 600px) {
    .ag-contactgrid { grid-template-columns: minmax(0, 1fr); margin-bottom: 32px; }
    .ag-formcard { padding: 22px 18px; }
}

/* ---------- forms (contact, login, signup) ---------- */
.ag-form .form-group { margin-bottom: 18px; }

.ag-form .control-label,
.ag-form label {
    margin-bottom: 6px;
    color: var(--ag-ink);
    font: 600 15px var(--ag-sans);
}

.ag-form .form-control {
    height: 48px;
    padding: 10px 14px;
    border: 1px solid #d6d0c3;
    border-radius: 4px;
    box-shadow: none;
    background: #fff;
    color: var(--ag-ink);
    font: 400 16px var(--ag-sans);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.ag-form textarea.form-control { height: auto; min-height: 150px; resize: vertical; }

.ag-form .form-control:focus {
    border-color: var(--ag-blue);
    box-shadow: 0 0 0 3px rgba(0, 70, 138, .15);
}

.ag-form .has-error .form-control { border-color: var(--ag-red); }
.ag-form .has-error .help-block { color: var(--ag-red); font-size: 14px; }
.ag-form .has-success .form-control { border-color: #2e8b57; }

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

.ag-captcha { display: flex; align-items: center; gap: 12px; }
.ag-captcha img { border: 1px solid #d6d0c3; border-radius: 4px; cursor: pointer; }

@media only screen and (max-width: 600px) {
    .ag-form-row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- login / signup ---------- */
.ag-auth {
    max-width: 460px;
    margin: 0 auto;
    padding: 36px 36px 30px;
    border: 1px solid var(--ag-line);
    border-top: 4px solid var(--ag-blue);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 47, 92, .1);
}

.ag-auth-logo { display: block; margin-bottom: 22px; text-align: center; }
.ag-auth-logo img { display: inline-block; height: 58px; width: auto; }

.ag-auth-title { margin: 0 0 6px; text-align: center; font: 800 28px/1.3 var(--ag-serif); }
.ag-auth-sub { margin: 0 0 26px; text-align: center; color: var(--ag-slate); font-size: 16px; }

.ag-auth-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 18px;
}

.ag-auth-row .form-group { margin: 0; }
.ag-auth-row .checkbox { margin: 0; }
.ag-auth-row .checkbox label { font-weight: 500; }

.ag-auth-link { color: var(--ag-blue); font: 600 15px var(--ag-sans); }
.ag-auth-link:hover { color: var(--ag-red); }

.ag-auth-switch {
    margin: 22px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--ag-line);
    text-align: center;
    color: var(--ag-slate);
    font-size: 16px;
}

.ag-auth-switch a { color: var(--ag-red); font-weight: 700; }

@media only screen and (max-width: 480px) {
    .ag-auth { padding: 26px 20px 22px; }
    .ag-auth-title { font-size: 24px; }
}

/* ---------- error ---------- */
.ag-error {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 0 10px;
    text-align: center;
}

.ag-error-code {
    color: transparent;
    font: 800 150px/1 var(--ag-serif);
    -webkit-text-stroke: 3px var(--ag-blue);
    letter-spacing: .02em;
}

.ag-error-title { margin: 10px 0 10px; font: 800 34px/1.3 var(--ag-serif); }
.ag-error-text { margin: 0 auto 8px; max-width: 560px; color: var(--ag-slate); font: 400 18px/1.7 var(--ag-sans); }
.ag-error-detail { margin: 0 auto 8px; color: var(--ag-muted); font-size: 14px; }

.ag-error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }

.ag-error-latest { margin-top: 64px; }

@media only screen and (max-width: 600px) {
    .ag-error-code { font-size: 96px; -webkit-text-stroke-width: 2px; }
    .ag-error-title { font-size: 25px; }
    .ag-error-text { font-size: 16px; }
}

/* ---------- big search box (error + search) ---------- */
.ag-bigsearch {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 560px;
    margin: 26px auto 0;
    padding: 6px 6px 6px 18px;
    border: 2px solid var(--ag-line);
    border-radius: 6px;
    background: #fff;
    transition: border-color .2s ease;
}

.ag-bigsearch:focus-within { border-color: var(--ag-blue); }
.ag-bigsearch svg { flex-shrink: 0; color: var(--ag-muted); }

.ag-bigsearch input {
    flex: 1;
    min-width: 0;
    height: 44px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ag-ink);
    font: 400 17px var(--ag-sans);
}

.ag-bigsearch--wide { max-width: none; margin: 0 0 40px; }

/* ---------- search results ---------- */
.ag-catgrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.ag-catgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }

@media only screen and (max-width: 991px) {
    .ag-catgrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media only screen and (max-width: 600px) {
    .ag-catgrid--2,
    .ag-catgrid--4 { grid-template-columns: minmax(0, 1fr) !important; }
    .ag-bigsearch .ag-btn { padding: 10px 14px; }
}

.ag-emptybox {
    padding: 48px 28px;
    border: 1px dashed #d6d0c3;
    border-radius: 6px;
    background: var(--ag-paper);
    text-align: center;
}

.ag-emptybox h2 { margin: 0 0 8px; font: 700 26px/1.3 var(--ag-serif); }
.ag-emptybox p { margin: 0 0 20px; color: var(--ag-slate); font-size: 17px; }

/* ---------- unicode tool ---------- */
.ag-tool {
    overflow: hidden;
    border: 1px solid var(--ag-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 47, 92, .08);
}

.ag-tool-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 18px;
    background: var(--ag-blue-dark);
}

.ag-tool-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); }
.ag-tool-dot:first-child { background: var(--ag-red); }
.ag-tool-name { margin-left: 10px; color: #fff; font: 600 14px var(--ag-sans); letter-spacing: .04em; }

.ag-tool-frame {
    display: block;
    width: 100%;
    height: 520px;
    border: 0;
    overflow: hidden;
}

.ag-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.ag-step {
    padding: 22px;
    border: 1px solid var(--ag-line);
    border-radius: 4px;
    background: var(--ag-paper);
}

.ag-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--ag-blue);
    color: #fff;
    font: 800 18px/1 var(--ag-serif);
}

.ag-step:nth-child(2) .ag-step-num { background: var(--ag-red); }
.ag-step h3 { margin: 0 0 6px; font: 700 19px/1.3 var(--ag-serif); }
.ag-step p { margin: 0; color: var(--ag-slate); font-size: 16px; line-height: 1.7; }

@media only screen and (max-width: 767px) {
    .ag-tool-frame { height: 640px; }
    .ag-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

/* ---------- footer: useful links (replaces Facebook widget) ---------- */
.ag-fh--gap { margin-top: 30px; }

.ag-flinks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ag-flinks li { list-style: none; }

.ag-footer .ag-flinks a {
    position: relative;
    display: inline-block;
    padding: 6px 0 6px 16px;
    color: rgba(255, 255, 255, .85);
    font: 500 16px var(--ag-sans);
}

.ag-flinks a:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-top: 2px solid var(--ag-red);
    border-right: 2px solid var(--ag-red);
    transform: translateY(-50%) rotate(45deg);
    transition: left .2s ease;
}

.ag-footer .ag-flinks a:hover { color: #fff; }
.ag-flinks a:hover:before { left: 3px; }

/* older posts now show the date instead of "x दिन अगाडि" — give it room */
.ag-tabrow-time { width: auto; min-width: 72px; max-width: 96px; line-height: 1.5; padding-top: 3px; }
