/* Shared presentation rules. Keep content, brand, media and application behaviour intact. */
:root{--content-width:1160px;--gutter:32px;--body-size:1.125rem;--heading-size:2.25rem;--section-size:1.5rem;--space:24px}
body{font-size:var(--body-size);line-height:1.65}
.container,.footer-inner{width:min(var(--content-width),calc(100% - var(--gutter)*2));max-width:var(--content-width);margin-inline:auto}
.header-inner{max-width:1280px;padding-inline:32px}
.page-heading{padding-block:28px 24px}
.page-heading h1,h1{font-size:var(--heading-size);line-height:1.2;letter-spacing:-.02em}
.breadcrumbs{font-size:.875rem;line-height:1.5;margin-bottom:12px}
.page-heading .page-intro,.page-intro{font-size:var(--body-size);line-height:1.65;max-width:75ch;margin-top:16px;margin-bottom:0}
.page-intro p{font-size:inherit;line-height:inherit}
.page-cover,.page-cover.editorial-cover{width:min(var(--content-width),calc(100% - var(--gutter)*2));max-width:var(--content-width);height:auto;margin:0 auto 24px;border-radius:16px;overflow:hidden;background:transparent}
.page-cover>picture,.page-cover.editorial-cover>picture{display:block;width:100%;height:clamp(200px,23vw,280px);overflow:hidden;border-radius:16px}
.page-cover img,.page-cover.editorial-cover img{display:block;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:center 48%;border-radius:16px}
.page-cover .image-description{margin:8px 0 0;text-align:left}
.editorial-cover .image-description p{font-size:.875rem;line-height:1.5;max-width:75ch;margin:0}
.page-content{padding-bottom:40px}
.article-grid,.reading-grid,.risale-context,.activity-explore-grid{gap:20px;align-items:start}
.content-group,.activity-explore-grid>.content-group{padding:24px;border-radius:16px;min-width:0}
.content-group h2,.entry-card h2,.home-details h2,.activity-explore-grid .content-group h2,.first-steps h2{font-size:var(--section-size);line-height:1.3;margin:0 0 12px}
.content-group h3,.research-lab h3,.activity-history-card h3,.weekly-grid h3{font-size:1.25rem;line-height:1.4;margin-bottom:12px}
.content-group p,.content-group li,.entry-card p,.home-details p,.glossary p,.legal .content-group p,.legal .content-group li,.research-project p,.research-video-copy p,.content-group .archive-context{font-size:var(--body-size);line-height:1.65}
.content-group p,.content-group li{margin-bottom:12px}
.content-group p:last-child{margin-bottom:0}
.content-group p{max-width:75ch}
.article-grid.legal{max-width:var(--content-width);width:100%;margin-inline:0}
.legal>.content-group{margin-bottom:16px}
.legal .content-group h2{font-size:var(--section-size)}
.page-contents,.research-jumps{gap:8px 18px;font-size:1rem;margin-block:0 24px;line-height:1.5}
.page-contents a,.research-jumps a{min-height:44px;display:inline-flex;align-items:center}
.entry-grid{gap:20px;padding-block:24px}
.entry-card{padding:24px;border-radius:16px}
.home-details{gap:32px;padding-block:8px 32px}
.entry-card>a,.inline-link,.button,.hero-link{font-size:1rem;line-height:1.45;min-height:44px}
.first-steps{padding-bottom:32px}.first-steps-grid{gap:0 32px}
.first-steps .first-step h3{font-size:1.125rem;line-height:1.5}
.first-steps .first-step p,.reading-method p{font-size:var(--body-size);line-height:1.65}
.home-hero.hero-learning{min-height:480px;max-width:1600px}
.hero-learning .hero-content{width:min(var(--content-width),calc(100% - var(--gutter)*2));max-width:var(--content-width);margin-inline:auto;padding-block:42px;padding-inline:0}
.hero-learning .hero-intro{max-width:min(520px,43vw)}
.hero-learning .hero-intro h1{font-size:clamp(2.5rem,3.8vw,3.25rem);line-height:1.12;margin-bottom:20px}
.hero-learning .hero-intro>p:not(.eyebrow):not(.brand-values){font-size:var(--body-size);line-height:1.65}
.hero-learning .hero-content .brand-values{font-size:1rem;line-height:1.55}
.hero-learning .hero-content .eyebrow{font-size:.8125rem}
.hero-learning .hero-photo{object-position:center 48%}
.programme-notices{margin-top:20px;margin-bottom:0}
.archive-section,.research-lab{padding:24px;margin-top:24px}
body[data-page="arastirmalar"] .research-lab{padding:0;margin:0;background:transparent;border:0;border-radius:0}
.research-lab>.eyebrow{margin-bottom:8px;font-size:.875rem}
.research-lab>h2{font-size:var(--section-size);margin-bottom:20px}
.research-portrait{width:100%;max-width:none;margin:0 0 32px;padding:0;border:0;border-radius:0;background:transparent;overflow:visible}
.research-portrait blockquote{max-width:64ch;margin:0 auto 20px;font:400 clamp(1.125rem,1.7vw,1.375rem)/1.5 Georgia,serif;color:var(--red);text-align:center}
.research-portrait blockquote p{font:inherit;margin:0;max-width:none}
.research-portrait cite{font-size:1rem;margin-top:10px}
.research-portrait-open{display:block;width:100%}
.research-portrait .research-portrait-open img{display:block;width:100%;max-width:none;height:auto;max-height:none;aspect-ratio:2/1;object-fit:contain;border-radius:12px}
.portrait-legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 24px;list-style:none;padding:16px 0;margin:0;border-bottom:1px solid var(--line);grid-auto-flow:column;grid-template-rows:repeat(6,auto)}
.content-group .portrait-legend li,.portrait-legend li{font-size:1rem;line-height:1.5;margin:0;padding:0;display:flex;gap:8px;align-items:baseline}
.portrait-legend b{min-width:1.5em;color:var(--green)}
.portrait-note{font-size:.875rem!important;line-height:1.55!important;color:var(--muted);max-width:80ch!important;margin:12px 0 0!important}
.research-portrait figcaption{justify-content:flex-start;gap:0 24px;margin-top:4px;font-size:.875rem}
.research-video-row{grid-template-columns:240px minmax(0,1fr);gap:24px;padding-top:24px;border-top:1px solid var(--line)}
.research-video-copy p{max-width:65ch}
.research-video-row .research-reading{padding-top:16px}
.research-reading h3{font-size:1rem}
.research-reading .research-reading-text{font-size:var(--body-size);line-height:1.7;max-width:75ch}
.research-project{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}
.research-question-card{font-size:var(--body-size);padding-block:12px}
.dua-layout{width:min(var(--content-width),calc(100% - var(--gutter)*2));max-width:var(--content-width);margin-inline:auto}
.dua-copy{padding:24px;max-width:75ch}
.dua-layout p,.dua-layout .dua-intentions{font-size:1.25rem!important;line-height:1.65;margin-bottom:16px}
.dua-layout .dua-prayer p,.dua-layout .dua-prayer p:last-child{font-size:var(--body-size)!important;line-height:1.65}
.footer-inner .footer-section,.footer-inner .footer-contact,.footer-brand strong{font-size:1rem}
.footer-section h2,.footer-contact h2{font-size:1.0625rem}
.footer-brand p,.footer-contact .footer-address,.footer-location-link{font-size:.9375rem!important;line-height:1.6}
.footer-inner .footer-bottom nav{font-size:.875rem}
.footer-inner .footer-bottom small{font-size:.8125rem}
.footer-service-row .channel-heading,.footer-service-row .channel-link>span:last-child,.footer-service-row .social-icons.labelled .social-link{font-size:.9375rem}
.footer-service-row .channel-link small{font-size:.8125rem}
@media(min-width:761px){.contact-details{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.header-inner{padding-inline:24px}.desktop-nav{gap:14px;font-size:.9375rem}.research-video-row{gap:20px}}
@media(max-width:760px){
 :root{--gutter:20px;--body-size:1.0625rem;--heading-size:1.875rem;--section-size:1.4375rem;--space:20px}
 .header-inner{padding-inline:20px}
 .page-heading{padding-block:22px 20px}
 .page-heading .page-intro{margin-top:12px}
 .page-cover>picture,.page-cover.editorial-cover>picture{height:180px}
 .page-cover,.page-cover.editorial-cover{margin-bottom:20px}
 .article-grid,.reading-grid,.risale-context,.activity-explore-grid{grid-template-columns:1fr;gap:16px}
 .content-group,.activity-explore-grid>.content-group,.entry-card{padding:20px}
 .content-group h3,.research-lab h3{font-size:1.1875rem}
 .entry-card h2{padding-left:44px}
 .entry-grid{padding-block:20px;gap:16px}
 .hero-learning .hero-content{width:100%;padding:28px 20px 32px}
 .home-hero.hero-learning{min-height:490px}
 .hero-learning .hero-intro{max-width:none}
 .hero-learning .hero-intro h1{font-size:2.25rem}
 .research-portrait{margin-bottom:24px}
 .research-portrait blockquote{font-size:1.125rem;text-align:left;margin-bottom:16px}
 .research-portrait cite{font-size:.9375rem}
 .portrait-legend{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(9,auto);column-gap:12px}
 .portrait-legend li{font-size:.875rem!important;gap:4px}
 .portrait-note{font-size:.875rem!important}
 .research-video-row{grid-template-columns:1fr;padding-top:20px;gap:20px}
 .research-video-row figure{width:240px;max-width:100%;margin-inline:auto}
 .dua-copy{padding:20px}
 .dua-layout p,.dua-layout .dua-intentions{font-size:1.125rem!important}
 .footer-inner{gap:16px}
}
@media(max-width:360px){:root{--gutter:16px}.header-inner{padding-inline:16px}.portrait-legend{grid-template-columns:1fr;grid-template-rows:none;grid-auto-flow:row}}
/* Align the shared header to the content and remove the remaining prayer-title exception. */
.header-inner{max-width:calc(var(--content-width) + var(--gutter)*2);padding-inline:var(--gutter)}
body[data-page="bir-dua-yeter"] .page-heading h1{font-size:var(--heading-size);line-height:1.2}
/* Preserve the important upper image areas within the shared banner format. */
body[data-page="kaynaklar"] .page-cover img{object-position:center 18%}
body[data-page="egitim"] .page-cover img{object-position:center 40%}

/* Reading passage: editorial serif, shared by the Turkish original and English translation. */
.research-video-row .research-reading .research-reading-text{
 font-family:Georgia,"Times New Roman",serif;
 font-size:clamp(1.25rem,1.05rem + .55vw,1.5rem);
 font-weight:400;
 line-height:1.75;
 letter-spacing:0;
 max-width:64ch;
 color:var(--ink);
 text-wrap:pretty;
}

/* Home hero: restrained neutral dimming, without changing text or source image. */
.home-hero.hero-learning .hero-photo{filter:brightness(.88)}
@media(forced-colors:active){.home-hero.hero-learning .hero-photo{filter:none}}

/* Shared photographic tone; leave logos, maps, text and video untouched. */
.page-cover img,.activity-photo-grid img,img[src^="/assets/locations/"],.research-portrait-open img{filter:brightness(.94) contrast(1.02)}
.home-hero.hero-learning .hero-photo{filter:brightness(.78)}
@media(forced-colors:active){.page-cover img,.activity-photo-grid img,img[src^="/assets/locations/"],.research-portrait-open img,.home-hero.hero-learning .hero-photo{filter:none}}
