/*
Theme Name: Esat Motosiklet Okulu
Description: Esat Motosiklet Okulu'nun mevcut tasarımını ve adreslerini koruyan WordPress teması.
Version: 1.2.0
Author: Esat Motosiklet Okulu
Text Domain: esat-motosiklet
Requires PHP: 7.4
*/
.esat-native-article{max-width:900px;margin-inline:auto}
.esat-native-article .wp-block-image img{max-width:100%;height:auto}
.esat-native-article .article-body a{text-decoration:underline}
.admin-bar .site-header{top:32px}
@media(max-width:782px){.admin-bar .site-header{top:46px}}
@media(max-width:600px){.admin-bar .site-header{top:0}}
.partner-logo{transition:background .2s,box-shadow .2s,transform .2s}
.partner-logo img{filter:grayscale(1);opacity:.65;transition:filter .25s,opacity .25s,transform .25s}
.partner-logo:hover,.partner-logo:focus-visible{background:#fff4de;box-shadow:0 0 0 2px #cba34b;transform:translateY(-3px);outline:none}
.partner-logo:hover img,.partner-logo:focus-visible img{filter:grayscale(0);opacity:1;transform:scale(1.05)}
.partner-logo:hover img[alt="Millî Eğitim Bakanlığı"],.partner-logo:focus-visible img[alt="Millî Eğitim Bakanlığı"]{filter:invert(14%) sepia(92%) saturate(3820%) hue-rotate(349deg)}
.esat-program-link{display:inline-block;margin-top:14px;color:#ebc85d!important;font-weight:700;text-decoration:underline;text-underline-offset:4px}
@media(prefers-reduced-motion:reduce){.partner-logo,.partner-logo img{transition:none;transform:none!important}}

/* Keep blog covers in full color, including the original school photos. */
.blog-index-image img,.news-card img,.blog-page .inner-hero>img{filter:saturate(1.08) contrast(1.03)!important}
/* Wide covers retain the subjects of each article in the blog grid. */
.blog-index-card:not(.is-featured){display:flex;flex-direction:column}
.blog-index-card:not(.is-featured) .blog-index-image{width:100%;height:auto;min-height:0;aspect-ratio:16/9}
.blog-index-card:not(.is-featured) .blog-index-image img{width:100%;height:100%;object-fit:cover;object-position:center}

/* Shared readable blog and training layouts. */
.article-layout{grid-template-columns:minmax(0,1fr) 310px;gap:48px}
.esat-native-article{max-width:none;margin:0;min-width:0}
.article-sidebar{position:static;min-width:0;gap:20px}
.article-sidebar .sidebar-card,.article-sidebar .sidebar-contact{padding:26px;border-radius:14px}
.article-sidebar .sidebar-card{background:#fff;border:1px solid #e6e1d9;box-shadow:0 8px 25px #15161906}
.article-sidebar nav a{font-size:14px;line-height:1.55;padding-block:12px}
.article-sidebar h2{font-size:27px;line-height:1.2}
.article-sidebar .guide-list{max-height:480px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#cc3219 #f0ece5}
.article-sidebar figure{margin:0}.article-sidebar .service-photo{width:100%;height:auto;max-height:390px;object-fit:cover;border-radius:14px}
.article-sidebar figcaption{font-size:12px;line-height:1.5;margin-top:8px;color:#656565}
.service-detail .fact-strip{margin:0 0 56px;border-radius:16px;overflow:hidden;box-shadow:0 12px 35px #15161912}
.service-detail .fact-strip>div{min-height:130px;padding:26px;background:#191b1f}
.service-detail .fact-strip strong{font-size:clamp(23px,2.4vw,32px);line-height:1.3}
.service-detail .fact-strip span{color:#efc764;font-size:12px}
.service-detail.section-pad{padding-top:48px}
.inner-hero{min-height:520px}
.inner-hero-content{padding-top:calc(var(--header) + 64px);padding-bottom:58px}
.inner-hero h1{font-size:clamp(38px,5.3vw,72px);line-height:1.12;max-width:960px}
.inner-hero-content>p{color:#f1f1f1;line-height:1.7}
.inner-hero>img{object-fit:cover;object-position:center!important;filter:saturate(1.08) contrast(1.02)}
.inner-hero-overlay{background:linear-gradient(90deg,#090b0de6 0%,#090b0d8c 55%,#090b0d26 100%),linear-gradient(0deg,#090b0da6,transparent 65%)}
.article-body p,.rich-article>p,.rich-article li{font-size:16px;line-height:1.85}
.site-header .brand img,.site-header .logo img{object-fit:contain;max-height:64px}
.sidebar-contact{background:linear-gradient(140deg,#20252b,#101215);border-top:3px solid #d1361a}
.sidebar-contact .button{white-space:normal;text-align:center}
@media(min-width:1600px){.article-layout{grid-template-columns:minmax(0,1fr) 340px;gap:64px}}
@media(max-width:1000px){.article-layout{grid-template-columns:minmax(0,1fr);gap:38px}.article-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.inner-hero{min-height:480px}}
@media(max-width:640px){.article-sidebar{grid-template-columns:minmax(0,1fr)}.service-detail .fact-strip{grid-template-columns:1fr;margin:0 0 38px}.service-detail .fact-strip>div{min-height:0;padding:22px}.service-detail.section-pad{padding-top:24px}.inner-hero{min-height:470px}.inner-hero-content{padding-top:calc(var(--header) + 35px);padding-bottom:36px}.inner-hero h1{font-size:38px}.inner-hero-content>p{font-size:15px}.article-sidebar .guide-list{max-height:360px}.article-header{flex-wrap:wrap;gap:18px}.article-body img{max-width:100%;height:auto}}
@media(max-width:600px){body.admin-bar #wpadminbar{position:fixed}body.admin-bar .site-header{top:46px}body.admin-bar .mobile-menu nav{max-height:calc(100dvh - var(--header) - 46px)}}

/* About page: school photography and founder profile. */
.esat-about-page .esat-about-split{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:clamp(32px,6vw,80px);align-items:start}
.esat-about-page main h2{font-family:Oswald,sans-serif;font-size:clamp(32px,4vw,52px);line-height:1.15;margin:18px 0 26px;text-transform:uppercase}
.esat-about-page main h3{font-family:Oswald,sans-serif;font-size:29px;line-height:1.25;text-transform:uppercase;margin:16px 0}
.esat-about-page main p{font-size:16px;line-height:1.85;color:#4a4c50;margin-bottom:22px}
.esat-about-page .inner-hero p{color:#fff}.esat-about-hero h1{font-size:clamp(42px,6.2vw,82px)}
.esat-about-note{padding:36px;background:#191c20;color:#fff;border-radius:16px;border-top:4px solid #d2391c;margin-top:40px}
.esat-about-note h3{font-size:clamp(30px,3.4vw,44px)}.esat-about-note p{color:#e0e1e2}
.esat-about-founder,.esat-about-programs{background:#f1eee8}
.esat-about-founder .esat-about-split{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center}
.esat-about-page main figure{margin:0}.esat-about-founder figure{position:relative;align-self:start}
.esat-about-founder img{width:100%;height:680px;object-fit:cover;object-position:50% 70%;border-radius:16px;display:block}
.esat-about-founder figcaption{position:absolute;bottom:20px;left:20px;right:20px;padding:18px 22px;background:#16191ee8;color:#fff;border-left:3px solid #d8b257;font-size:17px;border-radius:8px}
.esat-about-page .esat-about-lead{font-size:20px;color:#222;font-weight:600;line-height:1.65}
.esat-about-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.esat-about-values article{padding:32px;background:#faf8f4;border:1px solid #e8e0d5;border-radius:16px}
.esat-about-values article>span{font:600 42px Oswald,sans-serif;color:#c4341d}
.esat-about-program-links{display:grid;padding:18px 28px;background:#fff;border-radius:16px;border-top:4px solid #c4341d}
.esat-about-program-links a{display:flex;justify-content:space-between;gap:15px;padding:18px 0;border-bottom:1px solid #e5e1da;font-size:16px}.esat-about-program-links a:last-child{border:0}.esat-about-program-links a span{color:#c4341d}
.esat-about-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.esat-about-gallery img{width:100%;height:350px;object-fit:cover;border-radius:14px;filter:saturate(1.08)}
.esat-about-gallery figcaption{font-size:14px;color:#5b5b5b;margin-top:12px}
.esat-about-contact{background:#15171b;color:#fff}.esat-about-contact p{color:#d2d2d3}
.esat-about-contact address{font-style:normal;padding:32px;border:1px solid #ffffff26;border-radius:16px;margin-top:25px;overflow-wrap:anywhere}.esat-about-contact address strong{font-size:22px}.esat-about-contact address a{line-height:2;color:#eccf81}
@media(max-width:1000px){.site-header .desktop-nav{gap:10px}}
@media(max-width:800px){.esat-about-page .esat-about-split,.esat-about-founder .esat-about-split{grid-template-columns:1fr}.esat-about-values{grid-template-columns:1fr}.esat-about-gallery{grid-template-columns:1fr}.esat-about-gallery img{height:330px}.esat-about-founder img{height:560px}.esat-about-note{margin-top:0}.esat-about-page .section-pad{padding-block:56px}.esat-about-page .inner-hero-content{padding-top:calc(var(--header) + 50px)}}

.site-footer .esat-affiliation{font-size:14px;line-height:1.7;color:#c9c9c9}.site-footer .esat-affiliation a{color:#e5c675;text-decoration:underline;text-underline-offset:3px}
.esat-about-page .esat-about-note p,.esat-about-page .esat-about-contact p{color:#e0e1e2}

/* Homepage cards use the same post covers as the blog archive. */
.news-card{display:flex;flex-direction:column;padding:0;overflow:hidden;border-radius:14px;background:#f6f4f0;gap:0}
.news-card .esat-news-image{display:block;aspect-ratio:16/9;width:100%;overflow:hidden}
.news-card .esat-news-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}
.news-card:hover .esat-news-image img{transform:scale(1.035)}
.news-card .esat-news-copy{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:28px;flex:1}
.news-card .news-category{position:static;color:#bd311b;font-size:12px;font-weight:700}
.news-card h3{margin:0;font-size:30px;line-height:1.2}
.news-card p{margin:0;line-height:1.7}
.news-card .text-link{margin-top:auto;padding-top:8px}
@media(max-width:600px){.news-card .esat-news-copy{padding:22px}.news-card h3{font-size:27px}}
@media(prefers-reduced-motion:reduce){.news-card .esat-news-image img{transition:none}}
