/* =========================================================
   ANANTA NEWS STUDIO 2.0
   Red / white editorial styling for Ananta Press Awards
========================================================= */

:root{
    --ans-red:#c91620;
    --ans-red-dark:#991017;
    --ans-gold:#b58a3a;
    --ans-black:#171717;
    --ans-text:#3f3f43;
    --ans-muted:#747478;
    --ans-soft:#faf9f8;
    --ans-soft-red:#fff5f5;
    --ans-border:#ebe7e4;
    --ans-sidebar:360px;
    --ans-single-title:48px;
}

.ans-news-shell,.ans-home-news,.ans-single-shell,.ans-sidebar{
    font-family:"Poppins",Arial,sans-serif;
    color:var(--ans-black);
}
.ans-news-shell *,.ans-home-news *,.ans-single-shell *,.ans-sidebar *{box-sizing:border-box}

/* ---------- NEWS PAGE SHELL ---------- */
.ans-news-shell{width:min(100%,1360px);margin:0 auto;padding:56px 28px 78px;background:#fff}
.ans-news-hero{max-width:900px;margin:0 auto 40px;text-align:center}
.ans-eyebrow,.ans-kicker,.ans-widget-kicker{display:block;color:var(--ans-red);font-size:9px;line-height:1.3;font-weight:500;letter-spacing:1.75px;text-transform:uppercase}
.ans-news-hero h1{margin:10px 0 0!important;color:var(--ans-black)!important;font-size:clamp(34px,4vw,50px)!important;line-height:1.18!important;font-weight:400!important;letter-spacing:-1.6px!important}
.ans-news-hero p{max-width:720px;margin:14px auto 0;color:var(--ans-muted);font-size:11.5px;line-height:1.85;font-weight:400}
.ans-hero-rule{display:flex;align-items:center;justify-content:center;margin-top:22px}.ans-hero-rule:before,.ans-hero-rule:after{content:"";width:72px;height:1px;background:#eadfdf}.ans-hero-rule span{width:7px;height:7px;margin:0 9px;border-radius:50%;background:var(--ans-red)}

/* ---------- FEATURED STORY ---------- */
.ans-featured-story{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(330px,.72fr);min-height:420px;margin:0 0 48px;overflow:hidden;border:1px solid var(--ans-border);border-radius:22px;background:#fff;box-shadow:0 20px 55px rgba(42,0,4,.06)}
.ans-featured-media{display:block;min-height:420px;overflow:hidden;background:#f2efed;text-decoration:none}
.ans-featured-media img{display:block;width:100%;height:100%;min-height:420px;object-fit:cover;transition:transform .45s ease}
.ans-featured-story:hover .ans-featured-media img{transform:scale(1.018)}
.ans-featured-copy{display:flex;flex-direction:column;justify-content:center;padding:38px 36px}
.ans-featured-label{color:var(--ans-gold);font-size:8px;font-weight:500;letter-spacing:1.7px;text-transform:uppercase}
.ans-featured-cat{display:inline-block;width:max-content;margin-top:12px;color:var(--ans-red);font-size:8px;font-weight:500;letter-spacing:.7px;text-transform:uppercase;text-decoration:none}
.ans-featured-copy h2{margin:10px 0 0!important;font-size:clamp(24px,2.6vw,36px)!important;line-height:1.28!important;font-weight:400!important;letter-spacing:-1px!important}
.ans-featured-copy h2 a{color:var(--ans-black);text-decoration:none}.ans-featured-copy h2 a:hover{color:var(--ans-red)}
.ans-featured-copy p{margin:14px 0 0;color:var(--ans-muted);font-size:10.5px;line-height:1.8}
.ans-featured-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px;color:#9a9899;font-size:8px}
.ans-read-story{display:inline-flex;align-items:center;gap:6px;width:max-content;margin-top:20px;color:var(--ans-red);font-size:9px;font-weight:500;text-decoration:none}.ans-read-story:hover{gap:10px}

/* ---------- MAIN + SIDEBAR ---------- */
.ans-news-layout{display:grid;grid-template-columns:minmax(0,1fr) var(--ans-sidebar);gap:44px;align-items:start}
.ans-news-layout.ans-no-sidebar{grid-template-columns:1fr}
.ans-news-main{min-width:0}
.ans-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid var(--ans-border)}
.ans-section-head h2{margin:5px 0 0!important;font-size:25px!important;line-height:1.3!important;font-weight:400!important;letter-spacing:-.6px!important}
.ans-story-count{color:#999;font-size:8.5px;white-space:nowrap}

/* ---------- GRID CARDS ---------- */
.ans-post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.ans-card{min-width:0;overflow:hidden;border:1px solid var(--ans-border);border-radius:18px;background:#fff;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.ans-card:hover{transform:translateY(-4px);border-color:rgba(201,22,32,.18);box-shadow:0 17px 40px rgba(35,0,3,.07)}
.ans-card-media{display:block;aspect-ratio:16/10;overflow:hidden;background:#f3f0ee;text-decoration:none}
.ans-card-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}.ans-card:hover .ans-card-media img{transform:scale(1.025)}
.ans-placeholder{display:grid;width:100%;height:100%;place-items:center;background:linear-gradient(135deg,var(--ans-red),#8e0b12);color:#fff;font-size:24px;font-weight:500}
.ans-card-body{padding:19px 19px 20px}
.ans-card-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
.ans-card-cat{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ans-red);font-size:7.5px;font-weight:500;letter-spacing:.65px;text-transform:uppercase;text-decoration:none}
.ans-card-topline time{flex-shrink:0;color:#aaa;font-size:7.5px}
.ans-card h3{margin:0!important;font-size:18px!important;line-height:1.42!important;font-weight:400!important;letter-spacing:-.38px!important}.ans-card h3 a{color:var(--ans-black);text-decoration:none}.ans-card h3 a:hover{color:var(--ans-red)}
.ans-card p{margin:10px 0 0;color:var(--ans-muted);font-size:9.5px;line-height:1.75}
.ans-card-link{display:inline-flex;align-items:center;gap:5px;margin-top:14px;color:var(--ans-red);font-size:8.5px;font-weight:500;text-decoration:none}.ans-card-link:hover{gap:8px}

/* ---------- SIDEBAR ---------- */
.ans-sidebar{position:sticky;top:92px;display:grid;gap:18px;min-width:0}
.ans-widget{padding:24px;border:1px solid var(--ans-border);border-radius:16px;background:#fff}
.ans-widget h3{margin:5px 0 16px!important;color:var(--ans-black)!important;font-size:15px!important;line-height:1.35!important;font-weight:500!important;letter-spacing:-.2px!important}
.ans-widget-kicker{color:var(--ans-gold);font-size:7px}
.ans-search-form{display:grid;grid-template-columns:minmax(0,1fr) 46px;overflow:hidden;border:1px solid var(--ans-border);border-radius:10px;background:#fff}
.ans-search-form input{min-width:0;height:46px;padding:0 13px!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#333!important;font-family:"Poppins",Arial,sans-serif!important;font-size:9.5px!important;font-weight:400!important}
.ans-search-form button{border:0;background:var(--ans-red);color:#fff;font-size:16px;cursor:pointer}
.ans-category-list{list-style:none;margin:0;padding:0}
.ans-category-list li{margin:0;padding:0;border-bottom:1px solid #f1eeee}.ans-category-list li:last-child{border-bottom:0}
.ans-category-list a{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0;color:#555;text-decoration:none;font-size:10px;line-height:1.45}.ans-category-list li.is-active a,.ans-category-list a:hover{color:var(--ans-red)}
.ans-category-list small{min-width:27px;height:24px;padding:0 7px;display:grid;place-items:center;border-radius:20px;background:var(--ans-soft-red);color:var(--ans-red);font-size:7px}
.ans-recent-list{display:grid;gap:14px}
.ans-recent-item{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;align-items:center;text-decoration:none}
.ans-recent-thumb{width:88px;height:68px;overflow:hidden;border-radius:10px;background:#f3f0ee;display:grid;place-items:center;color:var(--ans-red);font-size:9px;font-weight:500}.ans-recent-thumb img{width:100%;height:100%;object-fit:cover}
.ans-recent-copy{min-width:0}.ans-recent-copy strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#333;font-size:9.5px;line-height:1.48;font-weight:500}.ans-recent-copy small{display:block;margin-top:5px;color:#aaa;font-size:7.5px}.ans-recent-item:hover strong{color:var(--ans-red)}
.ans-sidebar-cta{padding:25px;border-radius:16px;background:linear-gradient(145deg,#a90e18,var(--ans-red));color:#fff;box-shadow:0 16px 36px rgba(201,22,32,.16)}
.ans-sidebar-cta>span{display:block;color:rgba(255,255,255,.72);font-size:7px;font-weight:500;letter-spacing:1.5px}.ans-sidebar-cta h3{margin:8px 0 0!important;color:#fff!important;font-size:18px!important;line-height:1.4!important;font-weight:400!important}.ans-sidebar-cta p{margin:9px 0 0;color:rgba(255,255,255,.8);font-size:9px;line-height:1.7}.ans-sidebar-cta a{display:inline-flex;margin-top:16px;padding:10px 13px;border-radius:8px;background:#fff;color:var(--ans-red);font-size:8.5px;font-weight:500;text-decoration:none}

/* ---------- PAGINATION ---------- */
.ans-pagination{display:flex;gap:7px;flex-wrap:wrap;margin-top:32px}.ans-pagination .page-numbers{min-width:38px;height:38px;padding:0 11px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ans-border);border-radius:9px;background:#fff;color:#555;text-decoration:none;font-size:9px}.ans-pagination .page-numbers.current,.ans-pagination .page-numbers:hover{border-color:var(--ans-red);background:var(--ans-red);color:#fff}
.ans-empty-state{padding:50px 24px;border:1px dashed #dcd6d3;border-radius:16px;background:#fafafa;text-align:center}.ans-empty-state h2{margin:0!important;font-size:24px!important;font-weight:400!important}.ans-empty-state p{margin:8px 0 0;color:#777;font-size:10px}
.ans-mobile-tools{display:none}

/* ---------- HOMEPAGE NEWS SECTION ---------- */
.ans-home-news{width:min(calc(100% - 48px),1320px);margin:0 auto;padding:68px 0}
.ans-home-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:28px}
.ans-home-head h2{margin:7px 0 0!important;font-size:clamp(28px,3vw,40px)!important;line-height:1.28!important;font-weight:400!important;letter-spacing:-1px!important}.ans-home-head p{max-width:680px;margin:10px 0 0;color:var(--ans-muted);font-size:10.5px;line-height:1.8}
.ans-view-all{flex-shrink:0;display:inline-flex;align-items:center;gap:6px;padding:11px 14px;border:1px solid var(--ans-border);border-radius:9px;color:#333;text-decoration:none;font-size:9px;font-weight:500}.ans-view-all:hover{border-color:var(--ans-red);color:var(--ans-red)}
.ans-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ans-home-grid .ans-card h3{font-size:17px!important}

/* ---------- SINGLE ARTICLE ---------- */
.ans-single-shell{width:min(100%,1360px);margin:0 auto;padding:54px 28px 80px;background:#fff}
.ans-single-layout{display:grid;grid-template-columns:minmax(0,1fr) var(--ans-sidebar);gap:48px;align-items:start}
.ans-single-article{min-width:0;max-width:900px}
.ans-breadcrumb{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:18px;color:#aaa;font-size:8px}.ans-breadcrumb a{color:#777;text-decoration:none}.ans-breadcrumb a:hover{color:var(--ans-red)}
.ans-single-cats{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:11px}.ans-single-cats a{color:var(--ans-red);font-size:8px;font-weight:500;letter-spacing:.75px;text-transform:uppercase;text-decoration:none}
.ans-single-title{max-width:880px;margin:0!important;color:var(--ans-black)!important;font-size:clamp(31px,4vw,var(--ans-single-title))!important;line-height:1.18!important;letter-spacing:-1.55px!important;font-weight:400!important}
.ans-single-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px;color:#999;font-size:8.5px}
.ans-single-featured{margin:28px 0 0;overflow:hidden;border-radius:18px;background:#f3f1ef}.ans-single-featured img{display:block;width:100%;height:auto;max-height:660px;object-fit:cover}
.ans-single-content{max-width:820px;margin-top:32px;color:var(--ans-text);font-family:"Poppins",Arial,sans-serif;font-size:15.5px;line-height:1.92;font-weight:400}.ans-single-content p{margin:0 0 1.35em}.ans-single-content h2{margin:1.8em 0 .65em!important;color:var(--ans-black)!important;font-size:29px!important;line-height:1.35!important;font-weight:500!important;letter-spacing:-.7px!important}.ans-single-content h3{margin:1.65em 0 .6em!important;color:var(--ans-black)!important;font-size:22px!important;line-height:1.4!important;font-weight:500!important}.ans-single-content h4{font-size:18px!important;font-weight:500!important}.ans-single-content ul,.ans-single-content ol{padding-left:1.4em}.ans-single-content li{margin:.45em 0}.ans-single-content img{max-width:100%;height:auto;border-radius:12px}.ans-single-content blockquote{margin:1.8em 0;padding:18px 22px;border-left:3px solid var(--ans-red);background:#fff7f7;color:#555}.ans-single-content a{color:var(--ans-red)}
.ans-post-nav{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:42px;padding-top:25px;border-top:1px solid var(--ans-border)}.ans-post-nav a{min-height:92px;padding:15px 17px;border:1px solid var(--ans-border);border-radius:12px;color:#333;text-decoration:none}.ans-post-nav small{display:block;margin-bottom:6px;color:#999;font-size:7px;letter-spacing:.7px;text-transform:uppercase}.ans-post-nav strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:9.5px;line-height:1.5;font-weight:500}.ans-post-nav a:hover{border-color:rgba(201,22,32,.3);color:var(--ans-red)}.ans-next-link{text-align:right}
.ans-related{margin-top:48px;padding-top:30px;border-top:1px solid var(--ans-border)}.ans-related-head{margin-bottom:18px}.ans-related-head h2{margin:5px 0 0!important;font-size:24px!important;font-weight:400!important}.ans-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ans-related-grid .ans-card-body{padding:14px}.ans-related-grid .ans-card h3{font-size:13px!important}.ans-related-grid .ans-card p{display:none}.ans-related-grid .ans-card-link{margin-top:10px}
.ans-admin-note{padding:14px;border:1px solid #e0d9d6;border-radius:10px;background:#fff8f8;color:#8b1118;font-family:"Poppins",Arial,sans-serif;font-size:12px}

/* OceanWP / Elementor compatibility */
.ans-forced-template-wrap{background:#fff}.ans-post-page #content-wrap{max-width:none!important}.ans-post-page .content-area{width:100%!important;border:0!important;padding:0!important}.ans-post-page .widget-area{display:none!important}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1100px){
    .ans-featured-story{grid-template-columns:1.15fr .85fr}
    .ans-news-layout,.ans-single-layout{grid-template-columns:minmax(0,1fr) 330px;gap:30px}
    .ans-post-grid{gap:16px}
}
@media(max-width:920px){
    .ans-featured-story{grid-template-columns:1fr}.ans-featured-media,.ans-featured-media img{min-height:320px}.ans-featured-copy{padding:28px}
    .ans-news-layout,.ans-single-layout{grid-template-columns:1fr}
    .ans-sidebar{position:static}.ans-mobile-tools{display:block;margin-bottom:20px}.ans-sidebar-toggle{width:100%;min-height:46px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;border:1px solid var(--ans-border);border-radius:10px;background:#fff;color:#333;font-family:"Poppins",Arial,sans-serif;font-size:9px;cursor:pointer}
    .ans-news-layout .ans-sidebar{display:none}.ans-news-layout.ans-sidebar-open .ans-sidebar{display:grid}
    .ans-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .ans-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
    .ans-news-shell,.ans-single-shell{padding:40px 16px 54px}.ans-news-hero{margin-bottom:30px}.ans-news-hero h1{font-size:34px!important;letter-spacing:-1.2px!important}
    .ans-featured-story{margin-bottom:34px;border-radius:16px}.ans-featured-media,.ans-featured-media img{min-height:240px}.ans-featured-copy{padding:22px}.ans-featured-copy h2{font-size:25px!important}
    .ans-section-head{align-items:flex-start}.ans-story-count{display:none}
    .ans-post-grid{grid-template-columns:1fr}.ans-card-media{aspect-ratio:16/10}.ans-card h3{font-size:18px!important}
    .ans-home-news{width:calc(100% - 32px);padding:50px 0}.ans-home-head{display:block}.ans-view-all{margin-top:18px}.ans-home-grid{grid-template-columns:1fr}
    .ans-single-title{font-size:34px!important;letter-spacing:-1.15px!important}.ans-single-content{font-size:14.5px;line-height:1.88}.ans-single-content h2{font-size:25px!important}.ans-single-content h3{font-size:20px!important}
    .ans-post-nav,.ans-related-grid{grid-template-columns:1fr}.ans-next-link{text-align:left}
    .ans-widget{padding:20px}.ans-recent-item{grid-template-columns:82px minmax(0,1fr)}.ans-recent-thumb{width:82px;height:64px}
}
