/*
Theme Name: Sit&Shower
Theme URI: https://skyads.pl/
Author: Remigiusz Jóźwiak
Description: Profesjonalny motyw WordPress 1:1 z edycją sekcji w panelu, media pickerem i WYSIWYG.
Version: 1.0.0
Text Domain: sitshower
*/

body { margin: 0; }

.skyads-panel details {
  margin: 12px 0;
  border: 1px solid #dcdcde;
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
}
.skyads-panel summary {
  cursor: pointer;
  font-weight: 600;
  padding: 6px 0;
}
.skyads-panel-row { margin: 12px 0 16px; }
.skyads-panel-row label { display:block; font-weight:600; margin-bottom:6px; }
.skyads-panel-inline { display:flex; gap:8px; align-items:center; }
.skyads-panel-inline input[type="text"] { flex:1; }


.skyads-language-switcher { display:flex; gap:8px; align-items:center; }
.skyads-language-link { text-decoration:none; font-weight:600; }
.skyads-language-link.is-active { text-decoration:underline; }
.mobile-language-switcher { padding:20px 24px 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: clip;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

@media (max-width: 720px) {
  :root {
    --skyads-mobile-base-font: 15px;
    --skyads-mobile-title-font: clamp(1.9rem, 7.2vw, 2.35rem);
    --skyads-mobile-heading-font: clamp(1.7rem, 6.2vw, 2.15rem);
    --skyads-mobile-card-font: clamp(1.18rem, 4.9vw, 1.45rem);
    --skyads-mobile-text-font: clamp(0.95rem, 3.7vw, 1.02rem);
    --skyads-mobile-ui-kicker-font: clamp(0.78rem, 2.8vw, 0.92rem);
    --skyads-mobile-button-font: clamp(0.7rem, 2.9vw, 0.82rem);
  }

  html {
    font-size: var(--skyads-mobile-base-font);
  }

  body :where(.hero-copy, .content-stack, .section-copy, .static-story-content, .story-card, .page-card, .company-card, .financing-card, .contact-card, .contact-form-card) {
    min-width: 0;
    max-width: 100%;
  }

  body :where(h1, .hero h1, .page-title, .ui-title) {
    font-size: var(--skyads-mobile-title-font) !important;
    line-height: 1.08 !important;
    letter-spacing: clamp(0.4px, 0.24vw, 1.2px) !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  body :where(h2, .section-title, .company-title, .contact-title) {
    font-size: var(--skyads-mobile-heading-font) !important;
    line-height: 1.12 !important;
    letter-spacing: clamp(0.35px, 0.18vw, 1px) !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  body :where(h3, .section-subtitle, .card-title, .story-title) {
    font-size: var(--skyads-mobile-card-font) !important;
    line-height: 1.2 !important;
    letter-spacing: clamp(0.25px, 0.12vw, 0.8px) !important;
    overflow-wrap: anywhere;
  }

  body :where(p, li, .hero-subtitle, .hero-text, .ui-text, .page-subtitle, .company-copy, .contact-copy) {
    font-size: var(--skyads-mobile-text-font) !important;
    line-height: 1.6 !important;
    overflow-wrap: anywhere;
  }

  body :where(.ui-kicker, .eyebrow) {
    font-size: clamp(0.66rem, 2.45vw, 0.82rem) !important;
    line-height: 1.28 !important;
    letter-spacing: clamp(0.45px, 0.22vw, 1.1px) !important;
    max-width: 100%;
    width: fit-content;
    min-width: 0;
    padding: clamp(7px, 1.8vw, 10px) clamp(10px, 2.8vw, 14px) !important;
    gap: clamp(6px, 1.8vw, 10px) !important;
    flex-wrap: nowrap;
    row-gap: 0;
    overflow-wrap: anywhere;
  }

  body :where(.eyebrow-dot) {
    width: clamp(6px, 1.7vw, 8px) !important;
    height: clamp(6px, 1.7vw, 8px) !important;
    flex: 0 0 auto;
  }

  body :where(.btn, .watch-text, .ghost-link, .tag, .pill, .badge) {
    font-size: clamp(0.64rem, 2.35vw, 0.8rem) !important;
    letter-spacing: clamp(0.2px, 0.14vw, 0.7px) !important;
  }

  body :where(.story-footer) {
    align-items: stretch !important;
  }

  body :where(.story-footer .tag, .story-footer .pill, .tag, .pill, .badge) {
    white-space: normal !important;
    text-align: center;
    line-height: 1.15 !important;
    min-height: 44px;
    height: 100%;
    padding: 8px 10px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible !important;
    text-overflow: unset !important;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    text-wrap: balance;
  }
}

@media (max-width: 420px) {
  body :where(.ui-kicker, .eyebrow) {
    font-size: clamp(0.58rem, 2.15vw, 0.72rem) !important;
    line-height: 1.22 !important;
    letter-spacing: clamp(0.3px, 0.16vw, 0.7px) !important;
    padding: 7px 10px !important;
    gap: 6px !important;
  }

  body :where(.btn, .watch-text, .ghost-link, .tag, .pill, .badge) {
    font-size: clamp(0.58rem, 2.1vw, 0.72rem) !important;
    letter-spacing: 0.2px !important;
  }

  body :where(.story-footer .tag, .story-footer .pill, .tag, .pill, .badge) {
    min-height: 40px;
    padding: 6px 8px !important;
    line-height: 1.1 !important;
  }
}



@media (max-width: 720px) {
  body :where(.eyebrow) {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-width: 0;
    width: fit-content;
    white-space: normal;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
    text-wrap: balance;
  }

  body :where(.story-footer, .device-pills) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  body :where(.story-footer .tag, .story-footer .pill, .device-pills .pill) {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    hyphens: none !important;
    text-wrap: balance;
    line-height: 1.18 !important;
    min-height: 42px !important;
    padding: 7px 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: clamp(0.58rem, 2vw, 0.72rem) !important;
  }

  body :where(.story-footer > :nth-child(3):last-child, .device-pills > :nth-child(3):last-child) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 5px);
  }
}

@media (max-width: 420px) {
  body :where(.eyebrow) {
    font-size: clamp(0.54rem, 1.95vw, 0.66rem) !important;
    letter-spacing: 0.22px !important;
    line-height: 1.18 !important;
    padding: 6px 9px !important;
    gap: 5px !important;
  }

  body :where(.story-footer, .device-pills) {
    gap: 8px !important;
  }

  body :where(.story-footer .tag, .story-footer .pill, .device-pills .pill) {
    font-size: clamp(0.52rem, 1.8vw, 0.64rem) !important;
    line-height: 1.14 !important;
    min-height: 38px !important;
    padding: 6px 8px !important;
  }

  body :where(.story-footer > :nth-child(3):last-child, .device-pills > :nth-child(3):last-child) {
    width: calc(50% - 4px);
  }
}
