/* Corporate page components — v0.7.0 */
.bd-corp-container{width:min(1140px,calc(100% - 40px));margin:0 auto}
.bd-corp-hero{position:relative;overflow:hidden;padding:66px 0;background:linear-gradient(135deg,#0948b3 0%,#014cda 55%,#1062fe 100%);color:#fff}
.bd-corp-hero:before,.bd-corp-hero:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.07)}
.bd-corp-hero:before{width:320px;height:320px;right:-100px;top:-190px}.bd-corp-hero:after{width:220px;height:220px;left:-80px;bottom:-150px}
.bd-corp-hero__inner{position:relative;z-index:1;text-align:center;max-width:850px}
.bd-corp-hero h1{margin:0 0 16px;color:#fff;font-size:clamp(42px,4.6vw,58px);font-weight:400;line-height:1.08;letter-spacing:-.025em}
.bd-corp-hero p{margin:0 auto;max-width:780px;font-size:18px;line-height:1.75;color:rgba(255,255,255,.94)}
.bd-corp-section{padding:82px 0;background:#fff}.bd-corp-section--soft{background:#f6f8fc}
.bd-corp-grid{display:grid;gap:58px;align-items:center}.bd-corp-grid--wide-left{grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr)}.bd-corp-grid--wide-right{grid-template-columns:minmax(380px,.95fr) minmax(0,1.05fr)}
.bd-corp-content h2,.bd-corp-support h2{margin:0 0 22px;font-size:clamp(34px,3.25vw,47px);font-weight:400;line-height:1.18;letter-spacing:-.02em;color:#153462}
.bd-corp-content p{margin:0 0 20px;font-size:17px;line-height:1.82;color:#5b6473}
.bd-corp-content strong{font-weight:700;color:#344054}
.bd-corp-visual{text-align:center}.bd-corp-visual img{display:inline-block;width:112%;max-width:620px;height:auto;margin-inline:-6%}
.bd-corp-checks{display:grid;gap:15px 32px;margin:27px 0 0;padding:0;list-style:none}.bd-corp-checks--two-col{grid-template-columns:repeat(2,minmax(0,1fr))}.bd-corp-checks--one-col{grid-template-columns:1fr}
.bd-corp-checks li{position:relative;padding-left:34px;color:#374151;font-size:16px;line-height:1.55}
.bd-corp-checks li:before{content:"\f00c";position:absolute;left:0;top:1px;display:flex;width:20px;height:20px;align-items:center;justify-content:center;border-radius:50%;background:#0948b3;color:#fff;font-family:"Font Awesome 6 Free","Font Awesome 5 Free";font-size:10px;font-weight:900;line-height:1}
.bd-corp-support{padding:58px 0;background:#0948b3;color:#fff}.bd-corp-grid--support{grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:42px}.bd-corp-support h2{color:#fff}.bd-corp-support p{max-width:720px;margin:0 0 24px;font-size:17px;line-height:1.75;color:rgba(255,255,255,.88)}
.bd-corp-support__links{display:flex;flex-wrap:wrap;gap:14px 28px}.bd-corp-support__links a{display:inline-flex;align-items:center;gap:10px;color:#fff;font-weight:600;text-decoration:none}.bd-corp-support__links a:hover{color:#ffd29d}.bd-corp-support__links i{color:#f67a3c}.bd-corp-support__visual img{max-width:330px;width:100%;margin:0}
.bd-corp-authority{margin-top:28px;padding-top:28px;border-top:1px solid #dfe5ee}.bd-corp-authority h2{font-size:clamp(29px,2.7vw,39px)}.bd-corp-license{display:inline-block;padding:9px 14px;border-radius:6px;background:#fff1e8;color:#b54f1c!important;font-weight:700}
@media(max-width:980px){.bd-corp-section{padding:68px 0}.bd-corp-grid,.bd-corp-grid--wide-left,.bd-corp-grid--wide-right,.bd-corp-grid--support{grid-template-columns:1fr;gap:38px}.bd-corp-grid--wide-right .bd-corp-visual{order:2}.bd-corp-support__visual{display:none}.bd-corp-visual img{width:100%;max-width:500px;margin:0}}
@media(max-width:600px){.bd-corp-container{width:min(100% - 28px,1140px)}.bd-corp-hero{padding:52px 0}.bd-corp-hero p{font-size:17px}.bd-corp-section{padding:54px 0}.bd-corp-checks--two-col{grid-template-columns:1fr}.bd-corp-support{padding:50px 0}.bd-corp-support__links{flex-direction:column;gap:13px}}

/* 0.7.1 — Test3 visual alignment and legacy Hakkımızda compatibility */
.bd-corp-hero,
.gradient-bg {
    background: #0946ae !important;
}

/* New corporate components */
.bd-corp-section { padding: 58px 0; }
.bd-corp-grid { gap: 42px; }
.bd-corp-content h2,
.bd-corp-support h2 {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    letter-spacing: -.025em;
}
.bd-corp-content p {
    margin-bottom: 16px;
    line-height: 1.72;
}
.bd-corp-visual img {
    width: 118%;
    max-width: 680px;
    margin-inline: -9%;
}
.bd-corp-support { padding: 48px 0; background: #0946ae; }
.bd-corp-support__visual img { max-width: 360px; width: 100%; margin: 0; }
.bd-corp-authority { margin-top: 22px; padding-top: 22px; }

/* Existing page created before v0.6.6: keep it visually aligned until it is refreshed. */
.about-section,
.feature-section { padding-top: 58px !important; padding-bottom: 58px !important; }
.about-section .section-heading h2,
.feature-section .feature-content-wrap h2,
.cta-content-wrap h2 {
    font-family: "Inter", sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.18 !important;
    letter-spacing: -.025em !important;
    color: #153462 !important;
}
.about-section .section-heading h2,
.feature-section .feature-content-wrap h2 {
    font-size: clamp(34px,3.2vw,47px) !important;
}
.about-section p,
.feature-section p {
    font-size: 17px !important;
    line-height: 1.72 !important;
    margin-bottom: 16px !important;
}
.about-section .image-wrap img,
.feature-section .feature-img-wrap img {
    width: 118% !important;
    max-width: 680px !important;
    margin-inline: -9% !important;
}
.check-list-wrap { row-gap: 14px !important; }
.check-list-wrap li {
    position: relative;
    padding-left: 34px !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
}
.check-list-wrap li::before {
    content: "\f00c" !important;
    position: absolute !important;
    left: 0 !important;
    top: 1px !important;
    display: flex !important;
    width: 20px !important;
    height: 20px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: #0946ae !important;
    color: #fff !important;
    font-family: "Font Awesome 6 Free","Font Awesome 5 Free" !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}
.primary-bg { background: #0946ae !important; }
.primary-bg.ptb-60 { padding-top: 48px !important; padding-bottom: 48px !important; }
.primary-bg .cta-content-wrap h2 { color: #fff !important; }
.primary-bg .cta-img-wrap img { max-width: 360px !important; }

@media (max-width: 980px) {
    .bd-corp-section,
    .about-section,
    .feature-section { padding-top: 48px !important; padding-bottom: 48px !important; }
    .bd-corp-grid { gap: 30px; }
    .bd-corp-visual img,
    .about-section .image-wrap img,
    .feature-section .feature-img-wrap img {
        width: 100% !important;
        max-width: 540px !important;
        margin: 0 !important;
    }
}

@media (max-width: 600px) {
    .bd-corp-section,
    .about-section,
    .feature-section { padding-top: 38px !important; padding-bottom: 38px !important; }
    .bd-corp-hero,
    .gradient-bg { padding-top: 44px !important; padding-bottom: 44px !important; }
    .bd-corp-content h2,
    .about-section .section-heading h2,
    .feature-section .feature-content-wrap h2 { font-size: 29px !important; }
}

/* 0.7.2 — Test3 typography, density and line-fit alignment */
.bd-corp-container{width:min(1200px,calc(100% - 40px))}
.bd-corp-section{padding:64px 0}
.bd-corp-grid{gap:54px}

/* Test3 uses compact, bold section headings rather than oversized thin display text. */
.bd-corp-content h2,
.bd-corp-support h2,
.about-section .section-heading h2,
.feature-section .feature-content-wrap h2,
.cta-content-wrap h2{
    font-family:"Inter",sans-serif !important;
    font-weight:700 !important;
    letter-spacing:-.02em !important;
}
.bd-corp-content h2,
.about-section .section-heading h2,
.feature-section .feature-content-wrap h2{
    font-size:32px !important;
    line-height:1.22 !important;
    max-width:680px;
    margin-bottom:16px !important;
}
.bd-corp-content p,
.about-section p,
.feature-section p{
    font-size:16px !important;
    line-height:1.65 !important;
}

/* Keep the two-column benefit labels on one line on normal desktop widths. */
.bd-corp-checks,
.check-list-wrap{column-gap:44px !important;row-gap:14px !important}
.bd-corp-checks li,
.check-list-wrap li{
    font-size:15px !important;
    line-height:1.45 !important;
    white-space:nowrap;
}
.bd-corp-checks li:before,
.check-list-wrap li::before{top:0 !important}

/* Keep the first illustration prominent without forcing extra section height. */
.bd-corp-visual img,
.about-section .image-wrap img,
.feature-section .feature-img-wrap img{
    width:112% !important;
    max-width:640px !important;
    margin-inline:-6% !important;
}

/* Test3 support band is visibly shorter and uses a compact bold title. */
.bd-corp-support,
.primary-bg.ptb-60{
    padding-top:42px !important;
    padding-bottom:42px !important;
}
.bd-corp-support h2,
.primary-bg .cta-content-wrap h2{
    font-size:31px !important;
    line-height:1.22 !important;
    margin-bottom:12px !important;
    max-width:620px;
}
.bd-corp-support p,
.primary-bg .cta-content-wrap p{
    font-size:16px !important;
    line-height:1.6 !important;
    margin-bottom:16px !important;
}
.bd-corp-support__visual img,
.primary-bg .cta-img-wrap img{
    max-width:285px !important;
}

@media(max-width:1100px){
    .bd-corp-checks li,
    .check-list-wrap li{white-space:normal}
}
@media(max-width:980px){
    .bd-corp-section,
    .about-section,
    .feature-section{padding-top:48px !important;padding-bottom:48px !important}
    .bd-corp-content h2,
    .about-section .section-heading h2,
    .feature-section .feature-content-wrap h2{font-size:30px !important}
}
@media(max-width:600px){
    .bd-corp-content h2,
    .about-section .section-heading h2,
    .feature-section .feature-content-wrap h2{font-size:27px !important;line-height:1.22 !important}
    .bd-corp-checks li,
    .check-list-wrap li{font-size:15px !important;white-space:normal}
}

/* 0.7.3 — Test3 width, compact support band and justified body copy */
.bd-corp-container{
    width:min(1320px,calc(100% - 48px));
}

/* Keep the page broad like Test3; reduce the gap before the following band. */
.bd-corp-section{
    padding-top:58px;
    padding-bottom:52px;
}
.bd-corp-grid{
    gap:46px;
}

/* Long corporate body copy is justified in Test3. */
.bd-corp-content > p,
.feature-section .feature-content-wrap > p,
.about-section .feature-contents > p,
.about-section .section-heading > p{
    text-align:justify;
    text-justify:inter-word;
    hyphens:auto;
}

/* The support strip should read as a compact interstitial, not a full section. */
.bd-corp-support,
.primary-bg.ptb-60{
    padding-top:32px !important;
    padding-bottom:32px !important;
}
.bd-corp-support .bd-corp-grid,
.primary-bg .row{
    min-height:0 !important;
}
.bd-corp-support h2,
.primary-bg .cta-content-wrap h2{
    margin-bottom:8px !important;
}
.bd-corp-support p,
.primary-bg .cta-content-wrap p{
    margin-bottom:12px !important;
}
.bd-corp-support__visual img,
.primary-bg .cta-img-wrap img{
    max-width:260px !important;
}

@media(max-width:980px){
    .bd-corp-container{width:min(100% - 32px,1320px)}
    .bd-corp-section{padding-top:44px !important;padding-bottom:42px !important}
    .bd-corp-support,
    .primary-bg.ptb-60{padding-top:30px !important;padding-bottom:30px !important}
}

@media(max-width:600px){
    .bd-corp-container{width:calc(100% - 28px)}
    .bd-corp-content > p,
    .feature-section .feature-content-wrap > p,
    .about-section .feature-contents > p,
    .about-section .section-heading > p{text-align:left;hyphens:none}
}

/* 0.7.4 — full-bleed corporate sections and regression fix */
body.page #main-content{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible;
}

/* Outer sections must always span the viewport, even when WordPress/Divi
   places post content inside a constrained content wrapper. */
body.page #main-content > .bd-corp-hero,
body.page #main-content > .bd-corp-section,
body.page #main-content > .bd-corp-support{
    position:relative;
    left:50%;
    right:50%;
    width:100vw !important;
    max-width:none !important;
    margin-left:-50vw !important;
    margin-right:-50vw !important;
    margin-top:0 !important;
    margin-bottom:0 !important;
}

/* Keep only the inner content constrained. */
.bd-corp-container{
    width:min(1320px,calc(100% - 48px)) !important;
    max-width:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

.bd-corp-hero{
    padding-top:58px !important;
    padding-bottom:58px !important;
}
.bd-corp-section{
    padding-top:50px !important;
    padding-bottom:46px !important;
}
.bd-corp-support{
    padding-top:26px !important;
    padding-bottom:26px !important;
}
.bd-corp-support__visual img{
    max-width:245px !important;
}
.bd-corp-support h2{
    margin-bottom:7px !important;
}
.bd-corp-support p{
    margin-bottom:10px !important;
}

/* Prevent generated editor wrappers from creating artificial gaps. */
#main-content > p:empty,
#main-content > br,
#main-content .bd-corp-hero + p:empty,
#main-content .bd-corp-section + p:empty,
#main-content .bd-corp-support + p:empty{
    display:none !important;
    margin:0 !important;
    padding:0 !important;
}

@media(max-width:980px){
    .bd-corp-container{width:calc(100% - 32px) !important}
    .bd-corp-hero{padding-top:48px !important;padding-bottom:48px !important}
    .bd-corp-section{padding-top:42px !important;padding-bottom:40px !important}
    .bd-corp-support{padding-top:28px !important;padding-bottom:28px !important}
}
@media(max-width:600px){
    .bd-corp-container{width:calc(100% - 28px) !important}
}

/* 0.7.5 — intrinsic grid height and compact corporate bands */
.bd-corp-grid,
.bd-corp-grid--wide-left,
.bd-corp-grid--wide-right,
.bd-corp-grid--support{
    min-height:0 !important;
    height:auto !important;
    align-content:center;
}

/* Short introductory copy should remain readable; justify is reserved for
   the long corporate text sections further down the page. */
.bd-corp-section:first-of-type .bd-corp-content > p,
.bd-corp-section:first-of-type .feature-contents > p,
.bd-corp-section:first-of-type .section-heading > p{
    text-align:left !important;
    text-justify:auto !important;
    hyphens:none !important;
}

/* The first illustration must not determine a 500+ px grid row. */
.bd-corp-section:first-of-type .bd-corp-visual,
.bd-corp-section:first-of-type .image-wrap{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:0 !important;
    height:auto !important;
}
.bd-corp-section:first-of-type .bd-corp-visual img,
.bd-corp-section:first-of-type .image-wrap img{
    width:auto !important;
    max-width:100% !important;
    max-height:440px !important;
    margin:0 auto !important;
    object-fit:contain;
}

/* Compact support strip: its content, not the SVG's intrinsic size, controls
   the row height. */
.bd-corp-support{
    padding-top:22px !important;
    padding-bottom:22px !important;
}
.bd-corp-support .bd-corp-container,
.bd-corp-support .bd-corp-grid{
    min-height:0 !important;
    height:auto !important;
}
.bd-corp-support__visual{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:0 !important;
    height:auto !important;
}
.bd-corp-support__visual img{
    display:block;
    width:auto !important;
    max-width:100% !important;
    max-height:220px !important;
    margin:0 auto !important;
    object-fit:contain;
}
.bd-corp-support h2{margin-bottom:6px !important}
.bd-corp-support p{margin-bottom:9px !important}

/* Long content paragraphs retain the Test3 justified appearance. */
.bd-corp-section:not(:first-of-type) .bd-corp-content > p,
.bd-corp-section:not(:first-of-type) .feature-content-wrap > p{
    text-align:justify !important;
    text-justify:inter-word !important;
    hyphens:auto !important;
}

@media(max-width:980px){
    .bd-corp-section:first-of-type .bd-corp-visual img,
    .bd-corp-section:first-of-type .image-wrap img{
        max-height:390px !important;
    }
    .bd-corp-support{
        padding-top:26px !important;
        padding-bottom:26px !important;
    }
}

@media(max-width:600px){
    .bd-corp-section:first-of-type .bd-corp-visual img,
    .bd-corp-section:first-of-type .image-wrap img{
        max-height:330px !important;
    }
    .bd-corp-section .bd-corp-content > p,
    .bd-corp-section .feature-content-wrap > p{
        text-align:left !important;
        hyphens:none !important;
    }
}

/* 0.7.7 — targeted support-band correction based on 0.7.5 */
/* wpautop may insert a truly empty paragraph as a direct grid child.
   Hide only that empty node; never hide paragraphs containing images. */
.bd-corp-grid > p:empty,
.bd-corp-grid--support > p:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Restore breathing room above the copy while removing the artificial
   lower grid row. The band remains compact and content-driven. */
.bd-corp-support {
    padding-top: 34px !important;
    padding-bottom: 20px !important;
}
.bd-corp-support .bd-corp-grid--support {
    align-items: center !important;
    align-content: center !important;
    grid-auto-rows: auto !important;
}
.bd-corp-support h2 {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}
.bd-corp-support p {
    margin-bottom: 14px !important;
}

@media (max-width: 980px) {
    .bd-corp-support {
        padding-top: 30px !important;
        padding-bottom: 22px !important;
    }
}

/* 0.7.8 — final Hakkımızda illustration scale alignment */
/* Keep the Test3 proportions: content remains dominant while every
   corporate illustration, including the final "Kurumsal Firmalar İçin"
   block, uses the same restrained visual scale. */
@media (min-width: 981px) {
    .bd-corp-section .bd-corp-visual:not(.bd-corp-support__visual) img,
    .about-section .image-wrap img,
    .feature-section .feature-img-wrap img {
        display: block !important;
        width: 90% !important;
        max-width: 580px !important;
        max-height: none !important;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        object-fit: contain !important;
    }

    /* The opening illustration is naturally wider; keep it slightly more
       prominent without allowing it to dominate the text column. */
    .bd-corp-section:first-of-type .bd-corp-visual img,
    .about-section:first-of-type .image-wrap img {
        width: 90% !important;
        max-width: 590px !important;
        max-height: 420px !important;
    }

    /* Support illustration remains compact inside the blue strip. */
    .bd-corp-support__visual img,
    .primary-bg .cta-img-wrap img {
        width: 88% !important;
        max-width: 230px !important;
        max-height: 210px !important;
        margin: 0 auto !important;
    }
}

/* 0.7.9 — prevent final corporate checklist text overflow */
@media (min-width: 981px) {
    .bd-corp-grid--wide-right > .bd-corp-content,
    .bd-corp-grid--wide-right .bd-corp-checks--one-col,
    .bd-corp-grid--wide-right .bd-corp-checks--one-col li {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .bd-corp-checks--one-col li {
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }
}

/* 0.7.12 — keep every corporate illustration inside the mobile viewport */
@media (max-width: 600px) {
    .bd-corp-visual,
    .bd-corp-support__visual {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .bd-corp-visual img,
    .bd-corp-support__visual img,
    .bd-corp-section:last-of-type .bd-corp-visual img,
    .bd-corp-section:last-of-type .feature-img-wrap img,
    .bd-corp-section:last-of-type .image-wrap img {
        display: block !important;
        width: auto !important;
        max-width: min(86vw, 320px) !important;
        max-height: 340px !important;
        margin-inline: auto !important;
        object-fit: contain !important;
    }
}
