/*
 * Onur Polat Hukuk — v1.8 lateral editorial system.
 * This final layer intentionally overrides earlier compatibility styles.
 */
:root {
    --polat-ink: #1c2422;
    --polat-forest: #1d513f;
    --polat-forest-dark: #12382d;
    --polat-wine: #7b2434;
    --polat-wine-dark: #4a1521;
    --polat-paper: #f4f0e8;
    --polat-sage: #dce6de;
    --polat-line: #c8bfb1;
    --polat-stone: #736e65;
    --polat-white: #fff;
    --polat-rail: 288px;
    --polat-shadow: 0 24px 70px rgba(18, 56, 45, 0.11);
}

html {
    scroll-behavior: smooth;
}

body.polat-theme {
    margin: 0;
    padding: 0 0 0 var(--polat-rail) !important;
    overflow-x: hidden;
    color: var(--polat-ink);
    background: var(--polat-paper);
    font-family: Manrope, "Segoe UI", Helvetica, Arial, sans-serif;
}

.polat-theme .wp-site-blocks {
    padding: 0 !important;
}

.polat-theme main p,
.polat-theme main h1,
.polat-theme main h2,
.polat-theme main h3,
.polat-theme main li,
.polat-theme footer p {
    cursor: default;
}

.polat-theme a,
.polat-theme button,
.polat-theme input,
.polat-theme textarea,
.polat-theme select,
.polat-theme label {
    cursor: pointer;
}

.polat-theme a:focus-visible,
.polat-theme button:focus-visible,
.polat-theme input:focus-visible,
.polat-theme textarea:focus-visible,
.polat-theme select:focus-visible {
    outline: 3px solid #b85c6e;
    outline-offset: 4px;
}

/* Permanent desktop rail */
.polat-site-header-shell {
    position: fixed;
    z-index: 1000;
    inset: 0 auto 0 0;
    width: var(--polat-rail);
    margin: 0 !important;
    background: var(--polat-paper);
    border-right: 1px solid var(--polat-line);
    box-shadow: 8px 0 42px rgba(28, 36, 34, 0.06);
}

.admin-bar .polat-site-header-shell {
    top: 32px;
}

.polat-site-header-v7,
.polat-site-header-v7 .polat-rail-inner {
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.polat-site-header-v7 .polat-rail-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box;
    padding: 38px 30px 28px !important;
}

.polat-brand-lockup {
    display: block;
    width: 100%;
    line-height: 0;
}

.polat-brand-lockup-image,
.polat-brand-custom-image {
    display: block;
    width: 100%;
    max-width: 232px;
    height: auto;
}

.polat-rail-rule {
    width: 100% !important;
    margin: 30px 0 24px !important;
    border: 0 !important;
    border-top: 1px solid var(--polat-line) !important;
}

.polat-site-header-v7 .polat-primary-navigation {
    width: 100%;
}

.polat-menu-toggle,
.polat-menu-close {
    display: none;
}

.polat-site-header-v7 .polat-menu-drawer,
.polat-site-header-v7 .polat-menu-drawer[aria-hidden="true"] {
    display: block;
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
}

.polat-site-header-v7 .polat-menu-drawer ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.polat-site-header-v7 .polat-menu-drawer li {
    margin: 0;
    border-bottom: 1px solid rgba(200, 191, 177, 0.62);
}

.polat-site-header-v7 .polat-menu-drawer a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    color: var(--polat-ink);
    font-size: 0.77rem;
    font-weight: 720;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.polat-site-header-v7 .polat-menu-drawer a::after {
    content: "↗";
    color: var(--polat-wine);
    font-size: 0.92rem;
}

.polat-site-header-v7 .polat-menu-drawer a:hover {
    color: var(--polat-wine);
}

.polat-site-header-v7 .polat-nav-contact {
    margin-top: 18px;
    border: 0 !important;
}

.polat-site-header-v7 .polat-nav-contact a {
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    color: var(--polat-white);
    background: var(--polat-forest);
}

.polat-site-header-v7 .polat-nav-contact a::after {
    color: var(--polat-white);
    margin-left: 12px;
}

