/* EDEM LIFE Theme Styles */

/* Font Faces - Updated paths for WordPress theme */
@font-face{font-family:'DB Heavent';src:url('../fonts/DBHeaventt-Light.woff2') format('woff2'),url('../fonts/DBHeaventt-Light.woff') format('woff'),url('../fonts/DBHeaventt-Light.ttf') format('truetype');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'DB Heavent';src:url('../fonts/DBHeavent.woff2') format('woff2'),url('../fonts/DBHeavent.woff') format('woff'),url('../fonts/DBHeavent.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'DB Heavent';src:url('../fonts/DBHeavent-BoldIt.woff2') format('woff2'),url('../fonts/DBHeavent-BoldIt.woff') format('woff'),url('../fonts/DBHeavent-BoldIt.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'DB Heavent';src:url('../fonts/DBHeavent-Thin.woff2') format('woff2'),url('../fonts/DBHeavent-Thin.woff') format('woff'),url('../fonts/DBHeavent-Thin.ttf') format('truetype');font-weight:100;font-style:normal;font-display:swap}
@font-face{font-family:'DB Heavent';src:url('../fonts/DBHeavent-Med.woff2') format('woff2'),url('../fonts/DBHeavent-Med.woff') format('woff'),url('../fonts/DBHeavent-Med.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'DB Heavent Cond';src:url('../fonts/db_heavent_li_cond_v3.2-webfont.woff2') format('woff2'),url('../fonts/db_heavent_li_cond_v3.2-webfont.woff') format('woff'),url('../fonts/db_heavent_li_cond_v3.2-webfont.ttf') format('truetype');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'DB Heavent Cond';src:url('../fonts/db_heavent_med_cond_v3.2-webfont.woff2') format('woff2'),url('../fonts/db_heavent_med_cond_v3.2-webfont.woff') format('woff'),url('../fonts/db_heavent_med_cond_v3.2-webfont.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'DB Heavent Cond';src:url('../fonts/db_heavent_bd_cond_v3.2-webfont.woff2') format('woff2'),url('../fonts/db_heavent_bd_cond_v3.2-webfont.woff') format('woff'),url('../fonts/db_heavent_bd_cond_v3.2-webfont.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}

/* CSS Variables */
:root {
    --c1: #004A5D;
    --c2: #003441;
    --c3: #1DA27E;
    --c4: #727272;
    --c5: #434343;
    --c6: #F7F7F6;
    --c7: #141D28;
    --c8: #64748B;
    --ff1: 'DB Heavent Cond', 'PT Sans Narrow', sans-serif;
    --ff2: 'DB Heavent', 'PT Sans', sans-serif;
    --ff-cyrillic: 'PT Sans Narrow', 'PT Sans', sans-serif;
}

/* Russian language - override CSS variables and force PT Sans Narrow */
html[lang="ru"],
html[lang="ru-RU"],
html.locale-ru,
body.locale-ru {
    --ff1: 'PT Sans Narrow', sans-serif !important;
    --ff2: 'PT Sans', sans-serif !important;
}
html[lang="ru"] body,
html[lang="ru-RU"] body,
body.locale-ru,
.locale-ru,
:lang(ru) {
    font-family: 'PT Sans Narrow', 'PT Sans', sans-serif !important;
    letter-spacing: 0.01em;
}
body.locale-ru *,
body.locale-ru h1,
body.locale-ru h2,
body.locale-ru h3,
body.locale-ru h4,
body.locale-ru h5,
body.locale-ru h6,
body.locale-ru p,
body.locale-ru a,
body.locale-ru span,
body.locale-ru div,
body.locale-ru li,
body.locale-ru button,
body.locale-ru input,
body.locale-ru select,
body.locale-ru .card,
body.locale-ru .project-card,
body.locale-ru .project-card__title,
body.locale-ru .project-card__desc,
html[lang="ru"] *,
html[lang="ru"] body * {
    font-family: 'PT Sans Narrow', 'PT Sans', sans-serif !important;
}

/* Hebrew RTL - override CSS variables */
html[lang="he"],
html.locale-he,
body.locale-he {
    --ff1: 'PT Sans', Arial, sans-serif !important;
    --ff2: 'PT Sans', Arial, sans-serif !important;
}
html[lang="he"] body,
body.locale-he,
.locale-he,
:lang(he) {
    font-family: 'PT Sans', Arial, sans-serif !important;
}
body.locale-he *,
html[lang="he"] *,
html[lang="he"] body * {
    font-family: 'PT Sans', Arial, sans-serif !important;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 180px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--ff1);
    color: #404040;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: transparent;
}

ul, ol {
    list-style: none;
}

/* Layout */
.sw {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.cw {
    width: 100%;
    max-width: 1536px;
    margin-inline: auto;
    padding-inline: 1rem;
}

@media (min-width: 920px) {
    .cw { max-width: 920px; }
}

@media (min-width: 1280px) {
    .cw { max-width: 1280px; padding-inline: 0; }
}

/* Одинаковые отступы у секции проектов, «О нас» и подвала — контент не по краям */
.ps .cw,
section.ab .cw,
.ft .cw {
    padding-inline: 1.5rem !important;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .ps .cw,
    section.ab .cw,
    .ft .cw {
        padding-inline: 2rem !important;
    }
}
@media (min-width: 1280px) {
    .ps .cw,
    section.ab .cw,
    .ft .cw {
        padding-inline: 2.5rem !important;
    }
}

/* Принудительно те же отступы у контейнера «О нас», что и у проектов */
#about .cw {
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 1.5rem !important;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    #about .cw { padding-inline: 2rem !important; }
}
@media (min-width: 1280px) {
    #about .cw { padding-inline: 2.5rem !important; }
}

/* Screen reader only */
.so {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header */
.hd {
    position: fixed;
    width: 100%;
    z-index: 20;
    padding: .75rem 0;
    top: 0;
    background: linear-gradient(180deg, rgba(20, 29, 40, .95), transparent);
    transition: all .3s;
}

@media (min-width: 768px) {
    .hd {
        padding: 1.5rem 0;
        background: linear-gradient(180deg, rgba(20, 29, 40, .9), transparent);
    }
}

.hd.sc {
    background: var(--c2);
    padding: .75rem 0;
}

/* Header container: always center content */
.hd .cw {
    text-align: center;
    position: relative;
}

@media (min-width: 992px) {
    .hd .cw {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Logo — always centered */
.lg {
    width: 9.6rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: .75rem;
}

@media (min-width: 768px) {
    .lg { width: 216px; }
}

@media (min-width: 992px) {
    .lg { margin-left: auto; margin-right: auto; margin-bottom: 0.5rem; }
}

.lg img {
    width: 100%;
    height: auto;
}

.lg a {
    display: block;
}

/* Navigation Toggle — hamburger: only below 992px (desktop gets full menu) */
.nt {
    display: block;
    position: absolute;
    top: 50%;
    inset-inline-start: 1rem;
    margin-top: -1rem;
    width: 2rem;
}

@media (min-width: 992px) {
    .nt { display: none; }
}

.nt svg {
    max-width: 100%;
}

/* Primary Navigation — overlay on mobile: вне .cw, привязка к viewport через inset:0 */
.pn {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: var(--c2);
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    transition: transform .4s cubic-bezier(.23, 1, .32, 1);
    z-index: 21;
    box-sizing: border-box;
}
/* LTR: уезжает влево за экран; RTL: вправо */
html[dir="ltr"] .pn,
html:not([dir="rtl"]) .pn { transform: translateX(-100%); }
html[dir="rtl"] .pn { transform: translateX(100%); }

@media (min-width: 992px) {
    .pn,
    html[dir="ltr"] .pn,
    html[dir="rtl"] .pn,
    html:not([dir="rtl"]) .pn {
        position: relative;
        inset: auto;
        width: auto;
        height: auto;
        background: transparent;
        transform: none;
        display: flex;
        align-items: center;
        z-index: auto;
    }
}

html[dir="ltr"] .pn.op,
html[dir="rtl"] .pn.op,
html:not([dir="rtl"]) .pn.op,
.pn.op {
    transform: translateX(0);
}

/* Nav Close Button — only when hamburger is shown */
.nc {
    position: absolute;
    top: 2rem;
    inset-inline-end: 2rem;
}

@media (min-width: 992px) {
    .nc { display: none; }
}

/* Nav Menu */
.nm {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1rem;
    font-weight: 200;
    color: #fff;
}

@media (min-width: 992px) {
    .nm { flex-direction: row; }
}

@media (min-width: 1024px) {
    .nm { font-size: 1.25rem; }
}

.nm li {
    margin-inline: .5rem;
}

@media (min-width: 1024px) {
    .nm li { margin-inline: 1rem; }
}

.nm a {
    display: block;
    padding: .25rem .5rem;
    transition: opacity .15s;
}

@media (min-width: 1024px) {
    .nm a { padding: 1rem 1.25rem; }
}

.nm a:hover {
    opacity: .8;
}

/* Language Switcher */
.lang-switcher {
    margin-top: 1rem;
}

@media (min-width: 992px) {
    .lang-switcher { margin-top: 0; margin-inline-start: 1rem; }
}

.lang-switcher select,
.lang-select {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    padding: .5rem 1rem;
    border-radius: .25rem;
    cursor: pointer;
    font-size: .875rem;
}

.lang-switcher select option {
    background: var(--c2);
    color: #fff;
}

/* Hero Slider */
.hs {
    position: relative;
    overflow: hidden;
    max-width: 100vw;
}

.hs .sw-w {
    position: relative;
    width: 100%;
    z-index: 1;
    display: flex;
    transition: transform .8s ease;
    box-sizing: content-box;
}

.hs .sl {
    flex-shrink: 0;
    width: 100%;
    min-width: 0;
    position: relative;
    display: block;
    overflow: hidden;
}

.sl .im,
.sl .mm {
    width: 100%;
    height: auto;
    display: block;
}

.sl .im {
    display: none;
}

.sl .mm {
    display: block;
}

/* Legendary: no mobile banner — hide slide on mobile */
/* Modeva: on mobile show desktop image (.im), not mobile (.mm) */
@media (max-width: 1023px) {
    .hs .sl.sl-no-mobile {
        display: none !important;
    }
    .hs .sl.sl-desktop-on-mobile .mm {
        display: none !important;
    }
    .hs .sl.sl-desktop-on-mobile .im {
        display: block !important;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

@media (min-width: 1024px) {
    .sl .im { display: block; }
    .sl .mm { display: none; }
}

/* Slider Pagination */
.hp {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 2.5rem !important;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.hp span {
    width: 5px;
    height: 45px;
    border-radius: 2px;
    background: #fff;
    cursor: pointer;
    transition: background .3s;
}

.hp span.ac {
    background: var(--c7);
}

/* Projects Section */
.ps {
    padding-top: 1.25rem;
    background: #fff;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .ps { padding-top: 3rem; margin-bottom: 1.25rem; }
}

/* Projects Grid */
.pg {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .pg {
        grid-template-columns: repeat(2, 1fr);
        width: 90%;
        margin-inline: auto;
    }
}

@media (min-width: 1024px) {
    .pg {
        grid-template-columns: repeat(4, 1fr);
        width: 90%;
    }
}

/* Project Card */
.pc {
    height: 100%;
    background: #fff;
    filter: drop-shadow(0 10px 8px rgba(0,0,0,.04)) drop-shadow(0 4px 3px rgba(0,0,0,.1));
    display: block;
    transition: transform .3s;
    border-radius: 1rem;
    overflow: hidden;
}
.pc article {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pc:hover {
    transform: translateY(-4px);
}

.pc .pc-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    width: 100%;
    flex-shrink: 0;
    background: #e8e8e8;
}

.pc .pc-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.pc .pc-placeholder {
    background: linear-gradient(135deg, #004A5D 0%, #006d7d 100%);
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc .pc-placeholder span {
    color: #fff;
    font-size: 1.5rem;
    text-align: center;
    padding: 1rem;
}

/* "New" badge overlay */
.pc-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #1DA27E;
    color: #fff;
    font-weight: 700;
    font-size: .875rem;
    line-height: 1;
    padding: .5rem .85rem;
    border-radius: .375rem;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: .04em;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
}

.pc .ct {
    padding: 1rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pc h3 {
    font-size: 1.5rem;
    color: var(--c1);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: .25rem;
}

.pc p {
    color: var(--c7);
    font-weight: 100;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.pc .mt {
    font-weight: 100;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    --sc: #1DA27E;
    color: var(--sc);
    margin-top: auto;
}

.pc .mt svg {
    fill: var(--sc);
}

.pc .if {
    display: flex;
    gap: 1.25rem;
}

.pc .lc, .pc .pr {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.pc .st {
    border: 2px solid var(--sc);
    padding: .5rem 1rem;
    display: inline-block;
    font-weight: 600;
    font-size: 1.375rem;
    line-height: 1;
}

/* Pulse animation for "New" badge on card image */
@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 2px 6px rgba(29, 162, 126, 0.3); }
    50% { box-shadow: 0 2px 12px rgba(29, 162, 126, 0.55); }
}
.pc.nw .pc-badge {
    animation: pulse-badge 2s ease-in-out infinite;
}

/* About Section — ширина контента 90% как у .pg (карточки проектов) */
.ab {
    padding: 3rem 0 2rem;
    background: var(--c6);
}
.ab-inner {
    width: 100%;
    margin-inline: auto;
}
/* Контейнер контента «О нас» — та же ширина, что у блока проектов (.pg), без сетки */
#about .ab-content {
    width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .ab-inner { width: 90%; }
    #about .ab-content { width: 90%; }
}
@media (min-width: 1024px) {
    .ab-inner { width: 90%; }
    #about .ab-content { width: 90%; }
}

@media (min-width: 768px) {
    .ab { padding: 4.5rem 0 3.5rem; }
}

@media (min-width: 1024px) {
    .ab { padding: 5rem 0 4rem; }
}

/* About Header — start-aligned (left in LTR, right in RTL) */
section.ab .ab-hd,
section.ab .ab-hd .ab-tag,
section.ab .ab-hd .ab-ttl {
    text-align: start !important;
}
.ab-hd {
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .ab-hd { margin-bottom: 3rem; }
}

.ab-tag {
    display: inline-block;
    font-size: .75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--c3);
    margin-bottom: .75rem;
    padding: .375rem 1.25rem;
    border: 1px solid var(--c3);
    border-radius: 2rem;
}

@media (min-width: 768px) {
    .ab-tag { font-size: .8125rem; }
}

.ab-ttl {
    font-size: 2rem;
    color: var(--c2);
    font-weight: 700;
    line-height: 1.2;
    margin-top: .5rem;
}

@media (min-width: 768px) {
    .ab-ttl { font-size: 2.75rem; }
}

@media (min-width: 1024px) {
    .ab-ttl { font-size: 3.25rem; }
}

/* About Intro — left-aligned block and text */
section.ab .ab-intro,
section.ab .ab-intro p {
    text-align: start !important;
}
.ab-intro {
    max-width: 820px;
    margin-inline-start: 0 !important;
    margin-inline-end: auto !important;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .ab-intro { margin-bottom: 3rem; }
}

.ab-intro p {
    color: var(--c8);
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: .75rem;
    font-weight: 300;
}

@media (min-width: 768px) {
    .ab-intro p { font-size: 1.0625rem; }
}

.ab-intro p:last-child {
    margin-bottom: 0;
}

/* About Grid */
.ab-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .ab-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
}

/* About Card */
.ab-card {
    background: #fff;
    border-radius: .75rem;
    padding: 1.75rem 1.5rem;
    border: 1px solid rgba(0, 74, 93, .07);
    transition: box-shadow .3s ease, transform .3s ease;
}

@media (min-width: 768px) {
    .ab-card { padding: 2rem 2rem; }
}

.ab-card:hover {
    box-shadow: 0 8px 30px rgba(0, 52, 65, .08);
    transform: translateY(-2px);
}

.ab-wide {
    grid-column: 1 / -1;
}

.ab-card h3 {
    font-size: 1.25rem;
    color: var(--c2);
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1rem;
}

@media (min-width: 768px) {
    .ab-card h3 { font-size: 1.375rem; }
}

.ab-card h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: .15em;
    bottom: .15em;
    width: 3px;
    background: var(--c3);
    border-radius: 2px;
}

.ab-card p {
    color: var(--c8);
    font-size: .9375rem;
    line-height: 1.7;
    margin-bottom: .75rem;
}

.ab-card p:last-child {
    margin-bottom: 0;
}

.ab-card ul {
    margin: .75rem 0 1rem;
    padding-left: 0;
}

.ab-card ul li {
    color: var(--c5);
    font-size: .9375rem;
    line-height: 1.6;
    padding: .375rem 0 .375rem 1.5rem;
    position: relative;
}

.ab-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .8em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c3);
}

/* Highlighted paragraph inside card */
.ab-hl {
    background: linear-gradient(135deg, rgba(0, 74, 93, .03), rgba(29, 162, 126, .05));
    padding: 1rem 1.25rem;
    border-radius: .5rem;
    border-left: 3px solid var(--c3);
    color: var(--c2) !important;
    font-weight: 400 !important;
}

/* Two-column list for Long-term Vision */
.ab-cols {
    columns: 1;
}

@media (min-width: 768px) {
    .ab-cols {
        columns: 2;
        column-gap: 2rem;
    }
}

/* Closing Statement */
.ab-close {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 74, 93, .1);
}

.ab-close p {
    font-size: 1.125rem;
    color: var(--c2);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: .375rem;
}

@media (min-width: 768px) {
    .ab-close p { font-size: 1.25rem; }
}

.ab-close p:last-child {
    font-size: 1.25rem;
    color: var(--c3);
    font-weight: 600;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .ab-close p:last-child { font-size: 1.375rem; }
}

/* Button Primary */
.bp {
    background: var(--c3);
    color: #fff;
    padding: .5rem 1.5rem;
    border-radius: 1.5rem;
    width: 60%;
    margin-inline: auto;
    display: inline-block;
    text-align: center;
    transition: background .15s;
}

@media (min-width: 768px) {
    .bp {
        background: var(--c4);
        border-radius: .25rem;
        width: fit-content;
        margin-left: auto;
        margin-right: 0;
    }
}

.bp:hover {
    background: var(--c5);
}


/* CTA Section */
.ca {
    background: var(--c2);
    color: #fff;
    padding-block: .75rem;
}

.caw {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .caw {
        flex-direction: row;
        width: 66.666%;
        margin-inline: auto;
    }
}

.cl {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    font-size: 1.25rem;
    text-transform: uppercase;
    transition: opacity .15s;
}

@media (min-width: 768px) {
    .cl { justify-content: flex-start; padding-block: 1rem; }
    .cl:nth-child(2) {
        border-left: 1px solid #fff;
        border-right: 1px solid #fff;
    }
}

.cl:hover {
    opacity: .8;
}

.cl img {
    margin-right: .5rem;
    margin-top: -4px;
    height: auto;
    width: 1.75rem;
}

/* Footer */
.ft {
    background: rgba(0, 74, 93, .04);
    color: #fff;
    font-weight: 300;
    padding-top: 1.75rem;
}

.fm {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding-inline: .75rem;
}

@media (min-width: 768px) {
    .fm { flex-direction: row; padding-inline: 0; }
}

.fb {
    width: 100%;
}

@media (min-width: 768px) {
    .fb { width: 41.666%; }
}

.fl {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}
.fl-brand {
    text-decoration: none;
    display: inline-block;
}
.fl-brand .fl-logo-img {
    display: block;
    max-height: 28px;
    height: 28px;
    width: auto;
    padding: .4rem .6rem;
    border-radius: .5rem;
    background: var(--c2);
    object-fit: contain;
    object-position: center;
}
.fl-brand span {
    display: inline-block;
    font-family: var(--ff1);
    font-size: 1.35rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    padding: .4rem .9rem;
    border-radius: .75rem;
    background: var(--c2);
    color: #fff;
}

.tg {
    color: rgba(0, 52, 65, .88);
    margin-bottom: 1rem;
}

.cb {
    display: flex;
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.cn {
    background: var(--c4);
    font-size: .875rem;
    padding: .5rem 1rem;
    border-radius: .5rem;
    width: 50%;
    display: flex;
    align-items: center;
    color: #fff;
    transition: background .15s;
}

@media (min-width: 768px) {
    .cn { padding: .5rem 1.5rem; width: fit-content; }
}

.cn:hover {
    background: #666;
}

/* Address */
.ad {
    margin-bottom: 1rem;
}

.ad h4 {
    color: var(--c2);
    font-size: 1.3rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

.ad h5 {
    color: var(--c3);
    font-size: 1.2rem;
    font-weight: 500;
}

.ad p {
    color: rgba(0, 52, 65, .88);
    margin-bottom: .5rem;
}

.ad .ph {
    color: var(--c3);
}

/* Footer Navigation */
.fn {
    width: 100%;
}

@media (min-width: 768px) {
    .fn { width: 33.333%; padding-top: 3rem; }
}

.fn h4 {
    color: var(--c2);
    font-weight: 500;
    margin-bottom: .5rem;
}

.fnm {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #000;
}

.fnm a {
    display: block;
    border-bottom: 1px solid transparent;
    font-size: 1.125rem;
    transition: all .15s;
}

.fnm a:hover {
    border-color: var(--c4);
    color: var(--c4);
}

/* Social Title */
.st2 {
    font-size: 1.5rem;
    color: var(--c2);
    font-weight: 500;
    margin-bottom: .5rem;
    text-transform: uppercase;
}

/* Social Links */
.sl2 {
    display: flex;
    gap: .5rem;
}

.sl2 a {
    display: flex;
    width: 40px;
}

/* Footer Bottom */
.fbo {
    width: 100%;
    background: var(--c2);
    margin-top: 1.25rem;
    padding-block: 2rem;
    font-size: .8125rem;
}

@media (min-width: 768px) {
    .fbo { font-size: 1rem; }
}

.fbi {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .fbi { flex-direction: row; }
}

.fc {
    width: 100%;
    display: flex;
    justify-content: center;
    color: #fff;
}

@media (min-width: 768px) {
    .fc { width: 50%; justify-content: flex-start; }
}

.fle {
    width: 100%;
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .fle { width: 50%; justify-content: flex-end; }
}

.fll {
    display: flex;
    list-style: none;
}

.fll li {
    padding-inline: .5rem;
    border-right: 1px solid #fff;
}

.fll li:last-child {
    border-right: none;
}

.fll a {
    color: #fff;
}

.fll a:hover {
    text-decoration: underline;
}

/* Video Placeholder */
.vp {
    background: linear-gradient(135deg, var(--c1) 0%, #006d7d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/9;
    color: #fff;
    font-size: 1.5rem;
    border-radius: 8px;
}

/* RTL Support */
html[dir="rtl"] .ab-card h3 {
    padding-left: 0;
    padding-right: 1rem;
}

html[dir="rtl"] .ab-card h3::before {
    left: auto;
    right: 0;
}

html[dir="rtl"] .ab-card ul li {
    padding-left: 0;
    padding-right: 1.5rem;
}

html[dir="rtl"] .ab-card ul li::before {
    left: auto;
    right: 0;
}

html[dir="rtl"] .ab-hl {
    border-left: none;
    border-right: 3px solid var(--c3);
}

html[dir="rtl"] .bp {
    margin-right: auto;
    margin-left: 0;
}

/* WordPress Specific */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.aligncenter {
    text-align: center;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
}

/* Content Section */
.content-section {
    padding: 3rem 0;
    min-height: 50vh;
}

.content-section article {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.content-section h2 a {
    color: var(--c1);
    transition: color .15s;
}

.content-section h2 a:hover {
    color: var(--c3);
}

/* Archive Header */
.archive-header {
    text-align: center;
    padding: 3rem 0;
    background: var(--c6);
    margin-bottom: 2rem;
}

.archive-header h1 {
    font-size: 2.5rem;
    color: var(--c1);
}
