:root{--aryana-primary:#0d6b5f;--aryana-link:#0b63ce;--aryana-font-size:16px;--aryana-site-width:1280px;--aryana-border:#e5e7eb;--aryana-text:#1f2937;--aryana-muted:#6b7280;--aryana-bg:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--aryana-bg);color:var(--aryana-text);font-family:Tahoma,"Segoe UI",Arial,sans-serif;font-size:var(--aryana-font-size);line-height:1.9}img{max-width:100%;height:auto}a{color:var(--aryana-link);text-decoration:none}.container{width:min(calc(100% - 32px),var(--aryana-site-width));margin-inline:auto}.skip-link{position:absolute;top:-100px}.skip-link:focus{top:8px;z-index:9999;background:#fff;padding:8px}.site-header{background:#fff;border-bottom:1px solid var(--aryana-border);z-index:100}.site-header.is-sticky{position:sticky;top:0}.header-desktop{min-height:74px;display:flex;align-items:center;gap:20px}.header-logo img{display:block;max-height:54px;width:auto}.primary-nav{flex:1}.primary-nav ul{display:flex;list-style:none;gap:18px;margin:0;padding:0;align-items:center}.primary-nav li{position:relative}.primary-nav .sub-menu{position:absolute;top:100%;right:0;background:#fff;border:1px solid var(--aryana-border);padding:12px;min-width:220px;display:none;box-shadow:0 12px 32px #0002}.primary-nav li:hover>.sub-menu{display:block}.primary-nav .mega-menu>.sub-menu{width:min(900px,90vw);display:none;grid-template-columns:repeat(4,minmax(0,1fr))}.primary-nav .mega-menu:hover>.sub-menu{display:grid}.search-form{display:flex;gap:6px}.search-form input{min-width:220px;padding:9px 12px;border:1px solid var(--aryana-border);border-radius:10px}.search-form button,.btn{border:0;background:var(--aryana-primary);color:#fff;padding:9px 14px;border-radius:10px}.header-mobile{display:none;height:64px;align-items:center;justify-content:space-between}.menu-toggle,.search-toggle{background:none;border:0;font-size:26px}.mobile-drawer{padding:16px;background:#fff;border-top:1px solid var(--aryana-border)}.site-main{padding-block:32px}.content-grid,.single-layout,.page-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:32px}.breadcrumbs{font-size:.9rem;color:var(--aryana-muted);display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.entry-header h1{font-size:clamp(1.8rem,4vw,2.7rem);line-height:1.45;margin:.3em 0}.entry-meta{display:flex;gap:12px;flex-wrap:wrap;color:var(--aryana-muted);font-size:.9rem}.hero-image{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:16px;margin-top:18px}.entry-content{max-width:780px}.entry-content h2,.entry-content h3{line-height:1.55}.entry-content table{width:100%;border-collapse:collapse}.entry-content td,.entry-content th{border:1px solid var(--aryana-border);padding:8px}.sidebar{min-width:0}.widget{border:1px solid var(--aryana-border);border-radius:14px;padding:16px;margin-bottom:16px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{border:1px solid var(--aryana-border);border-radius:14px;overflow:hidden;background:#fff}.card-media img{display:block;width:100%;aspect-ratio:8/5;object-fit:cover}.card-body{padding:14px}.card-body h3{margin:0 0 8px;font-size:1.05rem;line-height:1.6}.site-footer{border-top:1px solid var(--aryana-border);margin-top:48px;background:#f8fafc}.footer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding-block:36px}.footer-bottom{border-top:1px solid var(--aryana-border);padding-block:16px;display:flex;justify-content:space-between;gap:12px}.mobile-bottom{display:none}.error-404{text-align:center;padding:80px 0}.error-404>strong{font-size:clamp(5rem,20vw,12rem);line-height:1;color:var(--aryana-primary)}.share-box,.author-box{border:1px solid var(--aryana-border);padding:16px;border-radius:14px;margin:24px 0}@media(max-width:900px){.header-desktop{display:none}.header-mobile{display:flex}.content-grid,.single-layout,.page-layout{grid-template-columns:1fr}.sidebar{order:2}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-bottom{position:fixed;display:flex;z-index:120;bottom:0;left:0;right:0;height:58px;background:#fff;border-top:1px solid var(--aryana-border);justify-content:space-around;align-items:center;padding-bottom:env(safe-area-inset-bottom)}body{padding-bottom:58px}}@media(max-width:560px){.container{width:min(calc(100% - 22px),var(--aryana-site-width))}.site-main{padding-block:20px}.cards{grid-template-columns:1fr}.entry-content{font-size:1rem}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column}.hero-image{border-radius:12px}.search-form input{min-width:0;width:100%}}
.article-faq,.article-sources{margin:32px 0}.article-faq details{border:1px solid var(--aryana-border);border-radius:12px;padding:12px 14px;margin:10px 0}.article-faq summary{cursor:pointer;font-weight:700}.article-sources ol{padding-right:22px}.page-layout.sidebar-left,.single-layout.sidebar-left{grid-template-columns:300px minmax(0,1fr)}.page-layout.sidebar-left>article,.single-layout.sidebar-left>.article-content{order:2}.page-layout.full-width{grid-template-columns:1fr}.boxed{max-width:980px}
/* ARYANA 1.0.4 visual header builder rows */
.header-row{display:block}.header-row-inner{min-height:48px;display:flex;align-items:center;gap:20px}.header-row-main .header-row-inner{min-height:74px}.header-row-top,.header-row-bottom{font-size:.92em}.header-row-top{border-bottom:1px solid var(--aryana-border)}.header-row-bottom{border-top:1px solid var(--aryana-border)}@media(max-width:900px){.header-row{display:none}.header-mobile{display:flex;gap:14px}.header-mobile .header-logo{margin-inline:auto}.header-mobile .primary-nav,.header-mobile .search-form{display:none}}

/* ARYANA 1.0.5 — header grid: 3 rows × 3 columns on desktop and mobile */
.header-grid-inner,.header-mobile-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);align-items:center;gap:16px}.header-grid-cell{min-width:0;display:flex;align-items:center;gap:14px}.header-grid-right{justify-content:flex-start}.header-grid-center{justify-content:center}.header-grid-left{justify-content:flex-end}.header-grid-cell .primary-nav{flex:0 1 auto}.header-grid-cell .primary-nav>div>ul,.header-grid-cell .primary-nav>ul{justify-content:inherit}.header-mobile-row{display:none}.header-row-top .header-grid-inner,.header-row-bottom .header-grid-inner{min-height:48px}.header-row-main .header-grid-inner{min-height:74px}
@media(max-width:900px){.header-desktop,.header-row{display:none!important}.header-mobile{display:none!important}.header-mobile-row{display:block}.header-mobile-grid{min-height:44px;gap:8px}.header-mobile-row-main .header-mobile-grid{min-height:64px}.header-mobile-row-top{border-bottom:1px solid var(--aryana-border);font-size:.92em}.header-mobile-row-bottom{border-top:1px solid var(--aryana-border);font-size:.92em}.header-mobile-grid .header-grid-cell{gap:8px}.header-mobile-grid .header-logo img{max-height:46px}.header-mobile-grid .search-form,.header-mobile-grid .primary-nav{display:none}.header-mobile-grid .menu-toggle,.header-mobile-grid .search-toggle{display:inline-flex;align-items:center;justify-content:center}.header-mobile-grid .btn{padding:7px 10px}.header-mobile-grid .header-html,.header-mobile-grid .header-shortcode{min-width:0;max-width:100%}}
@media(max-width:560px){.header-grid-inner,.header-mobile-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);gap:5px}.header-mobile-grid .header-grid-cell{gap:5px}.header-mobile-grid .header-phone,.header-mobile-grid .header-account{font-size:.88em}.header-mobile-grid .header-logo{max-width:100%}}