.polat-rail-meta {
    margin-top: auto !important;
    padding-top: 24px;
    color: var(--polat-stone);
    font-size: 0.72rem;
    line-height: 1.55;
}

.polat-rail-meta > p {
    margin: 0 0 8px;
    color: var(--polat-wine);
    font-size: 0.67rem;
    font-weight: 760;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.polat-rail-meta address,
.polat-rail-meta p,
.polat-rail-meta a {
    color: inherit;
    font-style: normal;
}

/* Factual Ankara hero — split horizontally, no carousel copy */
.polat-v180-hero {
    display: grid !important;
    grid-template-columns: minmax(260px, 31%) 1fr;
    width: 100%;
    min-height: 470px;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--polat-forest-dark);
}

.polat-v180-hero-caption {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    min-width: 0;
    margin: 0 !important;
    padding: clamp(42px, 5vw, 78px) clamp(30px, 4vw, 68px) !important;
    color: var(--polat-paper);
    background: var(--polat-wine);
    overflow: hidden;
}

.polat-v180-hero-caption::after {
    content: "EOP";
    position: absolute;
    right: -0.06em;
    bottom: -0.2em;
    color: rgba(255, 255, 255, 0.055);
    font-family: Georgia, serif;
    font-size: clamp(8rem, 15vw, 16rem);
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.polat-v180-hero-caption > * {
    position: relative;
    z-index: 2;
}

.polat-v180-eyebrow {
    margin: 0 0 18px;
    color: #eadbd3;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.polat-v180-hero h1 {
    margin: 0;
    color: var(--polat-paper) !important;
    font-size: clamp(2.3rem, 4.4vw, 5.2rem) !important;
    line-height: 0.94;
}

.polat-v180-hero h1 strong {
    display: inline-block;
    margin-top: 0.12em;
    font-family: Manrope, sans-serif;
    font-size: 0.82em;
    font-weight: 820;
    letter-spacing: 0.11em;
}

.polat-v180-subtitle {
    margin: 18px 0 0;
    font-size: 0.82rem;
    font-weight: 720;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.polat-v180-hero-actions {
    gap: 10px;
    margin-top: 34px;
}

.polat-v180-hero-actions .wp-block-button__link {
    border: 1px solid var(--polat-paper);
    color: var(--polat-wine);
    background: var(--polat-paper);
}

.polat-v180-hero-actions .is-style-outline .wp-block-button__link {
    color: var(--polat-paper);
    background: transparent;
}

.polat-v180-hero-media,
.polat-v180-hero-media > .polat-hero-video-media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 470px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

.polat-v180-hero-media .polat-hero-video-poster,
.polat-v180-hero-media .polat-hero-video-element {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.polat-v180-hero-media .polat-hero-video-element {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.polat-v180-hero-media .polat-hero-video-element.is-active,
.polat-v180-hero-media .is-video-ready .polat-hero-video-element.is-active {
    opacity: 1;
}

.polat-v180-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(18, 56, 45, 0.18), transparent 55%);
    pointer-events: none;
}

.polat-v180-hero-media .polat-video-toggle {
    right: 20px;
    bottom: 20px;
    z-index: 4;
}

/* Compact, lateral home panels */
.polat-v180-focus-section,
.polat-v180-profile-publications,
.polat-v180-contact-strip {
    margin: 0 !important;
    padding: clamp(54px, 6vw, 92px) clamp(24px, 4vw, 70px) !important;
}

.polat-v180-focus-section {
    background: var(--polat-sage);
}

.polat-v180-focus-layout {
    display: grid !important;
    grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.55fr);
    gap: 24px;
    align-items: stretch;
}

.polat-v180-focus-intro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    margin: 0 !important;
    padding: clamp(30px, 4vw, 58px) !important;
    background: var(--polat-paper);
    border-top: 6px solid var(--polat-wine);
    box-shadow: var(--polat-shadow);
}

.polat-v180-focus-intro h2 {
    max-width: 7em;
    margin: 10px 0 36px;
}

