/* Owl Web CMS 4.23 / Owlet CMS 2.18 - sections added to a page, Google maps and reviews (includes/added.php).
   Only pages that have one of them load this file. Colours and fonts come from Look and feel (the --c-* colours). */

/* ---------- an added section ---------- */
.owl-add { position: relative; }
.owl-add__wrap--narrow { width: min(760px, 100% - 2.5rem); }
.owl-add__wrap--wide { width: min(1440px, 100% - 2.5rem); }
.owl-add__head { margin-bottom: clamp(1.25rem, 3vw, 2rem); max-width: 46rem; }
.owl-add__head h2 { margin-top: 0; }
.owl-add__head > :last-child { margin-bottom: 0; }
.owl-add__intro { color: color-mix(in srgb, currentColor 82%, transparent); }
.owl-add--center .owl-add__head, .owl-add--center .owl-add__text, .owl-add--center .owl-add__btns, .owl-add--center .owl-reviews__sum, .owl-add--center .owl-reviews__btns, .owl-add--center .owl-map__links { text-align: center; margin-inline: auto; }
.owl-add--center .owl-add__btns, .owl-add--center .owl-reviews__btns, .owl-add--center .owl-map__links { justify-content: center; }
.owl-add__text { max-width: 46rem; }
.owl-add--center .owl-add__text { max-width: 46rem; }
.owl-add__wrap--wide .owl-add__text, .owl-add__cols .owl-add__text { max-width: none; }
.owl-add__btns { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }
.owl-add__img { margin: 0; }
.owl-add__img img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg, 18px); }
.owl-add__wrap > .owl-add__img { margin-bottom: 1.5rem; }
.owl-add__cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.owl-add__cols--left { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.owl-add__body > :last-child { margin-bottom: 0; }
@media (max-width: 760px) { .owl-add__cols, .owl-add__cols--left { grid-template-columns: minmax(0, 1fr); } }
.owl-add--dark { background: var(--c-ink, #14202e); color: #fff; }
.owl-add--brand { background: var(--c-primary, #1f5fa8); color: #fff; }
.owl-add--dark :where(h1, h2, h3, h4, p, li, blockquote, figcaption), .owl-add--brand :where(h1, h2, h3, h4, p, li, blockquote, figcaption) { color: #fff; }
.owl-add--dark a:not(.btn), .owl-add--brand a:not(.btn) { color: #fff; }
.owl-add--dark .owl-review figure, .owl-add--brand .owl-review figure { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); }
.owl-add--dark .btn--ghost, .owl-add--brand .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.owl-add--brand .btn--primary { background: #fff; color: var(--c-primary-dark, #123); }
.owl-add__code > :first-child { margin-top: 0; }

/* ---------- a Google map ---------- */
.owl-map { margin: 0 0 1rem; }
.owl-map__box { position: relative; height: var(--owl-map-h, 400px); border-radius: var(--radius-lg, 18px); overflow: hidden; background: color-mix(in srgb, var(--c-ink, #14202e) 8%, #fff); }
.owl-map--square .owl-map__box { border-radius: 0; }
.owl-map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.owl-map__wait { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 1.5rem; text-align: center; color: var(--c-ink, #14202e); }
.owl-map__wait p { margin: 0; max-width: 28rem; }
.owl-map__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: .75rem 0 0; font-weight: 600; }
@media (max-width: 640px) { .owl-map__box { height: min(var(--owl-map-h, 400px), 70vh); } }
@media print { .owl-map__box { display: none; } }

/* ---------- reviews ---------- */
.owl-reviews__sum { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 1.5rem; font-size: 1.1rem; }
.owl-stars { display: inline-flex; gap: 2px; line-height: 1; vertical-align: middle; }
.owl-stars svg { width: 1.15em; height: 1.15em; }
.owl-stars .on { fill: #f5a623; }
.owl-stars .off { fill: color-mix(in srgb, currentColor 22%, transparent); }
.owl-reviews__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); grid-template-columns: repeat(var(--owl-rv-cols, 3), minmax(0, 1fr)); }
@media (max-width: 960px) { .owl-reviews__list { grid-template-columns: repeat(min(var(--owl-rv-cols, 3), 2), minmax(0, 1fr)); } }
@media (max-width: 640px) { .owl-reviews__list { grid-template-columns: minmax(0, 1fr); } }
.owl-review { margin: 0; padding: 0; }
.owl-review figure { margin: 0; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: .75rem; }
.owl-reviews--cards .owl-review figure { background: #fff; color: var(--c-ink, #14202e); border: 1px solid color-mix(in srgb, var(--c-ink, #14202e) 12%, transparent); border-radius: var(--radius-lg, 18px); padding: clamp(1.1rem, 2.5vw, 1.6rem); box-shadow: 0 12px 30px -22px rgba(13, 42, 74, .35); }
.owl-reviews--cards .owl-review :where(p, strong, span) { color: inherit; }
.owl-reviews--list .owl-review figure { border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent); padding-bottom: 1.25rem; }
.owl-review__text { margin: 0; padding: 0; border: 0; font-style: normal; }
.owl-review__text p { margin: 0 0 .6em; }
.owl-review__text p:last-child { margin-bottom: 0; }
.owl-review figcaption { margin-top: auto; display: flex; flex-direction: column; gap: .1rem; }
.owl-review__meta { font-size: .9rem; color: color-mix(in srgb, currentColor 75%, transparent); }
.owl-reviews--quote { gap: clamp(2rem, 5vw, 3.5rem); }
.owl-reviews--quote .owl-review figure { text-align: center; align-items: center; max-width: 46rem; margin-inline: auto; }
.owl-reviews--quote .owl-review__text { font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.5; }
.owl-reviews--quote .owl-review__text::before { content: "\201C"; display: block; font-size: 3.5rem; line-height: .8; color: var(--c-primary, #1f5fa8); }
.owl-reviews__btns { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 0; }
.owl-reviews__btns .btn { display: inline-flex; align-items: center; gap: .5rem; }
.owl-g { width: 1.1em; height: 1.1em; flex: none; }
.owl-add__empty { padding: 1rem 1.25rem; border: 2px dashed color-mix(in srgb, currentColor 30%, transparent); border-radius: 12px; }
