/* ============================================================
   shared-layout.css
   Canonical header + footer CSS — mirrors index.html exactly.
   Linked AFTER inline <style> in all article pages.
   ============================================================ */

/* ===== HEADER LAYOUT — vertical centering ===== */
header {
  height: var(--header, 72px) !important;
  box-sizing: border-box !important;
}
header .container {
  height: 100% !important;
}
header .header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  height: 100% !important;
  padding: 0 !important;
}

/* ===== HEADER LOGO ===== */
header .header .logo {
  background: none !important;
  text-indent: 0 !important;
  overflow: visible !important;
  font-family: var(--f-logo, 'HelveticaLT93', 'Arial Black', sans-serif) !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  letter-spacing: 3px !important;
  line-height: 1 !important;
  text-transform: lowercase !important;
  color: var(--ink, #3d2820) !important;
  display: flex !important;
  align-items: center !important;
  width: auto !important;
  height: auto !important;
  text-decoration: none !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== MENU BUTTON ===== */
header .header .menu {
  background: none !important;
  text-indent: 0 !important;
  overflow: visible !important;
  font-size: 0 !important;
  width: 28px !important;
  height: 22px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: stretch !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}
header .header .menu span {
  display: block !important;
  height: 2px !important;
  width: 100% !important;
  background: var(--ink, #3d2820) !important;
}

/* ===== FOOTER ===== */
footer {
  background: var(--ink, #3d2820);
  color: var(--camel, #d9a87c);
  padding: 56px 60px 36px;
}
.footer-top {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 40px; margin-bottom: 48px;
  border-bottom: 1px solid rgba(217,168,124,0.18);
}
.footer-logo {
  font-family: var(--f-logo) !important; font-size: 40px !important; font-weight: 900 !important;
  letter-spacing: 4px !important; text-transform: lowercase !important;
  color: var(--camel, #d9a87c) !important; opacity: 0.75 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.footer-tagline {
  font-family: var(--f-serif); font-style: italic; font-size: 16px;
  color: rgba(217,168,124,0.45); letter-spacing: 1px;
}
.footer-cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-col-label {
  font-family: var(--f-tagline); font-size: 11px; font-weight: 400;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--mocha, #c9784f); margin-bottom: 18px;
}
.footer-col-nav a {
  display: block; font-family: var(--f-tagline); font-size: 13px;
  font-weight: 300; letter-spacing: 0.5px;
  color: rgba(217,168,124,0.65); text-decoration: none;
  padding: 5px 0; transition: color 0.2s;
}
.footer-col-nav a:hover { color: var(--cream, #fdf8f0); }
.footer-branch-item { margin-bottom: 18px; }
.footer-branch-name {
  font-family: var(--f-serif) !important; font-size: 14px !important; font-weight: 400 !important;
  color: rgba(217,168,124,0.8) !important; letter-spacing: 1px !important;
  display: block !important; margin-bottom: 2px !important;
}
.footer-branch-phone {
  font-family: var(--f-tagline) !important; font-size: 12px !important; font-weight: 300 !important;
  color: rgba(217,168,124,0.45) !important; letter-spacing: 0.5px !important;
}
.footer-social-link {
  display: flex !important; align-items: center; gap: 10px;
  font-family: var(--f-tagline) !important; font-size: 13px !important; font-weight: 300 !important;
  color: rgba(217,168,124,0.65) !important; text-decoration: none;
  padding: 5px 0; letter-spacing: 0.5px; transition: color 0.2s;
}
.footer-social-link:hover { color: var(--cream, #fdf8f0) !important; }
.footer-social-link::before {
  content: ''; display: block; width: 18px; height: 1px;
  background: currentColor; opacity: 0.5;
}
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(217,168,124,0.14);
  padding-top: 24px; font-family: var(--f-tagline);
  font-size: 11px; font-weight: 300;
  color: rgba(217,168,124,0.38); letter-spacing: 1.5px;
}
.footer-lang { display: flex; align-items: center; gap: 6px; }
.footer-lang-btn {
  display: inline-flex !important; align-items: center;
  padding: 3px 10px; border-radius: 999px;
  border: 1px solid rgba(217,168,124,0.25);
  background: none; cursor: pointer;
  font-family: var(--f-sans) !important;
  font-size: 10px !important; font-weight: 400 !important;
  letter-spacing: 0.12em !important;
  color: rgba(217,168,124,0.5) !important;
  text-transform: uppercase; white-space: nowrap;
  transition: border-color 0.2s, color 0.2s !important;
  line-height: 1.6 !important;
}
.footer-lang-btn:hover,
.footer-lang-btn.active {
  border-color: rgba(217,168,124,0.65) !important;
  color: var(--camel, #d9a87c) !important;
}
.footer-pill {
  display: inline-flex !important; align-items: center; justify-content: center;
  padding: 4px 16px !important; border-radius: 999px;
  border: 1px solid rgba(217,168,124,0.28);
  font-family: var(--f-sans) !important;
  font-size: 9px !important; font-weight: 400 !important;
  letter-spacing: 0.12em !important;
  color: rgba(217,168,124,0.5) !important;
  text-transform: uppercase; white-space: nowrap; text-decoration: none !important;
  transition: border-color 0.2s, color 0.2s !important;
  line-height: 1.6 !important;
}
.footer-pill:hover {
  border-color: rgba(217,168,124,0.7) !important;
  color: var(--camel, #d9a87c) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 899px) {
  footer { padding: 48px 32px 28px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-top { flex-direction: column; gap: 6px; }
}
@media (max-width: 599px) {
  footer { padding: 48px 24px 28px; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; font-size: 10px; }
}
