/* Vlastní CSS webu soloreal – načítá se na všech stránkách (partials/head.html).
   Úpravy vzhledu webu patří sem, ne do stylů šablony ve wp-content/. */

/* Odkaz „Administrace“ v patičce + informační okno před přechodem na přihlášení (DaDaAdmin).
   Čisté CSS (:target), žádný skript: web sám nepracuje s přihlašovacími údaji. */
.dada-modal { display: none; position: fixed; inset: 0; z-index: 10000; align-items: center; justify-content: center; padding: 16px; }
.dada-modal:target { display: flex; }
.dada-modal__backdrop { position: absolute; inset: 0; background: rgba(17, 24, 39, .6); }
.dada-modal__box {
  position: relative; z-index: 1; max-width: 460px; width: 100%; background: #fff; color: #1f2937;
  border-radius: 12px; padding: 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); text-align: left;
  font-size: 15px; line-height: 1.5;
}
.dada-modal__box h2 { margin: 0 0 12px; font-size: 20px; line-height: 1.3; color: #111827; }
.dada-modal__box p, .dada-modal__box ul { margin: 0 0 12px; }
.dada-modal__box ul { padding-left: 20px; }
.dada-modal__box li { margin: 4px 0; list-style: disc; }
.dada-modal__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px !important; }
.dada-modal__go, .dada-modal__close {
  display: inline-block; padding: 10px 16px; border-radius: 8px; text-decoration: none !important; font-weight: 600;
}
.dada-modal__go { background: #1f2937; color: #fff !important; }
.dada-modal__go:hover, .dada-modal__go:focus { background: #374151; }
.dada-modal__close { border: 1px solid #d1d5db; color: #1f2937 !important; }
.dada-modal__close:hover, .dada-modal__close:focus { background: #f3f4f6; }

/* Lišta souhlasu s cookies (assets/consent.js). Rovnocenná tlačítka Přijmout / Odmítnout (GDPR). */
.dada-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; padding: 12px; display: flex; justify-content: center; pointer-events: none; }
.dada-consent__box {
  pointer-events: auto; width: 100%; max-width: 760px; background: #fff; color: #1f2937; border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .25); padding: 18px 20px; font-size: 14px; line-height: 1.5; text-align: left;
}
.dada-consent__box h2 { margin: 0 0 6px; font-size: 17px; line-height: 1.3; color: #111827; }
.dada-consent__box p { margin: 0 0 10px; }
.dada-consent__details { border-top: 1px solid #e5e7eb; margin: 6px 0 10px; }
.dada-consent__details[hidden] { display: none; }
.dada-consent__row { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #e5e7eb; cursor: default; }
.dada-consent__row p { margin: 2px 0 0; color: #4b5563; font-size: 13px; }
.dada-consent__row input { width: 20px; height: 20px; margin-top: 2px; flex: none; cursor: pointer; }
.dada-consent__always { flex: none; font-size: 12px; color: #6b7280; white-space: nowrap; }
.dada-consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dada-consent__btn {
  font: inherit; font-weight: 600; padding: 9px 16px; border-radius: 8px; cursor: pointer;
  border: 1px solid #1f2937; background: #1f2937; color: #fff;
}
.dada-consent__btn:hover, .dada-consent__btn:focus-visible { background: #374151; }
.dada-consent__btn--link { background: #fff; color: #1f2937; border-color: #d1d5db; }
.dada-consent__btn--link:hover, .dada-consent__btn--link:focus-visible { background: #f3f4f6; }
@media (max-width: 600px) { .dada-consent__actions .dada-consent__btn { flex: 1 1 100%; } }

/* Patička webu (partials/footer.html): kontakt, odkazy, GDPR, cookies, přístupnost, UpMe.cz, Administrace. */
.dada-footer {
  --df-bg: #141414; --df-accent: #CC0000; --df-accent-2: #ff5a5a; --df-text: #e7e7e7; --df-muted: #a8adb3; --df-line: rgba(255,255,255,.12);
  background: var(--df-bg); color: var(--df-text); font-size: 15px; line-height: 1.6; text-align: left;
  border-top: 4px solid var(--df-accent);
}
.dada-footer__inner { max-width: 1200px; margin: 0 auto; padding: 48px 24px 32px; display: grid; gap: 32px 40px; grid-template-columns: 1.4fr 1fr 0.8fr 1.2fr; }
.dada-footer__name { font-family: 'Playfair Display SC', serif; font-size: 26px; line-height: 1.2; color: #fff; margin: 0 0 12px; letter-spacing: .02em; }
.dada-footer__tagline { color: var(--df-muted); margin: 0; max-width: 32ch; }
.dada-footer .dada-footer__title {
  font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--df-accent-2); margin: 0 0 14px; padding: 0; border: 0; text-align: left; line-height: 1.4;
}
.dada-footer__address { font-style: normal; margin: 0 0 10px; }
.dada-footer__line { margin: 0 0 6px; }
.dada-footer__muted { color: var(--df-muted); }
.dada-footer a { color: var(--df-text); text-decoration: none; transition: color .15s ease; }
.dada-footer a:hover, .dada-footer a:focus-visible { color: var(--df-accent-2); text-decoration: underline; text-underline-offset: 3px; }
.dada-footer a:focus-visible { outline: 2px solid var(--df-accent-2); outline-offset: 2px; border-radius: 2px; }
.dada-footer__tel { font-size: 1.15em; font-weight: 700; color: #fff !important; }
.dada-footer__more { color: var(--df-accent-2) !important; font-weight: 600; }
.dada-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dada-footer__links li { list-style: none; margin: 0; padding: 0; }
.dada-footer__links li::before { content: none; display: none; }
.dada-footer__bottom { border-top: 1px solid var(--df-line); }
.dada-footer__inner--bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: 16px; font-size: 13px; color: var(--df-muted); }
.dada-footer__inner--bottom p { margin: 0; }
.dada-footer__inner--bottom a { color: var(--df-text); font-weight: 600; }
@media (max-width: 960px) { .dada-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dada-footer__inner { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; } }

/* Stránky Ochrana osobních údajů a Prohlášení o přístupnosti */
.dada-legal { text-align: left; }
.dada-legal h2 { margin-top: 1.6em; }
.dada-legal h3 { margin-top: 1.2em; }
.dada-legal code { font-size: .9em; background: rgba(0,0,0,.06); padding: 1px 4px; border-radius: 4px; }
