/**
 * Sablona 2026-005 Technik - paticky (komponenta paticka, ANALYZA kap. 2.15, artboard 08).
 * B Kompaktni = vlastni komponenty/paticka-b.latte (radky odkazu s nadpisem, trust lista na bilem pruhu 72 px,
 * copyright + jazyk / mena); A, C, D = jadrove Latte ve skinu Technika. Barvy jen z tokenu --tpl-footer-*.
 */
div#bottom {
    margin-top: var(--tpl-section-gap);
    background: var(--tpl-footer-bg);
    color: var(--tpl-footer-text);
    font-family: var(--tpl-font);
    font-size: 14px;
}
div#bottom a { color: var(--tpl-footer-link); }
div#bottom a:hover { color: var(--tpl-footer-link); text-decoration: underline; }
div#in_bottom { width: 100%; max-width: none; margin: 0; padding: 0; }
#copyright, div#copyright { display: none; }

/* --- spolecne prvky jadra (odznaky plateb / doprav, socialni site, copyright) --- */
.tpl-foot-pay,
.tpl-foot-del { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tpl-foot-strip-label { font-size: 12px; font-weight: 700; color: var(--tpl-text-light); text-transform: uppercase; letter-spacing: .04em; }
.tpl-foot-items { display: contents; }
.tpl-foot-badge,
.tk-tl {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--tpl-border);
    border-radius: 6px;
    background: var(--tpl-surface);
    color: var(--tpl-text);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.tpl-foot-pay .tpl-ico { width: 36px; height: 24px; color: var(--tpl-text); }
.tpl-foot-social { display: flex; gap: 8px; margin-left: auto; }
.tpl-foot-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--tpl-border); border-radius: 50%; background: var(--tpl-surface); }
.tpl-foot-social .tpl-ico { width: 16px; height: 16px; color: var(--tpl-text); }
.copyright_podpis { font-size: 13px; color: var(--tpl-footer-muted); }
#bottom .copyright_podpis a { color: var(--tpl-footer-muted); }

/* ================= B – Kompaktni (Technik) ================= */
.tk-foot-odkazy { display: flex; flex-direction: column; gap: 12px; padding-top: 28px; padding-bottom: 24px; }
.tk-foot-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; margin: 0; }
details.tk-foot-row { display: block; }
details.tk-foot-row > summary { list-style: none; }
details.tk-foot-row > summary::-webkit-details-marker { display: none; }
@media (min-width: 769px) {
    details.tk-foot-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; }
    details.tk-foot-row > summary { cursor: default; }
    details.tk-foot-row > summary .tk-ico { display: none; }
}
.tk-foot-h { display: inline-flex; align-items: center; width: 120px; flex: none; font-weight: 700; color: var(--tpl-footer-heading); }
.tk-foot-r { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; min-width: 0; flex: 1 1 0; }
.tk-foot-r a,
.tk-foot-r span { color: var(--tpl-footer-text); }
.tk-foot-r .ramec_top,
.tk-foot-r--modul .ramec_top,
.tk-foot-r--modul h2,
.tk-foot-r--modul h3 { display: none; }
.tk-foot-r .ramec_body,
.tk-foot-r ul,
.tk-foot-r li,
.tk-foot-r p,
.tk-foot-r--modul > div { display: contents; }
.tk-foot-tel { font-weight: 700; }
.tk-foot-trust { background: var(--tpl-surface); border-top: 1px solid var(--tpl-footer-border); border-bottom: 1px solid var(--tpl-footer-border); }
.tk-foot-trust-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; min-height: 72px; padding-top: 12px; padding-bottom: 12px; }
.tk-foot-trust .tpl-foot-strip-label { display: none; }
#bottom .tk-tl { color: var(--tpl-text); }
#bottom .tk-tl:hover { border-color: var(--tpl-primary); text-decoration: none; }
.tk-foot-copy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 56px; padding-top: 8px; padding-bottom: 8px; }
.tk-foot-lm { display: flex; gap: 4px; }
.tk-foot-lm .tk-dd-tl { color: var(--tpl-footer-text); }
.tk-foot-lm .tk-dd-panel { top: auto; bottom: 36px; }

@media (max-width: 768px) {
    .tk-foot-odkazy { gap: 0; padding-top: 8px; padding-bottom: 8px; }
    details.tk-foot-row { border-bottom: 1px solid var(--tpl-footer-border); }
    details.tk-foot-row > summary.tk-foot-h { display: flex; justify-content: space-between; width: 100%; min-height: 48px; cursor: pointer; }
    details.tk-foot-row[open] > summary .tk-ico { transform: rotate(180deg); }
    details.tk-foot-row .tk-foot-r { flex-direction: column; gap: 0; padding-bottom: 8px; }
    details.tk-foot-row .tk-foot-r a { display: flex; align-items: center; min-height: 44px; }
    .tk-foot-row--kontakt { flex-direction: column; gap: 4px; padding: 14px 0; font-size: 15px; }
    .tk-foot-row--kontakt .tk-foot-h { width: auto; }
    .tk-foot-row--kontakt .tk-foot-r { gap: 4px 12px; }
    .tk-foot-trust-in { gap: 8px; }
    .tk-foot-copy { font-size: 12px; }
    .tk-foot-lm .tk-dd-tl { height: 44px; }
}

