/* Idukki Design v1.0 - safe, theme-independent styling */
:root{
  --io-brand:#1f5d3a; --io-brand-dark:#154429; --io-accent:#e4572e;
  --io-bg:#f6f7f3; --io-line:#e1e6dd; --io-muted:#5d6b61;
}
body, button, input, select, textarea{
  font-family:"Noto Sans Malayalam","Inter",system-ui,sans-serif !important;
}
body{ background:var(--io-bg); line-height:1.7; }

/* Headlines: comfortable line height for Malayalam script */
h1,h2,h3,h4,.article-title,.entry-title,.slide-title,.article-title a{
  font-family:"Noto Sans Malayalam","Inter",sans-serif !important;
  line-height:1.5 !important; letter-spacing:0 !important;
}
.entry-title{ font-weight:800; }

/* Masthead */
.site-title a, .site-title{ font-family:"Inter",sans-serif !important; font-weight:800; letter-spacing:-.4px !important; }
.main-navigation, .main-navigation ul, #masthead .af-container-row{ font-weight:600; }

/* Sticky, cleaner category menu */
.main-navigation .menu-item > a{ border-radius:999px; transition:background .2s,color .2s; }
.main-navigation .menu-item > a:hover{ background:var(--io-brand); color:#fff !important; }

/* Category tags as orange pills */
.figure-categories .cat-links a, .figure-categories-bg .cat-links a,
.cat-links a{ background:var(--io-accent) !important; color:#fff !important; border-radius:999px !important; padding:2px 10px !important; font-size:12px; font-weight:700; }

/* Cards: rounded images, soft hover */
.read-img, .read-img img, .featured-article, .spotlight-post{ border-radius:14px; overflow:hidden; }
.read-img img{ transition:transform .35s ease; }
.read-img:hover img, .af-main-banner-latest-posts article:hover img{ transform:scale(1.04); }
article.latest-posts-grid, .af-main-banner-latest-posts article, .trending-story{
  transition:transform .2s ease, box-shadow .2s ease;
}
.af-main-banner-latest-posts article:hover{ transform:translateY(-2px); }

/* Widget headings with an accent bar */
.widget-title span, .header-after, .covernews-heading-style{ position:relative; padding-left:14px; font-weight:800; }
.widget-title span::before, .covernews-heading-style::before{
  content:""; position:absolute; left:0; top:12%; bottom:12%; width:5px; border-radius:3px; background:var(--io-accent);
}

/* Links, meta, footer */
a:hover{ color:var(--io-brand); }
.entry-content a{ color:var(--io-brand); text-decoration:underline; text-underline-offset:3px; }
.entry-content{ font-size:18px; line-height:1.9; }
.site-footer{ border-top:4px solid var(--io-brand); }
#scroll-up, .scroll-up{ background:var(--io-brand) !important; border-radius:12px; }

/* Calendar widget is low value on a news site */
.widget_calendar{ display:none; }

/* Phones: tighter spacing */
@media (max-width:640px){
  .entry-content{ font-size:17px; }
  .widget-title span{ font-size:17px; }
}
@media (prefers-reduced-motion:reduce){
  *{ transition:none !important; }
}