.polat-kicker {
    color: var(--polat-wine);
    font-size: 0.69rem;
    font-weight: 780;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.polat-v180-primary-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    min-width: 0;
    margin: 0 !important;
    box-shadow: var(--polat-shadow);
}

.polat-v180-primary-card {
    box-sizing: border-box;
    min-height: 238px;
    margin: 0 !important;
    padding: clamp(28px, 3vw, 46px) !important;
    border: 1px solid rgba(200, 191, 177, 0.65);
}

.polat-v180-primary-card > p:first-child {
    margin: 0 0 30px;
    color: var(--polat-wine);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.polat-v180-primary-card h3 {
    margin: 0 0 18px;
    font-size: clamp(1.45rem, 2.1vw, 2.25rem);
}

.polat-v180-primary-card h3 a,
.polat-v180-primary-card h3 a:hover {
    color: inherit;
}

.polat-v180-primary-card > p:last-child {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
}

.polat-v180-primary-card.is-paper {
    color: var(--polat-ink);
    background: var(--polat-paper);
}

.polat-v180-primary-card.is-forest,
.polat-v180-primary-card.is-wine {
    color: var(--polat-paper);
}

.polat-v180-primary-card.is-forest {
    background: var(--polat-forest);
}

.polat-v180-primary-card.is-wine {
    background: var(--polat-wine);
}

.polat-v180-primary-card.is-forest h3,
.polat-v180-primary-card.is-wine h3,
.polat-v180-primary-card.is-forest > p:first-child,
.polat-v180-primary-card.is-wine > p:first-child {
    color: var(--polat-paper);
}

.polat-v180-secondary-band {
    display: grid !important;
    grid-template-columns: minmax(280px, 1fr) minmax(300px, 1.4fr);
    gap: 30px;
    align-items: center;
    box-sizing: border-box;
    margin-top: 24px !important;
    padding: 26px 30px !important;
    color: var(--polat-paper);
    background: var(--polat-forest-dark);
}

.polat-v180-secondary-band > p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.65;
}

.polat-v180-secondary-links,
.polat-v180-other-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.polat-v180-secondary-links a,
.polat-v180-other-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 13px;
    color: inherit;
    border: 1px solid currentColor;
    font-size: 0.72rem;
    font-weight: 720;
    letter-spacing: 0.045em;
}

.polat-v180-profile-publications {
    background: var(--polat-paper);
}

.polat-v180-editorial-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 24px;
    align-items: stretch;
}

.polat-v180-profile-panel {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(230px, 0.85fr);
    min-width: 0;
    margin: 0 !important;
    background: var(--polat-forest);
    box-shadow: var(--polat-shadow);
}

.polat-v180-office-image,
.polat-v180-office-image img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    margin: 0 !important;
    object-fit: cover;
}

.polat-v180-profile-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 38px !important;
    color: var(--polat-paper);
}

.polat-v180-profile-copy h2,
.polat-v180-profile-copy a {
    color: var(--polat-paper);
}

.polat-v180-publications-panel {
    box-sizing: border-box;
    margin: 0 !important;
    padding: 32px !important;
    background: var(--polat-sage);
}

.polat-v180-publications-panel .polat-section-head {
    margin-bottom: 18px;
}

.polat-v180-post-row {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    margin: 0 !important;
    padding: 14px 0 !important;
    border-top: 1px solid rgba(28, 36, 34, 0.2);
}

.polat-v180-post-row figure,
.polat-v180-post-row img {
    width: 112px;
    height: 84px;
    margin: 0;
    object-fit: cover;
}

.polat-v180-post-row h3 {
    margin: 5px 0 0;
    line-height: 1.25;
}

.polat-v180-post-row h3 a {
    color: var(--polat-ink);
}

/* Map and contact: force the iframe visible over legacy lazy styles */
.polat-v180-contact-strip {
    color: var(--polat-paper);
    background: var(--polat-wine-dark);
}

.polat-v180-contact-grid,
.polat-v180-contact-page-grid {
    display: grid !important;
    grid-template-columns: minmax(300px, 0.78fr) minmax(420px, 1.22fr);
    gap: 24px;
    align-items: stretch;
}

