/*
 * UI clean-up (30 Nov 2026, William). Plan: seo/2026-11-30-site-ui-seo-plan.md (main repo), sections 1 and 3.
 * Loaded after the theme's styles (includes/functions/page-top.php). Everything here is CSS only, so removing this
 * file puts the old look back.
 */

/* ---------- 1. No scroll reveals: headings, text and photos show as soon as the page loads ---------- */
html:not(.no-js) [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
html:not(.no-js) .title > *,
html:not(.no-js) .small_banner_block p { clip-path: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
html:not(.no-js) .title > *::before, html:not(.no-js) .title > *::after,
html:not(.no-js) .small_banner_block p::before, html:not(.no-js) .small_banner_block p::after { content: none !important; display: none !important; }
body { transition: none !important; }

/* Category photo tiles (home): no more columns jumping wider on hover; the photo eases in a little instead. */
@media (min-width: 992px) {
  .expanding_images_block .col-lg-dww:hover { flex: 1 1 20% !important; }
  .expanding_images_block .col-12 { transition: none !important; }
  .expanding_images_block .image img { transition: transform .5s ease; }
  .expanding_images_block .col-12:hover .image img { transform: scale(1.04); }
}

/* ---------- 2. Buttons: rounded, one weight lighter, a thin arrow instead of the large spinning plus ---------- */
body .button:not(.prevBtn):not(.nextBtn):not(.accordion-button):not(.mobile-sticky-button) { border-radius: 999px; font-weight: 700; font-size: 17px; line-height: 1.2; padding: 14px 24px; gap: 10px;
  transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease !important; box-shadow: 0 1px 2px rgba(30, 45, 80, .12); width: auto; }
body .button:not(.prevBtn):not(.nextBtn):not(.accordion-button):not(.mobile-sticky-button):after { width: 14px !important; height: 14px !important; margin-left: 6px !important; transition: transform .2s ease !important; transform: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23F47B20' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") !important; }
body .button:not(.prevBtn):not(.nextBtn):not(.accordion-button):not(.mobile-sticky-button):hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(30, 45, 80, .16); }
body .button:not(.prevBtn):not(.nextBtn):not(.accordion-button):not(.mobile-sticky-button):hover:after { transform: translateX(3px) !important; }
body .button:not(.prevBtn):not(.nextBtn):not(.accordion-button):not(.mobile-sticky-button).orange-button:after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") !important; }
@media (max-width: 767px) { body .button:not(.prevBtn):not(.nextBtn):not(.accordion-button):not(.mobile-sticky-button) { font-size: 16px; padding: 13px 22px; } }

/* ---------- 3. FAQs: light cards with a thin plus in a circle, instead of solid blue bars ---------- */
body .faq_block .accordion .accordion-item { border: 0; margin-bottom: 10px; background: transparent; }
body .faq_block .accordion .accordion-item .accordion-button { background: #fff; color: #3d5b9e; border: 1px solid #dde3ef; border-radius: 14px !important;
  font-weight: 700; font-size: 18px; line-height: 1.35; padding: 16px 18px; box-shadow: none; }
body .faq_block .accordion .accordion-item .accordion-button:not(.collapsed) { background: #f3f6fb; border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; }
body .faq_block .accordion .accordion-item .accordion-button::after { width: 26px; height: 26px; flex: 0 0 26px; background-size: 26px; transform: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none'%3E%3Ccircle cx='13' cy='13' r='12' stroke='%23dde3ef' stroke-width='1.5'/%3E%3Cpath d='M13 8v10M8 13h10' stroke='%23F47B20' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
body .faq_block .accordion .accordion-item .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none'%3E%3Ccircle cx='13' cy='13' r='12' stroke='%23dde3ef' stroke-width='1.5'/%3E%3Cpath d='M8 13h10' stroke='%23F47B20' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
body .faq_block .accordion .accordion-collapse { border: 1px solid #dde3ef; border-top: 0; border-radius: 0 0 14px 14px; background: #f3f6fb; }
body .faq_block .accordion .accordion-body, body .faq_block .accordion .accordion-body p { color: #2b3650; }

/* ---------- 4. Brand logos: a calm band, logos in grey that turn to colour on hover, slower scroll ---------- */
.logo_slider_block { padding-top: 36px; padding-bottom: 36px; }
.logo_slider_block .title h2, .logo_slider_block .title .h2 { font-size: 14px !important; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: #6b7489; margin-bottom: 18px; }
.logo_slider_block .swiper-slide .image img { filter: grayscale(1); opacity: .75; transition: filter .25s ease, opacity .25s ease; max-height: 64px; }
.logo_slider_block .swiper-slide:hover .image img { filter: none; opacity: 1; }

/* ---------- 5. Quote: a card, not a wall of bold text ---------- */
.quote_block .content { max-width: 760px !important; background: #f3f6fb; border-radius: 18px; padding: 28px 32px; font-weight: 600 !important; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem) !important; line-height: 1.5; }
.quote_block .content p { padding-left: 0 !important; padding-right: 0 !important; }
.quote_block .content p:first-of-type:before { width: 34px !important; height: 22px !important; vertical-align: top; margin-right: 6px; position: static !important; }
.quote_block .content p:last-of-type:after { width: 34px !important; height: 22px !important; position: static !important; }

/* ---------- 6. "Why choose a stretch tent" (home): four short points read as a list, not paragraphs ---------- */
.st-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin: 6px 0 22px; padding: 0; list-style: none; }
.st-points li { margin: 0; padding: 0 0 0 30px; position: relative; color: inherit; line-height: 1.45; }
.st-points li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #F47B20 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.st-points li b { display: block; }
@media (max-width: 767px) { .st-points { grid-template-columns: 1fr; } }

/* ---------- 7. Guide pages (template-guide.php): Pricing guide, Why a stretch tent ---------- */
.st-guide { padding-top: 40px; padding-bottom: 40px; }
.st-guide__body { max-width: 1080px; margin: 0 auto; color: #2b3650; }
.st-guide__body h2 { color: #3d5b9e; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); margin: 0 0 14px; }
.st-guide__body p { line-height: 1.6; margin: 0 0 14px; }
.st-guide__body section { margin: 0 0 56px; }
.st-guide__intro p { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); max-width: 62ch; }
.st-guide__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.st-guide__row.is-flip .st-guide__photo { order: 2; }
.st-guide__photo { margin: 0; }
.st-guide__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; display: block; }
.st-guide__table { overflow-x: auto; border: 1px solid #dde3ef; border-radius: 14px; }
.st-guide__table table { width: 100%; border-collapse: collapse; min-width: 520px; }
.st-guide__table th, .st-guide__table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid #e8ecf4; vertical-align: top; line-height: 1.45; }
.st-guide__table thead th { background: #3d5b9e; color: #fff; font-weight: 700; }
.st-guide__table tbody th { color: #3d5b9e; font-weight: 700; white-space: nowrap; }
.st-guide__table tbody tr:nth-child(even) { background: #f6f8fc; }
.st-guide__table tbody tr:last-child th, .st-guide__table tbody tr:last-child td { border-bottom: 0; }
.st-guide__note { background: #f3f6fb; border-radius: 18px; padding: 26px 30px; }
.st-guide__note h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); }
.st-guide__note p:last-child { margin-bottom: 0; }
.st-guide__cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.st-guide__card { border: 1px solid #dde3ef; border-radius: 14px; padding: 18px 16px; text-align: center; background: #fff; }
.st-guide__card b { display: block; color: #3d5b9e; font-size: 1.15rem; }
.st-guide__card span { color: #6b7489; font-size: .95rem; }
.st-guide__more { display: flex; gap: 12px; flex-wrap: wrap; }
.st-guide__more .button, .st-guide__text .button { display: inline-flex; }
.st-guide__small { color: #6b7489; font-size: .95rem; margin-top: 10px; }
.st-guide__draft { background: #fff4e5; color: #6d4510; border: 1px dashed #f0a43a; border-radius: 12px; padding: 12px 16px; margin: 0 0 28px; }
.st-guide__draft b { margin-right: 4px; }
.st-guide-form__title { text-align: center; color: #3d5b9e; margin: 10px 0 6px; }
@media (max-width: 991px) {
  .st-guide__row { grid-template-columns: 1fr; gap: 18px; }
  .st-guide__row.is-flip .st-guide__photo { order: 0; }
  .st-guide__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-guide__body section { margin-bottom: 40px; }
}

/* Fixes after the first look (30 Nov): buttons sit at their own width; points in narrow columns stack in one column. */
body .button:not(.prevBtn):not(.nextBtn):not(.accordion-button):not(.mobile-sticky-button) { display: inline-flex !important; align-items: center; justify-content: center; width: auto !important; max-width: 100%; }
.split_block .st-points, .split_box_block .st-points { grid-template-columns: 1fr; gap: 14px; }
.section.st-guide .st-guide__body h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem) !important; line-height: 1.2 !important; margin: 0 0 14px !important; }
.section.st-guide .st-guide__note h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem) !important; }
@media (max-width: 600px) {
  .st-guide__table table { min-width: 0; font-size: .9rem; }
  .st-guide__table th, .st-guide__table td { padding: 10px 10px; }
  .st-guide__table tbody th { white-space: normal; }
}

/* Pricing guide v2 (30 Nov): range table, process steps, what's included. */
.st-guide__table--prices tbody th span { display: block; font-weight: 400; color: #6b7489; font-size: .9rem; white-space: nowrap; }
.st-guide__table--prices thead th small { display: block; font-weight: 400; opacity: .85; font-size: .8rem; }
.st-guide__table--prices td { font-weight: 700; color: #2b3650; white-space: nowrap; }
.st-guide__steps { list-style: none; counter-reset: st-step; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.st-guide__steps li { counter-increment: st-step; position: relative; margin: 0; padding: 22px 20px 18px; border: 1px solid #dde3ef; border-radius: 16px; background: #fff; display: grid; gap: 8px; align-content: start; }
.st-guide__steps li::before { content: counter(st-step); width: 34px; height: 34px; border-radius: 50%; background: #F47B20; color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1rem; }
.st-guide__steps li b { color: #3d5b9e; font-size: 1.1rem; }
.st-guide__steps li span { line-height: 1.5; }
.st-guide__steps li em { font-style: normal; font-size: .85rem; font-weight: 700; color: #2b6a3c; }
.st-guide__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.st-guide__cols > div { border: 1px solid #dde3ef; border-radius: 16px; padding: 20px 22px; }
.st-guide__cols h3 { color: #3d5b9e; font-size: 1.15rem; margin: 0 0 10px; }
.st-guide__cols ul { margin: 0; padding-left: 20px; }
.st-guide__cols li { margin: 0 0 6px; line-height: 1.45; }
@media (max-width: 991px) { .st-guide__steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .st-guide__steps, .st-guide__cols { grid-template-columns: 1fr; }
  .st-guide__table--prices table { min-width: 0; }
  .st-guide__table--prices td { white-space: normal; }
}
/* Phones: one card per size instead of a wide table. */
@media (max-width: 600px) {
  .st-guide__table--prices { border: 0; overflow: visible; }
  .st-guide__table--prices thead { display: none; }
  .st-guide__table--prices table, .st-guide__table--prices tbody { display: block; }
  .st-guide__table--prices tr { display: block; border: 1px solid #dde3ef; border-radius: 14px; margin-bottom: 12px; padding: 6px 0; background: #fff !important; }
  .st-guide__table--prices tbody th { display: block; border: 0; padding: 10px 16px 4px; font-size: 1.1rem; }
  .st-guide__table--prices td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 16px; }
  .st-guide__table--prices td::before { content: attr(data-label); font-weight: 400; color: #6b7489; }
}

/* ---------- Pricing guide v3 (30 Nov): guide box, factor cards, process timeline ---------- */
.st-guide__caveat { background: #eaf2fb; color: #1e3a5f; border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; line-height: 1.5; }
.st-guide__caveat b { margin-right: 4px; }

/* Factor cards: photo on top; 3 + 2 on laptops, 2 a row on tablets, compact rows on phones. */
.st-factors { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.st-factor { grid-column: span 2; margin: 0; padding: 0; border: 1px solid #dde3ef; border-radius: 16px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.st-factor:nth-child(4), .st-factor:nth-child(5) { grid-column: span 3; }
.st-factor__photo { margin: 0; }
.st-factor__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.st-factor:nth-child(4) .st-factor__photo img, .st-factor:nth-child(5) .st-factor__photo img { aspect-ratio: 2 / 1; }
.st-factor__text { padding: 16px 18px 18px; display: grid; gap: 6px; }
.st-factor__text b { color: #3d5b9e; font-size: 1.1rem; }
.st-factor__text span { line-height: 1.5; }
@media (max-width: 991px) {
  .st-factors { grid-template-columns: 1fr 1fr; }
  .st-factor, .st-factor:nth-child(4) { grid-column: span 1; }
  .st-factor:nth-child(5) { grid-column: span 2; }
  .st-factor .st-factor__photo img { aspect-ratio: 3 / 2 !important; }
  .st-factor:nth-child(5) .st-factor__photo img { aspect-ratio: 2.4 / 1 !important; }
}
@media (max-width: 600px) {
  .st-factors { grid-template-columns: 1fr; gap: 12px; }
  .st-factor, .st-factor:nth-child(4), .st-factor:nth-child(5) { grid-column: auto; flex-direction: row; align-items: stretch; }
  .st-factor__photo { flex: 0 0 104px; }
  .st-factor__photo img, .st-factor .st-factor__photo img, .st-factor:nth-child(5) .st-factor__photo img { width: 104px; height: 100%; min-height: 104px; aspect-ratio: auto !important; }
  .st-factor__text { padding: 12px 14px; gap: 4px; align-content: center; }
  .st-factor__text b { font-size: 1rem; }
  .st-factor__text span { font-size: .95rem; line-height: 1.45; }
}

/* Process timeline: a dashed centre line, numbered stops, photo and words alternating sides; on phones the line runs
   down the left with the photo above each step's words. */
.st-timeline { list-style: none; margin: 28px 0 0; padding: 0; position: relative; }
.st-timeline::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: 50%; width: 3px; transform: translateX(-50%); background: repeating-linear-gradient(to bottom, #F47B20 0 10px, transparent 10px 18px); }
.st-step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr); align-items: center; margin: 0 0 40px; padding: 0; }
.st-step:last-child { margin-bottom: 0; }
.st-step__num { grid-column: 2; grid-row: 1; justify-self: center; width: 52px; height: 52px; border-radius: 50%; background: #F47B20; color: #fff; font-weight: 800; font-size: 1.35rem; display: grid; place-items: center; box-shadow: 0 0 0 8px #fff; position: relative; z-index: 1; }
.st-step__photo { grid-column: 1; grid-row: 1; margin: 0; }
.st-step__photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; box-shadow: 0 14px 30px rgba(20, 30, 60, .14); background: #f3f6fb; }
.st-step__text { grid-column: 3; grid-row: 1; display: grid; gap: 6px; max-width: 42ch; }
.st-step__text em { justify-self: start; font-style: normal; font-size: .8rem; font-weight: 700; color: #2b6a3c; background: #e8f4ec; border-radius: 999px; padding: 4px 10px; }
.st-step__text b { color: #3d5b9e; font-size: 1.25rem; line-height: 1.25; }
.st-step__text span { line-height: 1.55; }
.st-step:nth-child(even) .st-step__photo { grid-column: 3; }
.st-step:nth-child(even) .st-step__text { grid-column: 1; justify-self: end; text-align: right; }
.st-step:nth-child(even) .st-step__text em { justify-self: end; }
@media (max-width: 767px) {
  .st-timeline::before { left: 21px; transform: none; }
  .st-step, .st-step:nth-child(even) { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 12px; align-items: start; margin-bottom: 30px; }
  .st-step__num { grid-column: 1; grid-row: 1 / span 2; justify-self: start; align-self: start; width: 44px; height: 44px; font-size: 1.1rem; box-shadow: 0 0 0 6px #fff; }
  .st-step__photo, .st-step:nth-child(even) .st-step__photo { grid-column: 2; grid-row: 1; }
  .st-step__text, .st-step:nth-child(even) .st-step__text { grid-column: 2; grid-row: 2; justify-self: start; text-align: left; max-width: none; }
  .st-step:nth-child(even) .st-step__text em { justify-self: start; }
  .st-step__text b { font-size: 1.1rem; }
}
/* Phones: the factor photo fills a fixed square column instead of growing to the photo's own height. */
@media (max-width: 600px) {
  .st-factor__photo { position: relative; flex: 0 0 104px; min-height: 104px; overflow: hidden; }
  .st-factor .st-factor__photo img, .st-factor:nth-child(4) .st-factor__photo img, .st-factor:nth-child(5) .st-factor__photo img {
    position: absolute; inset: 0; width: 100% !important; height: 100% !important; min-height: 0; aspect-ratio: auto !important; object-fit: cover; }
}
/* Step 1's picture is the quote form's 3D drawing on a transparent background: show it whole on a soft panel. */
.st-step__photo img[src*="/posters/"] { object-fit: contain; background: #f3f6fb; padding: 8px; }

/* ---------- 30 Nov, round 3: home quote and spacing, readable tiles, client quotes, news cards, drawings ---------- */
/* Quote: one opening mark centred above the words; no stray closing mark. */
.section.quote_block { padding-top: 6px !important; padding-bottom: 6px !important; }
.quote_block .content { text-align: center !important; padding: 26px 36px 24px !important; }
.quote_block .content p:first-of-type:before { display: block !important; margin: 0 auto 10px !important; width: 34px !important; height: 24px !important; position: static !important; }
.quote_block .content p:last-of-type:after { display: none !important; }
/* Less air around the logo band under the form. */
.section.enquiry_form_block:has(+ .logo_slider_block) { padding-bottom: 8px !important; }
.section.logo_slider_block { padding-top: 18px !important; padding-bottom: 10px !important; margin-top: 0 !important; }
.section.logo_slider_block + .quote_block { margin-top: 0 !important; }
.section.quote_block + .section { margin-top: 0 !important; padding-top: 28px !important; }
/* Category photo tiles: the label always shows, white on a soft dark fade. */
.expanding_images_block .inner { position: relative; display: block; }
.expanding_images_block .inner .title { opacity: 1 !important; position: absolute !important; left: 0; right: 0; bottom: 0; top: auto !important; padding: 40px 22px 18px !important;
  background: linear-gradient(to top, rgba(10, 18, 40, .72), rgba(10, 18, 40, 0)); z-index: 2; pointer-events: none; text-align: left; }
.expanding_images_block .inner .title h3 { color: #fff !important; margin: 0 !important; font-size: clamp(1.25rem, 1rem + .8vw, 1.8rem) !important; text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
  clip-path: none !important; opacity: 1 !important; transform: none !important; }
.expanding_images_block .inner .image::after { opacity: 0 !important; }

/* Client quotes (testimonials, /hire/): light cards instead of big outlined boxes. */
.testimonials_block .basic-style .swiper-slide { height: auto; }
.testimonials_block .basic-style .inner { border: 0 !important; border-radius: 16px !important; background: #f3f6fb !important; padding: 24px 24px 20px !important; height: 100% !important; min-height: 0 !important; box-shadow: none !important; }
.testimonials_block .basic-style .inner .content { font-size: 1rem !important; line-height: 1.55; text-align: left !important; color: #2b3650; }
.testimonials_block .basic-style .inner .content p:first-child { font-style: italic; }
.testimonials_block .basic-style .inner .content strong { color: #3d5b9e; }
.testimonials_block .basic-style .hover-content { position: static !important; transform: none !important; opacity: 1 !important; }

/* Recent news: neat cards with a photo, title and two lines. */
.case_studies_block .blog-post { border: 1px solid #dde3ef; border-radius: 16px; overflow: hidden; background: #fff; height: 100%; display: flex; flex-direction: column; }
.case_studies_block .blog-post .image { display: block; overflow: hidden; }
.case_studies_block .blog-post .image img { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto !important; object-fit: cover; border-radius: 0 !important; transition: transform .4s ease; }
.case_studies_block .blog-post:hover .image img { transform: scale(1.04); }
.case_studies_block .blog-post .bottom { padding: 16px 18px 18px !important; display: grid; gap: 8px; }
.case_studies_block .blog-post .bottom .title h3 { font-size: 1.1rem !important; line-height: 1.3 !important; margin: 0 !important; color: #3d5b9e; }
.case_studies_block .blog-post .bottom .content p { font-size: .95rem; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: #2b3650; }
.case_studies_block .swiper-slide { height: auto; }

/* Comparison drawings: four cards on the guide; a small row of four on /hire/. */
.st-vs { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.st-vs__card { margin: 0; border: 1px solid #dde3ef; border-radius: 16px; overflow: hidden; background: #fff; display: grid; align-content: start; }
.st-vs__card img { display: block; width: 100%; height: auto; }
.st-vs__card b { color: #3d5b9e; font-size: 1.1rem; padding: 14px 16px 0; }
.st-vs__card span { padding: 6px 16px 16px; line-height: 1.5; font-size: .95rem; }
.st-vs__card:first-child { border-color: #F47B20; box-shadow: 0 0 0 1px #F47B20 inset; }
.st-vs-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 14px 0 6px; }
.st-vs-mini figure { margin: 0; border-radius: 10px; overflow: hidden; border: 1px solid #dde3ef; background: #fff; }
.st-vs-mini img { display: block; width: 100%; height: auto; }
.st-vs-mini figcaption { font-size: .8rem; font-weight: 700; color: #3d5b9e; padding: 6px 8px; text-align: center; }
.st-centre { text-align: center; margin-top: 26px; }
@media (max-width: 991px) { .st-vs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .st-vs-mini { grid-template-columns: 1fr 1fr; } .st-vs { gap: 12px; } .st-vs__card span { font-size: .9rem; } }
/* The timeline inside a full-width content block (/hire/) keeps a comfortable width. */
.content_block .st-timeline { max-width: 1080px; margin-left: auto; margin-right: auto; }
.st-centre .button, .content .st-centre a.button { background: #3d5b9e !important; color: #fff !important; text-decoration: none !important; }
.section.logo_slider_block { padding-bottom: 26px !important; }
.section.logo_slider_block + .quote_block { padding-top: 0 !important; }
.case_studies_block .blog-post .image { height: auto !important; margin: 0 !important; aspect-ratio: auto; }
.case_studies_block .blog-post .bottom { flex: 1 1 auto; align-content: start; }
.case_studies_block .blog-post .bottom .title h3 { height: auto !important; white-space: normal !important; text-overflow: clip !important;
  display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden !important; }
.case_studies_block .blog-post .bottom .button { justify-self: start; margin-top: 4px; }
.case_studies_block .blog-post .bottom, .case_studies_block .blog-post .bottom .title, .case_studies_block .blog-post .bottom .content { width: auto !important; max-width: 100% !important; min-width: 0 !important; padding-right: 0 !important; box-sizing: border-box; }
.case_studies_block .blog-post .bottom { padding: 16px 18px 18px !important; }
.case_studies_block .blog-post .bottom .title h3, .case_studies_block .blog-post .bottom .content p { word-break: normal; overflow-wrap: anywhere; }
.case_studies_block .blog-post .bottom { grid-template-columns: minmax(0, 1fr) !important; }
/* The theme pulls a top-padding-less content block up by 110px; the timeline block must sit below its heading. */
.section.content_block:has(.st-timeline) { margin-top: 0 !important; padding-top: 28px !important; }
/* Timeline under a heading: one sensible gap at every screen size (replaces the 28px + 28px + heading margin). */
.section.content_block:has(.st-timeline) { padding-top: 0 !important; }
.content_block .st-timeline { margin-top: 0 !important; }
.section.content_block:has(+ .content_block .st-timeline) .title { margin-bottom: clamp(18px, 1.2rem + 1vw, 40px) !important; }
body .faq_block .accordion .accordion-item { border: 0 !important; border-bottom: 0 !important; } /* the theme’s 5px blue rule under each FAQ */

/* Photo testimonials (e.g. /hire/weddings/ "What couples say"): the quote shows on the photo all the time, not only
   on hover (phones can't hover, so the reviews looked like a plain gallery). */
.testimonials_block .container-fluid .inner { position: relative; }
.testimonials_block .container-fluid .hover-content { opacity: 1 !important; visibility: visible !important; transform: none !important; position: absolute !important; left: 0; right: 0; bottom: 0; top: auto !important;
  padding: 70px 20px 18px !important; background: linear-gradient(to top, rgba(10, 18, 40, .88) 55%, rgba(10, 18, 40, 0)) !important; }
.testimonials_block .container-fluid .hover-content .content, .testimonials_block .container-fluid .hover-content p { color: #fff !important; font-size: .95rem !important; line-height: 1.45 !important; margin: 0 0 6px !important; text-align: left !important; }
.testimonials_block .container-fluid .hover-content strong { color: #ffd2ad !important; }
