/* Same Poppins / blue / card palette as the Tekeregj modern home. */
footer.tk-footer {
    --tk-footer-bg: var(--tk-footer-light-bg, #f4f7fb);
    --tk-footer-surface: var(--tk-footer-light-surface, #fff);
    --tk-footer-ink: var(--tk-footer-light-ink, #172033);
    --tk-footer-muted: var(--tk-footer-light-muted, #59677e);
    --tk-footer-line: var(--tk-footer-light-line, #e6eaf1);
    --tk-footer-accent: var(--tk-footer-light-accent, #006887);
    background: var(--tk-footer-bg);
    border-top: 1px solid var(--tk-footer-line);
    color: var(--tk-footer-ink);
    font: 400 var(--tk-footer-font-size, 14px)/1.75 "Poppins", sans-serif;
    margin: 0;
    padding: var(--tk-footer-space, 48px) 0 0;
    width: 100%;
    max-width: 100vw;
}

body.dark footer.tk-footer {
    --tk-footer-bg: var(--tk-footer-dark-bg, #0e2028);
    --tk-footer-surface: var(--tk-footer-dark-surface, #173741);
    --tk-footer-ink: var(--tk-footer-dark-ink, #f5f7fb);
    --tk-footer-muted: var(--tk-footer-dark-muted, #a8b0c0);
    --tk-footer-line: var(--tk-footer-dark-line, #333946);
    --tk-footer-accent: var(--tk-footer-dark-accent, #80c9db);
    color-scheme: dark;
}

.tk-footer *,
.tk-footer-card,
.tk-footer-card * {
    box-sizing: border-box;
}

.tk-footer .tk-footer-shell {
    margin: 0 auto;
    max-width: var(--tk-footer-width, 1320px);
    padding: 0 32px;
}

.tk-footer-top {
    margin-bottom: 40px;
}

.tk-footer-top > .widget + .widget {
    margin-top: var(--tk-footer-gap, 32px);
}

.tk-footer .tk-footer-grid {
    display: grid;
    gap: var(--tk-footer-gap, 32px);
    padding-bottom: var(--tk-footer-space, 48px);
}

.tk-footer-grid--1 {
    grid-template-columns: minmax(0, 1fr);
}

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

.tk-footer-grid--3 {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .8fr) minmax(0, 1.15fr);
}

.tk-footer-grid--4 {
    grid-template-columns: minmax(0, 1fr) minmax(0, .75fr) minmax(0, .85fr) minmax(0, 1.2fr);
}

.tk-footer .tk-footer-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--tk-footer-gap, 32px);
}

.tk-footer .widget {
    margin: 0;
    padding: 0;
    min-width: 0;
    list-style: none;
    border: 0;
    box-shadow: none;
    background: none;
}

.tk-footer p {
    color: var(--tk-footer-muted);
    margin: 0 0 16px;
}

.tk-footer p:last-child {
    margin-bottom: 0;
}

.tk-footer a {
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.tk-footer a:hover {
    color: var(--tk-footer-accent);
}

.tk-footer .widget h2,
.tk-footer .widget h3,
.tk-footer .widget h4 {
    color: var(--tk-footer-ink);
    font: 600 var(--tk-footer-heading-size, 20px)/1.35 "Poppins", sans-serif;
    letter-spacing: -.025em;
    margin: 0 0 16px;
}

.tk-footer .widget > .hidden {
    display: none;
}

.tk-footer .widget_nav_menu > .hidden {
    display: block;
    color: var(--tk-footer-ink);
    font-size: var(--tk-footer-heading-size, 20px);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.025em;
    margin: 0 0 16px;
}

.tk-footer .widget ul,
.tk-footer .widget ol {
    padding: 0;
    margin: 0;
    list-style: none;
}

.tk-footer .widget li {
    margin: 0;
    padding: 0;
}

.tk-footer .widget nav li::before {
    display: none;
}

.tk-footer .widget nav a,
.tk-footer .widget_nav_menu a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 5px 0;
    font-weight: 500;
}

.tk-footer .widget nav ul ul,
.tk-footer .widget_nav_menu ul ul {
    padding-left: 16px;
}

.tk-footer .widget img {
    max-width: 100%;
    height: auto;
}

.tk-footer .widget .some-icon,
.tk-footer .widget .some-icon-dark {
    max-width: 160px;
}

/* Keep the existing dark-mode label, icon and switch vertically centered. */
.tk-footer .widget .footer__theme {
    display: flex;
    align-items: center;
}

.tk-footer .widget .footer__theme .theme {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    margin: 0 0 0 8px;
}

.tk-footer .widget .footer__theme .theme__inner {
    display: flex;
    align-items: center;
}

.tk-footer .widget .social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tk-footer .widget .social a {
    align-items: center;
    justify-content: center;
    display: inline-flex;
    width: 40px;
    height: 40px;
    border: 1px solid var(--tk-footer-line);
    border-radius: 12px;
    font-size: 20px;
}

.tk-footer .tk-footer-extras {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: var(--tk-footer-gap, 32px);
    margin-bottom: var(--tk-footer-space, 48px);
}

.tk-footer-extras > .widget {
    height: 100%;
}

.tk-footer-extras .tk-footer-card {
    height: 100%;
}

.tk-footer .tk-footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--tk-footer-line);
}

.tk-footer-bottom > .widget + .widget {
    margin-top: 20px;
}

.tk-footer .tk-footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.tk-footer .tk-footer-bottom-content p {
    font-size: 12px;
    margin: 0;
}

.tk-footer .tk-footer-bottom-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px 20px;
}

.tk-footer .tk-footer-bottom-menu a {
    font-size: 12px;
    color: var(--tk-footer-muted);
}

.tk-footer .tk-footer-bottom-menu a:hover {
    color: var(--tk-footer-accent);
}

.tk-footer .tk-footer-bottom-menu a i {
    font-size: 20px;
}

.tk-footer .tk-footer-bottom-menu .dropdown-menu {
    position: static;
    display: block;
    border: 0;
    background: none;
    box-shadow: none;
}

.tk-footer-card {
    --tk-fw-ink: var(--tk-footer-ink, #172033);
    --tk-fw-muted: var(--tk-footer-muted, #59677e);
    --tk-fw-accent: var(--tk-fw-accent-light, var(--tk-footer-accent, #006887));
    --tk-fw-link: color-mix(in srgb, var(--tk-fw-accent) 88%, #000);
    background: var(--tk-footer-surface, #fff);
    border: 1px solid var(--tk-footer-line, #e6eaf1);
    border-radius: var(--tk-fw-radius, 20px);
    color: var(--tk-fw-ink);
    font: 400 var(--tk-footer-font-size, 14px)/1.7 "Poppins", sans-serif;
    min-width: 0;
    overflow-wrap: anywhere;
    padding: var(--tk-fw-padding, 22px);
}

body.dark .tk-footer-card {
    --tk-fw-ink: var(--tk-footer-ink, #f5f7fb);
    --tk-fw-muted: var(--tk-footer-muted, #a8b0c0);
    --tk-fw-accent: var(--tk-fw-accent-dark, var(--tk-footer-accent, #80c9db));
    --tk-fw-link: var(--tk-fw-accent);
    background: var(--tk-footer-surface, #173741);
    border-color: var(--tk-footer-line, #333946);
}

.tk-footer-card.tk-footer-card--plain,
body.dark .tk-footer-card.tk-footer-card--plain {
    background: transparent;
    border: 0;
}

.tk-footer-card.tk-footer-card--soft {
    background: linear-gradient(115deg, color-mix(in srgb, var(--tk-fw-accent) 9%, var(--tk-footer-surface, #fff)), var(--tk-footer-surface, #fff));
}

body.dark .tk-footer-card--soft {
    background: linear-gradient(115deg, color-mix(in srgb, var(--tk-fw-accent) 12%, #1b202a), #171b22);
}

.tk-footer-card.tk-footer-card--blue {
    --tk-fw-ink: #fff;
    --tk-fw-muted: #e8f2f4;
    --tk-fw-accent: #fff;
    background: var(--tk-fw-accent-light, #006887);
    border-color: transparent;
}

body.dark .tk-footer-card.tk-footer-card--blue {
    --tk-fw-ink: #fff;
    --tk-fw-muted: #e8f2f4;
    --tk-fw-accent: #fff;
    border-color: transparent;
}

.tk-footer-card.tk-footer-card--blue {
    --tk-fw-link: #fff;
}

body.dark .tk-footer-card.tk-footer-card--blue {
    background: var(--tk-fw-accent-dark, #006887);
}

.tk-footer-card.tk-footer-card--dark {
    --tk-fw-ink: #f5f7fb;
    --tk-fw-muted: #c2ccdc;
    --tk-fw-accent: var(--tk-fw-accent-light, #80c9db);
    background: #172033;
    border-color: #28354b;
}

body.dark .tk-footer-card.tk-footer-card--dark {
    --tk-fw-ink: #f5f7fb;
    --tk-fw-muted: #c2ccdc;
    background: #172033;
    border-color: #28354b;
}

.tk-footer-card.tk-footer-card--dark {
    --tk-fw-link: var(--tk-fw-accent);
}

body.dark .tk-footer-card.tk-footer-card--dark {
    --tk-fw-accent: var(--tk-fw-accent-dark, #80c9db);
}

.tk-footer-card .tk-footer-eyebrow {
    color: var(--tk-fw-link);
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.6;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.tk-footer-card h3.tk-footer-title {
    color: var(--tk-fw-ink);
    font: 600 var(--tk-footer-heading-size, 20px)/1.35 "Poppins", sans-serif;
    letter-spacing: -.025em;
    margin: 0 0 14px;
}

.tk-footer-card p {
    color: var(--tk-fw-muted);
    font-size: inherit;
    line-height: 1.75;
    margin: 0 0 18px;
}

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

.tk-footer-card .tk-footer-action-icon { width:20px; height:20px; flex:0 0 20px; vertical-align:middle; }

.tk-footer-card .tk-footer-text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--tk-fw-link);
    font-weight: 600;
    font-size: 13px;
    min-height: 40px;
    text-decoration: none;
}

.tk-footer-card .tk-footer-text-link:hover {
    color: var(--tk-fw-link);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.tk-footer-card .tk-footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 46px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: color-mix(in srgb, var(--tk-fw-accent) 88%, #000);
    color: #fff;
    cursor: pointer;
    font: 600 13px/1.5 "Poppins", sans-serif;
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease;
    box-shadow: none;
    white-space: normal;
    text-align: center;
}

body.dark .tk-footer-card .tk-footer-button {
    background: color-mix(in srgb, var(--tk-fw-accent) 64%, #000);
}

.tk-footer-card .tk-footer-button:hover {
    color: #fff;
    box-shadow: 0 6px 16px #00688724;
    transform: translateY(-1px);
}

.tk-footer-card .tk-footer-button:disabled {
    cursor: wait;
    opacity: .7;
    transform: none;
}

.tk-footer-card .tk-footer-button--secondary,
body.dark .tk-footer-card .tk-footer-button--secondary {
    background: transparent;
    border-color: var(--tk-footer-line, #cbd5e4);
    color: var(--tk-fw-ink);
}

.tk-footer-card .tk-footer-button--secondary:hover {
    color: var(--tk-fw-ink);
}

.tk-footer-card--blue .tk-footer-button,
.tk-footer-card--dark .tk-footer-button,
body.dark .tk-footer-card--blue .tk-footer-button,
body.dark .tk-footer-card--dark .tk-footer-button {
    background: #fff;
    color: #006887;
}

.tk-footer-card--blue .tk-footer-button--secondary,
.tk-footer-card--dark .tk-footer-button--secondary,
body.dark .tk-footer-card--blue .tk-footer-button--secondary,
body.dark .tk-footer-card--dark .tk-footer-button--secondary {
    background: transparent;
    color: #fff;
    border-color: #ffffff66;
}

.tk-footer-card .tk-footer-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.tk-footer-callout--stack .tk-footer-actions {
    margin-top: 20px;
}

.tk-footer-callout.tk-footer-callout--banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.tk-footer-callout--banner .tk-footer-callout__copy {
    flex: 1 1 320px;
}

.tk-footer-callout--banner .tk-footer-actions {
    flex: 0 1 auto;
}

.tk-footer-callout--banner h3.tk-footer-title {
    font-size: clamp(23px, 2.3vw, 30px);
    margin-bottom: 8px;
}

.tk-footer-callout--banner .tk-footer-eyebrow {
    margin-bottom: 8px;
}

.tk-footer-callout--banner p {
    margin-bottom: 0;
}

.tk-footer-featured .tk-footer-featured__image {
    display: block;
    border-radius: max(0px, calc(var(--tk-fw-radius, 20px) - 8px));
    overflow: hidden;
    margin: 16px 0;
    aspect-ratio: 16 / 9;
    background: var(--tk-footer-line, #e6eaf1);
}

.tk-footer-featured .tk-footer-featured__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tk-footer-featured .tk-footer-featured__name {
    display: block;
    color: var(--tk-fw-ink);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.tk-footer-featured .tk-footer-featured__name:hover {
    color: var(--tk-fw-accent);
}

.tk-footer-featured p.tk-footer-meta {
    margin: 8px 0 10px;
    font-size: 12px;
}

.tk-footer-count .tk-footer-count__number {
    display: block;
    color: var(--tk-fw-accent);
    font-size: clamp(42px, 5vw, 62px);
    font-weight: 600;
    letter-spacing: -.055em;
    line-height: 1.15;
    margin: 18px 0 2px;
}

.tk-footer-count .tk-footer-count__label {
    display: block;
    color: var(--tk-fw-ink);
    font-weight: 500;
    margin-bottom: 18px;
}

.tk-footer-subscribe {
    display: grid;
    gap: 12px;
    margin: 0;
}

.tk-footer-email-label {
    font-size: 12px;
    color: var(--tk-fw-muted);
    margin-bottom: -6px;
}

.tk-footer-subscribe input[type="email"] {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    border: 1px solid var(--tk-footer-line, #e6eaf1);
    border-radius: 12px;
    padding: 11px 14px;
    color: var(--tk-fw-ink);
    background: var(--tk-footer-surface, #fff);
    font: inherit;
}

.tk-footer-subscribe input::placeholder {
    color: var(--tk-fw-muted);
    opacity: 1;
}

.tk-footer-subscribe .tk-footer-consent {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    color: var(--tk-fw-muted);
    cursor: pointer;
    font-size: 11px;
    line-height: 1.65;
}

.tk-footer-subscribe .tk-footer-consent input {
    appearance: auto;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: #006887;
}

.tk-footer-subscribe a.tk-footer-privacy {
    color: var(--tk-fw-muted);
    font-size: 11px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tk-footer-subscribe .tk-footer-button {
    width: 100%;
}

.tk-footer-subscribe p.tk-footer-subscribe-status {
    background: #e7f7ed;
    color: #155d35;
    border-radius: 10px;
    font-size: 12px;
    margin: 0;
    padding: 12px;
}

.tk-footer-subscribe p.tk-footer-subscribe-status.is-error {
    background: #ffedef;
    color: #962132;
}

.tk-footer-subscribe-status[hidden] {
    display: none;
}

.tk-footer-card--blue input[type="email"],
.tk-footer-card--dark input[type="email"] {
    color: #172033;
    background: #fff;
}

.tk-footer-card--blue input::placeholder,
.tk-footer-card--dark input::placeholder {
    color: #59677e;
}

.tk-footer :is(a, button, input):focus-visible,
.tk-footer-card :is(a, button, input):focus-visible {
    outline: 3px solid var(--tk-fw-accent, var(--tk-footer-accent, #006887));
    outline-offset: 4px;
}

button.tk-footer-back-top {
    background: var(--tk-footer-light-accent, #006887);
    border: 0;
    border-radius: 12px;
    padding: 0;
    color: #fff;
    cursor: pointer;
}

body.dark button.tk-footer-back-top {
    background: var(--tk-footer-dark-accent, #80c9db);
    color: #0e2028;
}

button.tk-footer-back-top:not(.reveal) {
    visibility: hidden;
    pointer-events: none;
}

button.tk-footer-back-top:focus-visible {
    outline: 3px solid var(--tk-footer-light-accent, #006887);
    outline-offset: 4px;
}

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

.tk-footer-callout.tk-footer-callout--banner {
    flex-wrap: wrap;
}

}
@media (max-width: 767px) {.tk-footer .tk-footer-shell {
    padding: 0 20px;
}

.tk-footer .tk-footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
}

.tk-footer .tk-footer-extras {
    grid-template-columns: minmax(0, 1fr);
}

.tk-footer .tk-footer-top {
    margin-bottom: 32px;
}

.tk-footer-callout.tk-footer-callout--banner {
    padding: min(var(--tk-fw-padding, 22px), 24px);
    gap: 22px;
}

.tk-footer-callout--banner .tk-footer-callout__copy {
    flex-basis: 100%;
}

.tk-footer-callout--banner .tk-footer-actions {
    width: 100%;
}

.tk-footer-callout--banner .tk-footer-button {
    flex: 1 1 160px;
}

.tk-footer .tk-footer-bottom-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.tk-footer .tk-footer-bottom-menu {
    justify-content: flex-start;
    gap: 6px 16px;
}

.tk-footer .widget nav a,
.tk-footer .widget_nav_menu a {
    min-height: 44px;
}

}
@media (prefers-reduced-motion: reduce) {.tk-footer-card .tk-footer-button {
    transition: none;
    transform: none;
}

}
@media print {footer.tk-footer,
button.tk-footer-back-top {
    display: none;
}

}
/* Defaults follow the new palette; widget-selected colors still take precedence. */
.tk-footer .tk-footer-card--soft {
    background: var(--tk-footer-surface, #edf3f5);
    border-top: 3px solid #9ED14B;
}