.polat-v180-contact-panel {
    box-sizing: border-box;
    margin: 0 !important;
    padding: clamp(28px, 4vw, 52px) !important;
    color: var(--polat-paper);
    background: var(--polat-forest-dark);
}

.polat-v180-contact-panel .polat-contact-card,
.polat-v180-contact-panel .polat-contact-card a,
.polat-v180-contact-panel address {
    color: var(--polat-paper) !important;
}

.polat-v180-contact-panel .polat-contact-card,
.polat-v180-contact-page-grid .polat-contact-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin: 24px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border-top: 1px solid rgba(244, 240, 232, 0.35) !important;
}

.polat-v180-contact-panel .polat-contact-card > div,
.polat-v180-contact-page-grid .polat-contact-card > div {
    display: block !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 15px 0 !important;
    color: var(--polat-paper) !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(244, 240, 232, 0.24) !important;
}

.polat-v180-contact-panel .polat-contact-card address,
.polat-v180-contact-panel .polat-contact-card a,
.polat-v180-contact-page-grid .polat-contact-card address,
.polat-v180-contact-page-grid .polat-contact-card a {
    display: block !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow-wrap: anywhere;
    color: var(--polat-paper) !important;
    font-family: Manrope, "Segoe UI", sans-serif !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    line-height: 1.65 !important;
}

.polat-v180-contact-panel .polat-contact-card span,
.polat-v180-contact-page-grid .polat-contact-card span {
    display: block;
    margin: 0 0 4px;
    color: #c9dcd2 !important;
    font-size: 0.63rem !important;
    font-weight: 760;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.polat-map {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--polat-ink);
    background: var(--polat-paper);
    border: 1px solid var(--polat-line);
}

.polat-map-head {
    display: flex;
    gap: 22px;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
}

.polat-map-head h2,
.polat-map-head p {
    margin: 0;
}

.polat-map-head .polat-kicker {
    display: block;
    margin-bottom: 2px;
}

.polat-map-frame,
.polat-map-frame iframe {
    display: block !important;
    width: 100% !important;
    min-height: 340px !important;
    height: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    background: #d7ddd8;
}

.polat-v180-contact-page-grid {
    margin-top: 0 !important;
}

.polat-v180-contact-page-grid .polat-contact-card-wide {
    box-sizing: border-box;
    margin: 0 !important;
    padding: clamp(30px, 4vw, 54px) !important;
    color: var(--polat-paper);
    background: var(--polat-forest-dark);
}

.polat-v180-contact-page-grid .polat-contact-card,
.polat-v180-contact-page-grid .polat-contact-card a,
.polat-v180-contact-page-grid address {
    color: var(--polat-paper) !important;
}

.polat-contact-form-wide {
    margin-top: 24px !important;
}

.polat-contact-form-wrap {
    box-sizing: border-box;
    padding: clamp(30px, 4vw, 54px) !important;
    color: var(--polat-ink) !important;
    background: var(--polat-sage) !important;
    border-top: 6px solid var(--polat-wine);
}

.polat-contact-form-wrap h2,
.polat-contact-form-wrap p,
.polat-contact-form-wrap label,
.polat-contact-form-wrap .polat-form-intro,
.polat-contact-form-wrap .polat-form-submit p {
    color: var(--polat-ink) !important;
}

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

.polat-form-field,
.polat-form-field label,
.polat-form-field input,
.polat-form-field select,
.polat-form-field textarea {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}

.polat-form-grid > p,
.polat-message-field,
.polat-contact-form label,
.polat-contact-form input,
.polat-contact-form select,
.polat-contact-form textarea {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}

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

.polat-contact-form label {
    color: var(--polat-ink) !important;
    overflow-wrap: anywhere;
}

.polat-form-field input,
.polat-form-field select,
.polat-form-field textarea,
.polat-contact-form input[type="text"],
.polat-contact-form input[type="email"],
.polat-contact-form input[type="tel"],
.polat-contact-form select,
.polat-contact-form textarea {
    width: 100%;
    color: var(--polat-ink) !important;
    background: var(--polat-white) !important;
    border: 1px solid #9aa69d !important;
    border-radius: 0 !important;
}

