.yaren-footer {
    --footer-bg: #00173c;
    --footer-end: #00132f;
    --footer-text: #e3ecf7;
    --footer-muted: #bdcbde;
    --footer-line: #294568;
    --footer-accent: #ff7e45;
    background: var(--footer-bg);
    color: var(--footer-text);
    font-size: 1rem;
    line-height: 1.55;
}

.yaren-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, .85fr) minmax(0, 1.05fr);
    gap: clamp(1.5rem, 4vw, 3.25rem);
    padding-block: clamp(2.6rem, 5vw, 4.5rem);
}

.yaren-footer-logo {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: 1rem;
}

.yaren-footer-logo img { display: block; max-width: 100%; height: auto; }
.yaren-footer-brand p { max-width: 24rem; margin: 0; color: var(--footer-muted); }

.yaren-footer h2 {
    margin: 0 0 .65rem;
    color: #fff;
    font-family: inherit;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
}

.yaren-footer ul { margin: 0; padding: 0; list-style: none; }

.yaren-footer a {
    color: inherit;
    overflow-wrap: anywhere;
    text-underline-offset: .2em;
}

.yaren-footer-nav a { display: inline-block; padding-block: .235rem; }
.yaren-footer a:hover { color: #fff; text-decoration: underline; }
.yaren-footer a:focus-visible { outline: 2px solid var(--footer-accent); outline-offset: 3px; }

.yaren-footer address { margin: 0; font-style: normal; }
.yaren-footer-address { margin: 0 0 .65rem; color: var(--footer-muted); white-space: pre-line; overflow-wrap: anywhere; }

.yaren-footer-contact-link,
.yaren-footer-location {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 36px;
}

.yaren-footer-contact .fa {
    flex: 0 0 1rem;
    color: var(--footer-accent);
    text-align: center;
}

.yaren-footer-location {
    display: inline-flex;
    justify-content: center;
    min-height: 44px;
    margin-top: .65rem;
    padding: .45rem .7rem;
    border: 1px solid #6681a6;
    border-radius: .45rem;
    font-weight: 650;
}

.yaren-footer-location:hover { background: #102d53; }

.yaren-footer-end { border-top: 1px solid var(--footer-line); background: var(--footer-end); color: var(--footer-muted); }
.yaren-footer-end .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .15rem 1rem; padding-block: .7rem; }
.yaren-footer-end p { margin: 0; }
.yaren-footer-end a { display: inline-flex; align-items: center; min-height: 44px; color: var(--footer-text); }

@media (max-width: 991.98px) {
    .yaren-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .yaren-footer-grid { gap: 1.4rem 1rem; padding-block: 2rem; }
    .yaren-footer-brand, .yaren-footer-contact { grid-column: 1 / -1; }
    .yaren-footer-brand { padding-bottom: 1.15rem; border-bottom: 1px solid var(--footer-line); }
    .yaren-footer-contact { padding-top: 1.15rem; border-top: 1px solid var(--footer-line); }
    .yaren-footer-nav a { display: flex; align-items: center; min-height: 44px; }
    .yaren-footer-contact-link { min-height: 44px; }
    .yaren-footer-end .container { font-size: .9375rem; }
    .yaren-public:has(.yaren-footer) { padding-bottom: 0; }
    .yaren-public:has(.yaren-footer) .yaren-footer-end { padding-bottom: var(--yaren-bottom-space, 76px); }
}
