/* =========================================================
   AVAL ARAN - REDESIGNED NEWS HOMEPAGE
   ========================================================= */

:root{
    --aa-maroon:#790b45;
    --aa-maroon-dark:#4c082c;
    --aa-maroon-soft:#f8eaf1;
    --aa-red:#e81818;
    --aa-text:#1d1d1d;
    --aa-muted:#707070;
    --aa-line:#e8e2e5;
    --aa-paper:#fffdfc;
    --aa-white:#ffffff;
    --aa-shadow:0 8px 30px rgba(46,17,33,.08);
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

html,
body{
    margin:0;
    padding:0;
    width:100%;
    max-width:100%;
    overflow-x:hidden;
}

body{
    font-family:Arial,"Noto Sans Tamil","Latha",sans-serif;
    background:var(--aa-paper);
    color:var(--aa-text);
    line-height:1.55;
}

img{
    max-width:100%;
}

a{
    color:inherit;
}

/* ---------- Shared container ---------- */

.container,
.home-container{
    width:min(1240px,calc(100% - 40px));
    margin-left:auto;
    margin-right:auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.top-strip{
    background:var(--aa-maroon-dark);
    color:#fff;
    font-size:12px;
}

.top-strip-inner{
    min-height:34px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.top-links{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

.top-links a{
    color:#fff;
    text-decoration:none;
    opacity:.9;
}

.top-links a:hover{
    opacity:1;
}

.site-header{
    background:#fff;
    border-bottom:1px solid #f0ecee;
}

.brand-row{
    min-height:118px;
    display:flex;
    align-items:center;
    gap:30px;
}

.brand-link{
    display:block;
    flex:0 0 auto;
}

.brand-logo{
    width:255px;
    height:auto;
    display:block;
}

.brand-tagline{
    flex:1;
    color:var(--aa-maroon);
    font-size:16px;
    font-weight:700;
    letter-spacing:.01em;
}

.latest-issue-btn{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 18px;
    border-radius:8px;
    background:var(--aa-maroon);
    color:#fff;
    text-decoration:none;
    font-weight:800;
    white-space:nowrap;
}

.latest-issue-btn:hover{
    background:var(--aa-maroon-dark);
}

/* ---------- Menu ---------- */

.main-nav{
    background:#fff;
    border-bottom:1px solid var(--aa-line);
    box-shadow:0 2px 10px rgba(0,0,0,.025);
}

.nav-scroll{
    min-height:52px;
    display:flex;
    align-items:center;
    gap:0;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
    -ms-overflow-style:none;
}

.nav-scroll::-webkit-scrollbar{
    display:none;
}

.nav-scroll a{
    display:flex;
    align-items:center;
    min-height:52px;
    padding:0 14px;
    color:#2f1b26;
    text-decoration:none;
    font-size:14px;
    font-weight:800;
    white-space:nowrap;
    border-bottom:3px solid transparent;
}

.nav-scroll a:hover{
    color:var(--aa-maroon);
    border-bottom-color:var(--aa-maroon);
}

/* =========================================================
   HOMEPAGE
   ========================================================= */

.home-page{
    width:100%;
}

.breaking-wrap{
    padding-top:18px;
}

.breaking-bar{
    min-height:42px;
    display:flex;
    align-items:center;
    background:#fbebf2;
    border-left:4px solid var(--aa-maroon);
    overflow:hidden;
}

.breaking-label{
    align-self:stretch;
    display:flex;
    align-items:center;
    padding:0 15px;
    background:var(--aa-maroon);
    color:#fff;
    font-size:13px;
    font-weight:800;
    white-space:nowrap;
}

.breaking-text{
    padding:10px 15px;
    color:#3b2631;
    font-size:14px;
}

/* ---------- Promo ---------- */

.top-promo-section{
    padding-top:22px;
}

.top-promo{
    position:relative;
    min-height:230px;
    overflow:hidden;
    border-radius:16px;
    background:var(--aa-maroon-dark);
    box-shadow:var(--aa-shadow);
}

.top-promo img{
    display:block;
    width:100%;
    min-height:230px;
    max-height:410px;
    object-fit:cover;
}

.top-promo::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(42,4,23,.82),rgba(42,4,23,.25) 62%,rgba(42,4,23,.03));
}

.top-promo-overlay{
    position:absolute;
    z-index:2;
    left:34px;
    top:50%;
    width:min(620px,70%);
    transform:translateY(-50%);
    color:#fff;
}

.top-promo-overlay h2{
    margin:0 0 10px;
    font-size:34px;
    line-height:1.25;
}

.top-promo-overlay p{
    margin:0 0 20px;
    font-size:17px;
}

/* ---------- Section headings ---------- */

.section-heading-line{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:18px;
    border-bottom:2px solid var(--aa-line);
    padding-bottom:10px;
}

.section-heading-line h2{
    margin:2px 0 0;
    color:var(--aa-maroon-dark);
    font-size:26px;
    line-height:1.2;
}

.section-heading-line>a{
    color:var(--aa-maroon);
    text-decoration:none;
    font-size:13px;
    font-weight:800;
    white-space:nowrap;
}

.eyebrow{
    display:block;
    color:var(--aa-maroon);
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.08em;
}

/* ---------- Hero ---------- */

.hero-news-section{
    padding-top:34px;
}

.hero-news-grid{
    display:grid;
    grid-template-columns:minmax(0,1.65fr) minmax(340px,.85fr);
    gap:24px;
}

.lead-story{
    min-width:0;
    overflow:hidden;
    background:#fff;
    border:1px solid var(--aa-line);
    border-radius:16px;
    box-shadow:var(--aa-shadow);
}

.lead-image-link{
    display:block;
    width:100%;
    aspect-ratio:16/9;
    overflow:hidden;
    background:#efe9ec;
}

.lead-image-link img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .35s ease;
}

.lead-story:hover .lead-image-link img{
    transform:scale(1.025);
}

.lead-story-content{
    padding:25px 27px 28px;
}

.story-meta{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:9px;
    color:var(--aa-muted);
    font-size:12px;
}

.story-meta span{
    color:var(--aa-maroon);
    font-weight:800;
}

.lead-story h1{
    margin:0 0 12px;
    font-size:34px;
    line-height:1.28;
}

.lead-story h1 a{
    text-decoration:none;
}

.lead-story p{
    margin:0 0 19px;
    color:#626262;
    font-size:16px;
    line-height:1.75;
}

.top-story-list{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
}

.top-story-card{
    min-width:0;
    display:grid;
    grid-template-columns:140px minmax(0,1fr);
    gap:14px;
    padding:11px;
    background:#fff;
    border:1px solid var(--aa-line);
    border-radius:12px;
    box-shadow:0 4px 15px rgba(46,17,33,.045);
}

.top-story-thumb{
    display:block;
    aspect-ratio:4/3;
    overflow:hidden;
    border-radius:9px;
    background:#f1ebee;
}

.top-story-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.top-story-copy{
    min-width:0;
}

.story-category{
    display:inline-block;
    margin-bottom:5px;
    color:var(--aa-maroon);
    font-size:11px;
    font-weight:800;
}

.top-story-copy h3{
    margin:0 0 6px;
    font-size:17px;
    line-height:1.35;
}

.top-story-copy h3 a{
    text-decoration:none;
}

.top-story-copy p{
    margin:0;
    color:var(--aa-muted);
    font-size:12px;
    line-height:1.55;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/* ---------- Buttons ---------- */

.news-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:0 15px;
    border-radius:7px;
    background:var(--aa-maroon);
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

.news-btn:hover{
    background:var(--aa-maroon-dark);
}

.news-btn-light{
    background:#fff;
    color:var(--aa-maroon);
}

.news-btn-light:hover{
    background:#f7eef3;
}

.news-btn-outline-light{
    border:1px solid rgba(255,255,255,.65);
    background:transparent;
    color:#fff;
}

.news-btn-outline-light:hover{
    background:rgba(255,255,255,.12);
}

.text-link{
    color:var(--aa-maroon);
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

/* ---------- Latest cards ---------- */

.latest-section,
.category-section,
.blogs-home-section,
.gallery-home-section{
    padding-top:46px;
}

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

.news-card{
    min-width:0;
    overflow:hidden;
    background:#fff;
    border:1px solid var(--aa-line);
    border-radius:14px;
    box-shadow:0 5px 20px rgba(46,17,33,.05);
}

.news-card-image{
    display:block;
    aspect-ratio:16/9;
    overflow:hidden;
    background:#efe9ec;
}

.news-card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .3s ease;
}

.news-card:hover .news-card-image img{
    transform:scale(1.03);
}

.news-card-body{
    padding:17px 18px 20px;
}

.news-card-body h3{
    margin:0 0 8px;
    font-size:19px;
    line-height:1.38;
}

.news-card-body h3 a{
    text-decoration:none;
}

.news-card-body p{
    margin:0 0 14px;
    color:var(--aa-muted);
    font-size:13px;
    line-height:1.65;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/* ---------- Category sections ---------- */

.category-section{
    padding-top:42px;
}

.compact-heading{
    margin-bottom:16px;
}

.category-news-grid{
    display:grid;
    grid-template-columns:1.3fr repeat(3,minmax(0,.9fr));
    gap:16px;
}

.category-feature-card,
.category-small-card{
    min-width:0;
    overflow:hidden;
    background:#fff;
    border:1px solid var(--aa-line);
    border-radius:12px;
}

.category-image{
    display:block;
    aspect-ratio:16/10;
    overflow:hidden;
    background:#efe9ec;
}

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

.category-card-body{
    padding:15px;
}

.category-card-body h3{
    margin:0 0 8px;
    font-size:17px;
    line-height:1.4;
}

.category-feature-card .category-card-body h3{
    font-size:21px;
}

.category-card-body h3 a{
    text-decoration:none;
}

.category-card-body p{
    color:var(--aa-muted);
    font-size:13px;
    line-height:1.65;
}

/* ---------- Issue spotlight ---------- */

.issue-spotlight-section{
    margin-top:52px;
    background:linear-gradient(135deg,var(--aa-maroon-dark),var(--aa-maroon));
}

.issue-spotlight{
    min-height:430px;
    display:grid;
    grid-template-columns:330px minmax(0,1fr);
    gap:50px;
    align-items:center;
    padding-top:46px;
    padding-bottom:46px;
}

.issue-cover-column{
    display:flex;
    justify-content:center;
}

.issue-cover-column img{
    width:285px;
    aspect-ratio:3/4;
    object-fit:cover;
    border-radius:8px;
    box-shadow:0 20px 45px rgba(0,0,0,.35);
}

.issue-cover-fallback{
    width:285px;
    aspect-ratio:3/4;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:15px;
    border-radius:8px;
    background:#fff;
    color:var(--aa-maroon);
    box-shadow:0 20px 45px rgba(0,0,0,.35);
}

.issue-copy{
    color:#fff;
}

.issue-kicker{
    display:inline-block;
    margin-bottom:10px;
    padding:5px 9px;
    border-radius:20px;
    background:rgba(255,255,255,.15);
    font-size:11px;
    font-weight:800;
}

.issue-copy h2{
    margin:0 0 12px;
    font-size:36px;
    line-height:1.25;
}

.issue-copy p{
    margin:0 0 23px;
    opacity:.85;
}

.issue-button-row{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

/* ---------- Blogs ---------- */

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

.blog-feature-card{
    overflow:hidden;
    background:#fff;
    border:1px solid var(--aa-line);
    border-radius:14px;
}

.blog-feature-image{
    display:block;
    aspect-ratio:16/9;
    overflow:hidden;
}

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

.blog-feature-body{
    padding:18px;
}

.blog-feature-body h3{
    margin:0 0 8px;
    font-size:19px;
    line-height:1.4;
}

.blog-feature-body h3 a{
    text-decoration:none;
}

.blog-feature-body p{
    color:var(--aa-muted);
    font-size:13px;
    line-height:1.65;
}

/* ---------- Gallery ---------- */

.gallery-mosaic{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    grid-auto-rows:220px;
    gap:12px;
}

.gallery-mosaic-item{
    position:relative;
    overflow:hidden;
    border-radius:12px;
    background:#eee;
}

.gallery-mosaic-large{
    grid-column:span 2;
    grid-row:span 2;
}

.gallery-mosaic-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .35s ease;
}

.gallery-mosaic-item:hover img{
    transform:scale(1.035);
}

.gallery-mosaic-item::after{
    content:"";
    position:absolute;
    inset:40% 0 0;
    background:linear-gradient(transparent,rgba(0,0,0,.76));
}

.gallery-mosaic-item span{
    position:absolute;
    z-index:2;
    left:14px;
    right:14px;
    bottom:12px;
    color:#fff;
    font-size:14px;
    font-weight:800;
}

/* ---------- Fallbacks ---------- */

.image-fallback{
    width:100%;
    height:100%;
    min-height:100px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:
        linear-gradient(135deg,#f5e4ed,#fdf7fa);
    color:var(--aa-maroon);
    font-weight:900;
}

.image-fallback-large{
    min-height:360px;
}

.empty-home-card{
    min-height:420px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:30px;
    text-align:center;
}

/* =========================================================
   EXISTING PUBLIC PAGES
   ========================================================= */

.section{
    margin:38px auto;
}

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

.card,
.issue-card,
.gallery-card,
.blog-card,
.panel{
    background:#fff;
    border:1px solid var(--aa-line);
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(46,17,33,.045);
}

.card img,
.blog-card img,
.gallery-card img{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
}

.pad{
    padding:20px;
}

.muted{
    color:var(--aa-muted);
}

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

.issue-card{
    padding:14px;
}

.issue-cover{
    width:100%;
    aspect-ratio:3/4;
    object-fit:cover;
    background:#eee;
    border-radius:8px;
}

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

.btn{
    display:inline-block;
    padding:9px 12px;
    border-radius:7px;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

.btn-primary{
    background:var(--aa-maroon);
    color:#fff;
}

.btn-light{
    background:#f1e8ed;
    color:#551034;
}

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


/* =========================================================
   AVAL ARAN ARTICLE PAGE - NEWS STYLE
   ========================================================= */

.article-page{
    padding-top:28px;
    padding-bottom:60px;
}

.article-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 300px;
    gap:34px;
    align-items:start;
}

.article-main{
    min-width:0;
}

.article-kicker{
    margin-bottom:8px;
    color:var(--aa-maroon);
    font-size:13px;
    font-weight:800;
}

.article-title{
    margin:0 0 12px;
    color:#111;
    font-family:Arial,"Noto Sans Tamil","Latha",sans-serif;
    font-size:clamp(34px,4.1vw,54px);
    font-weight:800;
    line-height:1.18;
    letter-spacing:0;
}

.article-lead{
    max-width:850px;
    margin:0 0 14px;
    color:#4b4b4b;
    font-family:Arial,"Noto Sans Tamil","Latha",sans-serif;
    font-size:18px;
    line-height:1.65;
}

.article-meta{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    align-items:center;
    margin-bottom:16px;
    color:#6d6d6d;
    font-size:12px;
}

.article-meta strong{
    color:#222;
}

.article-share{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    margin:0 0 20px;
}

.share-label{
    color:#666;
    font-size:12px;
    font-weight:700;
}

.share-whatsapp,
.share-copy{
    min-height:35px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 12px;
    border-radius:4px;
    font-size:12px;
    font-weight:700;
    text-decoration:none;
    cursor:pointer;
}

.share-whatsapp{
    background:#25D366;
    border:1px solid #25D366;
    color:#fff;
}

.share-copy{
    background:#fff;
    border:1px solid #d7d7d7;
    color:#222;
}

.article-featured{
    margin:0 0 12px;
}

.article-featured img{
    width:100%;
    display:block;
    max-height:560px;
    object-fit:cover;
    border-radius:0;
}

.article-image-caption{
    margin:0 0 24px;
    padding:8px 10px;
    border-left:2px solid #c7c7c7;
    color:#666;
    font-size:13px;
    line-height:1.55;
}

.article-author-box{
    margin:6px 0 20px;
}

.article-author-name{
    margin:0 0 2px;
    color:#111;
    font-size:16px;
    font-weight:800;
}

.article-author-role{
    color:#777;
    font-size:12px;
}

.article-publish-time{
    margin:18px 0 8px;
    color:#777;
    font-size:12px;
}

.article-read-time{
    margin:0 0 18px;
    color:#777;
    font-size:12px;
}

.article-body{
    max-width:780px;
    color:#111;
    font-family:Arial,"Noto Sans Tamil","Latha",sans-serif;
    font-size:18px;
    line-height:1.85;
    font-weight:400;
}

.article-body p{
    margin:0 0 22px;
}

.article-body h2{
    margin:30px 0 12px;
    color:#111;
    font-size:27px;
    line-height:1.3;
    font-weight:800;
}

.article-body h3{
    margin:26px 0 10px;
    color:#111;
    font-size:22px;
    line-height:1.35;
    font-weight:800;
}

.article-body img{
    max-width:100%;
    height:auto;
    display:block;
    margin:24px auto;
}

.article-body blockquote{
    margin:26px 0;
    padding:16px 18px;
    border-left:4px solid var(--aa-maroon);
    background:#faf7f8;
    font-size:19px;
    line-height:1.75;
}

/* Sidebar */

.article-sidebar{
    position:sticky;
    top:20px;
}

.sidebar-section{
    margin-bottom:34px;
}

.sidebar-heading{
    margin:0 0 14px;
    padding-bottom:8px;
    border-bottom:2px solid #111;
    color:#111;
    font-family:Arial,"Noto Sans Tamil","Latha",sans-serif;
    font-size:24px;
    line-height:1.25;
    font-weight:800;
}

.sidebar-text-list{
    display:grid;
    gap:0;
}

.sidebar-text-card{
    display:block;
    padding:14px 12px;
    margin-bottom:10px;
    background:#fff;
    border:1px solid #eee;
    text-decoration:none;
}

.sidebar-text-title{
    margin:0 0 8px;
    color:#111;
    font-size:16px;
    line-height:1.45;
    font-weight:800;
}

.sidebar-text-card:hover .sidebar-text-title{
    color:var(--aa-maroon);
}

.sidebar-text-date{
    color:#777;
    font-size:11px;
}

.featured-sidebar-list{
    display:grid;
    gap:18px;
}

.featured-sidebar-card{
    display:block;
    background:#fff;
    text-decoration:none;
    overflow:hidden;
}

.featured-sidebar-card img{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    display:block;
}

.featured-sidebar-copy{
    padding:11px 12px 13px;
    background:#6d7756;
    color:#fff;
}

.featured-sidebar-title{
    margin:0 0 7px;
    color:#fff;
    font-size:16px;
    line-height:1.4;
    font-weight:800;
}

.featured-sidebar-date{
    font-size:11px;
    color:rgba(255,255,255,.86);
}

@media(max-width:1000px){
    .article-layout{
        grid-template-columns:minmax(0,1fr) 270px;
        gap:26px;
    }

    .article-title{
        font-size:40px;
    }

    .article-body{
        font-size:17px;
    }
}

@media(max-width:760px){
    .article-page{
        padding-top:20px;
        padding-bottom:40px;
    }

    .article-layout{
        grid-template-columns:1fr;
        gap:36px;
    }

    .article-title{
        font-size:32px;
    }

    .article-lead{
        font-size:17px;
    }

    .article-body{
        max-width:none;
        font-size:17px;
        line-height:1.8;
    }

    .article-sidebar{
        position:static;
    }

    .sidebar-heading{
        font-size:22px;
    }
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer{
    margin-top:60px;
    background:var(--aa-maroon-dark);
    color:#fff;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:34px;
    padding:42px 0;
}

.footer-logo{
    width:200px;
    padding:7px;
    background:#fff;
    border-radius:7px;
}

.site-footer p{
    max-width:520px;
    color:rgba(255,255,255,.78);
    line-height:1.8;
}

.site-footer a{
    display:block;
    margin:8px 0;
    color:#fff;
    text-decoration:none;
    opacity:.87;
}

.site-footer a:hover{
    opacity:1;
}

.footer-bottom{
    padding:15px;
    border-top:1px solid rgba(255,255,255,.14);
    text-align:center;
    font-size:12px;
    color:rgba(255,255,255,.72);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width:1100px){

    .hero-news-grid{
        grid-template-columns:1.4fr .9fr;
    }

    .top-story-card{
        grid-template-columns:110px minmax(0,1fr);
    }

    .category-news-grid{
        grid-template-columns:1fr 1fr;
    }

    .category-feature-card{
        grid-column:span 2;
        display:grid;
        grid-template-columns:1.2fr 1fr;
    }

    .category-feature-card .category-image{
        aspect-ratio:auto;
        height:100%;
    }

    .issue-spotlight{
        grid-template-columns:280px minmax(0,1fr);
        gap:30px;
    }

    .news-card-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width:850px){

    .container,
    .home-container{
        width:min(100% - 28px,1240px);
    }

    .brand-row{
        min-height:95px;
        gap:18px;
    }

    .brand-logo{
        width:210px;
    }

    .brand-tagline{
        display:none;
    }

    .hero-news-grid{
        grid-template-columns:1fr;
    }

    .top-story-list{
        grid-template-columns:1fr 1fr;
    }

    .issue-spotlight{
        grid-template-columns:1fr;
        text-align:center;
    }

    .issue-button-row{
        justify-content:center;
    }

    .blog-feature-grid{
        grid-template-columns:1fr 1fr;
    }

    .gallery-mosaic{
        grid-template-columns:1fr 1fr;
    }

    .gallery-mosaic-large{
        grid-column:span 2;
        grid-row:span 1;
    }

    .issues-grid{
        grid-template-columns:1fr 1fr;
    }

    .footer-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width:620px){

    .container,
    .home-container{
        width:min(100% - 20px,1240px);
    }

    .top-strip{
        display:none;
    }

    .brand-row{
        min-height:80px;
        gap:12px;
        padding:9px 0;
    }

    .brand-logo{
        width:165px;
        max-width:58vw;
    }

    .latest-issue-btn{
        min-height:36px;
        padding:0 11px;
        font-size:11px;
    }

    .nav-scroll a{
        min-height:46px;
        padding:0 11px;
        font-size:13px;
    }

    .breaking-wrap{
        padding-top:12px;
    }

    .breaking-bar{
        align-items:stretch;
    }

    .breaking-label{
        padding:0 10px;
        font-size:11px;
    }

    .breaking-text{
        padding:8px 10px;
        font-size:12px;
    }

    .top-promo-overlay{
        left:18px;
        right:18px;
        width:auto;
    }

    .top-promo-overlay h2{
        font-size:25px;
    }

    .top-promo-overlay p{
        font-size:14px;
    }

    .hero-news-section{
        padding-top:26px;
    }

    .section-heading-line{
        align-items:flex-start;
    }

    .section-heading-line h2{
        font-size:22px;
    }

    .lead-story h1{
        font-size:27px;
    }

    .lead-story-content{
        padding:19px;
    }

    .top-story-list{
        grid-template-columns:1fr;
    }

    .top-story-card{
        grid-template-columns:110px minmax(0,1fr);
    }

    .news-card-grid,
    .blog-feature-grid,
    .gallery-grid,
    .blogs-grid,
    .cards,
    .issues-grid{
        grid-template-columns:1fr;
    }

    .category-news-grid{
        grid-template-columns:1fr;
    }

    .category-feature-card{
        grid-column:auto;
        display:block;
    }

    .issue-copy h2{
        font-size:28px;
    }

    .gallery-mosaic{
        grid-template-columns:1fr;
        grid-auto-rows:230px;
    }

    .gallery-mosaic-large{
        grid-column:auto;
    }

    .footer-grid{
        grid-template-columns:1fr;
    }

    .article-wrap{
        width:min(100% - 20px,880px);
    }

    .article-wrap h1{
        font-size:29px;
    }
}


/* =========================================================
   NAVIGATION MANAGER FRONT-END STYLES
   ========================================================= */

.main-nav{
    position:relative;
    background:#fff;
    border-bottom:1px solid #e8e1e4;
    box-shadow:0 4px 14px rgba(48,11,31,.04);
    z-index:100;
}

.nav-wrap{
    position:relative;
}

.main-menu{
    min-height:54px;
    display:flex;
    align-items:center;
    gap:2px;
}

.nav-item{
    position:relative;
}

.nav-link{
    position:relative;
    min-height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    padding:0 13px;
    color:#2b1d24;
    text-decoration:none;
    font-size:14px;
    font-weight:800;
    white-space:nowrap;
    background:transparent;
    border:0;
    cursor:pointer;
}

.nav-link:hover,
.nav-link.active,
.nav-item.active>.nav-link{
    color:#790b45;
    background:#fbf3f7;
}

.nav-link::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:0;
    width:0;
    height:3px;
    transform:translateX(-50%);
    background:#790b45;
    transition:.2s;
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-item.active>.nav-link::after{
    width:60%;
}

.dropdown-arrow{
    font-size:11px;
    margin-top:-2px;
}

.dropdown-menu{
    position:absolute;
    left:0;
    top:100%;
    min-width:210px;
    padding:7px;
    background:#fff;
    border:1px solid #e8e1e4;
    border-radius:0 0 10px 10px;
    box-shadow:0 14px 30px rgba(0,0,0,.12);
    opacity:0;
    visibility:hidden;
    transform:translateY(8px);
    transition:.18s;
}

.has-dropdown:hover>.dropdown-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.dropdown-link{
    display:block;
    padding:10px 12px;
    border-radius:7px;
    color:#33232b;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
}

.dropdown-link:hover,
.dropdown-link.active{
    background:#f8eaf1;
    color:#790b45;
}

.menu-toggle{
    display:none;
}

.nav-admin-list{
    display:grid;
    gap:14px;
}

.nav-admin-item{
    border:1px solid #eee;
    border-radius:10px;
    background:#fff;
}

.nav-admin-main{
    display:grid;
    grid-template-columns:34px minmax(180px,1.2fr) minmax(250px,1fr) auto;
    align-items:center;
    gap:14px;
    padding:14px;
}

.drag-handle{
    color:#999;
    font-size:20px;
    text-align:center;
}

.nav-admin-title{
    display:grid;
    gap:3px;
}

.nav-admin-title span{
    font-size:12px;
    color:#777;
}

.nav-admin-meta{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
}

.nav-admin-children{
    padding:0 14px 14px 48px;
}

.child-item{
    background:#faf8f9;
}

@media(max-width:1100px){
    .main-menu{
        overflow-x:auto;
        scrollbar-width:none;
    }
    .main-menu::-webkit-scrollbar{
        display:none;
    }
}

@media(max-width:760px){

    .nav-wrap{
        min-height:50px;
        display:flex;
        align-items:center;
    }

    .menu-toggle{
        width:42px;
        height:38px;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:5px;
        border:0;
        border-radius:7px;
        background:#790b45;
        cursor:pointer;
    }

    .menu-toggle span{
        width:20px;
        height:2px;
        background:#fff;
        transition:.2s;
    }

    .menu-toggle.is-open span:nth-child(1){
        transform:translateY(7px) rotate(45deg);
    }

    .menu-toggle.is-open span:nth-child(2){
        opacity:0;
    }

    .menu-toggle.is-open span:nth-child(3){
        transform:translateY(-7px) rotate(-45deg);
    }

    .main-menu{
        position:absolute;
        top:50px;
        left:0;
        right:0;
        min-height:0;
        display:none;
        padding:8px;
        background:#fff;
        border:1px solid #e7dfe3;
        border-radius:0 0 12px 12px;
        box-shadow:0 12px 28px rgba(0,0,0,.12);
        overflow:visible;
    }

    .main-menu.is-open{
        display:block;
    }

    .nav-item{
        width:100%;
    }

    .nav-link{
        width:100%;
        min-height:44px;
        justify-content:flex-start;
        padding:0 13px;
        border-radius:7px;
    }

    .nav-link::after{
        display:none;
    }

    .dropdown-menu{
        position:static;
        display:none;
        opacity:1;
        visibility:visible;
        transform:none;
        box-shadow:none;
        border:0;
        border-radius:0;
        padding:4px 0 4px 16px;
        min-width:0;
    }

    .has-dropdown.dropdown-open>.dropdown-menu{
        display:block;
    }

    .has-dropdown:hover>.dropdown-menu{
        display:none;
    }

    .has-dropdown.dropdown-open:hover>.dropdown-menu{
        display:block;
    }

    .dropdown-link{
        padding:9px 12px;
    }

    .main-menu [data-mobile="0"]{
        display:none!important;
    }
}

@media(min-width:761px){
    .main-menu [data-desktop="0"]{
        display:none!important;
    }
}

@media(max-width:900px){
    .nav-admin-main{
        grid-template-columns:28px 1fr;
    }

    .nav-admin-meta,
    .nav-admin-main .row-actions{
        grid-column:2;
    }
}


/* =========================================================
   AVAL ARAN - FINAL NEWSPAPER STYLE NAVIGATION
   Clean white navigation inspired by modern news websites.
   This block intentionally overrides older navigation styles.
   ========================================================= */

.site-header{
    background:#fff;
    border-bottom:1px solid #ece7e9;
    box-shadow:none;
}

.header-main-row{
    min-height:112px;
    display:flex;
    align-items:center;
    gap:26px;
}

.brand-link{
    flex:0 0 auto;
}

.brand-logo{
    width:245px;
    height:auto;
    display:block;
}

.brand-tagline{
    color:var(--aa-maroon);
    font-size:15px;
    font-weight:700;
    white-space:nowrap;
}

.header-right{
    margin-left:auto;
    display:flex;
    align-items:center;
    gap:14px;
}

.latest-issue-btn{
    min-height:40px;
    padding:0 16px;
    border-radius:7px;
    background:var(--aa-maroon);
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

.latest-issue-btn:hover{
    background:var(--aa-maroon-dark);
}

/* ---------- Clean newspaper navigation ---------- */

.main-nav{
    position:relative;
    z-index:100;
    background:#fff;
    border-top:0;
    border-bottom:1px solid #dcdcdc;
    box-shadow:none;
}

.nav-wrap{
    min-height:52px;
    display:flex;
    align-items:center;
    gap:14px;
}

.nav-utility{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    gap:14px;
}

.menu-toggle{
    width:28px;
    height:28px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    border:0;
    background:transparent;
    padding:0;
    cursor:pointer;
}

.menu-toggle span{
    display:block;
    width:24px;
    height:1.5px;
    background:#222;
    transition:.18s;
}

.menu-toggle.is-open span:nth-child(1){
    transform:translateY(6.5px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2){
    opacity:0;
}

.menu-toggle.is-open span:nth-child(3){
    transform:translateY(-6.5px) rotate(-45deg);
}

.nav-search-link{
    display:inline-flex;
    align-items:center;
    gap:7px;
    min-height:40px;
    color:#111;
    text-decoration:none;
    font-family:Arial,"Noto Sans Tamil",sans-serif;
    font-size:13px;
    font-weight:600;
    white-space:nowrap;
}

.nav-search-icon{
    position:relative;
    width:17px;
    height:17px;
    border:1.8px solid #111;
    border-radius:50%;
    display:inline-block;
}

.nav-search-icon::after{
    content:"";
    position:absolute;
    width:7px;
    height:1.8px;
    background:#111;
    right:-5px;
    bottom:-2px;
    transform:rotate(45deg);
    transform-origin:left center;
}

/* Menu text */
.main-menu{
    flex:1 1 auto;
    min-width:0;
    min-height:52px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:2px;
    overflow-x:auto;
    overflow-y:visible;
    scrollbar-width:none;
    -ms-overflow-style:none;
}

.main-menu::-webkit-scrollbar{
    display:none;
}

.nav-item{
    position:relative;
    flex:0 0 auto;
}

.nav-link{
    position:relative;
    min-height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    padding:0 14px;
    border:0;
    border-radius:0;
    background:transparent;
    color:#111;
    text-decoration:none;
    font-family:Georgia,"Times New Roman","Noto Serif Tamil",serif;
    font-size:16px;
    font-weight:700;
    letter-spacing:0;
    white-space:nowrap;
    cursor:pointer;
    transition:color .16s ease, background .16s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-item.active>.nav-link{
    background:transparent;
    color:var(--aa-maroon);
}

.nav-link::after{
    content:"";
    position:absolute;
    left:12px;
    right:12px;
    bottom:0;
    width:auto;
    height:3px;
    transform:none;
    background:transparent;
    transition:background .16s ease;
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-item.active>.nav-link::after{
    width:auto;
    background:var(--aa-maroon);
}

.dropdown-arrow{
    font-size:8px;
    opacity:.7;
    margin-left:2px;
}

/* ---------- Dropdown ---------- */

.dropdown-menu{
    position:absolute;
    left:0;
    top:100%;
    min-width:220px;
    padding:8px;
    background:#fff;
    border:1px solid #e3e0e1;
    border-top:3px solid var(--aa-maroon);
    border-radius:0 0 8px 8px;
    box-shadow:0 12px 28px rgba(0,0,0,.12);
    opacity:0;
    visibility:hidden;
    transform:translateY(6px);
    transition:.16s;
    z-index:250;
}

.has-dropdown:hover>.dropdown-menu,
.has-dropdown:focus-within>.dropdown-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.dropdown-link{
    display:block;
    padding:10px 12px;
    border-radius:5px;
    color:#222;
    text-decoration:none;
    font-family:Georgia,"Times New Roman","Noto Serif Tamil",serif;
    font-size:14px;
    font-weight:700;
    line-height:1.35;
}

.dropdown-link:hover,
.dropdown-link.active{
    background:#faf2f6;
    color:var(--aa-maroon);
}

/* Desktop visibility */
@media(min-width:761px){
    .main-menu [data-desktop="0"]{
        display:none!important;
    }
}

/* ---------- Tablet ---------- */

@media(max-width:1050px) and (min-width:761px){
    .brand-logo{
        width:210px;
    }

    .brand-tagline{
        display:none;
    }

    .header-main-row{
        min-height:96px;
    }

    .nav-link{
        padding:0 11px;
        font-size:15px;
    }
}

/* ---------- Mobile ---------- */

@media(max-width:760px){

    .header-main-row{
        min-height:80px;
        gap:10px;
    }

    .brand-logo{
        width:165px;
        max-width:58vw;
    }

    .brand-tagline{
        display:none;
    }

    .header-right{
        gap:8px;
    }

    .latest-issue-btn{
        min-height:35px;
        padding:0 10px;
        font-size:11px;
    }

    .nav-wrap{
        min-height:50px;
        justify-content:space-between;
        gap:8px;
    }

    .nav-utility{
        width:100%;
        justify-content:flex-start;
        gap:15px;
    }

    .menu-toggle{
        display:flex;
    }

    .nav-search-link{
        font-size:13px;
    }

    .main-menu{
        position:absolute;
        left:10px;
        right:10px;
        top:50px;
        width:auto;
        min-height:0;
        display:none;
        padding:9px;
        background:#fff;
        border:1px solid #e3e0e1;
        border-top:3px solid var(--aa-maroon);
        border-radius:0 0 10px 10px;
        box-shadow:0 15px 30px rgba(0,0,0,.13);
        overflow:visible;
        z-index:300;
    }

    .main-menu.is-open{
        display:block;
    }

    .nav-item{
        width:100%;
    }

    .nav-link{
        width:100%;
        min-height:44px;
        justify-content:flex-start;
        padding:0 13px;
        border-radius:5px;
        font-size:15px;
        color:#222;
    }

    .nav-link::after{
        display:none;
    }

    .nav-link:hover,
    .nav-link.active,
    .nav-item.active>.nav-link{
        background:#faf2f6;
        color:var(--aa-maroon);
    }

    .dropdown-arrow{
        margin-left:auto;
    }

    .dropdown-menu{
        position:static;
        display:none;
        min-width:0;
        padding:4px 0 4px 16px;
        border:0;
        box-shadow:none;
        opacity:1;
        visibility:visible;
        transform:none;
    }

    .has-dropdown.dropdown-open>.dropdown-menu{
        display:block;
    }

    .has-dropdown:hover>.dropdown-menu{
        display:none;
    }

    .has-dropdown.dropdown-open:hover>.dropdown-menu{
        display:block;
    }

    .dropdown-link{
        margin:2px 0;
        padding:9px 11px;
        background:#fafafa;
    }

    .main-menu [data-mobile="0"]{
        display:none!important;
    }
}

/* =========================================================
   FINAL ARTICLE TYPOGRAPHY FIX
   ========================================================= */

.article-page{
    max-width:1240px;
    margin-left:auto;
    margin-right:auto;
}

.article-layout{
    display:grid !important;
    grid-template-columns:minmax(0, 800px) 300px !important;
    justify-content:space-between;
    gap:42px !important;
    align-items:start;
}

/* Main news text */
.article-body{
    width:100%;
    max-width:780px !important;

    font-family:
        Arial,
        "Noto Sans Tamil",
        "Latha",
        sans-serif !important;

    font-size:17px !important;
    font-weight:400 !important;
    line-height:1.78 !important;

    color:#171717 !important;
}

/*
   Remove formatting brought in from Word,
   other websites or the rich editor.
*/
.article-body p,
.article-body div,
.article-body span{
    font-family:
        Arial,
        "Noto Sans Tamil",
        "Latha",
        sans-serif !important;

    font-size:17px !important;
    font-weight:400 !important;
    line-height:1.78 !important;

    color:#171717 !important;
}

.article-body p{
    margin:0 0 20px !important;
}

/* If entire paragraphs were accidentally saved as bold */
.article-body p strong,
.article-body p b,
.article-body div strong,
.article-body div b{
    font-weight:400 !important;
}

/* Genuine article subheadings */
.article-body h2{
    margin:30px 0 12px !important;

    font-family:
        Arial,
        "Noto Sans Tamil",
        "Latha",
        sans-serif !important;

    font-size:24px !important;
    font-weight:800 !important;
    line-height:1.35 !important;

    color:#111 !important;
}

.article-body h3{
    margin:25px 0 10px !important;

    font-size:20px !important;
    font-weight:800 !important;
    line-height:1.4 !important;
}

/* Article image */
.article-featured img{
    width:100% !important;
    height:auto !important;
    max-height:none !important;
    object-fit:contain !important;
}

/* Right column */
.article-sidebar{
    width:300px;
    position:sticky;
    top:20px;
}

.sidebar-heading{
    margin:0 0 14px;

    padding-bottom:9px;

    border-bottom:3px solid #111;

    font-size:23px;
    font-weight:800;
}

/* Image stories on right */
.featured-sidebar-card{
    display:block;

    margin-bottom:20px;

    text-decoration:none;

    background:#fff;
}

.featured-sidebar-card img{
    display:block;

    width:100%;
    height:170px;

    object-fit:cover;
}

.featured-sidebar-copy{
    padding:12px 13px 14px;

    background:#676f54;
}

.featured-sidebar-title{
    margin:0 0 8px;

    color:#fff;

    font-size:16px;
    font-weight:800;
    line-height:1.4;
}

.featured-sidebar-date{
    color:rgba(255,255,255,.85);

    font-size:11px;
}

/* Recent text stories */
.sidebar-text-card{
    display:block;

    padding:14px 12px;

    margin-bottom:10px;

    background:#fff;

    border:1px solid #ececec;

    text-decoration:none;
}

.sidebar-text-title{
    margin:0 0 7px;

    color:#111;

    font-size:15px;
    font-weight:800;
    line-height:1.45;
}

/* Tablet / mobile */
@media(max-width:900px){

    .article-layout{
        grid-template-columns:1fr !important;
    }

    .article-body{
        max-width:none !important;
    }

    .article-sidebar{
        position:static;
        width:100%;
    }

    .featured-sidebar-list{
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:16px;
    }
}

@media(max-width:620px){

    .article-body,
    .article-body p,
    .article-body div,
    .article-body span{
        font-size:16px !important;
        line-height:1.75 !important;
    }

    .featured-sidebar-list{
        grid-template-columns:1fr;
    }
}
