/*
Theme Name: BESC Ozel
Theme URI: https://besc.com.tr
Author: BESC Certificate Services
Description: BESC icin ozel gelistirilmis, hafif ve mobil uyumlu WordPress temasi.
Version: 8.0.0
Requires at least: 6.4
Requires PHP: 8.3
Text Domain: besc-ozel
*/
:root{--blue:#174a7e;--orange:#f28a30;--ink:#17324c;--muted:#60748a;--soft:#f4f8fc;--line:#e4edf5}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif;line-height:1.65}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto}.wrap{width:min(1160px,calc(100% - 40px));margin:auto}.skip{position:absolute;left:-9999px}.skip:focus{left:15px;top:10px;background:white;padding:10px;z-index:99}.topline{height:5px;background:linear-gradient(90deg,var(--blue) 0 76%,var(--orange) 76%)}.site-header{background:white;border-bottom:1px solid var(--line);position:relative;z-index:10}.navrow{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:106px}.brand img{display:block;width:340px;max-height:94px;object-fit:contain;object-position:left center}.menu{display:flex;align-items:center;gap:24px;list-style:none;padding:0;margin:0}.menu a{font-weight:650;font-size:14px}.menu li{list-style:none}.navtoggle{display:none}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 21px;border-radius:9px;background:var(--orange);color:#132d45;font-weight:750;box-shadow:0 5px 15px #f28a3028}.btn:hover{text-decoration:none;filter:brightness(.97)}.btn.outline{background:white;border:1px solid var(--blue);color:var(--blue);box-shadow:none}.hero{background:linear-gradient(120deg,#fff 0%,#f2f8ff 70%,#fff5ec 100%);padding:78px 0 88px;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:52px;align-items:center}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:800;color:#b45a11}.hero h1{font-size:clamp(36px,4.5vw,61px);line-height:1.12;letter-spacing:-.035em;color:var(--blue);margin:16px 0 24px}.hero p{font-size:18px;color:#526a80;max-width:630px}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.hero-art{min-height:320px;border-radius:26px;background:linear-gradient(145deg,#e8f3ff,#fff);border:1px solid #dce9f7;display:flex;align-items:center;justify-content:center;position:relative;box-shadow:0 20px 60px #174a7e12}.hero-art:before{content:'';position:absolute;width:68%;aspect-ratio:1;border:24px solid #e0edf8;border-radius:50%}.hero-art .globe{font-size:110px;position:relative}.floating{position:absolute;bottom:25px;background:#fff;border:1px solid var(--line);padding:12px 17px;border-radius:12px;font-size:13px;font-weight:750;box-shadow:0 10px 35px #174a7e1b}.section{padding:76px 0}.section.soft{background:var(--soft)}.section h2{color:var(--blue);font-size:clamp(28px,3vw,39px);line-height:1.2;margin:8px 0 14px}.intro{color:var(--muted);max-width:720px;margin-bottom:32px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px;box-shadow:0 8px 24px #174a7e08;transition:transform .2s}.card:hover{transform:translateY(-4px)}.card .symbol{display:inline-flex;align-items:center;justify-content:center;background:#edf5fd;color:var(--blue);width:48px;height:48px;border-radius:13px;font-size:24px}.card h3{margin:16px 0 8px;font-size:20px;color:var(--blue)}.card p{font-size:15px;color:var(--muted)}.card a.more{font-weight:750}.country-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.country-grid a{padding:16px;background:white;border:1px solid var(--line);border-radius:10px;font-weight:700}.country-grid a:hover{border-color:var(--orange);text-decoration:none}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.step{padding:22px;border-left:4px solid var(--orange);background:#fff;border-radius:12px}.step strong{display:block;color:var(--blue);font-size:19px}.cta{background:#eaf4ff;border-radius:20px;padding:42px;display:flex;justify-content:space-between;align-items:center;gap:20px}.cta h2{margin:0 0 8px}.site-footer{background:#f7fafc;border-top:1px solid var(--line);padding:42px 0 18px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.footer-grid h3{color:var(--blue)}.footnote{border-top:1px solid var(--line);margin-top:25px;padding-top:15px;color:var(--muted);font-size:13px}.page-content{padding:55px 0 85px;min-height:50vh}.page-content h1{font-size:clamp(30px,4vw,46px);color:var(--blue);line-height:1.2}.entry{max-width:860px}.entry h2,.entry h3{color:var(--blue)}.entry a{text-decoration:underline}.entry img{border-radius:12px}.notice{border-left:4px solid var(--orange);background:#fff8f0;padding:15px 20px;border-radius:6px}.wp-block-button__link{background:var(--orange);color:#132d45}.screen-reader-text{position:absolute;left:-9999px}@media(max-width:920px){.hero-grid{grid-template-columns:1fr}.hero-art{min-height:220px}.cards{grid-template-columns:repeat(2,1fr)}.country-grid{grid-template-columns:repeat(2,1fr)}.navtoggle{display:block;background:white;border:1px solid var(--line);border-radius:8px;padding:10px 14px;color:var(--blue);font-weight:700}.menu-wrap{display:none;position:absolute;top:100%;left:0;right:0;background:white;border-bottom:1px solid var(--line);padding:18px 25px}.menu-wrap.open{display:block}.menu{display:block}.menu li{padding:9px 0}.brand img{width:280px}}@media(max-width:600px){.wrap{width:min(100% - 28px,1160px)}.brand img{width:230px}.navrow{min-height:84px}.hero{padding:45px 0}.hero-art{display:none}.cards,.steps,.footer-grid{grid-template-columns:1fr}.country-grid{grid-template-columns:repeat(2,1fr)}.section{padding:48px 0}.cta{padding:25px;display:block}.cta .btn{margin-top:15px}}

/* BESC 2.0 visual refresh */
.wrap{width:min(1360px,calc(100% - 64px))}.navrow{min-height:122px}.brand img,.brand .custom-logo{width:min(490px,38vw);height:auto;max-height:112px;object-fit:contain;object-position:left center}.menu{gap:22px}.hero{padding:65px 0 42px;background:linear-gradient(110deg,#fff 0%,#f3f9ff 63%,#fff8f2 100%)}.hero-grid{grid-template-columns:1.05fr .95fr;gap:34px}.hero h1{font-size:clamp(38px,4.15vw,66px);max-width:760px}.hero h1 em{color:#f47e22;font-style:normal}.hero p{font-size:18px}.hero-photo{border-radius:22px;overflow:hidden;box-shadow:0 20px 65px #174a7e20;min-height:390px}.hero-photo img{display:block;width:100%;height:460px;object-fit:cover}.hero-benefits{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0;color:#174a7e;font-size:13px;font-weight:750}.hero-benefits span{background:#fff;border:1px solid #dfeaf4;padding:9px 12px;border-radius:10px}.cert-strip{display:grid;grid-template-columns:repeat(7,1fr);margin-top:34px;background:#fff;border-radius:17px;box-shadow:0 12px 35px #174a7e12;padding:17px 10px}.cert-strip span{display:flex;align-items:center;justify-content:center;gap:7px;font-weight:800;color:#174a7e;border-right:1px solid #e4edf5;font-size:13px}.cert-strip span:last-child{border:0}.cert-strip svg{width:22px;height:22px;color:#1262ae}.card .symbol{font-size:0}.card .symbol:before{content:'▤';font-size:24px}.btn{background:#ff8526;color:#082d52}.section{padding:72px 0}@media(max-width:1020px){.brand img,.brand .custom-logo{width:350px;max-width:60vw}.hero-grid{grid-template-columns:1fr}.hero-photo img{height:340px}.cert-strip{grid-template-columns:repeat(4,1fr);gap:14px}.cert-strip span{border:0}}@media(max-width:600px){.wrap{width:calc(100% - 28px)}.brand img,.brand .custom-logo{width:245px;max-width:68vw}.hero{padding:35px 0}.hero h1{font-size:38px}.hero-photo{display:block;min-height:0}.hero-photo img{height:250px}.cert-strip{grid-template-columns:repeat(2,1fr);padding:16px 8px}.cert-strip span{justify-content:flex-start;padding:5px}.hero-benefits{gap:6px}}

/* v3: Independent, enlarged brand and navigation header */
.site-header .navrow{width:min(1480px,calc(100% - 56px));min-height:148px;display:flex;align-items:center;justify-content:space-between;gap:38px}
.site-header .brand{display:flex;align-items:center;flex:0 0 510px;min-width:0;line-height:1}
.site-header .brand img,.site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{display:block!important;width:510px!important;max-width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:left center!important}
.site-header .menu-wrap{margin-left:auto}
.site-header .menu{display:flex;align-items:center;gap:28px}
.site-header .menu a{font-size:17px;font-weight:750;white-space:nowrap;letter-spacing:-.01em}
.site-header .menu .btn{font-size:16px;padding:16px 24px}
@media(max-width:1200px){.site-header .navrow{gap:20px}.site-header .brand{flex-basis:400px}.site-header .brand img,.site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{width:400px!important}.site-header .menu{gap:16px}.site-header .menu a{font-size:15px}}
@media(max-width:920px){.site-header .navrow{min-height:108px}.site-header .brand{flex:0 1 400px}.site-header .brand img,.site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{width:400px!important}.site-header .menu-wrap{position:absolute;margin-left:0;top:100%;left:0;right:0;display:none;background:#fff;padding:20px 26px;border-bottom:1px solid var(--line)}.site-header .menu-wrap.open{display:block}.site-header .menu{display:block}.site-header .menu li{padding:8px 0}.site-header .menu a{font-size:18px}}
@media(max-width:600px){.site-header .navrow{width:calc(100% - 28px);min-height:94px;gap:12px}.site-header .brand{flex:1 1 auto}.site-header .brand img,.site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{width:300px!important}.site-header .navtoggle{white-space:nowrap}}

/* v4: compact header, preserve brand and navigation readability */
.site-header .navrow{min-height:120px;height:120px;gap:22px}
.site-header .brand{flex:0 1 440px;height:112px;overflow:hidden;align-items:center}
.site-header .brand img,.site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{width:440px!important;max-width:100%!important;height:112px!important;max-height:112px!important;object-fit:contain!important}
.site-header .menu{gap:22px}
@media(max-width:1200px){.site-header .navrow{height:112px;min-height:112px}.site-header .brand{flex-basis:340px;height:104px}.site-header .brand img,.site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{width:340px!important;height:104px!important;max-height:104px!important}}
@media(max-width:920px){.site-header .navrow{height:100px;min-height:100px}.site-header .brand{flex:1 1 auto;height:94px}.site-header .brand img,.site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{height:94px!important;max-height:94px!important}}
@media(max-width:600px){.site-header .navrow{height:88px;min-height:88px}.site-header .brand{height:82px}.site-header .brand img,.site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{width:270px!important;height:82px!important;max-height:82px!important}}

/* v5: approved transparent logo, compact header */
.site-header .navrow{height:120px!important;min-height:120px!important;padding-top:0!important;padding-bottom:0!important}
.site-header .brand{flex:0 0 405px!important;height:112px!important;overflow:visible!important}
.site-header .brand img{width:405px!important;height:auto!important;max-height:112px!important;object-fit:contain!important}
@media(max-width:1200px){.site-header .brand{flex:0 1 330px!important}.site-header .brand img{width:330px!important}}
@media(max-width:920px){.site-header .navrow{height:100px!important;min-height:100px!important}.site-header .brand{flex:1 1 auto!important;height:92px!important}.site-header .brand img{width:330px!important;max-height:92px!important}}
@media(max-width:600px){.site-header .navrow{height:88px!important;min-height:88px!important}.site-header .brand{height:80px!important}.site-header .brand img{width:260px!important;max-height:80px!important}}

/* BESC archive layout v7: style existing country/service entries */
.besc-list-page{max-width:1200px}
.besc-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:28px 0 48px}
.besc-archive-card{background:#fff;border:1px solid #dfe9f3;border-radius:16px;padding:24px;box-shadow:0 10px 26px rgba(23,74,126,.09);min-width:0}
.besc-archive-card h2,.besc-archive-card h3,.besc-archive-card h4{font-size:21px;line-height:1.3;margin:0 0 12px}
.besc-archive-card p{margin:10px 0;color:#52677d;font-size:15px}
.besc-archive-card a{color:#174a7e;font-weight:700}
.besc-archive-card a:hover{color:#d46d14}
.site-footer{background:#102e4c;color:#e7f0fa;border-top:4px solid #f28a30}
.site-footer h3{color:white}.site-footer a{color:#e7f0fa}.site-footer .footnote{color:#c7d8e9;border-color:#35516d}
@media(max-width:950px){.besc-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.besc-archive-grid{grid-template-columns:1fr}}

/* BESC rebuilt page templates v8: scoped styles, no dependence on editor HTML */
.besc-subhero{background:linear-gradient(115deg,#edf5fc,#fff 68%,#fff4e9);padding:72px 0 64px;border-bottom:1px solid #e4edf5}.besc-kicker{font-size:13px;font-weight:800;letter-spacing:.15em;color:#cb6418}.besc-subhero h1{font-size:clamp(34px,4vw,54px);max-width:890px;line-height:1.13;color:#143d67;margin:15px 0 20px}.besc-subhero p{font-size:18px;max-width:800px;color:#526b81;margin:0}.besc-rebuilt-section{padding:64px 0 84px;background:#f7fafc}.besc-rebuilt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.besc-tile{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #e1eaf3;border-radius:18px;padding:26px;box-shadow:0 9px 28px rgba(17,60,100,.06);transition:transform .18s,box-shadow .18s}.besc-tile:hover{transform:translateY(-3px);box-shadow:0 14px 36px rgba(17,60,100,.11)}.besc-tile-mark{display:flex;align-items:center;justify-content:center;background:#eef5fd;color:#174a7e;border-radius:12px;width:48px;height:48px;font-size:23px}.besc-tile h2{color:#174a7e;font-size:21px;line-height:1.3;margin:18px 0 8px}.besc-tile p{font-size:15px;color:#526b81;margin:0 0 18px;flex:1}.besc-tile a{color:#bf5d10;font-weight:750;font-size:14px;text-decoration:none}.besc-tile a:hover{text-decoration:underline}.besc-section-title{color:#174a7e;font-size:32px;margin:0 0 28px}.besc-smallnote{color:#60748a;margin:24px 0}.besc-cta{margin-top:50px;padding:38px 42px;border-radius:20px;background:#153d64;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:26px}.besc-cta h2{color:#fff;font-size:26px;margin:0 0 8px}.besc-cta p{color:#e3edf7;margin:0}.besc-cta-button{display:inline-flex;align-items:center;justify-content:center;background:#ff8526;border-radius:10px;color:#102f4e!important;padding:14px 22px;white-space:nowrap;font-weight:800;text-decoration:none}.site-footer{background:#102f50!important;border-top:4px solid #ff8526!important;color:#eaf3fb!important}.site-footer h3,.site-footer a,.site-footer .footnote{color:#eaf3fb!important}.site-footer a:hover{color:#ffb46d!important}.site-footer .footnote{border-top-color:#365571!important}.site-footer .footer-grid{gap:42px}.site-footer p{line-height:1.75}@media(max-width:950px){.besc-rebuilt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.besc-subhero{padding:48px 0}.besc-rebuilt-section{padding:38px 0 60px}.besc-rebuilt-grid{grid-template-columns:1fr}.besc-cta{padding:26px;display:block}.besc-cta-button{margin-top:20px}.besc-tile{padding:22px}}

/* v9: country flags and certificate document icons */
.besc-tile-mark.besc-flag-mark{width:56px;height:44px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:10px;background:#eef4fa}.besc-flag-mark img{display:block;width:40px;height:30px;object-fit:cover;border-radius:3px;box-shadow:0 1px 4px rgba(0,0,0,.14)}.besc-tile-mark.besc-doc-mark{display:flex;align-items:center;justify-content:center;color:#174a7e}.besc-doc-mark svg{display:block;width:27px;height:27px}

/* BESC v10 homepage-only styles. Existing v9 page styles remain untouched. */
.besc-home-editable .besc-wa-main{background:#079b4b!important;color:#fff!important;border:2px solid #079b4b!important;box-shadow:0 10px 24px rgba(0,125,64,.22)!important;font-size:16px;padding:16px 22px}
.besc-home-editable .besc-wa-main:hover{background:#087b40!important;color:#fff!important}
.besc-home-editable .besc-home-promise{font-weight:700;color:#174a7e}
.besc-home-editable .besc-home-micro{font-size:13px;color:#60748a;margin-top:12px}
.besc-home-editable .besc-home-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:28px 0}
.besc-home-editable .besc-home-card{background:#fff;border:1px solid #e4edf5;border-radius:16px;padding:24px;box-shadow:0 8px 24px rgba(23,74,126,.07)}
.besc-home-editable .besc-home-card h3{color:#174a7e;margin:0 0 8px}
.besc-home-editable .besc-home-card p{color:#526a80;font-size:15px}
.besc-home-editable .besc-home-card a,.besc-home-editable .besc-home-textlink{font-weight:750}
.besc-home-editable .besc-home-trust{display:flex;flex-wrap:wrap;gap:12px}
.besc-home-editable .besc-home-trust span{padding:12px 16px;background:#edf5fd;border-radius:10px;font-weight:700}
.besc-home-editable .besc-home-cta-actions{display:flex;flex-direction:column;gap:10px;align-items:stretch}
@media(max-width:950px){.besc-home-editable .besc-home-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.besc-home-editable .besc-home-cards{grid-template-columns:1fr}.besc-home-editable .actions .btn{width:100%}.besc-home-editable .besc-home-cta-actions{margin-top:20px}}
