/* Onur Polat Hukuk — v1.9.0 focused refinements. */

/* Equal hero halves and a cleaner bespoke nameplate. */
.polat-v181-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.polat-v181-hero-brand {
    align-items: flex-start;
    padding: 30px clamp(30px, 4vw, 66px) 26px !important;
}

.polat-v181-hero-nameplate {
    width: min(100%, 590px) !important;
    max-width: 590px !important;
    filter: none !important;
}

.polat-v181-hero-media,
.polat-v181-hero-media .polat-hero-video,
.polat-v181-hero-media .polat-hero-video-stage,
.polat-v181-hero-media .polat-hero-video-media {
    width: 100%;
}

.polat-v181-hero-media .polat-hero-video-poster,
.polat-v181-hero-media .polat-hero-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Give editorial pages enough horizontal room for the new layouts. */
.polat-singular > .wp-block-post-content {
    max-width: 1480px !important;
}

.polat-singular:has(.polat-about-v190),
.polat-singular:has(.polat-contact-v190) {
    padding-right: clamp(20px, 2.5vw, 38px) !important;
    padding-left: clamp(20px, 2.5vw, 38px) !important;
}

.polat-singular:has(.polat-about-v190) .polat-page-header,
.polat-singular:has(.polat-contact-v190) .polat-page-header {
    margin-bottom: 24px !important;
    padding: 38px clamp(30px, 5vw, 72px) !important;
}

/* About — one portrait and one calm, readable biography. */
.polat-about-v190 {
    display: grid !important;
    grid-template-columns: minmax(360px, 47%) minmax(0, 1fr);
    gap: 0 !important;
    margin-top: 0 !important;
    color: var(--v181-ink);
    background: var(--v181-white);
    border: 1px solid var(--v181-line);
}

.polat-about-portrait-v190 {
    width: 100%;
    height: 100%;
    min-height: 620px;
    margin: 0 !important;
    overflow: hidden;
}

.polat-about-portrait-v190 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.polat-about-copy-v190 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    margin: 0 !important;
    padding: clamp(42px, 6vw, 88px) !important;
    border-left: 1px solid var(--v181-line);
}

.polat-about-copy-v190 .polat-kicker {
    margin: 0 0 15px !important;
}

.polat-about-copy-v190 h2 {
    margin: 0 0 28px !important;
    color: var(--v181-ink) !important;
    font-family: Manrope, "Segoe UI", Arial, sans-serif !important;
    font-size: clamp(2.8rem, 5vw, 5.2rem) !important;
    font-weight: 720 !important;
    letter-spacing: -0.045em !important;
}

.polat-about-copy-v190 p {
    max-width: 720px;
    margin: 0 0 16px !important;
    color: #343b38 !important;
    font-size: 1rem;
    line-height: 1.72;
}

.polat-about-copy-v190 .has-lead-font-size {
    color: var(--v181-ink) !important;
    font-size: clamp(1.15rem, 1.6vw, 1.38rem) !important;
    line-height: 1.58;
}

.polat-about-copy-v190 .polat-registry {
    margin-top: 10px !important;
    padding-top: 16px;
    border-top: 1px solid var(--v181-line);
    color: var(--v181-muted) !important;
    font-size: 0.76rem;
}

/* Contact — a single horizontal address/map composition. */
.polat-contact-v190 {
    display: grid !important;
    grid-template-columns: minmax(370px, 46%) minmax(0, 1fr);
    gap: 0 !important;
    margin-top: 0 !important;
    overflow: hidden;
    background: var(--v181-green-dark);
    border: 1px solid var(--v181-green-dark);
}

.polat-contact-intro-v190 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    min-width: 0;
    margin: 0 !important;
    padding: clamp(34px, 3.6vw, 48px) !important;
    color: var(--v181-paper);
}

.polat-contact-intro-v190 > .polat-kicker {
    margin: 0 0 8px !important;
    color: rgba(244, 240, 232, 0.72) !important;
}

.polat-contact-intro-v190 > h2 {
    margin: 0 0 16px !important;
    color: var(--v181-paper) !important;
    font-family: Manrope, "Segoe UI", Arial, sans-serif !important;
    font-size: clamp(2.7rem, 4.2vw, 4.7rem) !important;
    font-weight: 720 !important;
    letter-spacing: -0.045em !important;
}

.polat-contact-intro-v190 > p:not(.polat-kicker) {
    max-width: 520px;
    margin: 0 0 18px !important;
    color: rgba(244, 240, 232, 0.82) !important;
    font-size: 0.94rem;
}

