﻿/* Shared responsive layer. Desktop colors and content remain in the page styles. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; }
.dw-section, .dw-grid > *, .dw-flex-item, .dw-header > * { min-width: 0; }
p, li, h1, h2, h3, h4, label, a { overflow-wrap: break-word; word-wrap: break-word; }
.dw-hero-logo { height: auto !important; }
.dw-footer-links { flex-wrap: wrap; }
.dw-table-wrap { max-width: 100%; -webkit-overflow-scrolling: touch; }
input, textarea, select, button { font-family: inherit; }
input:not([type="checkbox"]):not([type="hidden"]), textarea, select { max-width: 100%; min-width: 0; width: 100%; }
button, a { -webkit-tap-highlight-color: rgba(30,107,255,.15); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid #1E6BFF; outline-offset: 4px; }
.dw-menu-toggle { display: none; background: #FFFFFF; color: #1B2230; border: 1px solid #B8C2D4; border-radius: 8px; font: 700 15px Manrope, Arial, sans-serif; padding: 10px 14px; min-height: 44px; cursor: pointer; }
[hidden] { display: none !important; }
#dw-cookie { max-height: 65vh; overflow-y: auto; }
#dw-cookie > div { min-width: 0; }

@media (max-width: 1024px) {
  .dw-section { padding-left: 32px !important; padding-right: 32px !important; }
  .dw-header { padding-left: 32px !important; padding-right: 32px !important; }
  .dw-navigation { gap: 20px !important; }
}

@media (max-width: 768px) {
  .dw-header { padding: 16px 20px !important; gap: 12px !important; }
  .dw-brand { flex: 1 1 0; }
  .dw-brand > img { width: 36px !important; height: 36px !important; flex-shrink: 0; }
  .dw-brand > span { font-size: 18px !important; line-height: 1.2; }
  .dw-menu-ready .dw-menu-toggle { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .dw-navigation { flex: 1 1 100%; width: 100%; display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px !important; align-items: stretch !important; padding-top: 8px; }
  .dw-menu-ready:not([data-menu-open="true"]) .dw-navigation { display: none !important; }
  .dw-navigation > a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: 8px; }
  .dw-navigation > a:last-child { grid-column: 1 / -1; justify-content: center; }
  .dw-flex-item { flex-basis: 100% !important; max-width: 100%; }
  .dw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .dw-footer-links { gap: 8px 16px !important; }
  .dw-footer-links > a { display: flex; align-items: center; min-height: 44px; }
  input:not([type="checkbox"]):not([type="hidden"]), textarea, select { font-size: 16px !important; }
  button[type="submit"] { min-height: 48px; }
  #dw-cookie { padding: 16px !important; gap: 16px !important; }
  #dw-cookie > div { flex-basis: 100% !important; }
  #dw-cookie button { min-height: 44px; }
}

@media (max-width: 600px) {
  .dw-section { padding: 44px 20px !important; }
  .dw-table-wrap { padding: 16px 20px !important; }
  .dw-card { padding: 24px 20px !important; }
  .dw-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 24px !important; }
  h1 { font-size: 34px !important; font-size: calc(28px + 2vw) !important; line-height: 1.15 !important; }
  h2 { font-size: 28px !important; line-height: 1.2 !important; }
  h3 { font-size: 24px !important; line-height: 1.25 !important; }
  h4 { line-height: 1.35 !important; }
  .dw-hero-logo { width: 240px !important; }
  .dw-section a[style*="border-radius: 8px"] { max-width: 100%; text-align: center; min-height: 44px; }
  .dw-section > span:first-child { width: 100%; }
  .dw-footer-links { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: 100%; }
  #dw-cookie > div:last-child { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px !important; }
  #dw-cookie button { padding: 10px !important; font-size: 14px !important; }
}