/* ================= A, C, D – skin jadrovych paticek ================= */
#in_bottom > .tpl-foot:not(.tk-foot) {
    max-width: calc(var(--tpl-max-width) + 2 * var(--tpl-gutter));
    margin: 0 auto;
    padding: 28px var(--tpl-gutter) 16px;
    background: none;
    color: var(--tpl-footer-text);
}
#in_bottom > .tpl-foot--d { padding-top: 16px; }
.tpl-foot .tpl-foot-h,
.tpl-foot .ramec_top,
.tpl-foot h3 { font: 700 14px/1.3 var(--tpl-font); color: var(--tpl-footer-heading); margin: 0 0 8px; }
.tpl-foot .tpl-foot-brand { font: 600 18px/1.2 var(--tpl-font-head); color: var(--tpl-footer-heading); }
.tpl-foot--c .tpl-foot-c-news { background: var(--tpl-primary-fill); color: var(--tpl-primary-fill-text); border-radius: var(--tpl-area-radius); }
.tpl-foot-news-form input[type="email"] { min-height: 40px; padding: 0 12px; border: 1px solid var(--tpl-border); border-radius: var(--tpl-input-radius); background: var(--tpl-surface); color: var(--tpl-text); font: 400 15px/1 var(--tpl-font); }
.tpl-foot-news-form button { min-height: 40px; padding: 0 16px; border: 1px solid var(--tpl-primary-fill); border-radius: var(--tpl-radius); background: var(--tpl-primary-fill); color: var(--tpl-primary-fill-text); font: 600 14px/1 var(--tpl-font); cursor: pointer; }
.tpl-foot--c .tpl-foot-news-form button { background: var(--tpl-surface); color: var(--tpl-text); border-color: var(--tpl-surface); }
.tpl-foot-bottom { border-top: 1px solid var(--tpl-footer-border); }
.tk-foot .tpl-foot-bottom.tk-foot-copy { border-top: 0; }

/* ================= A – Sloupce: rozvržení (jádro ho nemá, je jen v 2026-001/css/paticka.css – nález J-T25) ================= */
.tpl-foot > .tpl-foot-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 0 0 20px; padding: 0 0 16px; border-bottom: 1px solid var(--tpl-footer-border); }
.tpl-foot > .tpl-foot-head .tpl-foot-tag { font-size: 14px; color: var(--tpl-footer-text); }
.tpl-foot > .tpl-foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1.2fr); gap: 24px 40px; align-items: start; }
.tpl-foot-grid .tpl-foot-contact { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.tpl-foot-grid .tpl-foot-contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--tpl-footer-link, var(--tpl-footer-text)); font-weight: 600; text-decoration: none; }
.tpl-foot-grid .tpl-foot-contact .tpl-ico { width: 16px; height: 16px; }
.tpl-foot-grid .tpl-foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px 32px; }
.tpl-foot-cols .tpl-foot-col-pravni,
.tpl-foot-cols .ramec_body { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.tpl-foot-cols .ramec_body ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.tpl-foot-cols a { color: var(--tpl-footer-link, var(--tpl-footer-text)); text-decoration: none; }
.tpl-foot-cols a:hover,
.tpl-foot-grid .tpl-foot-contact a:hover { color: var(--tpl-footer-link-hover, var(--tpl-link)); text-decoration: underline; }
.tpl-foot-grid .tpl-foot-news-h { margin: 0 0 8px; font: 700 14px/1.3 var(--tpl-font); color: var(--tpl-footer-heading); }
.tpl-foot-grid .tpl-foot-news-form { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-foot-grid .tpl-foot-news-form input[type="email"] { flex: 1 1 160px; min-width: 0; }
.tpl-foot-grid .tpl-foot-news-form p,
.tpl-foot-grid .tpl-foot-news-form small { flex-basis: 100%; margin: 0; font-size: 12px; color: var(--tpl-footer-text); }
.tpl-foot > .tpl-foot-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 24px 0 0; padding: 16px 0; border-top: 1px solid var(--tpl-footer-border); }
.tpl-foot > .tpl-foot-strip .tpl-foot-social { order: 2; }
.tpl-foot > .tpl-foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 0 0; font-size: 13px; }
@media (max-width: 1024px) {
    .tpl-foot > .tpl-foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .tpl-foot-grid .tpl-foot-news { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .tpl-foot > .tpl-foot-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .tpl-foot-cols a,
    .tpl-foot-grid .tpl-foot-contact a { display: inline-flex; align-items: center; min-height: 44px; }
    .tpl-foot-cols .tpl-foot-col-pravni,
    .tpl-foot-cols .ramec_body { gap: 0; }
}
