/* Fluid layout: content follows available space, including long Telugu text. */
:root{--page-gutter:clamp(14px,3.2vw,72px);--grid-gap:clamp(16px,1.8vw,30px)}
html{scroll-padding-top:clamp(84px,8vw,132px)}
body,main,section,article,nav,div{min-width:0}
.wrap{width:calc(100% - var(--page-gutter)*2);max-width:none;margin-inline:auto}
img,video,iframe,svg{max-width:100%}
button,input,select,textarea{min-width:0;max-width:100%}
h1,h2,h3,h4,p,button,a{overflow-wrap:break-word}
.section{padding-block:clamp(28px,3.2vw,56px)}
.section-heading{gap:clamp(14px,2vw,30px);flex-wrap:wrap}
.section-heading h2{font-size:clamp(27px,2.5vw,44px)}
.section-heading p{max-width:85ch}
.card-grid,.latest-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:var(--grid-gap)}
.literature-grid,.event-cards,.department-grid,.desk-columns,.worlds-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:var(--grid-gap)}
.story-photo-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:var(--grid-gap)}
.latest-card-image,.card-image{height:auto;aspect-ratio:16/10}
.latest-card-image img,.card-image img{height:100%;width:100%}
.article-thumbnail{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 30%}
.literature-thumbnail{aspect-ratio:16/10;height:auto!important;margin-bottom:20px;object-fit:contain;background:#ffffffa8}
.literature-symbol{display:none}
.literature-open{display:block;height:100%;width:100%}
.world-thumbnail{height:auto;aspect-ratio:16/9;object-fit:contain;background:#ffffff12;margin-bottom:15px}
.world-story{min-width:0}
.world-story-open{min-width:0}
.archive-thumbnail{width:clamp(75px,13vw,150px);height:auto;aspect-ratio:4/3;object-fit:contain;float:left;margin:4px 18px 12px 0;background:#edeae1}
.desk-story{display:grid;grid-template-columns:64px minmax(0,1fr) 18px!important;gap:14px!important}
.desk-thumbnail{width:64px;height:76px;object-fit:contain;background:#f3efe6}
.tile-articles button{display:grid;grid-template-columns:50px minmax(0,1fr) 12px;gap:10px;align-items:center}
.tile-articles button>span{position:static!important;font-size:inherit}
.tile-thumbnail{height:58px;width:50px;object-fit:contain;background:#fff5}
.people-features-heading{margin-bottom:26px}
.contemporary-people{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px}
.contemporary-people>div{padding:16px;background:#fff;border:1px solid #e5dfd1}
.contemporary-people button{display:flex;align-items:center;width:100%;gap:15px;text-align:left}
.contemporary-people button img{width:88px;height:110px;object-fit:contain;flex-shrink:0;background:#eee9df}
.contemporary-people button span{min-width:0}
.contemporary-people button strong{font-size:19px;line-height:1.75;display:block}
.contemporary-people button small{font-size:12px;line-height:1.8;display:block;margin-top:7px}
.speech-thumbnail{height:160px;width:100%;object-fit:contain;background:#eee9df;margin-bottom:20px}
.speech-more{text-align:center;margin-top:20px}
.speech-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:var(--grid-gap)}
.gallery-grid{columns:260px;column-gap:var(--grid-gap)}
.gallery-card{margin-bottom:var(--grid-gap);break-inside:avoid}
.gallery-card img{width:100%;height:100%;object-fit:cover}
.gallery-toolbar{flex-wrap:wrap;align-items:stretch;gap:18px}
.gallery-filters{flex:1 1 580px;flex-wrap:wrap;overflow:visible}
.gallery-search{flex:1 1 260px;max-width:none}
.gallery-pagination{display:flex;justify-content:center;align-items:center;gap:20px;flex-wrap:wrap;margin-top:28px}
.gallery-pagination[hidden]{display:none}
.gallery-pagination button{font-size:14px;min-height:44px}
.gallery-pagination button:disabled{opacity:.4;cursor:default}
.gallery-pagination span{font-size:14px}
.gallery-footnote{gap:16px;flex-wrap:wrap}
.gallery-dialog{width:calc(100dvw - 24px);max-width:1400px;max-height:calc(100dvh - 24px)}
.gallery-stage{height:clamp(240px,57dvh,700px)}
.gallery-stage img{max-height:100%;max-width:100%;object-fit:contain}
.gallery-caption{gap:24px;flex-wrap:wrap}
.gallery-caption>div{min-width:0}
.gallery-attribution{overflow-wrap:anywhere}
.detail-dialog,.saved-dialog{width:min(900px,calc(100dvw - 24px));max-width:calc(100dvw - 24px);max-height:calc(100dvh - 24px)}
.detail-body{padding:clamp(20px,3vw,44px)}
.detail-photo{max-height:clamp(230px,48dvh,520px);height:auto;width:100%;object-fit:contain;background:#f0ede5}
.reader-text{max-width:72ch;margin-inline:auto}
.reader-toolbar{flex-wrap:wrap;gap:10px}
.source-panel,.detail-source,.detail-image-credit{overflow-wrap:anywhere}
.source-panel ol{padding-left:23px}
.article-dates span,.detail-meta span{max-width:100%}
.detail-actions{gap:12px;flex-wrap:wrap}
.gallery-credit-row{grid-template-columns:minmax(65px,110px) minmax(0,1fr);gap:18px}
.source-panel li>a{overflow-wrap:anywhere}
.nav-wrap{gap:clamp(8px,1.4vw,25px)}
.desktop-nav{gap:clamp(10px,1.4vw,25px)}
.brand strong{font-size:clamp(23px,1.9vw,34px)}
.latest-toolbar{flex-wrap:wrap;overflow:visible;gap:9px}
.latest-toolbar button{font-size:clamp(12px,.95vw,16px);white-space:normal}
.hero{height:clamp(520px,36vw,680px)}
.hero h1{font-size:clamp(44px,4.9vw,92px)}
.hero-caption{max-width:35%;right:var(--page-gutter)}
.photo-hero-controls{left:var(--page-gutter)}
.hero-copy{max-width:62%}
.hero-foot{max-width:90%}
.explore-toolbar,.literature-topline,.resource-row,.world-filters,.calendar-toolbar,.archive-toolbar{flex-wrap:wrap}
.explore-toolbar>*{max-width:100%}
.footer-top,.footer-bottom{flex-wrap:wrap;gap:22px}
.card-body p,.latest-card-body p{max-width:80ch}
.art-card,.latest-card,.literature-card,.event-card,.world-tile,.desk-column{min-width:0}
@media(max-width:1050px){
 .diaspora-layout,.journal-layout,.live-layout{grid-template-columns:minmax(0,1fr)}
 .diaspora-intro{max-width:600px;margin-inline:auto}
 .journal-photo{min-height:320px}
 .hero-copy{max-width:70%}
 .hero-caption{max-width:38%}
 .desktop-nav{display:none}.menu-toggle{display:block}
}
@media(max-width:650px){
 .wrap{width:calc(100% - 32px)}
 .card-grid,.latest-grid,.literature-grid,.event-cards,.department-grid,.desk-columns,.worlds-grid,.story-photo-grid,.speech-cards{grid-template-columns:minmax(0,1fr)}
 .hero{height:clamp(620px,150vw,720px)}
 .hero-copy{max-width:100%;padding-top:48px}
 .hero h1{font-size:clamp(36px,10.5vw,60px);line-height:1.65}
 .hero-copy>p{font-size:16px;max-width:100%;line-height:2}
 .hero-actions{margin-top:22px;gap:18px}
 .hero-foot{margin-top:25px!important;max-width:100%}
 .hero-caption{left:16px;right:16px;max-width:none;bottom:82px!important}
 .photo-hero-controls{left:16px;right:16px;bottom:20px;gap:8px}
 .photo-hero-controls .hero-autoplay{font-size:9px;white-space:normal;max-width:115px}
 .hero-caption strong{font-size:15px}
 .hero-caption small{font-size:11px}
 .gallery-grid{columns:1}
 .gallery-filters{gap:7px;flex-basis:100%}
 .gallery-filters button{font-size:13px;min-height:40px}
 .gallery-search{flex-basis:100%}
 .gallery-pagination{gap:10px}
 .gallery-pagination button{padding-inline:13px}
 .gallery-caption{padding:22px 18px;display:block}
 .gallery-caption-actions{margin-top:22px;display:flex}
 .gallery-stage{height:46dvh;min-height:220px}
 .gallery-credit-row{grid-template-columns:65px minmax(0,1fr);gap:12px}
 .contemporary-people{grid-template-columns:minmax(0,1fr)}
 .contemporary-people button img{width:85px;height:110px}
 .archive-row{grid-template-columns:44px minmax(0,1fr) 28px}
 .archive-thumbnail{float:none;width:100%;max-height:180px;aspect-ratio:16/9;margin:0 0 14px}
 .archive-year{font-size:17px}
 .reader-text p{font-size:var(--reader-size,20px)}
 .detail-body{padding:22px 18px}
 .detail-body h2{font-size:26px;line-height:1.8}
 .detail-image-credit{padding:16px 18px}
 .detail-actions .button{max-width:100%}
 .world-filters>*{flex:1 1 130px}
 .calendar-toolbar label{flex:1 1 135px}
 .calendar-toolbar select{width:100%}
 .section-heading .text-button{white-space:normal!important}
 .resource-row{align-items:flex-start;gap:15px}
 .world-story{padding:18px}
 .country-stamp{position:static;margin-bottom:12px;width:100%;display:flex;align-items:center;gap:12px}
 .world-story-open{width:100%;padding:0}
 .world-save{top:18px;right:15px}
 .brand strong{font-size:22px}
 .brand small{font-size:7px;letter-spacing:1.8px}
 .brand img{width:32px;height:40px}
 .brand{gap:6px;flex-shrink:1}
 .nav-actions{gap:4px;flex-shrink:0}
 .nav-actions .search-jump{display:none}
 .nav-actions .icon-btn{width:29px;padding:5px}
 .live-nav{padding:9px 10px;font-size:12px}
 .mobile-nav{max-height:calc(100dvh - 100px);overflow-y:auto}
}
@media(max-width:350px){
 .brand strong{font-size:18px}.brand img{width:26px;height:34px}.brand small{font-size:6px;letter-spacing:1.4px}
 .nav-actions{gap:2px}.live-nav{padding:8px;font-size:11px}
 .hero{height:640px}.hero h1{font-size:36px}.hero-copy>p{font-size:15px}
 .hero-actions{margin-top:20px}.hero-actions .button{font-size:12px}
 .photo-hero-controls{gap:6px}.photo-hero-controls .hero-dots>button{width:14px}.photo-hero-controls .hero-dots span{width:10px}
 .photo-hero-controls .hero-autoplay{font-size:8px;max-width:88px}
 .reader-toolbar>span:last-child{flex-basis:100%}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.gallery-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:18px}.gallery-summary .gallery-status{margin:0}.gallery-summary label{display:flex;align-items:center;gap:10px;font-size:14px;color:#002366}.gallery-summary select{border:1px solid #d8d1c4;padding:9px 13px;background:#fff;min-height:42px;font-size:14px}.image-context-badge{position:absolute;top:12px;left:12px;background:#fff1d0;color:#502b12;padding:4px 8px;font-size:10px;border:1px solid #c78f36;max-width:calc(100% - 55px);z-index:1}.story-photo-card p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.story-photo-card button>span{line-height:1.8}.story-photo-card h3{font-size:clamp(20px,1.5vw,25px)}.speech-more button[hidden],.latest-more button[hidden]{display:none}
.hero-photo{object-position:var(--hero-image-position,50% 5%)}
@media(max-width:650px){.hero-photo{right:0;object-position:var(--hero-mobile-position,65% 5%)}}

/* Clear thumbnails: all editorial labels remain beneath the photograph. */
.card-image .card-tag,.image-context-badge,.gallery-image-shade,.gallery-category,.gallery-card-caption,.world-tile-photo > span{display:none!important}
.gallery-card{background:#fff;border:1px solid #e9e3d9;overflow:hidden;display:flex;flex-direction:column;margin:0;border-radius:14px}
.gallery-card>button{display:block;position:relative;aspect-ratio:4/3;height:auto;flex:none;overflow:hidden;width:100%}
.gallery-card>button>img{width:100%;height:100%;object-fit:contain;background:#f5f2eb}
.gallery-card figcaption{padding:18px 18px 20px;display:grid;gap:9px;color:#002366;text-align:left}
.gallery-card figcaption>small{color:#A81C07;font-size:13px;font-weight:700}
.gallery-card figcaption>strong{font-size:19px;line-height:1.6}
.gallery-card figcaption>span{color:#686b75;font-size:14px}
.gallery-grid{align-items:stretch}.story-kind{display:block;color:#A81C07;font-size:12px;margin-bottom:8px}.latest-card-body time{display:block}
.thumbnail-credit{padding:14px 7%;margin:0;background:#f8f5ef;font-size:14px;line-height:1.8}.thumbnail-credit a{color:#A81C07}
.card-image,.latest-card-image{background:#f7f3ea}.card-image img,.latest-card-image img{object-fit:contain!important}
.path-code{word-break:break-all}

/* Compact editorial rhythm: retain clear separation without oversized blank bands. */
:root{--grid-gap:clamp(12px,1.5vw,24px)}
.section{padding-block:clamp(24px,2.6vw,42px)}
