/* CONTENT 02 — Nákupní poradna: homepage slider „Než vyberete“, /poradna and the guide detail.
   Values mirror the approved live CDE (Utulno Eshop.dc.html v1792356637678540, screens „Poradna — přehled“ and
   „Poradna — detail“). Shared frame, hero, breadcrumbs, TOC and slider mechanics come from materials.css. */

/* Homepage slider: 3 cards from 1060 px, 2 from 640 px, below 1 + 12 % of the next; 22 px gap (16 px on mobile). */
.ut-gd-slider .ut-gd-slider__track { --ut-mat-gap: 22px; }
.ut-gd-slider .ut-gd-slider__item { flex-basis: calc((100% - (2 * var(--ut-mat-gap))) / 3); }
@media (max-width: 66.1875rem) { .ut-gd-slider .ut-gd-slider__item { flex-basis: calc((100% - var(--ut-mat-gap)) / 2); } }
@media (max-width: 39.9375rem) {
  .ut-gd-slider .ut-gd-slider__track { --ut-mat-gap: 16px; }
  .ut-gd-slider .ut-gd-slider__item { flex-basis: calc((100% - var(--ut-mat-gap)) / 1.12); }
}
.ut-gd-slide { display: flex; width: 100%; flex-direction: column; border-radius: 8px; color: inherit; text-decoration: none; transition: transform .3s ease; }
.ut-gd-slide:hover { color: inherit; transform: translateY(-3px); }
.ut-gd-slide__media { position: relative; display: block; overflow: hidden; border-radius: 8px; background: var(--ut-color-sand); aspect-ratio: 16 / 10; }
.ut-gd-slide__kicker { display: block; margin: 16px 0 8px; color: #7b7064; font-size: 12.5px; letter-spacing: .12em; line-height: normal; text-transform: uppercase; }
.ut-hp .ut-gd-slide h3, .ut-gd-slide h3 { margin: 0; color: var(--ut-color-ink); font-family: var(--ut-font-display); font-size: 25px; font-weight: var(--ut-font-weight-regular); line-height: 1.25; text-wrap: balance; overflow-wrap: anywhere; }
.ut-gd-slide__desc { display: block; flex: 1 1 auto; margin: 8px 0 14px; color: #7b7064; font-size: 16px; line-height: 1.55; }
.ut-gd-slide__cta, .ut-gd-card__cta { color: var(--ut-color-clay); font-size: 15.5px; line-height: normal; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ut-gd-slider__all a { transition: color .2s ease; }
.ut-gd-slider__all a:hover { color: var(--ut-color-ink); }

/* Images fill the existing ratio boxes without intrinsic size expanding them. */
.ut-gd-slide__media > .ut-mat-slot__img, .ut-gd-card__media > .ut-mat-slot__img { position: absolute; inset: 0; }

/* Overview */
.ut-gd-hero__lead { max-width: 64ch; margin: 0 0 14px; color: #4a4239; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; text-wrap: pretty; }
.ut-gd-quick { margin-top: 26px; }
.ut-gd-category { margin-top: clamp(56px, 7vw, 96px); scroll-margin-top: 110px; }
.ut-gd-category__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 32px; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--ut-color-line); }
.ut-mat .ut-gd-category__head h2 { flex: 0 1 auto; margin: 0; text-wrap: balance; }
.ut-gd-category__head p { flex: 0 1 520px; max-width: 58ch; margin: 0; color: #7b7064; font-size: 16.5px; line-height: 1.6; text-wrap: pretty; }
.ut-gd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.ut-gd-grid > li, .ut-gd-related > li { min-width: 0; list-style: none; }
@media (max-width: 66.1875rem) { .ut-gd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 39.9375rem) { .ut-gd-grid { grid-template-columns: minmax(0, 1fr); } }
.ut-gd-card { display: flex; height: 100%; flex-direction: column; overflow: hidden; border: 1px solid var(--ut-color-line); border-radius: 10px; background: var(--ut-color-surface); color: inherit; text-decoration: none; transition: box-shadow .3s ease, transform .3s ease; }
.ut-gd-card:hover { box-shadow: 0 14px 30px rgb(60 45 30 / 8%); color: inherit; transform: translateY(-3px); }
.ut-gd-card__media { position: relative; display: block; background: var(--ut-color-sand); aspect-ratio: 4 / 3; }
.ut-gd-card__body { display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; padding: 20px 22px 24px; }
.ut-gd-card h3 { margin: 0 0 8px; color: var(--ut-color-ink); font-family: var(--ut-font-display); font-size: 25px; font-weight: var(--ut-font-weight-regular); line-height: 1.2; text-wrap: balance; overflow-wrap: anywhere; }
.ut-gd-card--compact h3 { font-size: 22px; }
.ut-gd-card__desc { display: block; flex: 1 1 auto; margin: 0 0 18px; color: #7b7064; font-size: 16px; line-height: 1.55; }
.ut-gd-materials { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; margin-top: clamp(56px, 7vw, 96px); padding: clamp(28px, 4vw, 48px) clamp(22px, 4vw, 56px); border: 1px solid var(--ut-color-line); border-radius: 16px; background: #f4ede2; }
.ut-gd-materials__copy { flex: 1 1 420px; min-width: 0; }
.ut-mat .ut-gd-materials h2 { margin: 0 0 10px; text-wrap: balance; }
.ut-gd-materials p { max-width: 64ch; margin: 0; color: #4a4239; font-size: 16.5px; line-height: 1.65; text-wrap: pretty; }
.ut-gd-materials__button { display: inline-flex; flex: none; align-items: center; justify-content: center; min-height: 52px; box-sizing: border-box; padding: 14px 28px; border-radius: 999px; background: var(--ut-color-ink); color: var(--ut-color-surface); font-size: 16.5px; line-height: normal; text-decoration: none; transition: background .25s ease; }
.ut-gd-materials__button:hover { background: #5f6a54; color: var(--ut-color-surface); }

/* Detail head */
.ut-gd-crumb-current { min-width: 0; overflow-wrap: anywhere; }
.ut-gd-kicker { display: inline-flex; align-items: center; min-height: 32px; margin-bottom: 10px; color: #7b7064; font-size: 12.5px; letter-spacing: .12em; line-height: normal; text-decoration: none; text-transform: uppercase; transition: color .2s ease; }
.ut-gd-kicker:hover { color: var(--ut-color-ink); }
.ut-gd-detail .ut-gd-title { margin: 0 0 22px; color: var(--ut-color-ink); font-size: clamp(34px, 4.4vw, 54px); line-height: 1.1; text-wrap: balance; overflow-wrap: anywhere; }
.ut-gd-detail .ut-gd-lead { margin: 0 0 14px; }
.ut-gd-toc { max-height: calc(100vh - 140px); overflow: auto; }
.ut-gd-article { max-width: 740px; }
.ut-gd-toc-m { margin-bottom: 28px; }

/* Summary box */
.ut-gd-summary { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; margin-bottom: clamp(44px, 5vw, 68px); padding: clamp(20px, 3vw, 30px) clamp(18px, 3vw, 32px); border: 1px solid #dce3d6; border-radius: 14px; background: #eef1ea; }
.ut-gd-summary__icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 999px; background: #dce3d6; }
.ut-gd-summary__icon svg { display: block; }
.ut-gd-summary p { margin: 0; padding-top: 4px; color: var(--ut-color-ink); font-size: 18px; line-height: 1.7; text-wrap: pretty; }

/* Sections and content blocks */
.ut-gd-section { margin-top: clamp(52px, 6vw, 80px); scroll-margin-top: 110px; }
.ut-gd-summary + .ut-gd-section, .ut-gd-toc-m + .ut-gd-section { margin-top: 0; }
.ut-gd-section--warn { padding: clamp(22px, 3vw, 34px) clamp(20px, 3vw, 36px) clamp(10px, 1.5vw, 18px); border: 1px solid #ebd9cb; border-radius: 14px; background: #f8f0ea; }
.ut-gd-section--related { padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--ut-color-line); }
.ut-mat .ut-gd-h2 { margin: 0 0 18px; text-wrap: balance; }
.ut-mat .ut-gd-h2--step { display: flex; align-items: flex-start; gap: 16px; }
.ut-gd-h2__num { display: grid; width: 42px; height: 42px; flex: none; place-items: center; margin-top: -1px; border-radius: 999px; background: var(--ut-color-ink); color: var(--ut-color-surface); font-family: var(--ut-font-body); font-size: 17px; font-weight: var(--ut-font-weight-medium); line-height: normal; }
.ut-gd-h2__text { position: relative; min-width: 0; }
.ut-gd-warn__head { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; }
.ut-mat .ut-gd-warn__head .ut-gd-h2 { margin: 0; }
.ut-gd-warn__icon { display: grid; width: 36px; height: 36px; flex: none; place-items: center; border-radius: 999px; background: #efdccf; }
.ut-gd-warn__icon svg { display: block; }
.ut-gd-text { margin: 0 0 16px; color: #4a4239; font-size: 17.5px; line-height: 1.75; text-wrap: pretty; }
.ut-mat .ut-gd-h3 { margin: 32px 0 10px; color: var(--ut-color-ink); font-family: var(--ut-font-display); font-size: clamp(22px, 2.2vw, 26px); font-weight: var(--ut-font-weight-regular); line-height: 1.25; text-wrap: balance; }
.ut-gd-list { display: flex; flex-direction: column; gap: 8px; margin: 0 0 20px; padding: 0 0 0 22px; }
.ut-gd-list li { padding-left: 4px; color: #4a4239; font-size: 17.5px; line-height: 1.75; text-wrap: pretty; }
.ut-gd-steps { display: flex; flex-direction: column; gap: 14px; margin: 8px 0 24px; padding: 0; list-style: none; }
.ut-gd-steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; }
.ut-gd-steps__n { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 999px; background: var(--ut-color-sand); color: #4a4239; font-size: 15px; font-weight: var(--ut-font-weight-medium); line-height: normal; }
.ut-gd-steps__text { min-width: 0; padding-top: 2px; color: #4a4239; font-size: 17.5px; line-height: 1.75; text-wrap: pretty; }
.ut-gd-code { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ut-gd-code__swatch { display: inline-block; flex: none; width: 14px; height: 14px; border: 1px solid rgb(44 39 34 / 22%); border-radius: 4px; }
.ut-gd-code code { color: #4a4239; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em; }

/* ResponsiveTable: ≥ 760 px a table in its own scroll region (hint from 5 columns); < 760 px one card per row. */
.ut-gd-table { margin: 8px 0 26px; }
.ut-gd-table__region { overflow-x: auto; border: 1px solid var(--ut-color-line); border-radius: 12px; background: var(--ut-color-surface); -webkit-overflow-scrolling: touch; }
.ut-gd-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.ut-gd-table thead th { padding: 14px 16px; border-bottom: 1px solid var(--ut-color-line); background: #f4ede2; color: var(--ut-color-muted); font-size: 13px; font-weight: var(--ut-font-weight-medium); letter-spacing: .08em; text-align: left; text-transform: uppercase; vertical-align: bottom; }
.ut-gd-table tbody th, .ut-gd-table tbody td { padding: 14px 16px; border-top: 1px solid #efe6da; text-align: left; vertical-align: top; }
.ut-gd-table tbody th { color: var(--ut-color-ink); font-weight: var(--ut-font-weight-medium); }
.ut-gd-table tbody td { color: #4a4239; }
.ut-gd-table__hint { margin: 10px 0 0; color: #7b7064; font-size: 14.5px; line-height: normal; }
@media (max-width: 47.4375rem) {
  .ut-gd-table__hint { display: none; }
  .ut-gd-table__region { overflow: visible; border: 0; border-radius: 0; background: transparent; }
  .ut-gd-table table, .ut-gd-table tbody, .ut-gd-table tr, .ut-gd-table tbody th, .ut-gd-table tbody td { display: block; }
  .ut-gd-table table { min-width: 0 !important; font-size: 16px; }
  .ut-gd-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ut-gd-table tbody { display: flex; flex-direction: column; gap: 12px; }
  .ut-gd-table tr { min-width: 0; padding: 16px 18px; border: 1px solid var(--ut-color-line); border-radius: 12px; background: var(--ut-color-surface); }
  .ut-gd-table tbody th { margin-bottom: 12px; padding: 0; border: 0; color: var(--ut-color-ink); font-size: 17px; line-height: 1.45; }
  .ut-gd-table tbody td { padding: 10px 0 0; border-top: 1px solid #f4ede2; font-size: 16px; line-height: 1.6; }
  .ut-gd-table tbody td + td { margin-top: 10px; }
  .ut-gd-table tbody td::before { content: attr(data-label); display: block; margin-bottom: 3px; color: var(--ut-color-muted); font-size: 12.5px; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; }
}

/* FAQAccordion */
.ut-gd-faq { border-top: 1px solid #d9ccba; }
.ut-gd-faq__item { border-bottom: 1px solid #d9ccba; }
.ut-mat .ut-gd-faq__q { margin: 0; font-weight: var(--ut-font-weight-regular); }
.ut-gd-faq__q button { display: flex; width: 100%; min-height: 60px; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 2px; border: 0; background: transparent; color: var(--ut-color-ink); font-family: var(--ut-font-display); font-size: clamp(20px, 2vw, 23px); line-height: 1.3; text-align: left; cursor: pointer; }
.ut-gd-faq__label { min-width: 0; }
.ut-gd-faq__icon { display: grid; width: 34px; height: 34px; flex: none; place-items: center; border: 1px solid #d9ccba; border-radius: 999px; transition: transform .2s ease; }
.ut-gd-faq__icon svg { display: block; }
.ut-gd-faq__q button[aria-expanded="true"] .ut-gd-faq__icon { transform: rotate(45deg); }
.ut-gd-faq__panel { max-width: 66ch; padding: 0 2px 10px; }
.js .ut-gd-faq__panel:not(.is-open) { display: none; }

/* Related guides and materials, bottom navigation */
.ut-gd-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ut-gd-mats { margin-top: 36px; }
.ut-mat .ut-gd-mats h3 { margin: 0 0 14px; color: var(--ut-color-ink); font-family: var(--ut-font-display); font-size: 24px; font-weight: var(--ut-font-weight-regular); line-height: 1.25; }
.ut-gd-mats ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ut-gd-mats a, .ut-gd-pager__back { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; padding: 9px 16px; border: 1px solid #d9ccba; border-radius: 999px; background: #fffcf7; color: var(--ut-color-ink); font-size: 15.5px; line-height: normal; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.ut-gd-mats a:hover, .ut-gd-pager__back:hover { border-color: #b9a794; background: var(--ut-color-canvas); color: var(--ut-color-ink); }
.ut-gd-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 28px; margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--ut-color-line); }
.ut-gd-pager__back { gap: 10px; min-height: 48px; padding: 12px 22px; font-size: 16px; }
.ut-gd-pager__back svg { display: block; flex: none; }
.ut-gd-pager__next { display: flex; flex: 0 1 420px; min-width: 0; min-height: 48px; flex-direction: column; align-items: flex-end; gap: 4px; margin-left: auto; color: inherit; text-align: right; text-decoration: none; }
.ut-gd-pager__next:hover { color: inherit; }
.ut-gd-pager__label { color: #7b7064; font-size: 12.5px; letter-spacing: .12em; line-height: normal; text-transform: uppercase; }
.ut-gd-pager__title { color: var(--ut-color-ink); font-family: var(--ut-font-display); font-size: 22px; line-height: 1.25; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: #c9b8a4; text-decoration-thickness: 1px; text-underline-offset: 5px; }

/* TechSlot: exact SVG/HTML diagrams (CONTENT02A-DIAG02, -DIAG07). Panels stack on narrow screens. */
.ut-gd-diagram { margin: 12px 0 28px; padding: clamp(16px, 3vw, 26px); border: 1px solid var(--ut-color-line); border-radius: 14px; background: var(--ut-color-surface); }
.ut-gd-diagram__panels { display: grid; gap: 18px 24px; }
.ut-gd-diagram__panels--diag02 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ut-gd-diagram__panel--wide { grid-column: 1 / -1; }
.ut-gd-diagram__panels--diag07 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 47.4375rem) { .ut-gd-diagram__panels--diag02 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 39.9375rem) { .ut-gd-diagram__panels--diag07 { grid-template-columns: minmax(0, 1fr); } }
.ut-gd-diagram__panel { min-width: 0; padding: 14px; border-radius: 10px; background: var(--ut-color-canvas); }
.ut-gd-diagram__panel svg { display: block; width: 100%; height: auto; }
.ut-gd-diagram__pair { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px 24px; align-items: end; }
@media (max-width: 47.4375rem) {
  .ut-gd-diagram__pair { grid-template-columns: minmax(0, 1fr); }
  .ut-gd-diagram__panel svg { max-width: 320px; margin-inline: auto; }
}
.ut-gd-diagram__panel-title { margin: 0 0 8px; color: var(--ut-color-muted); font-size: 12.5px; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
.ut-gd-diagram__panel-caption { margin: 8px 0 0; color: #4a4239; font-size: 15px; line-height: 1.5; }
.ut-gd-diagram__label { fill: var(--ut-color-ink); font-family: var(--ut-font-body); font-size: 13px; }
.ut-gd-diagram__label--strong { font-weight: var(--ut-font-weight-semibold); }
.ut-gd-diagram__note { fill: var(--ut-color-muted); font-family: var(--ut-font-body); font-size: 12px; }
.ut-gd-diagram__note-text { margin: 10px 0 0; color: var(--ut-color-muted); font-size: 14.5px; line-height: 1.5; }
.ut-gd-diagram__legend { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: #4a4239; font-size: 14.5px; line-height: 1.5; }
.ut-gd-diagram__legend-line { display: inline-block; width: 28px; height: 3px; border-radius: 2px; background: var(--ut-color-clay); }
.ut-gd-diagram__caption { margin-top: 14px; }
.ut-gd-diagram__title { display: block; margin-bottom: 4px; color: var(--ut-color-ink); font-family: var(--ut-font-display); font-size: 21px; line-height: 1.3; }
.ut-gd-diagram__desc { display: block; color: #4a4239; font-size: 15.5px; line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  .ut-gd-slide, .ut-gd-card, .ut-gd-faq__icon, .ut-gd-mats a, .ut-gd-pager__back, .ut-gd-kicker { transition: none; }
  .ut-gd-slide:hover, .ut-gd-card:hover { transform: none; }
}