.polat-contact-v190 .polat-contact-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    color: var(--v181-paper) !important;
    background: transparent !important;
    border: 0 !important;
    border-top: 1px solid rgba(244, 240, 232, 0.25) !important;
}

.polat-contact-v190 .polat-contact-card > div {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) !important;
    gap: 16px !important;
    align-items: start;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 13px 0 !important;
    color: var(--v181-paper) !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(244, 240, 232, 0.18) !important;
}

.polat-contact-v190 .polat-contact-address {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
}

.polat-contact-v190 .polat-contact-card span {
    margin: 0 !important;
    color: rgba(244, 240, 232, 0.58) !important;
    font-size: 0.64rem !important;
    font-weight: 720;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.polat-contact-v190 .polat-contact-card address,
.polat-contact-v190 .polat-contact-card a {
    display: block !important;
    min-width: 0;
    margin: 0 !important;
    color: var(--v181-paper) !important;
    font-family: Manrope, "Segoe UI", Arial, sans-serif !important;
    font-size: 0.86rem !important;
    font-weight: 520 !important;
    line-height: 1.6 !important;
    overflow-wrap: anywhere;
}

.polat-contact-v190 .polat-contact-address .polat-text-link {
    width: max-content;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(244, 240, 232, 0.45);
    font-size: 0.72rem !important;
    font-weight: 680 !important;
    letter-spacing: 0.04em;
}

.polat-map-bare {
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    background: #d9dfda !important;
    border: 0 !important;
}

.polat-map-bare .polat-map-head {
    display: none !important;
}

.polat-map-bare .polat-map-frame,
.polat-map-bare .polat-map-frame iframe {
    display: block !important;
    width: 100% !important;
    min-height: 490px !important;
    height: 100% !important;
    border: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Contact form — wide, white, high contrast and deliberately non-card-like. */
.polat-contact-form-v190 {
    margin-top: 24px !important;
}

.polat-contact-form-v190 .polat-contact-form-wrap {
    display: grid;
    grid-template-columns: minmax(230px, 0.65fr) minmax(0, 2fr);
    grid-template-rows: auto auto 1fr;
    gap: 8px clamp(32px, 5vw, 78px);
    box-sizing: border-box;
    margin: 0 !important;
    padding: clamp(36px, 5vw, 70px) !important;
    color: var(--v181-ink) !important;
    background: var(--v181-white) !important;
    border: 1px solid var(--v181-line) !important;
    box-shadow: none !important;
}

.polat-contact-form-v190 .polat-contact-form-wrap > .polat-kicker,
.polat-contact-form-v190 .polat-contact-form-wrap > h2,
.polat-contact-form-v190 .polat-contact-form-wrap > .polat-form-intro {
    grid-column: 1;
}

.polat-contact-form-v190 .polat-contact-form-wrap > .polat-kicker {
    grid-row: 1;
    margin: 0 !important;
}

.polat-contact-form-v190 .polat-contact-form-wrap > h2 {
    grid-row: 2;
    margin: 4px 0 12px !important;
    color: var(--v181-ink) !important;
    font-family: Manrope, "Segoe UI", Arial, sans-serif !important;
    font-size: clamp(2.4rem, 4vw, 4.4rem) !important;
    font-weight: 720 !important;
    letter-spacing: -0.045em !important;
}

.polat-contact-form-v190 .polat-form-intro {
    grid-row: 3;
    align-self: start;
    max-width: 360px;
    margin: 0 !important;
    color: #4b5350 !important;
    font-size: 0.86rem;
    line-height: 1.65;
}

.polat-contact-form-v190 .polat-form-status {
    grid-column: 2;
}

.polat-contact-form-v190 .polat-contact-form {
    grid-column: 2;
    grid-row: 1 / 5;
    min-width: 0;
}

.polat-contact-form-v190 .polat-form-grid-wide {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 15px 18px !important;
}

.polat-contact-form-v190 .polat-form-grid > p,
.polat-contact-form-v190 .polat-message-field {
    margin: 0 !important;
}

.polat-contact-form-v190 .polat-contact-form label {
    display: block;
    margin: 0;
    color: var(--v181-ink) !important;
    font-size: 0.72rem;
    font-weight: 680;
    letter-spacing: 0.025em;
}

.polat-contact-form-v190 .polat-contact-form input[type="text"],
.polat-contact-form-v190 .polat-contact-form input[type="email"],
.polat-contact-form-v190 .polat-contact-form input[type="tel"],
.polat-contact-form-v190 .polat-contact-form textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 7px;
    padding: 12px 14px;
    color: var(--v181-ink) !important;
    background: var(--v181-paper) !important;
    border: 1px solid #aaa69e !important;
    border-radius: 0 !important;
    font: inherit;
}

.polat-contact-form-v190 .polat-contact-form input[type="text"],
.polat-contact-form-v190 .polat-contact-form input[type="email"],
.polat-contact-form-v190 .polat-contact-form input[type="tel"] {
    min-height: 48px;
}

.polat-contact-form-v190 .polat-message-field {
    margin-top: 16px !important;
}

.polat-contact-form-v190 .polat-contact-form textarea {
    min-height: 132px;
    resize: vertical;
}

.polat-contact-form-v190 .polat-consent {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin-top: 14px;
    color: #4b5350 !important;
    font-size: 0.7rem;
    line-height: 1.5;
}

.polat-contact-form-v190 .polat-consent input {
    flex: 0 0 auto;
    margin-top: 3px;
}

.polat-contact-form-v190 .polat-consent a {
    color: var(--v181-green) !important;
    border-bottom: 1px solid currentColor;
}

.polat-contact-form-v190 .polat-form-submit {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
}

.polat-contact-form-v190 .polat-form-submit button {
    min-width: 180px;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
}

.polat-contact-form-v190 .polat-form-submit p {
    max-width: 350px;
    margin: 0 !important;
    color: var(--v181-muted) !important;
    font-size: 0.68rem;
}

/* Social boxes remain visible before their URLs are entered. */
.polat-footer-social-grid > a,
.polat-footer-social-grid > .polat-footer-social-pending {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    box-sizing: border-box;
    padding: 0 15px;
    color: var(--v181-ink) !important;
    background: transparent;
    border: 1px solid var(--v181-line);
    font-size: 0.72rem;
    font-weight: 680;
    letter-spacing: 0.04em;
}

.polat-footer-social-grid > .polat-footer-social-pending {
    cursor: default;
}

.polat-footer-social-grid > .polat-footer-social-pending strong {
    color: var(--v181-green);
}

@media (max-width: 1180px) {
    .polat-about-v190,
    .polat-contact-v190 {
        grid-template-columns: minmax(310px, 44%) minmax(0, 1fr);
    }

    .polat-contact-form-v190 .polat-contact-form-wrap {
        grid-template-columns: 1fr;
    }

    .polat-contact-form-v190 .polat-contact-form-wrap > .polat-kicker,
    .polat-contact-form-v190 .polat-contact-form-wrap > h2,
    .polat-contact-form-v190 .polat-contact-form-wrap > .polat-form-intro,
    .polat-contact-form-v190 .polat-form-status,
    .polat-contact-form-v190 .polat-contact-form {
        grid-column: 1;
        grid-row: auto;
    }

    .polat-contact-form-v190 .polat-form-intro {
        max-width: 720px;
        margin-bottom: 18px !important;
    }
}

@media (max-width: 782px) {
    .polat-v181-hero {
        display: flex !important;
    }

    .polat-v181-hero-brand,
    .polat-v181-hero-media {
        width: 100%;
    }

    .polat-v181-hero-brand {
        min-height: 330px;
        padding: 24px 24px 20px !important;
    }

    .polat-v181-hero-nameplate {
        width: min(100%, 500px) !important;
    }

    .polat-about-v190,
    .polat-contact-v190 {
        grid-template-columns: 1fr;
    }

    .polat-about-portrait-v190 {
        height: min(116vw, 520px);
        min-height: 0;
    }

    .polat-about-copy-v190 {
        padding: 34px 24px !important;
        border-top: 1px solid var(--v181-line);
        border-left: 0;
    }

    .polat-contact-intro-v190 {
        padding: 34px 24px !important;
    }

    .polat-map-bare .polat-map-frame,
    .polat-map-bare .polat-map-frame iframe {
        min-height: 300px !important;
        height: 300px !important;
    }

    .polat-contact-form-v190 .polat-contact-form-wrap {
        padding: 32px 22px !important;
    }

    .polat-contact-form-v190 .polat-form-grid-wide {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 520px) {
    .polat-v181-hero-brand {
        min-height: 300px;
    }

    .polat-contact-v190 .polat-contact-card > div {
        grid-template-columns: 1fr !important;
        gap: 5px !important;
    }

    .polat-contact-form-v190 .polat-form-submit {
        align-items: stretch;
        flex-direction: column;
    }

    .polat-contact-form-v190 .polat-form-submit button {
        width: 100%;
    }
}