.polat-form-field textarea,
.polat-form-message,
.polat-contact-form textarea {
    min-height: 150px;
}

.polat-form-field:has(textarea),
.polat-form-field.is-wide,
.polat-form-consent,
.polat-form-submit {
    grid-column: 1 / -1;
}

/* Page layouts */
.polat-singular,
.polat-listing,
.polat-single,
.polat-archive,
.polat-search-page,
.polat-not-found {
    margin: 0 !important;
    padding: 0 clamp(24px, 4vw, 70px) clamp(60px, 7vw, 110px) !important;
}

.polat-page-header,
.polat-article-header {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: none !important;
    margin: 0 0 clamp(42px, 6vw, 84px) !important;
    padding: clamp(52px, 7vw, 100px) clamp(30px, 6vw, 90px) !important;
    background: var(--polat-sage);
    border-left: 10px solid var(--polat-wine);
}

.polat-page-header h1,
.polat-article-header h1 {
    max-width: 13em;
    margin-bottom: 0;
}

.polat-singular > .wp-block-post-content,
.polat-single > .wp-block-post-content {
    width: 100%;
    max-width: 980px !important;
}

.polat-singular > .wp-block-post-content > .alignwide,
.polat-single > .wp-block-post-content > .alignwide {
    width: min(100%, 1480px);
    max-width: 1480px !important;
}

.polat-about-v180 {
    gap: 0 !important;
    align-items: stretch;
    background: var(--polat-forest);
    box-shadow: var(--polat-shadow);
}

.polat-about-v180 > .wp-block-column:last-child {
    box-sizing: border-box;
    padding: clamp(34px, 5vw, 72px);
    color: var(--polat-paper);
}

.polat-about-v180 > .wp-block-column:last-child h2,
.polat-about-v180 > .wp-block-column:last-child a,
.polat-about-v180 > .wp-block-column:last-child .polat-kicker {
    color: var(--polat-paper);
}

.polat-about-portrait-v180,
.polat-about-portrait-v180 img {
    width: 100%;
    height: 100%;
    min-height: 620px;
    margin: 0 !important;
    object-fit: cover;
}

.polat-v180-activities-intro {
    display: grid !important;
    grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
    gap: 50px;
    align-items: end;
    margin-bottom: 38px !important;
}

.polat-v180-core-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px !important;
}

.polat-v180-core-grid .polat-practice-card {
    min-height: 290px;
    padding: 34px !important;
    color: var(--polat-paper);
    background: var(--polat-forest);
    border: 0;
}

.polat-v180-core-grid .polat-practice-card:nth-child(2),
.polat-v180-core-grid .polat-practice-card:nth-child(3) {
    color: var(--polat-ink);
    background: var(--polat-sage);
}

.polat-v180-core-grid .polat-practice-card:nth-child(4) {
    background: var(--polat-wine);
}

.polat-v180-core-grid .polat-practice-card h2,
.polat-v180-core-grid .polat-practice-card a {
    color: inherit;
}

.polat-v180-other-areas {
    margin-top: 24px !important;
    padding: 34px !important;
    color: var(--polat-paper);
    background: var(--polat-wine-dark);
}

.polat-v180-other-areas h2,
.polat-v180-other-areas a {
    color: var(--polat-paper);
}

.polat-content-panel,
.polat-source-note,
.polat-area-note {
    border-radius: 0 !important;
}

.polat-content-panel {
    padding: clamp(28px, 4vw, 46px) !important;
    background: var(--polat-sage);
    border-left: 6px solid var(--polat-forest);
}

.polat-area-note {
    margin-top: 30px;
    padding: 22px 24px;
    background: var(--polat-paper);
    border-top: 2px solid var(--polat-wine);
}

/* Natural editorial image cards */
.polat-post-grid {
    gap: 24px !important;
}

.polat-post-card {
    box-sizing: border-box;
    height: 100%;
    padding: 0 0 26px !important;
    overflow: hidden;
    background: var(--polat-sage);
    border: 0 !important;
    box-shadow: 0 14px 38px rgba(18, 56, 45, 0.08);
}

