/* ===========================================
   STUDIMO V4 — Info Pages Styling
   Pages: délka náhrdelníku, materiály, doprava,
          reklamace, obchodní podmínky
   Fonts: Marcellus + Montserrat
   =========================================== */

/* ── Page wrapper — full bleed cream bg ── */
body.studimo-info-page #content {
  background: #FFF8F0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.studimo-info-page .content-inner {
  background: #FFF8F0 !important;
  padding: 0 !important;
  max-width: none !important;
  overflow: visible !important;
}

body.studimo-info-page article.pageArticleDetail {
  padding: 0 !important;
  max-width: none !important;
  overflow: visible !important;
  background: #FFF8F0 !important;
}

/* ── Page title (h1) — hero style ── */
body.studimo-info-page article.pageArticleDetail > header {
  background: linear-gradient(135deg, #F3CDC4 0%, #F0D8C8 30%, #E8D5C4 60%, #FFF8F0 100%) !important;
  padding: 72px 24px 56px !important;
  margin: 0 !important;
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  margin-left: -50vw !important;
  text-align: center !important;
}

body.studimo-info-page article.pageArticleDetail > header h1 {
  font-family: 'Marcellus', serif !important;
  font-size: 38px !important;
  font-weight: 400 !important;
  color: #5C4A3A !important;
  line-height: 1.2 !important;
  margin: 0 auto !important;
  max-width: 800px !important;
}

/* ── Content container ── */
body.studimo-info-page [itemprop="about"] {
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 48px 24px 72px !important;
}

/* ── Pobo title widget ── */
body.studimo-info-page .rc-title-line__title {
  font-family: 'Marcellus', serif !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  color: #9A7236 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

body.studimo-info-page .widget-title-line {
  margin: 48px 0 32px !important;
  padding: 0 !important;
}

body.studimo-info-page .widget-title-line:first-child {
  margin-top: 0 !important;
}

body.studimo-info-page .rc-title-line,
body.studimo-info-page .rc-title-line__wrap {
  padding: 0 !important;
  margin: 0 !important;
}

/* ── Pobo title line — gold accent ── */
body.studimo-info-page .rc-title-line__wrap::after {
  content: '' !important;
  display: block !important;
  width: 50px !important;
  height: 1px !important;
  background: #9A7236 !important;
  opacity: 0.3 !important;
  margin: 16px auto 0 !important;
}

/* ── Text widget (standalone text blocks) ── */
body.studimo-info-page .widget-text {
  margin: 0 0 32px !important;
}

body.studimo-info-page .widget-typography .empty h2 {
  font-family: 'Marcellus', serif !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  color: #5C4A3A !important;
  line-height: 1.4 !important;
  margin: 0 0 16px 0 !important;
}

body.studimo-info-page .widget-typography .empty h3 {
  font-family: 'Marcellus', serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  color: #5C4A3A !important;
  line-height: 1.4 !important;
  margin: 0 0 12px 0 !important;
}

body.studimo-info-page .widget-typography .empty p {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  color: rgba(61,46,31,0.7) !important;
  line-height: 1.8 !important;
  margin: 0 0 12px 0 !important;
}

body.studimo-info-page .widget-typography .empty ul {
  padding-left: 20px !important;
  margin: 0 0 16px 0 !important;
}

body.studimo-info-page .widget-typography .empty li {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  color: rgba(61,46,31,0.7) !important;
  line-height: 1.8 !important;
  margin-bottom: 4px !important;
}

body.studimo-info-page .widget-typography .empty strong {
  font-weight: 600 !important;
  color: #5C4A3A !important;
}

/* ── Image + text layouts (left, right, half-left) ── */
body.studimo-info-page .widget-image-left,
body.studimo-info-page .widget-image-right,
body.studimo-info-page .widget-image-half-left {
  margin: 0 0 40px !important;
}

/* Image containers — layout */
body.studimo-info-page .rc-image-left,
body.studimo-info-page .rc-image-right,
body.studimo-info-page .rc-image-half-left {
  display: flex !important;
  align-items: flex-start !important;
  gap: 48px !important;
}

body.studimo-info-page .rc-image-right {
  flex-direction: row-reverse !important;
}

/* Images — rounded, soft shadow */
body.studimo-info-page .rc-image-left__img,
body.studimo-info-page .rc-image-right__img,
body.studimo-info-page .rc-image-half-left__img {
  border-radius: 12px !important;
  box-shadow: 0 4px 24px rgba(61,46,31,0.08) !important;
  max-width: 100% !important;
  height: auto !important;
}

body.studimo-info-page .rc-image-left__image,
body.studimo-info-page .rc-image-right__image,
body.studimo-info-page .rc-image-half-left__image {
  flex: 0 0 340px !important;
  max-width: 340px !important;
}

/* Text side */
body.studimo-info-page .rc-image-left__text,
body.studimo-info-page .rc-image-right__text,
body.studimo-info-page .rc-image-half-left__text {
  flex: 1 !important;
}

body.studimo-info-page .rc-image-left__text h2,
body.studimo-info-page .rc-image-right__text h2,
body.studimo-info-page .rc-image-half-left__text h2 {
  font-family: 'Marcellus', serif !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  color: #5C4A3A !important;
  line-height: 1.3 !important;
  margin: 0 0 16px 0 !important;
}

body.studimo-info-page .rc-image-left__text h3,
body.studimo-info-page .rc-image-right__text h3,
body.studimo-info-page .rc-image-half-left__text h3 {
  font-family: 'Marcellus', serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #9A7236 !important;
  line-height: 1.3 !important;
  margin: 20px 0 8px 0 !important;
}

body.studimo-info-page .rc-image-left__text p,
body.studimo-info-page .rc-image-right__text p,
body.studimo-info-page .rc-image-half-left__text p {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  color: rgba(61,46,31,0.7) !important;
  line-height: 1.8 !important;
  margin: 0 0 12px 0 !important;
}

body.studimo-info-page .rc-image-left__text strong,
body.studimo-info-page .rc-image-right__text strong,
body.studimo-info-page .rc-image-half-left__text strong {
  font-weight: 600 !important;
  color: #5C4A3A !important;
}

body.studimo-info-page .rc-image-left__text ul,
body.studimo-info-page .rc-image-right__text ul,
body.studimo-info-page .rc-image-half-left__text ul {
  padding-left: 20px !important;
  margin: 0 0 16px 0 !important;
}

body.studimo-info-page .rc-image-left__text li,
body.studimo-info-page .rc-image-right__text li,
body.studimo-info-page .rc-image-half-left__text li {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  color: rgba(61,46,31,0.7) !important;
  line-height: 1.8 !important;
  margin-bottom: 6px !important;
}

body.studimo-info-page .rc-image-left__text li strong,
body.studimo-info-page .rc-image-right__text li strong,
body.studimo-info-page .rc-image-half-left__text li strong {
  font-weight: 600 !important;
  color: #5C4A3A !important;
}

/* Links — gold with hover */
body.studimo-info-page .rc-image-left__text a,
body.studimo-info-page .rc-image-right__text a,
body.studimo-info-page .rc-image-half-left__text a,
body.studimo-info-page .widget-typography .empty a {
  color: #9A7236 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  border-bottom: 1px solid rgba(154,114,54,0.3) !important;
  transition: border-color 0.2s ease !important;
}

body.studimo-info-page .rc-image-left__text a:hover,
body.studimo-info-page .rc-image-right__text a:hover,
body.studimo-info-page .rc-image-half-left__text a:hover,
body.studimo-info-page .widget-typography .empty a:hover {
  border-color: #9A7236 !important;
}

/* ── Obchodní podmínky — plain HTML (no Pobo) ── */
body.studimo-info-page [itemprop="about"] > header {
  display: none !important;
}

body.studimo-info-page [itemprop="about"] > h1,
body.studimo-info-page [itemprop="about"] > div > h1 {
  font-family: 'Marcellus', serif !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  color: #9A7236 !important;
  margin: 40px 0 16px 0 !important;
}

body.studimo-info-page [itemprop="about"] h3 {
  font-family: 'Marcellus', serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #5C4A3A !important;
  line-height: 1.4 !important;
  margin: 32px 0 12px 0 !important;
}

body.studimo-info-page [itemprop="about"] > p,
body.studimo-info-page [itemprop="about"] > div > p,
body.studimo-info-page [itemprop="about"] [itemprop="about"] > p {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  color: rgba(61,46,31,0.7) !important;
  line-height: 1.8 !important;
  margin: 0 0 8px 0 !important;
}

body.studimo-info-page [itemprop="about"] strong {
  font-weight: 600 !important;
  color: rgba(61,46,31,0.85) !important;
}

body.studimo-info-page [itemprop="about"] a {
  color: #9A7236 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(154,114,54,0.3) !important;
}

body.studimo-info-page [itemprop="about"] a:hover {
  border-color: #9A7236 !important;
}

/* ── Gradient divider between sections ── */
body.studimo-info-page .studimo-info-divider {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(154,114,54,0.15) 50%, transparent 90%);
  margin-top: 8px;
  margin-bottom: 8px;
}

/* ── Alternating section background ── */
body.studimo-info-page .studimo-info-alt-bg {
  background: rgba(243,205,196,0.08) !important;
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  margin-left: -50vw !important;
  padding: 40px calc(50vw - 550px + 24px) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ── Responsive — tablet ── */
@media (max-width: 991px) {
  body.studimo-info-page article.pageArticleDetail > header {
    padding: 56px 24px 44px !important;
  }

  body.studimo-info-page article.pageArticleDetail > header h1 {
    font-size: 32px !important;
  }

  body.studimo-info-page .rc-title-line__title {
    font-size: 24px !important;
  }

  body.studimo-info-page .rc-image-left__image,
  body.studimo-info-page .rc-image-right__image,
  body.studimo-info-page .rc-image-half-left__image {
    flex: 0 0 260px !important;
    max-width: 260px !important;
  }
}

/* ── Responsive — mobile ── */
@media (max-width: 767px) {
  body.studimo-info-page article.pageArticleDetail > header {
    padding: 40px 16px 32px !important;
  }

  body.studimo-info-page article.pageArticleDetail > header h1 {
    font-size: 26px !important;
  }

  body.studimo-info-page [itemprop="about"] {
    padding: 32px 16px 56px !important;
  }

  body.studimo-info-page .rc-title-line__title {
    font-size: 22px !important;
  }

  body.studimo-info-page .widget-title-line {
    margin: 32px 0 20px !important;
  }

  /* Stack image+text layouts vertically */
  body.studimo-info-page .rc-image-left,
  body.studimo-info-page .rc-image-right,
  body.studimo-info-page .rc-image-half-left {
    flex-direction: column !important;
    gap: 24px !important;
  }

  body.studimo-info-page .rc-image-left__image,
  body.studimo-info-page .rc-image-right__image,
  body.studimo-info-page .rc-image-half-left__image {
    flex: none !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  body.studimo-info-page .rc-image-left__text h2,
  body.studimo-info-page .rc-image-right__text h2,
  body.studimo-info-page .rc-image-half-left__text h2 {
    font-size: 20px !important;
  }

  body.studimo-info-page .studimo-info-alt-bg {
    padding: 32px 16px !important;
  }
}