/* ARYANA 1.0.7 — single-line desktop navigation + optional 3-part top bar */
@media(min-width:901px){
 .primary-nav{min-width:0;overflow:visible}
 .primary-nav>ul,.primary-nav>div>ul{display:flex;flex-wrap:nowrap;white-space:nowrap;width:max-content;max-width:none;gap:clamp(10px,1.15vw,22px)}
 .primary-nav li,.primary-nav a{white-space:nowrap;word-break:normal;overflow-wrap:normal}
 .header-grid-cell:has(.primary-nav){overflow:visible;z-index:3}
 .header-grid-cell .primary-nav{width:max-content;max-width:none}
}
.aryana-topbar{background:var(--aryana-topbar-bg,#42b64f);color:var(--aryana-topbar-text,#fff);font-size:.96rem;line-height:1.5}
.aryana-topbar a{color:inherit;text-decoration:none}
.aryana-topbar-grid{min-height:44px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);align-items:center;gap:16px}
.aryana-topbar-cell{min-width:0;display:flex;align-items:center;gap:12px}
.aryana-topbar-right{justify-content:flex-start;text-align:right}
.aryana-topbar-center{justify-content:center;text-align:center}
.aryana-topbar-left{justify-content:flex-end;text-align:left;direction:ltr}
.aryana-topbar-left>*{direction:rtl}
@media(max-width:900px){
 .aryana-topbar{font-size:.84rem}
 .aryana-topbar-grid{min-height:40px;gap:6px}
 .aryana-topbar-cell{gap:6px;line-height:1.35}
}
@media(max-width:560px){
 .aryana-topbar-grid{width:min(calc(100% - 16px),var(--aryana-site-width));grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);gap:4px}
 .aryana-topbar{font-size:.76rem}
}