.polat-post-card > :not(figure) {
    margin-right: 24px !important;
    margin-left: 24px !important;
}

.polat-post-card figure,
.polat-post-card img {
    width: 100%;
    margin: 0 0 22px !important;
    object-fit: cover;
}

.polat-featured-image,
.polat-featured-image img {
    width: min(100%, 1480px);
    max-height: 620px;
    object-fit: cover;
}

.polat-source-note {
    margin-top: 40px !important;
    padding: 22px 24px !important;
    color: var(--polat-ink);
    background: var(--polat-sage);
    border-left: 4px solid var(--polat-forest);
}

/* Compact footer */
.polat-site-footer-v6 {
    margin: 0 !important;
    padding: 34px clamp(24px, 4vw, 70px) 20px !important;
    color: var(--polat-ink) !important;
    background: var(--polat-paper) !important;
    border-top: 1px solid var(--polat-line);
}

.polat-footer-grid-v6 {
    display: grid !important;
    grid-template-columns: minmax(230px, 0.8fr) minmax(260px, 1fr) minmax(300px, 1.2fr);
    gap: 34px;
    align-items: start;
}

.polat-site-footer-v6 .polat-brand-lockup-image,
.polat-site-footer-v6 .polat-brand-custom-image {
    max-width: 245px;
}

