/*
Theme Name: Avatar News Modern Pro
Theme URI: https://avatarnews.in/
Author: Avatar News
Description: Modern fast SEO-friendly Hindi news portal theme with the same Avatar News options, sticky navigation, News Snap, ads, video cards, comments and related news.
Version: 3.1.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: avatar-news-pro
*/

/* ============================================================
   BASE VARIABLES & RESET
   ============================================================ */
:root{--an-red:#d40000;--an-dark:#252a2e;--an-text:#202020;--an-muted:#6d6d6d;--an-border:#ddd;--an-bg:#f6f6f6;--an-max:1240px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--an-text);font-family:system-ui,-apple-system,"Noto Sans Devanagari","Nirmala UI",Arial,sans-serif;line-height:1.6}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
/* `hidden` creates an ancestor scroll container and breaks position:sticky.
 * `clip` prevents sideways overflow without disabling sticky navigation. */
html,body{max-width:100%;overflow-x:clip}
.an-container{width:min(var(--an-max),calc(100% - 32px));margin:auto}

/* ============================================================
   TOPBAR
   ============================================================ */
.an-topbar{background:#f4f4f4;border-bottom:1px solid #ddd;font-size:13px}
.an-topbar-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between!important;gap:15px}
.an-top-links{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.an-top-links a:hover,.an-footer a:hover{color:var(--an-red)}
.an-auto-date{margin-left:auto;flex:0 0 auto;white-space:nowrap;font-size:12px;color:#555;font-weight:700}

/* ============================================================
   HEADER
   ============================================================ */
.an-header{background:#fff}
.an-head-main{min-height:78px;display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px;align-items:center;padding:8px 0}
.an-head-main>div:first-child{min-width:0}
.custom-logo{max-height:58px;width:auto;max-width:220px}
.an-brand{font-weight:900;font-size:38px;line-height:1}
.an-brand span{color:var(--an-red)}
.an-tagline{font-size:11px;margin-top:3px;color:#666}
.an-head-ad{min-height:64px;height:64px;background:#fafafa;border:1px solid #eee;display:flex;align-items:center;justify-content:center;color:#aaa;font-size:13px;overflow:hidden}

/* ============================================================
   NAVIGATION — DESKTOP
   ============================================================ */
.an-nav-wrap{background:var(--an-dark);color:#fff;position:sticky;top:0;z-index:8000}
.an-nav{display:flex;align-items:stretch;min-height:48px;min-width:0;overflow:visible!important;position:relative}
.an-menu-toggle{display:none;background:none;border:0;color:#fff;font-size:23px;padding:8px 12px;cursor:pointer}

/* Desktop menu scroller with visible scrollbar */
@media(min-width:701px){
  .an-nav-wrap{position:sticky!important;top:0!important;z-index:8000!important}
  .an-nav{display:flex!important;align-items:stretch!important;min-width:0!important;min-height:56px!important;overflow:visible!important;padding-bottom:6px!important}

  /* Scrollable menu strip */
  .an-menu-scroll{
    display:block!important;
    flex:1 1 auto!important;
    width:0!important;
    min-width:0!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    white-space:nowrap!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:auto!important;
    scrollbar-color:#d40000 #252a2e!important;
    overscroll-behavior-x:contain!important;
    cursor:grab;
  }
  .an-menu-scroll.an-menu-dragging{cursor:grabbing;user-select:none}

  /* Visible red scrollbar */
  .an-menu-scroll::-webkit-scrollbar{height:8px;display:block}
  .an-menu-scroll::-webkit-scrollbar-track{background:#252a2e;border-radius:4px}
  .an-menu-scroll::-webkit-scrollbar-thumb{background:#d40000;border-radius:4px;border:1px solid #252a2e}
  .an-menu-scroll::-webkit-scrollbar-thumb:hover{background:#b40000}

  /* Main menu */
  .an-main-menu{
    display:flex!important;
    align-items:stretch!important;
    flex:0 0 auto!important;
    width:max-content!important;
    min-width:100%!important;
    overflow:visible!important;
    white-space:nowrap!important;
    list-style:none;
    padding:0;
    margin:0;
  }
  .an-main-menu>li{flex:0 0 auto!important;position:relative!important;display:block}
  .an-main-menu>li>a{
    display:flex;
    align-items:center;
    padding:10px 13px;
    font-size:15px;
    font-weight:800;
    white-space:nowrap;
    height:48px;
    color:#fff;
    text-decoration:none;
  }
  .an-main-menu>li>a:hover,.an-main-menu .current-menu-item>a{background:#3a4045}

  /* Hide submenus in main menu (they go to portal) */
  .an-main-menu>li>.sub-menu,.an-main-menu .sub-menu{display:none!important}

  .an-nav-tools{flex:0 0 auto!important;margin-left:0!important;position:relative;z-index:10002;background:var(--an-dark);padding-left:6px;display:flex;align-items:center}
  .an-search-btn{background:#3a4045;color:#fff;border:0;border-radius:2px;padding:8px 11px;cursor:pointer}

  /* Search panel */
  .an-search-panel{position:absolute;left:0;right:0;top:100%;z-index:10001;display:none;background:#fff;border-bottom:1px solid #ddd;padding:10px}
  .an-search-panel.is-open{display:block!important}
  .an-search-panel form{display:flex;gap:6px}
  .an-search-panel input{flex:1;padding:10px;border:1px solid #ccc;min-width:0;box-sizing:border-box}
  .an-search-panel button{background:var(--an-red);color:#fff;border:0;padding:0 15px;cursor:pointer}

  /* ============================================
     DESKTOP DROPDOWN PORTAL — Clean Fix
     ============================================ */
  .an-desktop-dropdown-portal{
    position:fixed!important;
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    z-index:2147483000!important;
    min-width:210px!important;
    max-width:260px!important;
    max-height:80vh;
    overflow:visible!important;
    background:#252a2e!important;
    border-top:3px solid #d40000!important;
    box-shadow:0 10px 24px rgba(0,0,0,.35)!important;
    margin:0!important;
    padding:0!important;
    border-radius:0 0 4px 4px;
  }

  /* Portal first-level list */
  .an-desktop-dropdown-portal>ul{
    display:block!important;
    list-style:none!important;
    margin:0!important;
    padding:4px 0!important;
    background:#252a2e!important;
    width:100%!important;
  }

  /* First-level items */
  .an-desktop-dropdown-portal>ul>li{
    position:relative!important;
    display:block!important;
    width:100%!important;
    white-space:nowrap;
  }

  .an-desktop-dropdown-portal>ul>li>a{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    box-sizing:border-box!important;
    padding:10px 14px!important;
    color:#fff!important;
    background:#252a2e!important;
    font-size:14px!important;
    line-height:1.35!important;
    white-space:nowrap!important;
    text-decoration:none!important;
  }
  .an-desktop-dropdown-portal>ul>li>a:hover,
  .an-desktop-dropdown-portal>ul>li>a:focus-visible{
    background:#3a4045!important;
    outline:none!important;
  }

  /* Chevron for items with children */
  .an-desktop-dropdown-portal>ul>li.menu-item-has-children>a:after{
    content:'›';
    margin-left:12px;
    font-size:14px;
    opacity:.8;
  }

  /* Nested submenu — hidden by default */
  .an-desktop-dropdown-portal>ul>li>ul{
    display:none!important;
    position:absolute!important;
    left:100%!important;
    top:0!important;
    min-width:190px!important;
    max-width:230px!important;
    margin:0!important;
    padding:4px 0!important;
    background:#252a2e!important;
    border-top:3px solid #d40000!important;
    box-shadow:0 10px 24px rgba(0,0,0,.35)!important;
    list-style:none!important;
    z-index:10000!important;
    border-radius:0 4px 4px 4px;
  }

  /* Show nested on hover */
  .an-desktop-dropdown-portal>ul>li:hover>ul,
  .an-desktop-dropdown-portal>ul>li:focus-within>ul{
    display:block!important;
  }

  /* Nested items */
  .an-desktop-dropdown-portal>ul>li>ul>li{
    display:block!important;
    width:100%!important;
    position:relative!important;
  }

  .an-desktop-dropdown-portal>ul>li>ul>li>a{
    display:block!important;
    padding:9px 14px!important;
    color:#fff!important;
    background:#252a2e!important;
    font-size:13px!important;
    line-height:1.35!important;
    white-space:nowrap!important;
    text-decoration:none!important;
  }
  .an-desktop-dropdown-portal>ul>li>ul>li>a:hover{
    background:#3a4045!important;
  }

  /* Hide third-level (keep clean) */
  .an-desktop-dropdown-portal>ul>li>ul>li>ul{
    display:none!important;
  }
  .an-desktop-dropdown-portal>ul>li>ul>li.menu-item-has-children>a:after{
    content:none!important;
  }
}

/* ============================================================
   CATEGORY NAV (below main menu)
   ============================================================ */
.an-category-nav{display:none}
@media(min-width:701px){
  .an-category-nav{display:block;background:#fff;border-bottom:1px solid #ddd;box-shadow:0 1px 0 rgba(0,0,0,.02)}
  .an-category-nav .an-container{display:flex;align-items:center;min-width:0}
  .an-category-scroll{display:flex;gap:0;min-width:0;width:100%;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
  .an-category-scroll::-webkit-scrollbar{height:4px}
  .an-category-scroll::-webkit-scrollbar-thumb{background:#ddd;border-radius:2px}
  .an-category-scroll a{display:block;flex:0 0 auto;padding:8px 13px;font-size:13px;font-weight:750;color:#333;border-right:1px solid #eee;text-decoration:none}
  .an-category-scroll a:hover,.an-category-scroll a.current{color:var(--an-red);background:#fafafa}
}

/* ============================================================
   BREAKING NEWS
   ============================================================ */
.an-breaking{background:#fff;border-bottom:1px solid #ddd}
.an-breaking-inner{display:flex;align-items:center;min-height:36px;overflow:hidden}
.an-breaking-label{background:var(--an-red);color:#fff;padding:5px 10px;font-size:12px;font-weight:800;flex:0 0 auto;display:flex;align-items:center;gap:5px;cursor:pointer}
.an-breaking-label:before{content:'◆';font-size:8px}
.an-breaking-track{padding-left:12px;white-space:nowrap;overflow:hidden;position:relative;flex:1}
.an-breaking-track a{font-size:13px;margin-right:35px;display:inline-block}

/* ============================================================
   HOMEPAGE LAYOUT
   ============================================================ */
.an-layout{display:grid;grid-template-columns:minmax(120px,160px) minmax(0,1fr) minmax(120px,160px);gap:16px;align-items:start;margin-top:18px;min-width:0;width:100%}
.an-rail{position:sticky!important;top:76px!important;align-self:start!important;height:max-content!important;max-height:none!important;min-width:0!important;width:100%!important;overflow:visible!important;z-index:4!important}
.an-ad-rail{min-height:280px;background:#fafafa;border:1px solid #eee;display:flex;align-items:flex-start;justify-content:center;text-align:center;color:#999;font-size:12px;padding:8px;overflow:visible;width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.an-ad-rail iframe,.an-ad-rail ins{max-width:100%}
.an-home-main{min-width:0}

/* ============================================================
   SECTIONS
   ============================================================ */
.an-section{margin:0 0 30px}
.an-section-head{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid var(--an-red);margin-bottom:12px}
.an-section-head h2{font-size:22px;margin:0;padding:0 0 6px;font-weight:800}
.an-more{font-size:13px;color:var(--an-red);font-weight:700;text-decoration:none}

/* Six grid — hero slider + 5 small */
.an-six-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:14px;align-items:stretch}
.an-slider{position:relative;min-height:0}
.an-slide{display:none;width:100%}
.an-slide.is-active{display:block}
.an-slide-dots{position:absolute;left:15px;bottom:12px;display:flex;gap:5px;z-index:2}
.an-slide-dot{width:8px;height:8px;border-radius:50%;background:#fff8;border:1px solid #fff;cursor:pointer}
.an-slide-dot.active{background:#fff}

.an-hero-main{position:relative;display:block;min-height:390px;height:390px;background:#111;overflow:hidden;border-radius:2px}
.an-hero-main img{display:block!important;width:100%!important;height:390px!important;min-height:390px!important;object-fit:cover!important;background:#eee;opacity:.92}
.an-hero-overlay{position:absolute;inset:auto 0 0;padding:22px 20px;background:linear-gradient(transparent,rgba(0,0,0,.88));color:#fff}
.an-hero-overlay h1{font-size:30px;line-height:1.25;margin:0 0 5px}
.an-cat{font-size:11px;color:var(--an-red);font-weight:800;text-transform:none}
.an-hero-overlay .an-cat{color:#ffd6d6}

.an-five-small{display:grid;grid-template-columns:1fr;grid-template-rows:repeat(5,minmax(0,1fr));gap:7px;height:390px;align-content:stretch}
.an-small-card{display:grid;grid-template-columns:118px minmax(0,1fr);gap:9px;border-bottom:1px solid #ddd;padding:0 0 7px;min-height:0;height:100%;overflow:hidden;text-decoration:none}
.an-small-card .an-card-img{display:block;width:118px;height:72px;min-width:118px;aspect-ratio:auto;align-self:start;overflow:hidden;background:#eee}
.an-small-card .an-card-img img{display:block!important;width:118px!important;height:72px!important;object-fit:cover!important}
.an-small-card h3{font-size:14px;line-height:1.28;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.an-small-card .an-meta{font-size:10px;margin-top:2px;color:#777}
.an-small-card .an-cat{font-size:10px;line-height:1.1}
.an-small-card a{color:inherit;text-decoration:none}

/* Card image */
.an-card-img{aspect-ratio:16/9;overflow:hidden;background:#eee;display:block}
.an-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .25s}
.an-card:hover img{transform:scale(1.03)}
.an-card h3{font-size:16px;line-height:1.35;margin:2px 0 0}
.an-meta{font-size:11px;color:#777;margin-top:4px}

/* Section extra grid */
.an-section-extra{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid #e5e5e5}
.an-extra-card{border:1px solid #e3e3e3;background:#fff;overflow:hidden;border-radius:2px;min-width:0}
.an-extra-card .an-card-img{height:145px;aspect-ratio:auto}
.an-extra-card .an-card-body{padding:8px 9px}
.an-extra-card h3{font-size:15px;line-height:1.35;margin:0}

/* ============================================================
   VIDEO SECTION — Compact Grid
   ============================================================ */
.an-video-section{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
    margin-top:0!important;
    clear:both!important;
}
.an-video-section .an-section-head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    border-bottom:2px solid #d40000!important;
    margin-bottom:12px!important;
}
.an-video-section .an-section-head h2{
    font-size:22px!important;
    margin:0!important;
    padding:0 0 6px!important;
    font-weight:800!important;
}
.an-video-section .an-section-head .an-more{
    font-size:13px!important;
    color:#d40000!important;
    font-weight:700!important;
    text-decoration:none!important;
}

/* Base video grid */
.an-video-grid{
    display:grid!important;
    width:100%!important;
    max-width:100%!important;
    gap:10px!important;
}
.an-video-card{
    min-width:0!important;
    max-width:100%!important;
    width:100%!important;
    border:1px solid #e2e2e2;
    background:#111;
    border-radius:6px;
    overflow:hidden;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}
.an-video-card a{
    display:block!important;
    color:#fff!important;
    text-decoration:none!important;
    width:100%!important;
}
.an-video-card a:hover{text-decoration:none!important}
.an-video-thumb{
    position:relative;
    aspect-ratio:9/16;
    width:100%;
    background:#151515;
    overflow:hidden;
}
.an-video-thumb img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    display:block!important;
    transition:transform .25s;
}
.an-video-card:hover .an-video-thumb img{transform:scale(1.03)}
.an-video-play{
    position:absolute;
    left:50%;top:50%;
    transform:translate(-50%,-50%);
    width:42px;height:42px;
    border-radius:50%;
    background:rgba(212,0,0,.94);
    color:#fff;
    display:flex;align-items:center;justify-content:center;
    font-size:18px;
    box-shadow:0 3px 12px rgba(0,0,0,.35);
}
.an-video-badge{
    position:absolute;
    left:7px;top:7px;
    padding:3px 6px;
    border-radius:3px;
    background:rgba(0,0,0,.72);
    font-size:10px;
    font-weight:800;
}
.an-video-card-title{
    padding:8px 8px 10px;
    font-size:13px;
    line-height:1.35;
    font-weight:800;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    min-height:45px;
}

/* DESKTOP — 4 columns (main content ~900px) */
@media(min-width:1001px){
    .an-home-main .an-video-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
/* Small desktop */
@media(min-width:901px) and (max-width:1000px){
    .an-home-main .an-video-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
/* Tablet */
@media(min-width:701px) and (max-width:900px){
    .an-home-main .an-video-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
/* Mobile */
@media(max-width:700px){
    .an-video-grid,.an-home-main .an-video-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
    .an-video-card-title{font-size:11px!important;padding:5px 6px!important;min-height:38px!important}
    .an-video-play{width:36px!important;height:36px!important;font-size:15px!important}
    .an-video-badge{font-size:9px!important}
}
/* Small mobile */
@media(max-width:430px){
    .an-video-grid,.an-home-main .an-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.an-post-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start;min-width:0;overflow:visible!important}
.an-post{min-width:0;width:100%;overflow:visible!important}
.an-post-sidebar{position:sticky;top:62px;align-self:start;min-width:0;width:100%}
.an-breadcrumb{font-size:12px;color:#777;margin-bottom:10px}
.an-post-title{font-size:40px;line-height:1.18;margin:0 0 10px;font-weight:900}
.an-post-subtitle{font-size:18px;color:#666;margin:0 0 12px}
.an-post-meta{font-size:12px;color:#666;border-bottom:1px solid #eee;padding-bottom:12px}
.an-share{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:12px 0}
.an-share-label{font-weight:700;color:#555}
.an-share a,.an-share button{border:0;padding:7px 11px;border-radius:3px;color:#fff;font-size:12px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:5px;text-decoration:none}
.an-share svg{width:15px;height:15px;display:block;flex:0 0 auto}
.an-fb{background:#1877f2}.an-wa{background:#20b85a}.an-x{background:#111}.an-copy{background:#555}
.an-google-news{background:#4285f4}.an-google-pref-btn{background:#666}
.an-google-news,.an-google-pref-btn{padding:7px 10px;border-radius:3px;color:#fff;font-size:12px;display:inline-flex;align-items:center;gap:5px;text-decoration:none}

.an-featured{position:relative;margin:0 0 8px;background:#eee;overflow:hidden}
.an-featured img{display:block;width:100%;height:auto!important;max-height:none!important;object-fit:contain!important}
.an-read-more-wrap{margin:18px 0 22px}
.an-read-more{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px 18px;border:1px solid #c9151d;border-radius:5px;background:#c9151d;color:#fff;font-size:16px;font-weight:800;line-height:1.3;cursor:pointer;box-shadow:0 3px 10px rgba(201,21,29,.18);list-style:none}
.an-read-more::-webkit-details-marker{display:none}
.an-read-more:after{content:'+';font-size:20px;line-height:1;margin-left:2px}
.an-read-more-wrap[open] .an-read-more{margin-bottom:18px;background:#a90f16}
.an-read-more-wrap[open] .an-read-more:after{content:'−'}
.an-read-more:hover,.an-read-more:focus-visible{background:#a90f16;border-color:#a90f16;color:#fff;outline:3px solid rgba(201,21,29,.18);outline-offset:2px}

/* Content typography */
.an-content{font-size:18px;line-height:1.95;letter-spacing:.01em;color:#222}
.an-content p{margin:0 0 20px;text-align:justify;overflow-wrap:anywhere}
.an-content img{display:block;height:auto!important;max-height:none;object-fit:contain;max-width:calc(100% - 16px)!important;margin:18px auto}
.an-content figure{max-width:100%;margin:18px auto}
.an-content h2{font-size:27px;line-height:1.35;margin:28px 0 10px;border-left:4px solid var(--an-red);padding-left:10px}
.an-content h3{font-size:23px}
.an-content ul,.an-content ol{padding-left:25px}

.an-post-end{border-top:1px solid #ddd;margin-top:25px;padding-top:14px}
.an-reporter-line{margin:0 0 18px;padding:9px 12px;border-left:4px solid var(--an-red);background:#fafafa;font-size:14px;font-weight:700;color:#333}

.an-author-profile{display:flex;align-items:center;gap:14px;margin-top:24px;padding:14px;border:1px solid #ddd;background:#fafafa}
.an-author-avatar{width:58px;height:58px;border-radius:50%;object-fit:cover;background:#eee;flex:0 0 58px}
.an-author-profile h3{margin:0;font-size:18px}
.an-author-profile p{margin:3px 0 0;color:#666;font-size:12px}
.an-author-profile a{color:var(--an-red);font-weight:700;font-size:12px}

/* Future post (in-article) */
.an-future-post{display:flex;align-items:center;gap:10px;flex-wrap:nowrap;margin:22px 0;padding:9px 12px;border-left:4px solid var(--an-red);background:#fafafa}
.an-future-post-thumb{display:block;width:96px;height:64px;min-width:96px;object-fit:cover;border-radius:4px;background:#eee}
.an-future-post-body{min-width:0;display:flex;align-items:flex-start;gap:7px;flex-wrap:wrap}
.an-future-post-label{display:inline-flex;align-items:center;padding:3px 7px;border-radius:3px;background:var(--an-red);color:#fff;font-size:12px;font-weight:900;white-space:nowrap}
.an-future-post a{color:#222;font-weight:800;text-decoration:none;line-height:1.45}
.an-future-post a:hover{text-decoration:underline;color:var(--an-red)}

/* Related */
.an-related-inline{border:1px solid #e2e2e2;background:#fafafa;padding:10px 13px;margin:20px 0}
.an-related-head{font-weight:900;color:var(--an-red);margin-bottom:6px}
.an-related ul{margin:0;padding:0 0 0 18px}
.an-related li{margin:5px 0}
.an-related a{font-weight:700;color:#222}
.an-related-grid-section{margin:30px 0 8px;padding-top:18px;border-top:2px solid #e1e1e1}
.an-related-grid-section .an-section-head{margin-bottom:12px}
.an-related-grid-section .an-section-head h2{font-size:24px;margin:0;border-left:4px solid var(--an-red);padding-left:10px}
.an-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.an-related-card{min-width:0;border:1px solid #e2e2e2;background:#fff;border-radius:5px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.an-related-card-image{display:block;aspect-ratio:16/9;background:#eee;overflow:hidden}
.an-related-card-image img{width:100%;height:100%!important;object-fit:cover;margin:0!important}
.an-related-card-body{padding:9px 10px 11px}
.an-related-card-body h3{font-size:15px;line-height:1.4;margin:4px 0 6px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.an-related-card-body h3 a:hover{color:var(--an-red)}

/* Social embeds */
.an-social-embed{margin:22px 0;padding:10px 0;overflow:hidden}
.an-embed-label{font-size:13px;font-weight:800;color:#666;margin-bottom:8px}
.an-social-embed iframe{display:block;width:100%;max-width:800px;min-height:360px;margin:auto;border:0}

/* ============================================================
   SIDEBAR
   ============================================================ */
.an-sidebar-box{border:1px solid #ddd;margin-bottom:18px;background:#fff}
.an-sidebar-head{background:#f1f5fb;padding:8px 12px;font-weight:800;border-bottom:1px solid #ddd}
.an-latest{padding:0;margin:0;list-style:none}
.an-latest li{display:grid;grid-template-columns:78px 1fr;gap:8px;padding:9px;border-bottom:1px solid #eee}
.an-latest img{width:78px;height:55px;object-fit:cover}
.an-latest h3{font-size:13px;line-height:1.35;margin:0}

.an-sidebar-auto-list{padding:0;margin:0;list-style:none}
.an-sidebar-auto-list .an-sidebar-post-item{display:grid;grid-template-columns:78px minmax(0,1fr);gap:8px;padding:9px;border-bottom:1px solid #eee}
.an-sidebar-auto-list .an-sidebar-post-item[hidden]{display:none!important}
.an-sidebar-post-extra[hidden]{display:none!important}
.an-sidebar-autofill-enabled .an-sidebar-post-extra{display:none}
.an-rail-auto-fill{margin-top:14px}
.an-rail-auto-fill .an-sidebar-box{margin-bottom:0}

/* ============================================================
   WATERMARK
   ============================================================ */
.an-inline-watermark-wrap{position:relative;display:block;width:max-content;max-width:100%;margin:18px auto;line-height:0}
.an-inline-watermark-wrap>img{display:block;margin:0!important}
.an-inline-watermark{position:absolute;right:8px;bottom:8px;background:rgba(255,255,255,.78);color:#111;padding:2px 5px;border-radius:3px;font-size:10px;font-weight:900;line-height:1.1;pointer-events:none;display:flex;align-items:center;justify-content:center;border:1px solid rgba(180,0,0,.18);min-width:24px;max-width:22%;z-index:4}
.an-inline-watermark img{display:block;width:auto;height:auto;max-width:100%;max-height:28px;margin:0!important;object-fit:contain}
.an-inline-watermark-text{font-size:10px;font-weight:900;color:#b40000;white-space:nowrap}

/* Single featured watermark */
.an-inline-watermark-wrap.an-single-featured-watermark{position:relative;display:block;width:100%;max-width:100%;margin:0;line-height:0;overflow:hidden}
.an-inline-watermark-wrap.an-single-featured-watermark>img{display:block;width:100%;max-width:100%;height:auto;margin:0;object-fit:contain}
.an-inline-watermark-wrap.an-single-featured-watermark .an-inline-watermark{top:10px;right:10px;bottom:auto;left:auto;max-width:30%;padding:3px 6px;background:rgba(255,255,255,.94);border:1px solid rgba(0,0,0,.10);border-radius:5px;box-shadow:0 1px 4px rgba(0,0,0,.14);z-index:10;overflow:hidden}
.an-inline-watermark-wrap.an-single-featured-watermark .an-inline-watermark img{width:auto;height:auto;max-width:125px;max-height:42px;margin:0;object-fit:contain}

/* ============================================================
   ADSENSE FIX
   ============================================================ */
.an-post-ad,.an-post-100-ad,.an-post-auto-ad-slot,.an-head-ad,.an-ad-rail,.an-ad-slide,.an-ad-slider,.an-sidebar-box .an-ad-rail,.an-post-sidebar .an-ad-rail,.an-layout .an-rail .an-ad-rail{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:90px!important;overflow:visible!important;clear:both!important;box-sizing:border-box!important;margin-left:auto!important;margin-right:auto!important}

ins.adsbygoogle,.adsbygoogle,ins.adsbygoogle[data-ad-client],ins.adsbygoogle[data-ad-format="auto"],ins.adsbygoogle[data-full-width-responsive="true"]{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:90px!important;margin:10px auto!important;box-sizing:border-box!important;overflow:visible!important}

.an-post-auto-ad-slot{min-height:100px!important;width:100%!important;display:block!important;margin:22px 0!important;padding:4px 0!important;text-align:center!important;position:relative!important;z-index:1!important}
.an-post-auto-ad-slot ins.adsbygoogle,.an-post-auto-ad-slot .adsbygoogle,.an-post-auto-ad-slot .an-auto-ad-ins{display:block!important;width:100%!important;max-width:100%!important;min-width:250px!important;min-height:100px!important;margin:0 auto!important}

.an-future-post{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;gap:10px!important}
.an-future-post>.an-post-auto-ad-slot{flex:0 0 100%!important;width:100%!important;min-width:100%!important;max-width:100%!important;margin:15px 0!important;order:99!important}

.an-post-100-ad{width:100%!important;min-height:100px!important;display:block!important;margin:20px 0!important;text-align:center!important}
.an-post-100-ad .an-ad-slider,.an-post-100-ad .an-ad-slide{width:100%!important;min-height:90px!important;display:flex!important;align-items:center!important;justify-content:center!important}

.an-ad-slider{position:relative!important;width:100%!important;min-height:90px!important;overflow:hidden!important}
.an-ad-slide{display:none!important;width:100%!important;justify-content:center!important;align-items:center!important}
.an-ad-slide.is-active{display:flex!important}

/* ============================================================
   TRANSLATE
   ============================================================ */
.an-translate{position:relative;display:inline-flex;align-items:center;z-index:10002}
.an-translate-trigger{display:inline-flex;align-items:center;gap:5px;background:#fff;color:#222;border:1px solid rgba(255,255,255,.35);border-radius:3px;padding:5px 9px;font-size:12px;font-weight:800;line-height:1.2;cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.an-translate-trigger:hover{background:#f4f4f4}
.an-translate-chevron{font-size:11px;transition:transform .15s ease}
.an-translate.is-open .an-translate-chevron{transform:rotate(180deg)}
.an-translate-menu{position:absolute;right:0;top:calc(100% + 7px);width:180px;max-height:310px;overflow:auto;background:#fff;border:1px solid #ddd;border-top:3px solid var(--an-red);border-radius:3px;box-shadow:0 10px 28px rgba(0,0,0,.22);padding:4px}
.an-translate-menu[hidden]{display:none!important}
.an-translate-menu button{display:block;width:100%;padding:9px 10px;text-align:left;border:0;background:#fff;color:#222;border-radius:2px;font-size:13px;cursor:pointer}
.an-translate-menu button:hover{background:#f2f2f2}
.an-translate-menu button.is-active{font-weight:800;color:var(--an-red);background:#fff3f3}
#an-google-translate{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.goog-te-banner-frame.skiptranslate{display:none!important}
body{top:0!important}
.goog-logo-link,.goog-te-gadget span{display:none!important}
.goog-te-gadget{font-size:0!important}

/* ============================================================
   FOOTER
   ============================================================ */
.an-footer{margin-top:40px;background:#1f2326;color:#ddd}
.an-footer-top{padding:36px 0;display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr 1fr;gap:28px}
.an-footer h3{color:#fff;font-size:17px;margin:0 0 12px;border-bottom:1px solid #555;padding-bottom:8px}
.an-footer ul{list-style:none;padding:0;margin:0}
.an-footer li{margin:7px 0}
.an-footer-brand{font-size:26px;font-weight:900;color:#fff}
.an-footer-brand span{color:#ef3030}
.an-footer-bottom{border-top:1px solid #3d4246;padding:13px 0;font-size:12px;color:#aaa;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.an-footer-policy-menu{border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.12);padding:12px 0}
.an-footer-policy-menu nav{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px}
.an-footer-policy-menu a{color:inherit;text-decoration:none;font-size:13px}
.an-footer-policy-menu a:hover{text-decoration:underline}
.an-office-address{margin-top:12px;font-size:13px;line-height:1.65;opacity:.9}
.an-footer-social a:before{content:'•';margin-right:6px;color:#aaa}

/* ============================================================
   MOBILE NAVIGATION
   ============================================================ */
.an-mobile-bottom{display:none}
.an-mobile-menu{display:none;position:fixed}

@media(max-width:700px){
  body{padding-bottom:88px!important;overflow-x:clip}
  .an-container{width:calc(100% - 14px)!important;max-width:100%!important}
  .an-menu-toggle,.an-menu-scroll,.an-main-menu,.an-category-nav{display:none!important}
  .an-nav-wrap{position:sticky!important;top:0!important;z-index:9990!important;background:transparent!important;color:inherit!important;min-height:0!important}
  .an-nav{display:block!important;min-height:0!important;height:0!important;overflow:visible!important;padding:0!important}
  .an-nav-tools{display:none!important}
  .an-search-panel{display:none!important}
  .an-breaking{margin-top:0}
  .an-topbar-inner{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;overflow:hidden!important;padding-left:6px;padding-right:6px}
  .an-top-links{display:flex!important;justify-content:flex-start!important;flex:1 1 auto!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;flex-wrap:nowrap!important;scrollbar-width:none!important;gap:8px}
  .an-top-links::-webkit-scrollbar{display:none}
  .an-auto-date{font-size:10px!important;line-height:1.2}

  /* Mobile menu drawer */
  .an-mobile-menu{
    display:block!important;
    position:fixed!important;
    inset:0 0 78px 0!important;
    bottom:78px!important;
    background:#fff!important;
    z-index:10030!important;
    transform:translateX(100%);
    transition:transform .2s ease;
    overflow:auto;
    padding:18px 18px 24px;
    box-shadow:-8px 0 25px rgba(0,0,0,.12)
  }
  .an-mobile-menu.open{transform:translateX(0)}
  .an-mobile-menu ul{list-style:none;padding:0;margin:0;display:block!important}
  .an-mobile-menu li{border-bottom:1px solid #eee;position:relative!important}
  .an-mobile-menu a{display:block;padding:11px;color:#222;font-weight:800}
  .an-mobile-menu .menu-item-has-children>a{padding-right:52px!important}
  .an-mobile-menu .sub-menu{display:none!important;position:static!important;background:#f7f7f7!important;border:0!important;box-shadow:none!important;padding-left:12px!important;min-width:0!important}
  .an-mobile-menu .sub-menu a{font-size:14px!important;color:#333!important;background:#f7f7f7!important;border-bottom:1px solid #e4e4e4!important;font-weight:600!important}
  .an-mobile-menu li.menu-item-has-children.is-open>.sub-menu{display:block!important}
  .an-mobile-menu .menu-item-has-children>a:after,
  .an-mobile-menu .sub-menu .menu-item-has-children>a:after{content:none!important;display:none!important}

  /* Mobile sub-toggle button */
  .an-mobile-menu .an-mobile-sub-toggle{
    position:absolute!important;
    top:3px!important;right:4px!important;
    width:40px!important;height:40px!important;
    padding:0!important;
    border:0!important;
    border-radius:4px!important;
    background:transparent!important;
    color:#222!important;
    font-size:24px!important;
    line-height:40px!important;
    text-align:center!important;
    cursor:pointer!important;
    z-index:3!important
  }
  .an-mobile-menu .an-mobile-sub-toggle:hover{background:#f0f0f0!important}
  .an-mobile-menu li.menu-item-has-children.is-open>.an-mobile-sub-toggle{font-size:26px!important}
  .an-mobile-menu .sub-menu .an-mobile-sub-toggle{top:0!important;right:2px!important}

  /* Mobile bottom bar */
  .an-mobile-bottom{
    position:fixed!important;
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    left:6px!important;right:6px!important;bottom:6px!important;
    height:64px!important;
    border-radius:15px!important;
    overflow:visible!important;
    box-shadow:0 7px 24px rgba(0,0,0,.3),0 0 0 1px rgba(255,255,255,.08);
    background:rgba(24,24,24,.97)!important;
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    color:#fff;
    z-index:10040!important;
    border:1px solid rgba(255,255,255,.12)
  }
  .an-mobile-bottom a{
    display:flex!important;flex-direction:column!important;
    align-items:center!important;justify-content:center!important;
    font-size:11px!important;gap:2px!important;
    font-weight:700!important;color:#fff!important;
    min-width:0!important;overflow:hidden!important;
    padding:3px 2px!important;position:relative
  }
  .an-mobile-bottom a span:first-child{font-size:21px!important;font-weight:900;line-height:1}
  .an-mobile-bottom a:nth-child(3){
    background:linear-gradient(180deg,#e51e25,#b70e13)!important;
    border-radius:12px!important;
    margin:-7px 3px 3px!important;
    box-shadow:0 4px 12px rgba(0,0,0,.28);
    z-index:2
  }
  .an-mobile-bottom a:nth-child(3) span:first-child{font-size:16px!important}
  .an-mobile-bottom a:nth-child(4){background:rgba(255,255,255,.07)!important;border-radius:10px!important;margin:4px 2px}

  /* Content adjustments */
  .an-head-main{grid-template-columns:1fr;min-height:auto;gap:5px;padding:7px 0;text-align:center}
  .custom-logo{max-height:48px;max-width:190px;margin:auto}
  .an-brand{font-size:32px}
  .an-tagline{font-size:10px}
  .an-head-ad{display:none}
  .an-content{font-size:17px;line-height:1.9;overflow-wrap:anywhere}
  .an-content p{margin-bottom:18px;text-align:left}
  .an-content img{max-width:calc(100% - 12px)!important;margin:16px auto}
  .an-post-title{font-size:29px}
  .an-post-layout{display:block}
  .an-post-sidebar{display:none!important}
  .an-footer-top{grid-template-columns:1fr 1fr;gap:20px}
  .an-footer-bottom{display:block;text-align:center}
  .an-footer-policy-menu{padding:9px 0}
  .an-footer-policy-menu nav{gap:8px 14px}
  .an-section-head h2{font-size:19px}
  .an-hero-main{height:auto!important;min-height:0!important;aspect-ratio:16/10;}
  .an-hero-main img{height:100%!important;min-height:0!important;object-fit:cover!important}
  .an-five-small{height:auto;grid-template-rows:none;gap:8px}
  .an-small-card{grid-template-columns:minmax(88px,32%) minmax(0,1fr);min-height:0;height:auto}
  .an-small-card .an-card-img{width:100%!important;height:auto!important;min-width:0;aspect-ratio:16/9}
  .an-small-card .an-card-img img{width:100%!important;height:100%!important;min-width:0;object-fit:cover!important}
  .an-section-extra{grid-template-columns:1fr}
  .an-section-extra .an-card-img{height:auto!important;aspect-ratio:16/9}
  .an-share a,.an-share button{flex:0 1 auto}
  .an-share-label{width:100%}
}

/* ============================================================
   NEWS SNAP — Mobile
   ============================================================ */
.an-news-snap{display:none}
@media(max-width:700px){
  html.an-news-snap-lock,
  body.an-news-snap-open{overflow:hidden!important;overscroll-behavior:none!important;height:100%!important}
  .an-news-snap{
    position:fixed!important;inset:0!important;
    z-index:10000!important;
    background:linear-gradient(180deg,#0b0b0b,#181818);
    overflow:hidden!important;
    overscroll-behavior:none!important;
    display:none
  }
  .an-news-snap.open{display:block}
  .an-news-snap-head{height:52px!important;min-height:52px!important;padding:0 13px!important;display:flex;align-items:center;justify-content:space-between;background:#111;border-bottom:1px solid #333;position:relative;z-index:20}
  .an-news-snap-head strong{font-size:18px;font-weight:800;color:#fff}
  .an-news-snap-close{width:36px!important;height:36px!important;font-size:24px!important;border:0;border-radius:50%;background:#333;color:#fff;line-height:1;cursor:pointer}
  .an-news-snap-deck{height:calc(100dvh - 52px - 78px)!important;min-height:300px;position:relative;width:100%;overflow:hidden!important;touch-action:none!important;overscroll-behavior:none!important;padding:0!important}
  .an-news-snap-card{
    position:absolute;left:5%!important;top:3%!important;
    width:90%!important;height:92%!important;
    max-height:calc(100dvh - 52px - 96px)!important;
    background:#fff;color:#181818;
    border-radius:18px!important;
    overflow:hidden;
    box-shadow:0 12px 32px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.08);
    display:flex;flex-direction:column;
    transition:transform .2s ease,opacity .2s ease;
    transform-origin:center center!important;
    will-change:transform,opacity
  }
  .an-news-snap-card.snap-current{transform:translateY(0) scale(1)}
  .an-news-snap-card.snap-next{transform:translateY(18px) scale(.965)}
  .an-news-snap-card.snap-third{transform:translateY(34px) scale(.93)}
  .an-news-snap-card.snap-out{pointer-events:none}
  .an-news-snap-image{display:block;width:100%;height:40%!important;min-height:180px!important;background:#e9e9e9;overflow:hidden;flex:0 0 auto;position:relative}
  .an-news-snap-image img{display:block;width:100%;height:100%;object-fit:cover}
  .an-snap-logo{position:absolute;right:10px;top:10px;width:76px;height:38px;display:flex;align-items:center;justify-content:center;padding:4px 6px;border-radius:7px;background:rgba(255,255,255,.94);box-shadow:0 2px 8px rgba(0,0,0,.28);z-index:4;pointer-events:none}
  .an-snap-logo img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
  .an-snap-logo-text{font-size:9px;font-weight:900;letter-spacing:.3px;color:#c5161d;text-align:center;line-height:1.05}
  .an-news-snap-body{padding:12px 14px 13px!important;display:flex;flex-direction:column;min-height:0;flex:1}
  .an-news-snap-meta{font-size:11px;color:#777;margin-bottom:5px}
  .an-news-snap-body h2{font-size:20px!important;line-height:1.3!important;margin:0 0 8px;font-weight:900}
  .an-news-snap-body h2 a{color:inherit;text-decoration:none}
  .an-news-snap-body p{font-size:14px!important;line-height:1.5!important;margin:0;display:-webkit-box;-webkit-line-clamp:6!important;-webkit-box-orient:vertical;overflow:hidden}
  .an-news-snap-share{display:flex;gap:6px!important;margin-top:auto;padding-top:9px!important}
  .an-news-snap-share a,.an-news-snap-share button{flex:1;text-align:center;padding:9px 4px!important;border:0;border-radius:7px!important;background:#242424;color:#fff;text-decoration:none;font-size:11px;cursor:pointer}
  .an-news-snap-share a:nth-child(2){background:#168b3b}
  .an-news-snap-share button{background:#555}
  .an-news-snap-empty{padding:30px;text-align:center;color:#fff}
}

/* ============================================================
   VIDEO MODAL
   ============================================================ */
@media(max-width:700px){
  .an-video-modal{position:fixed;inset:0;background:rgba(0,0,0,.92);z-index:11000;display:none;color:#fff}
  .an-video-modal.open{display:block}
  .an-video-head{height:54px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;background:#111;border-bottom:1px solid #333}
  .an-video-head strong{font-size:17px}
  .an-video-head-actions{display:flex;align-items:center;gap:7px}
  .an-video-close{width:38px;height:38px;border:0;border-radius:50%;background:#333;color:#fff;font-size:26px;line-height:1;cursor:pointer}
  .an-video-fullscreen{width:38px;height:38px;border:0;border-radius:50%;background:#333;color:#fff;font-size:21px;line-height:1;cursor:pointer}
  .an-video-frame-wrap{position:absolute;left:0;right:0;top:54px;bottom:0;display:flex;align-items:center;justify-content:center;padding:10px;background:#000}
  .an-video-frame-wrap iframe{width:100%;max-width:900px;aspect-ratio:16/9;border:0;background:#000;display:block}
  .an-video-empty{max-width:330px;text-align:center;line-height:1.7;color:#ddd;padding:20px}
  body.an-video-open{overflow:hidden}
}
@media(min-width:701px){.an-video-modal{display:none!important}}

/* ============================================================
   COMMENTS
   ============================================================ */
.an-comments{margin-top:25px;padding:18px 18px 20px;border:1px solid #e1e1e1;border-radius:6px;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.04)}
.an-comments>h2{margin:0 0 15px;padding-bottom:10px;border-bottom:2px solid var(--an-red);font-size:22px}
.an-comments-inner .comment-list{margin:0 0 22px;padding:0;list-style:none}
.an-comments-inner .comment-list li{margin:0 0 12px;padding:12px;border:1px solid #e7e7e7;border-radius:5px;background:#fafafa}
.an-comments-inner .comment-meta{font-size:12px;color:#666;margin-bottom:7px}
.an-comments-inner .comment-author{font-weight:800;color:#222}
.an-comments-inner .comment-content{font-size:15px;line-height:1.7}
.an-comment-form{margin-top:18px;padding-top:16px;border-top:1px solid #e5e5e5}
.an-comment-form label{display:block;margin:0 0 5px;font-size:14px;font-weight:800;color:#333}
.an-comment-form input,.an-comment-form textarea{width:100%;padding:10px 11px;border:1px solid #cfcfcf;border-radius:4px;background:#fff;color:#222;font:inherit;line-height:1.5}
.an-comment-form input:focus,.an-comment-form textarea:focus{border-color:var(--an-red);outline:2px solid rgba(212,0,0,.14)}
.an-comment-form .form-submit{margin:12px 0 0}
.an-comment-submit{padding:10px 18px;border:0;border-radius:4px;background:var(--an-red);color:#fff;font-weight:800;cursor:pointer}
.an-comment-submit:hover{background:#a90000}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media(max-width:1100px){
  .an-layout{grid-template-columns:110px minmax(0,1fr) 110px!important}
  .an-post-title{font-size:34px}
  .an-footer-top{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .an-layout{display:block}
  .an-rail{display:none}
  .an-head-main{grid-template-columns:1fr 1fr;min-height:72px;padding:7px 0;text-align:left}
  .an-head-ad{min-height:56px;height:56px}
  .an-post-layout{grid-template-columns:1fr}
  .an-post-sidebar{display:none}
  .an-footer-top{grid-template-columns:1fr 1fr}
  .an-six-grid{grid-template-columns:1fr}
  .an-five-small{height:auto;grid-template-rows:none}
  .an-small-card{height:auto;min-height:78px}
  .an-hero-main{height:auto!important;min-height:0!important;aspect-ratio:16/10}
  .an-hero-main img{height:100%!important;min-height:0!important;object-fit:cover!important}
  .an-section-extra{grid-template-columns:repeat(2,minmax(0,1fr))}
  .an-rail-auto-fill{display:none!important}
  .an-sidebar-auto-box{display:none!important}
  .an-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:430px){
  .an-footer-top{grid-template-columns:1fr}
  .an-card h3{font-size:15px}
  .an-post-title{font-size:26px}
  .an-share a,.an-share button{flex:1;text-align:center}
  .an-small-card{grid-template-columns:minmax(78px,32%) minmax(0,1fr);height:auto;min-height:0}
  .an-small-card h3{font-size:13px}
  .an-small-card .an-card-img{width:100%!important;height:auto!important;min-width:0;aspect-ratio:16/9}
  .an-small-card .an-card-img img{width:100%!important;height:100%!important;min-width:0;object-fit:cover!important}
  .an-related-grid{grid-template-columns:1fr;gap:10px}
  .an-related-card{display:grid;grid-template-columns:112px minmax(0,1fr)}
  .an-related-card-image{aspect-ratio:auto;height:92px}
  .an-related-card-body{padding:8px}
  .an-related-card-body h3{font-size:14px;-webkit-line-clamp:2}
}

/* ============================================================
   PRINT
   ============================================================ */
@media print{
  .an-nav-wrap,.an-topbar,.an-breaking,.an-footer,.an-mobile-bottom,.an-mobile-menu,.an-share,.an-video-modal,.an-news-snap{display:none!important}
  .an-content{font-size:12pt;line-height:1.5}
  .an-post-title{font-size:24pt}
}
/* ================================================================
   MOBILE MENU + NEWS SNAP FIX — v2.4.7
   Fix: Mobile menu drawer + News Snap not working
   ================================================================ */

@media (max-width: 700px) {

    /* ============================================
       1. MOBILE MENU DRAWER — Proper toggle
       ============================================ */
    .an-mobile-menu {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 78px !important;
        width: 100% !important;
        max-width: 100% !important;
        background: #fff !important;
        z-index: 10030 !important;
        transform: translateX(100%) !important;
        transition: transform .25s ease !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 18px 18px 24px !important;
        box-shadow: -8px 0 25px rgba(0,0,0,.18) !important;
        -webkit-overflow-scrolling: touch !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }
    
    /* ⚠️ CRITICAL: When JS adds .open class */
    .an-mobile-menu.open {
        transform: translateX(0) !important;
        pointer-events: auto !important;
        visibility: visible !important;
    }
    
    /* Menu content */
    .an-mobile-menu > div:first-child {
        font-size: 20px !important;
        font-weight: 900 !important;
        padding: 8px 0 16px !important;
        border-bottom: 2px solid #d40000 !important;
        margin-bottom: 12px !important;
        color: #111 !important;
    }
    
    .an-mobile-menu ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
    }
    
    .an-mobile-menu li {
        border-bottom: 1px solid #eee !important;
        position: relative !important;
        display: block !important;
    }
    
    .an-mobile-menu li > a {
        display: block !important;
        padding: 14px 52px 14px 4px !important;
        color: #222 !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        line-height: 1.4 !important;
    }
    
    .an-mobile-menu li > a:hover,
    .an-mobile-menu li > a:active {
        background: #f7f7f7 !important;
    }
    
    /* Submenu — hidden by default */
    .an-mobile-menu .sub-menu {
        display: none !important;
        position: static !important;
        background: #f7f7f7 !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 6px 0 6px 20px !important;
        margin: 0 !important;
        min-width: 0 !important;
        list-style: none !important;
    }
    
    .an-mobile-menu .sub-menu li {
        border-bottom: 1px solid #e4e4e4 !important;
    }
    
    .an-mobile-menu .sub-menu a {
        font-size: 14px !important;
        color: #333 !important;
        background: transparent !important;
        padding: 11px 52px 11px 4px !important;
        font-weight: 600 !important;
    }
    
    /* ⚠️ CRITICAL: .is-open shows submenu */
    .an-mobile-menu li.menu-item-has-children.is-open > .sub-menu {
        display: block !important;
    }
    
    /* +/− toggle button */
    .an-mobile-menu .an-mobile-sub-toggle {
        position: absolute !important;
        top: 6px !important;
        right: 4px !important;
        width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 6px !important;
        background: #f0f0f0 !important;
        color: #111 !important;
        font-size: 24px !important;
        font-weight: 700 !important;
        line-height: 42px !important;
        text-align: center !important;
        cursor: pointer !important;
        z-index: 5 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .an-mobile-menu .an-mobile-sub-toggle:active {
        background: #e0e0e0 !important;
    }
    
    /* Remove CSS-generated chevrons */
    .an-mobile-menu .menu-item-has-children > a:after,
    .an-mobile-menu .sub-menu .menu-item-has-children > a:after {
        content: none !important;
        display: none !important;
    }

    /* ============================================
       2. NEWS SNAP — Proper open/close
       ============================================ */
    .an-news-snap {
        display: none !important;
        position: fixed !important;
        inset: 0 !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 10050 !important;
        background: linear-gradient(180deg,#0b0b0b,#181818) !important;
        overflow: hidden !important;
        overscroll-behavior: none !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }
    
    /* ⚠️ CRITICAL: When JS adds .open class */
    .an-news-snap.open {
        display: block !important;
        pointer-events: auto !important;
        visibility: visible !important;
    }

    /* The bottom bar must not sit above the full-screen Snap overlay. */
    body.an-news-snap-open .an-mobile-bottom {
        z-index: 1 !important;
        pointer-events: none !important;
    }
    
    /* News Snap body scroll lock */
    body.an-news-snap-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    html.an-news-snap-lock {
        overflow: hidden !important;
        height: 100% !important;
    }
    
    /* News Snap header */
    .an-news-snap-head {
        height: 54px !important;
        min-height: 54px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 15px !important;
        background: #111 !important;
        border-bottom: 1px solid #333 !important;
        position: relative !important;
        z-index: 20 !important;
    }
    
    .an-news-snap-head strong {
        font-size: 18px !important;
        font-weight: 800 !important;
        color: #fff !important;
    }
    
    .an-news-snap-close {
        width: 40px !important;
        height: 40px !important;
        border: 0 !important;
        border-radius: 50% !important;
        background: #333 !important;
        color: #fff !important;
        font-size: 26px !important;
        line-height: 1 !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .an-news-snap-close:active {
        background: #555 !important;
    }
    
    /* News Snap deck */
    .an-news-snap-deck {
        position: relative !important;
        height: calc(100dvh - 54px - 78px) !important;
        min-height: 300px !important;
        width: 100% !important;
        overflow: hidden !important;
        touch-action: none !important;
        overscroll-behavior: none !important;
        padding: 0 !important;
    }
    
    /* News Snap cards */
    .an-news-snap-card {
        position: absolute !important;
        left: 5% !important;
        top: 3% !important;
        width: 90% !important;
        height: 92% !important;
        max-height: calc(100dvh - 52px - 96px) !important;
        background: #fff !important;
        color: #181818 !important;
        border-radius: 18px !important;
        overflow: hidden !important;
        box-shadow: 0 12px 32px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08) !important;
        display: flex !important;
        flex-direction: column !important;
        transform-origin: center center !important;
        will-change: transform, opacity !important;
        transition: transform .2s ease, opacity .2s ease !important;
    }
    
    .an-news-snap-card.snap-current {
        transform: translateY(0) scale(1) !important;
    }
    
    .an-news-snap-card.snap-next {
        transform: translateY(18px) scale(.965) !important;
    }
    
    .an-news-snap-card.snap-third {
        transform: translateY(34px) scale(.93) !important;
    }
    
    .an-news-snap-card.snap-out {
        pointer-events: none !important;
    }
    
    /* Snap image */
    .an-news-snap-image {
        display: block !important;
        width: 100% !important;
        height: 40% !important;
        min-height: 180px !important;
        background: #e9e9e9 !important;
        overflow: hidden !important;
        flex: 0 0 auto !important;
        position: relative !important;
    }
    
    .an-news-snap-image img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    /* Snap body */
    .an-news-snap-body {
        padding: 13px 15px 14px !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: 0 !important;
        flex: 1 !important;
    }
    
    .an-news-snap-meta {
        font-size: 11px !important;
        color: #777 !important;
        margin-bottom: 5px !important;
    }
    
    .an-news-snap-body h2 {
        font-size: 20px !important;
        line-height: 1.3 !important;
        margin: 0 0 8px !important;
        font-weight: 900 !important;
    }
    
    .an-news-snap-body h2 a {
        color: inherit !important;
        text-decoration: none !important;
    }
    
    .an-news-snap-body p {
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin: 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 6 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    
    /* Snap share buttons */
    .an-news-snap-share {
        display: flex !important;
        gap: 6px !important;
        margin-top: auto !important;
        padding-top: 10px !important;
    }
    
    .an-news-snap-share a,
    .an-news-snap-share button {
        flex: 1 !important;
        text-align: center !important;
        padding: 10px 4px !important;
        border: 0 !important;
        border-radius: 7px !important;
        background: #242424 !important;
        color: #fff !important;
        text-decoration: none !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        cursor: pointer !important;
    }
    
    .an-news-snap-share a:nth-child(2) {
        background: #168b3b !important;
    }
    
    .an-news-snap-share button {
        background: #555 !important;
    }

    /* ============================================
       3. Ensure toggle buttons work
       ============================================ */
    .an-open-mobile-menu,
    .an-open-news-snap,
    .an-open-video {
        cursor: pointer !important;
        pointer-events: auto !important;
    }
    
    /* ============================================
       4. Fix mobile bottom bar layering
       ============================================ */
    .an-mobile-bottom {
        z-index: 10040 !important;
        pointer-events: auto !important;
    }
}

/* ================================================================
   DESKTOP — Ensure mobile menu hidden
   ================================================================ */
@media (min-width: 701px) {
    .an-mobile-menu {
        display: none !important;
        visibility: hidden !important;
        transform: translateX(100%) !important;
    }
    .an-news-snap {
        display: none !important;
        visibility: hidden !important;
    }
}

/* ============================================================
   END OF STYLESHEET
   ============================================================ */


/* ============================================================
   AVATAR NEWS MODERN PRO — DESIGN SYSTEM v3
   Same functionality, refreshed visual language.
   ============================================================ */
:root{
  --an-red:#e31b2b;
  --an-dark:#101827;
  --an-text:#172033;
  --an-muted:#64748b;
  --an-border:#e2e8f0;
  --an-bg:#f3f6fa;
  --an-max:1280px;
  --an-radius:14px;
  --an-shadow:0 10px 30px rgba(15,23,42,.08)
}
html{background:var(--an-bg)}
body{background:var(--an-bg);color:var(--an-text);font-family:system-ui,-apple-system,"Noto Sans Devanagari","Nirmala UI",Arial,sans-serif}
.an-container{max-width:var(--an-max)}
.an-header{background:#fff;box-shadow:0 2px 18px rgba(15,23,42,.06)}
/* Google Auto Ads may inject a 280px block directly inside the header. Keep
 * the header compact while leaving article and sidebar ad slots active. */
.an-header>.google-auto-placed{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
.an-topbar{background:var(--an-dark);color:#dbeafe;border-bottom:1px solid rgba(255,255,255,.08)}
.an-top-links a{color:#dbeafe}
.an-head-main{min-height:96px;padding:14px 0}
.custom-logo{max-height:62px;max-width:230px}
.an-brand{font-size:36px;letter-spacing:-1px;color:var(--an-dark)}
.an-tagline{color:var(--an-muted);font-size:12px;font-weight:600}
.an-head-ad{height:70px;min-height:70px;border:1px solid var(--an-border);border-radius:10px;background:#f8fafc;color:#94a3b8}
.an-nav-wrap{background:linear-gradient(105deg,#0f172a,#1e293b);box-shadow:0 5px 18px rgba(15,23,42,.18)}
.an-nav{min-height:58px!important;padding-bottom:0!important}
.an-main-menu>li>a{height:52px;padding:10px 15px;font-size:14px;letter-spacing:.1px;border-bottom:3px solid transparent;transition:background .18s,border-color .18s}
.an-main-menu>li>a:hover,.an-main-menu .current-menu-item>a{background:rgba(255,255,255,.10);border-bottom-color:var(--an-red)}
.an-nav-tools{background:transparent;padding-left:10px}
.an-search-btn{background:var(--an-red);border-radius:8px;padding:9px 12px}
.an-category-nav{background:#fff;border-bottom:1px solid var(--an-border)}
.an-category-scroll a{font-weight:700;color:#475569;border-right:1px solid #edf2f7}
.an-category-scroll a.current,.an-category-scroll a:hover{color:var(--an-red);background:#fff5f5}
.an-breaking{background:#fff;border-bottom:1px solid var(--an-border)}
.an-breaking-label{background:var(--an-red);border-radius:7px;padding:5px 10px;font-size:11px}
.an-breaking-track a{color:#334155;font-weight:600}
.an-layout{gap:28px}
.an-main,.an-post-layout,.an-home-main{min-width:0}
.an-layout,.an-home-main{background:transparent}
.an-hero-main{border-radius:var(--an-radius);box-shadow:var(--an-shadow)}
.an-hero-overlay{background:linear-gradient(0deg,rgba(2,6,23,.9),rgba(2,6,23,.08) 72%)!important}
.an-section{background:#fff;border:1px solid var(--an-border);border-radius:var(--an-radius);padding:18px;box-shadow:var(--an-shadow)}
.an-section-head{border-bottom:2px solid #eef2f7;margin-bottom:14px;padding-bottom:10px}
.an-section-head h2{font-size:22px;color:var(--an-dark)}
.an-section-head h2:before{background:var(--an-red);width:5px;border-radius:5px}
.an-small-card,.an-extra-card,.an-video-card{border-radius:10px;transition:transform .18s,box-shadow .18s;background:#fff}
.an-small-card:hover,.an-extra-card:hover,.an-video-card:hover{transform:translateY(-3px);box-shadow:0 8px 22px rgba(15,23,42,.11)}
.an-card-img,.an-extra-card,.an-video-thumb{border-radius:10px 10px 0 0}
.an-cat{color:var(--an-red);font-weight:800}
.an-layout .an-rail,.an-post-sidebar{background:transparent}
.an-sidebar-box{border:1px solid var(--an-border);border-radius:var(--an-radius);box-shadow:var(--an-shadow);background:#fff;overflow:hidden}
.an-sidebar-head{background:var(--an-dark);color:#fff;border:0;padding:12px 14px}
.an-post{background:#fff;border:1px solid var(--an-border);border-radius:var(--an-radius);padding:24px;box-shadow:var(--an-shadow)}
.an-post-title{font-size:clamp(28px,3vw,44px);line-height:1.18;color:var(--an-dark);letter-spacing:-.5px}
.an-post-meta,.an-reporter-line{color:var(--an-muted)}
.an-featured{border-radius:12px;margin-bottom:10px}
.an-content{font-size:18px;line-height:1.9;color:#273449}
.an-content h2,.an-content h3{color:var(--an-dark);line-height:1.35}
.an-read-more{border-radius:9px;background:var(--an-red);border-color:var(--an-red);box-shadow:0 6px 16px rgba(227,27,43,.2)}
.an-read-more:hover,.an-read-more:focus-visible{background:#bd1422;border-color:#bd1422}
.an-related-grid-section{margin-top:26px;padding-top:20px;border-top:1px solid var(--an-border)}
.an-related-card{border-radius:12px;border-color:var(--an-border);box-shadow:0 4px 18px rgba(15,23,42,.06)}
.an-comments-area,.comments-area{background:#fff;border:1px solid var(--an-border);border-radius:var(--an-radius);padding:22px;box-shadow:var(--an-shadow)}
.an-comment-form input,.an-comment-form textarea,.comment-form input,.comment-form textarea{border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc}
.an-footer{background:#0f172a;color:#cbd5e1;margin-top:38px}
.an-footer a{color:#e2e8f0}
.an-mobile-bottom{background:rgba(15,23,42,.96)!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:0 10px 35px rgba(2,6,23,.3)!important}
.an-mobile-bottom a:nth-child(3){background:var(--an-red)!important}
.an-archive-page,.an-error-page{min-height:360px}
.an-archive-page h2{font-size:18px;line-height:1.35;margin:0}
.an-error-link,.an-error-search button{display:inline-block;background:var(--an-red);color:#fff;border:0;border-radius:8px;padding:10px 16px;font-weight:700;cursor:pointer}
.an-error-search{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-top:22px;max-width:620px}
.an-error-search label{width:100%;font-weight:700}
.an-error-search input{flex:1 1 240px;min-height:42px;border:1px solid #cbd5e1;border-radius:8px;padding:8px 12px;font:inherit}
@media(max-width:700px){
  .an-head-main{min-height:74px;padding:9px 10px}
  .an-post{padding:15px}
  .an-post-title{font-size:28px}
  .an-content{font-size:17px;line-height:1.82}
  .an-section{padding:13px;border-radius:11px}
}

/* v3.1.3 stability fixes: these rules intentionally come last so stale
 * optimizer bundles cannot re-hide the article or desktop fallback menus. */
.an-live-badge{display:inline-flex;align-items:center;vertical-align:middle;margin:0 10px 6px 0;padding:5px 9px;border-radius:5px;background:#d40000;color:#fff;font-size:12px;line-height:1;font-weight:900;letter-spacing:.04em}
.an-content>p:empty,.an-content>figure:empty,.an-content>p:has(>strong:empty){display:none!important}
.an-post-rest{min-width:0}
@media(min-width:701px){
  .an-menu-scroll,.an-main-menu{overflow:visible!important}
  .an-main-menu>li>.sub-menu{display:none!important;position:absolute!important;left:0!important;top:100%!important;min-width:210px!important;margin:0!important;padding:4px 0!important;background:#101827!important;border-top:3px solid #e31b2b!important;box-shadow:0 10px 24px rgba(0,0,0,.35)!important;z-index:2147483000!important;list-style:none!important}
  .an-main-menu>li:hover>.sub-menu,.an-main-menu>li:focus-within>.sub-menu{display:block!important}
  .an-main-menu>li>.sub-menu>li{display:block!important;position:relative!important;width:100%!important}
  .an-main-menu>li>.sub-menu>li>a{display:flex!important;width:100%!important;padding:10px 14px!important;background:#101827!important;color:#fff!important;font-size:14px!important;white-space:nowrap!important}
  .an-main-menu>li>.sub-menu>li>a:hover,.an-main-menu>li>.sub-menu>li>a:focus-visible{background:#26344b!important}
}
@media(max-width:700px){.an-live-badge{font-size:10px;padding:4px 7px;margin-right:6px}.an-content>p:empty,.an-content>figure:empty{display:none!important}}

/* v3.1.4 reading rhythm and ad whitespace control. */
.an-content{line-height:1.78!important}
.an-content p{margin-bottom:12px!important}
.an-content h2{margin-top:22px!important;margin-bottom:8px!important}
.an-content h3{margin-top:20px!important;margin-bottom:8px!important}
.an-content .an-post-auto-ad-slot,.an-content .an-post-100-ad,.an-content .an-post-ad-middle{margin-top:12px!important;margin-bottom:12px!important}
.an-ad-empty{display:none!important;min-height:0!important;height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important}
.an-post-auto-ad-slot:not(.is-ready){min-height:0!important;height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
@media(max-width:700px){
  .an-content{line-height:1.72!important}
  .an-content p{margin-bottom:10px!important}
}