/* ARYANA 1.0.13 — article archive cards */
.archive-posts-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:32px;align-items:start}.archive-posts-main{min-width:0}.article-cards .card{display:flex;flex-direction:column}.card-media{display:block;background:#f4f7f8;overflow:hidden}.card-media img,.aryana-card-image{display:block;width:100%;aspect-ratio:8/5;object-fit:cover}.aryana-card-placeholder{aspect-ratio:8/5;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(135deg,#eef8f3,#f5f8ff);color:var(--aryana-primary);font-weight:700}.aryana-card-placeholder small{font-weight:400;color:var(--aryana-muted)}
.aryana-header-device-mobile{display:none}.aryana-header-device-desktop{display:block}
@media(max-width:900px){.archive-posts-layout{grid-template-columns:1fr}.aryana-header-device-desktop{display:none}.aryana-header-device-mobile{display:block}.aryana-header-device-mobile .header-mobile-row{display:block}.aryana-header-device-mobile .aryana-topbar{display:block}}

/* ARYANA 2.0.3 — single-post isolation without changing the global site container.
   Header, top bar, menu and footer now inherit EXACTLY the same .container rule as
   front-page.php and home.php. Only the article layout is specialized for single posts. */
body.single.aryana-single-v202{
 width:100%!important;
 max-width:none!important;
 min-width:0!important;
 margin:0!important;
 margin-inline:0!important;
 display:block!important;
}
body.single.aryana-single-v202 .site-header,
body.single.aryana-single-v202 .site-content,
body.single.aryana-single-v202 .site-main,
body.single.aryana-single-v202 .site-footer,
body.single.aryana-single-v202 .aryana-header-device{
 width:100%!important;
 max-width:none!important;
 min-width:0!important;
 margin-inline:0!important;
}
/* IMPORTANT: do not override .container on single posts.
   It intentionally inherits the exact global rule used by homepage and article archive. */
body.single.aryana-single-v202 .aryana-single-main{
 padding-block:32px;
 width:100%!important;
 max-width:none!important;
}
body.single.aryana-single-v202 .aryana-single-post-layout{
 display:grid;
 grid-template-columns:minmax(0,1fr) var(--aryana-singular-sidebar-width,300px);
 gap:32px;
 align-items:start;
}
body.single.aryana-single-v202 .aryana-single-post-layout.no-sidebar,
body.single.aryana-single-v202 .aryana-single-post-layout.full-width{
 display:block!important;
 grid-template-columns:none!important;
}
body.single.aryana-single-v202 .aryana-single-post-layout.sidebar-left{
 grid-template-columns:var(--aryana-singular-sidebar-width,300px) minmax(0,1fr);
}
body.single.aryana-single-v202 .aryana-single-post-layout.sidebar-left>.article-content{order:2}
body.single.aryana-single-v202 .aryana-single-post-layout>.article-content,
body.single.aryana-single-v202 .aryana-single-post-layout .entry-header,
body.single.aryana-single-v202 .aryana-single-post-layout .entry-content,
body.single.aryana-single-v202 .aryana-single-post-layout .breadcrumbs,
body.single.aryana-single-v202 .aryana-single-post-layout .article-faq,
body.single.aryana-single-v202 .aryana-single-post-layout .article-sources,
body.single.aryana-single-v202 .aryana-single-post-layout .share-box,
body.single.aryana-single-v202 .aryana-single-post-layout .author-box,
body.single.aryana-single-v202 .aryana-single-post-layout .related,
body.single.aryana-single-v202 .aryana-single-post-layout .navigation,
body.single.aryana-single-v202 .aryana-single-post-layout .comments-area{
 min-width:0;
 width:100%!important;
 max-width:none!important;
 margin-inline:0;
}
/* Single featured image: preserve source aspect ratio, never stretch, never exceed 300×300. */
body.single.aryana-single-v202 .aryana-single-featured-image,
body.single.aryana-single-v202 .aryana-single-post-layout .hero-image{
 display:block!important;
 width:auto!important;
 height:auto!important;
 max-width:300px!important;
 max-height:300px!important;
 aspect-ratio:auto!important;
 object-fit:contain!important;
 margin-top:18px;
 margin-right:0;
 margin-left:auto;
 border-radius:16px;
}
/* Neutralize legacy classes that can shrink only the article canvas. */
body.single.aryana-single-v202.boxed,
body.single.aryana-single-v202 .boxed,
body.single.aryana-single-v202 .single-layout,
body.single.aryana-single-v202 .article-content,
body.single.aryana-single-v202 .entry-content{
 max-width:none!important;
}
@media(max-width:900px){
 body.single.aryana-single-v202 .aryana-single-post-layout{grid-template-columns:1fr!important}
 body.single.aryana-single-v202 .sidebar{order:2}
 body.single.aryana-single-v202 .aryana-single-featured-image,
 body.single.aryana-single-v202 .aryana-single-post-layout .hero-image{
  max-width:min(300px,100%)!important;
  max-height:300px!important;
 }
}

/* ARYANA 2.0.4 — one top-bar geometry on every template.
 * The green background breaks out of any inherited/legacy parent max-width and spans
 * the full browser viewport. The inner three-column content still uses the normal
 * global .container, so text alignment remains consistent with the site header.
 */
.aryana-topbar{
 position:relative!important;
 width:100vw!important;
 max-width:100vw!important;
 margin-inline:calc(50% - 50vw)!important;
 border-radius:0!important;
 overflow:visible!important;
}
.aryana-topbar>.aryana-topbar-grid{
 width:min(calc(100% - 32px),var(--aryana-site-width))!important;
 max-width:var(--aryana-site-width)!important;
 margin-inline:auto!important;
}
@media(max-width:560px){
 .aryana-topbar>.aryana-topbar-grid{
  width:min(calc(100% - 22px),var(--aryana-site-width))!important;
 }
}