.polat-footer-label {
    margin-top: 0;
    color: var(--polat-wine);
    font-size: 0.67rem;
    font-weight: 760;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.polat-footer-contact-v6,
.polat-footer-contact-v6 address,
.polat-footer-contact-v6 a,
.polat-site-footer-v6 a {
    color: var(--polat-ink) !important;
    font-style: normal;
}

.polat-footer-links-v6 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.polat-footer-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

.polat-footer-nav li {
    margin: 0 0 7px;
}

.polat-footer-nav a {
    font-size: 0.78rem;
}

.polat-footer-bottom {
    margin-top: 24px !important;
    padding-top: 14px !important;
    border-top: 1px solid var(--polat-line);
    color: var(--polat-stone);
    font-size: 0.7rem;
}

.polat-footer-bottom p {
    margin: 0;
}

@media (max-width: 1100px) {
    body.polat-theme {
        padding: 86px 0 0 !important;
    }

    .polat-site-header-shell,
    .admin-bar .polat-site-header-shell {
        position: fixed;
        inset: 0 0 auto;
        width: 100%;
        height: 86px;
        border: 0;
        border-bottom: 1px solid var(--polat-line);
    }

    .admin-bar .polat-site-header-shell {
        top: 32px;
    }

    .polat-site-header-v7 .polat-rail-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 14px 22px !important;
    }

    .polat-site-header-v7 .polat-brand-lockup {
        width: min(270px, calc(100vw - 100px));
    }

    .polat-site-header-v7 .polat-brand-lockup-image,
    .polat-site-header-v7 .polat-brand-custom-image {
        max-width: 270px;
        max-height: 58px;
    }

    .polat-rail-rule,
    .polat-rail-meta {
        display: none;
    }

    .polat-site-header-v7 .polat-primary-navigation {
        width: auto;
    }

    .polat-menu-toggle {
        position: relative;
        z-index: 1002;
        display: grid;
        place-content: center;
        gap: 7px;
        width: 48px;
        height: 48px;
        padding: 0;
        color: var(--polat-paper);
        background: var(--polat-forest);
        border: 0;
    }

    .polat-menu-toggle > span:not(.screen-reader-text) {
        display: block;
        width: 22px;
        height: 2px;
        background: currentColor;
    }

    .polat-site-header-v7 .polat-menu-drawer,
    .polat-site-header-v7 .polat-menu-drawer[aria-hidden="true"] {
        position: fixed;
        z-index: 1001;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 100%;
        height: 100dvh;
        padding: 90px 28px 40px;
        color: var(--polat-paper);
        background: var(--polat-forest-dark);
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: transform 0.32s ease, opacity 0.25s ease, visibility 0.32s;
    }

    .polat-primary-navigation.is-open .polat-menu-drawer,
    .polat-primary-navigation.is-open .polat-menu-drawer[aria-hidden="false"] {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .polat-menu-close {
        position: absolute;
        top: 24px;
        right: 24px;
        display: grid;
        place-content: center;
        width: 48px;
        height: 48px;
        padding: 0;
        color: var(--polat-paper);
        background: transparent;
        border: 1px solid rgba(244, 240, 232, 0.45);
        font-size: 2rem;
        line-height: 1;
    }

    .polat-site-header-v7 .polat-menu-drawer ul {
        width: min(100%, 520px);
    }

    .polat-site-header-v7 .polat-menu-drawer li {
        border-color: rgba(244, 240, 232, 0.2);
    }

    .polat-site-header-v7 .polat-menu-drawer a {
        min-height: 62px;
        color: var(--polat-paper);
        font-family: Georgia, serif;
        font-size: clamp(1.35rem, 5vw, 2.2rem);
        font-weight: 500;
        letter-spacing: 0;
        text-transform: none;
    }

    .polat-site-header-v7 .polat-menu-drawer a::after {
        color: var(--polat-paper);
    }

    .polat-site-header-v7 .polat-nav-contact {
        margin-top: 16px;
    }

    .polat-v180-focus-layout,
    .polat-v180-editorial-grid {
        grid-template-columns: 1fr;
    }

    .polat-v180-focus-intro h2 {
        max-width: none;
    }

    .polat-v180-profile-panel {
        grid-template-columns: 1.15fr 0.85fr;
    }

    .polat-footer-grid-v6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 782px) {
    body.polat-theme {
        padding-top: 78px !important;
    }

    .polat-site-header-shell,
    .polat-site-header-v7 {
        height: 78px;
    }

    .admin-bar .polat-site-header-shell {
        top: 46px;
    }

    .polat-site-header-v7 .polat-rail-inner {
        padding: 11px 16px !important;
    }

    .polat-site-header-v7 .polat-brand-lockup {
        width: min(245px, calc(100vw - 82px));
    }

    .polat-v180-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .polat-v180-hero-caption {
        min-height: 300px;
        padding: 38px 24px !important;
    }

    .polat-v180-hero-media,
    .polat-v180-hero-media > .polat-hero-video-media {
        min-height: 290px;
    }

    .polat-v180-focus-section,
    .polat-v180-profile-publications,
    .polat-v180-contact-strip,
    .polat-singular,
    .polat-listing,
    .polat-single,
    .polat-archive,
    .polat-search-page,
    .polat-not-found {
        padding-right: 16px !important;
        padding-left: 16px !important;
    }

    .polat-v180-primary-grid,
    .polat-v180-secondary-band,
    .polat-v180-contact-grid,
    .polat-v180-contact-page-grid,
    .polat-v180-activities-intro,
    .polat-v180-core-grid,
    .polat-footer-grid-v6 {
        grid-template-columns: 1fr;
    }

    .polat-v180-primary-card {
        min-height: 210px;
    }

    .polat-v180-secondary-band {
        padding: 24px !important;
    }

    .polat-v180-profile-panel {
        grid-template-columns: 1fr;
    }

    .polat-v180-office-image,
    .polat-v180-office-image img {
        min-height: 320px;
    }

    .polat-v180-profile-copy {
        padding: 28px !important;
    }

    .polat-map-head {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .polat-page-header,
    .polat-article-header {
        padding: 42px 24px !important;
        border-left-width: 6px;
    }

    .polat-about-v180 {
        display: flex !important;
        flex-direction: column;
    }

    .polat-about-portrait-v180,
    .polat-about-portrait-v180 img {
        min-height: 440px;
    }

    .polat-form-grid,
    .polat-form-grid-wide,
    .polat-footer-links-v6 {
        grid-template-columns: 1fr;
    }

    .polat-footer-grid-v6 {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .polat-v180-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .polat-v180-hero-actions .wp-block-button,
    .polat-v180-hero-actions .wp-block-button__link {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .polat-v180-post-row {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .polat-v180-post-row figure,
    .polat-v180-post-row img {
        width: 92px;
        height: 76px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .polat-site-header-v7 .polat-menu-drawer {
        transition: none;
    }
}
