/*!
Theme Name: Refined Learning
Theme URI: https://refinedlearning.co.uk
Author: Sam Bispham
Author URI: https://sam.bispham.uk
Description: Custom theme for Refined Learning, online one-to-one tuition. Built on _s (Underscores) with theme.json and editable block patterns for every homepage section.
Version: 1.2.7
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: refined_learning
Tags: custom-logo, custom-menu, block-patterns, editor-style, wide-blocks

refined_learning is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
Normalize.css by Nicolas Gallagher and Jonathan Neal (MIT). Icons by Lucide (ISC).
*/
/*--------------------------------------------------------------
Contents
  Abstracts  tokens, icons (no CSS output)
  Generic    normalize
  Base       elements, accessibility
  Components header, footer, inner pages
  Blocks     homepage sections, cards, lists, media, pricing, contact, buttons
--------------------------------------------------------------*/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(84px + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--wp--preset--color--teal-deep, #005c5c);
  outline-offset: 3px;
  border-radius: 4px;
}

strong,
b {
  font-weight: 700;
}

hr,
.wp-block-separator {
  border: 0;
  border-top: 2px dashed var(--wp--preset--color--aqua, #b6e3de);
  opacity: 1;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=search],
textarea,
select {
  font: inherit;
  color: var(--wp--preset--color--text, #1f2d2d);
  background: #fff;
  border: 2px solid var(--wp--preset--color--aqua, #b6e3de);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  width: 100%;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus,
input[type=search]:focus,
textarea:focus,
select:focus {
  border-color: var(--wp--preset--color--teal-dark, #007a7a);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 166, 166, 0.25);
}

.site {
  overflow-x: clip;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #fff;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: var(--wp--preset--color--teal-deep, #005c5c);
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--wp--preset--color--aqua, #b6e3de);
}
.admin-bar .site-header {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
@media (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }
}

.site-header__inner {
  box-sizing: border-box;
  max-width: calc(1200px + 2 * clamp(1.25rem, 4vw, 2rem));
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--wp--preset--color--ink, #1a1a1a);
  text-decoration: none;
}
.site-branding:hover {
  color: var(--wp--preset--color--ink, #1a1a1a);
}
.site-branding img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.site-title {
  font-family: var(--wp--preset--font-family--heading, Bitter, Georgia, serif);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  letter-spacing: -0.02em;
  line-height: 1;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-navigation .menu a {
  display: block;
  padding: 0.75rem 0.25rem;
  color: var(--wp--preset--color--text, #1f2d2d);
  font-weight: 500;
  text-decoration: none;
}
.main-navigation .menu a:hover, .main-navigation .menu a:focus-visible {
  color: var(--wp--preset--color--teal-dark, #007a7a);
}
.main-navigation .current-menu-item > a {
  color: var(--wp--preset--color--teal-dark, #007a7a);
}

.main-navigation__panel {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.main-navigation__panel .menu {
  display: flex;
  gap: 1.5rem;
}

.header-cta.wp-element-button {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.65rem 1.25rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid var(--wp--preset--color--aqua, #b6e3de);
  border-radius: 12px;
  background: #fff;
  color: var(--wp--preset--color--teal-deep, #005c5c);
  cursor: pointer;
}
.menu-toggle::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: no-repeat center/contain;
  mask: no-repeat center/contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E");
}
.menu-toggle[aria-expanded=true]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}

@media (max-width: 999px) {
  .menu-toggle {
    display: inline-flex;
  }
  .main-navigation__panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem clamp(1.25rem, 4vw, 2rem) 1.5rem;
    background: var(--wp--preset--color--mist, #f2ffff);
    border-bottom: 1px solid var(--wp--preset--color--aqua, #b6e3de);
    box-shadow: 0 16px 24px rgba(0, 92, 92, 0.1);
  }
  .main-navigation__panel .menu {
    flex-direction: column;
    gap: 0;
  }
  .main-navigation__panel .menu a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--wp--preset--color--aqua, #b6e3de);
    font-size: 1.125rem;
  }
  .main-navigation__panel .header-cta.wp-element-button {
    justify-content: center;
    padding: 0.85rem 1.25rem;
  }
  .main-navigation.toggled .main-navigation__panel {
    display: flex;
  }
}
.site-footer {
  background: var(--wp--preset--color--ink, #1a1a1a);
  color: #e6f7f5;
  padding: 3rem 0 2.5rem;
  font-size: 1rem;
}
.site-footer a {
  color: var(--wp--preset--color--aqua, #b6e3de);
  text-decoration: none;
}
.site-footer a:hover, .site-footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__inner {
  box-sizing: border-box;
  max-width: calc(1200px + 2 * clamp(1.25rem, 4vw, 2rem));
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
}

.site-footer .site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}
.site-footer .site-footer__brand:hover, .site-footer .site-footer__brand:focus-visible {
  color: #fff;
  text-decoration: none;
}
.site-footer .site-footer__brand .site-footer__logo {
  display: inline-flex;
  padding: 6px;
  background: var(--wp--preset--color--mist, #f2ffff);
  border-radius: 14px;
}
.site-footer .site-footer__brand .site-footer__logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.site-footer .site-footer__brand .site-title {
  font-size: 1.375rem;
}

.site-footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
}
.site-footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.site-footer__contact .tel a::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask: no-repeat center/contain;
  mask: no-repeat center/contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}
.site-footer__contact .email a::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask: no-repeat center/contain;
  mask: no-repeat center/contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
}

.footer-navigation .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
}

.site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #2e3b3b;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  font-size: 0.875rem;
  color: #b6c4c4;
  align-items: center;
}
.site-footer__bottom p {
  margin: 0;
}
.site-footer__bottom .legal-navigation .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.site-main {
  display: block;
}

.page-hero {
  background-color: #e3f3f0;
  background-image: url("assets/images/paper-texture.svg");
  background-size: 400px 400px;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2rem);
  border-bottom: 1px solid var(--wp--preset--color--aqua, #b6e3de);
}
.page-hero .page-hero__inner {
  max-width: 760px;
  margin: 0 auto;
}
.page-hero .entry-title {
  margin: 0;
  font-size: var(--wp--preset--font-size--huge);
}
.page-hero .page-hero__intro {
  margin: 0.75rem 0 0;
  font-size: var(--wp--preset--font-size--large);
}

.entry-content--page {
  padding-top: var(--wp--preset--spacing--60);
  padding-bottom: var(--wp--preset--spacing--70);
}
.entry-content--page h2 {
  font-size: var(--wp--preset--font-size--xx-large);
  margin-top: 2.5rem;
}
.entry-content--page h3 {
  margin-top: 2rem;
}
.entry-content--page li + li {
  margin-top: 0.4rem;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-table {
  overflow-x: visible;
}
:is(.entry-content, .editor-styles-wrapper) .wp-block-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--wp--preset--color--aqua, #b6e3de);
  border-radius: 14px;
  overflow: hidden;
}
:is(.entry-content, .editor-styles-wrapper) .wp-block-table thead {
  border-bottom: 0;
}
:is(.entry-content, .editor-styles-wrapper) .wp-block-table th,
:is(.entry-content, .editor-styles-wrapper) .wp-block-table td {
  border: 0;
  border-bottom: 1px solid var(--wp--preset--color--aqua, #b6e3de);
  border-right: 1px solid var(--wp--preset--color--aqua, #b6e3de);
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
}
:is(.entry-content, .editor-styles-wrapper) .wp-block-table tr > :last-child {
  border-right: 0;
}
:is(.entry-content, .editor-styles-wrapper) .wp-block-table tbody tr:last-child > * {
  border-bottom: 0;
}
:is(.entry-content, .editor-styles-wrapper) .wp-block-table thead th {
  background: var(--wp--preset--color--aqua, #b6e3de);
  color: var(--wp--preset--color--ink, #1a1a1a);
  border-color: rgba(0, 92, 92, 0.15);
}
@media (max-width: 599px) {
  :is(.entry-content, .editor-styles-wrapper) .wp-block-table table,
  :is(.entry-content, .editor-styles-wrapper) .wp-block-table tbody,
  :is(.entry-content, .editor-styles-wrapper) .wp-block-table tr,
  :is(.entry-content, .editor-styles-wrapper) .wp-block-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  :is(.entry-content, .editor-styles-wrapper) .wp-block-table table {
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }
  :is(.entry-content, .editor-styles-wrapper) .wp-block-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  :is(.entry-content, .editor-styles-wrapper) .wp-block-table tr {
    background: #fff;
    border: 1px solid var(--wp--preset--color--aqua, #b6e3de);
    border-radius: 14px;
    overflow: hidden;
  }
  :is(.entry-content, .editor-styles-wrapper) .wp-block-table tr + tr {
    margin-top: 0.75rem;
  }
  :is(.entry-content, .editor-styles-wrapper) .wp-block-table td,
  :is(.entry-content, .editor-styles-wrapper) .wp-block-table tbody tr:last-child > * {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-right: 0;
    border-bottom: 1px solid var(--wp--preset--color--aqua, #b6e3de);
    padding: 0.6rem 1rem;
  }
  :is(.entry-content, .editor-styles-wrapper) .wp-block-table td:last-child,
  :is(.entry-content, .editor-styles-wrapper) .wp-block-table tbody tr:last-child > td:last-child {
    border-bottom: 0;
  }
  :is(.entry-content, .editor-styles-wrapper) .wp-block-table td::before {
    content: attr(data-label);
    flex-shrink: 0;
    font-weight: 700;
    color: var(--wp--preset--color--teal-deep, #005c5c);
  }
  :is(.entry-content, .editor-styles-wrapper) .wp-block-table td:first-child {
    display: block;
    background: var(--wp--preset--color--aqua, #b6e3de);
    font-weight: 700;
    color: var(--wp--preset--color--ink, #1a1a1a);
  }
  :is(.entry-content, .editor-styles-wrapper) .wp-block-table td:first-child::before {
    content: none;
  }
  :is(.entry-content, .editor-styles-wrapper) .wp-block-table td:not(:first-child) {
    text-align: right;
  }
}

.rl-note {
  background: #fff;
  border: 2px solid var(--wp--preset--color--aqua, #b6e3de);
  border-radius: 20px;
  padding: 1.5rem 1.75rem;
}
.rl-note > :first-child {
  margin-top: 0;
}
.rl-note > :last-child {
  margin-bottom: 0;
}

.rl-simple {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--wp--preset--spacing--70) clamp(1.25rem, 4vw, 2rem);
}

.rl-section {
  padding-top: var(--wp--preset--spacing--70);
  padding-bottom: var(--wp--preset--spacing--70);
  position: relative;
}
.entry-content > .rl-section, .wp-site-blocks > .rl-section {
  margin-block-start: 0;
}
.rl-section--white {
  background-color: #fff;
}
.rl-section--paper {
  background-color: #e3f3f0;
  background-image: url("assets/images/paper-texture.svg");
  background-size: 400px 400px;
}
.rl-section--doodles {
  background-color: #e3f3f0;
  background-image: url("assets/images/doodles.svg"), url("assets/images/paper-texture.svg");
  background-size: 960px 960px, 400px 400px;
  background-position: center top, 0 0;
}
.rl-section--dark {
  background-color: var(--wp--preset--color--teal-deep, #005c5c);
  color: #e6f7f5;
}
.rl-section--dark h1,
.rl-section--dark h2,
.rl-section--dark h3,
.rl-section--dark h4 {
  color: #fff;
}
.rl-section--dark a:not(.wp-element-button) {
  color: #fff;
}
.rl-section--hero {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.rl-eyebrow {
  margin-bottom: 0.25rem !important;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wp--preset--color--teal-dark, #007a7a);
}

.rl-pill {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--wp--preset--color--teal-dark, #007a7a);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.rl-pill::before {
  content: "";
  flex-shrink: 0;
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: var(--wp--preset--color--gold, #d4b037);
}
@media (min-width: 600px) {
  .rl-pill {
    white-space: nowrap;
  }
}

.rl-lead {
  font-size: var(--wp--preset--font-size--large);
  line-height: 1.55;
  max-width: 34em;
}

.rl-intro {
  max-width: 760px;
  margin-left: 0 !important;
}
.rl-intro > * + * {
  margin-top: 0.75rem;
}

.rl-hero-title em {
  font-style: normal;
  color: var(--wp--preset--color--teal-dark, #007a7a);
  padding-bottom: 0.12em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 18' preserveAspectRatio='none'%3E%3Cpath d='M3 12c40-9 80-9 120-3s90 6 174-6' fill='none' stroke='%23D4B037' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0.24em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.rl-pill + .rl-hero-title {
  margin-top: 1.25rem;
}

.rl-stack > * + * {
  margin-block-start: clamp(2.25rem, 5vw, 3.5rem) !important;
}

@media (min-width: 782px) and (max-width: 1099px) {
  .wp-block-columns.rl-grid-4 {
    flex-wrap: wrap !important;
  }
  .wp-block-columns.rl-grid-4 > .wp-block-column {
    flex-basis: calc(50% - 1.5rem) !important;
    flex-grow: 1;
  }
}
.rl-section .wp-block-columns {
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.rl-section .wp-block-columns.rl-cards,
.rl-section .wp-block-columns.rl-steps {
  gap: 1.5rem;
}

.rl-cta-row {
  gap: 1rem 1.5rem !important;
}
.rl-cta-row p {
  margin: 0;
}

.rl-section--paper > * {
  position: relative;
  z-index: 1;
}
@media (min-width: 600px) {
  .rl-section--paper#lessons::before {
    content: "";
    position: absolute;
    z-index: 0;
    width: 240px;
    height: 200px;
    background: url("assets/images/flourish-top.svg") no-repeat center/contain;
    pointer-events: none;
    top: clamp(1rem, 3vw, 2.5rem);
    right: max(0px, 50% - 760px);
  }
  .rl-section--paper#lessons::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 240px;
    height: 200px;
    background: url("assets/images/flourish-bottom.svg") no-repeat center/contain;
    pointer-events: none;
    bottom: clamp(0.5rem, 2vw, 1.5rem);
    left: max(0px, 50% - 770px);
  }
  .rl-section--paper#parents::before {
    content: "";
    position: absolute;
    z-index: 0;
    width: 240px;
    height: 200px;
    background: url("assets/images/flourish-bottom.svg") no-repeat center/contain;
    pointer-events: none;
    top: clamp(1.5rem, 3vw, 3rem);
    right: max(0px, 50% - 760px);
  }
  .rl-section--paper#parents::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 240px;
    height: 200px;
    background: url("assets/images/flourish-top.svg") no-repeat center/contain;
    pointer-events: none;
    bottom: clamp(0.5rem, 2vw, 1.5rem);
    right: max(0px, 50% - 760px);
    transform: scaleX(-1);
  }
}
@media (max-width: 999px) {
  .rl-section--paper::before, .rl-section--paper::after {
    width: 170px;
    height: 142px;
  }
}

.rl-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 2px 0 var(--wp--preset--color--aqua, #b6e3de);
  height: 100%;
  box-sizing: border-box;
}
.rl-card > * {
  margin-top: 0;
}
.rl-card > * + * {
  margin-top: 0.75rem;
}
.rl-card p {
  font-size: 1rem;
}
.rl-card--roomy {
  padding: clamp(1.75rem, 3vw, 2.25rem);
}
.rl-card--roomy p,
.rl-card--roomy li {
  font-size: 1.0625rem;
}

.rl-cards.wp-block-columns {
  align-items: stretch;
  gap: 1.5rem;
}
.rl-cards.wp-block-columns > .wp-block-column {
  display: flex;
  flex-direction: column;
}
.rl-cards.wp-block-columns > .wp-block-column > .rl-card {
  flex-grow: 1;
}

.rl-icon {
  position: relative;
  padding-top: calc(56px + 1rem);
}
.rl-icon::before, .rl-icon::after {
  position: absolute;
  top: 0;
  left: 0;
}
.rl-icon::after {
  content: "";
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--wp--preset--color--teal, #00a6a6);
  z-index: 0;
}
.rl-icon::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background-color: currentColor;
  -webkit-mask: no-repeat center/contain;
  mask: no-repeat center/contain;
  padding: 0;
  margin: 14px;
  background-color: #fff;
  z-index: 1;
}
.rl-icon--gold::after {
  background: var(--wp--preset--color--gold, #d4b037);
}
.rl-icon--gold::before {
  background-color: var(--wp--preset--color--ink, #1a1a1a);
}
.rl-icon--inline {
  padding-top: 0;
  padding-left: calc(52px + 0.9rem);
  min-height: 52px;
  display: flex;
  align-items: center;
}
.rl-icon--inline::after {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  top: 50%;
  transform: translateY(-50%);
}
.rl-icon--inline::before {
  top: 50%;
  transform: translateY(-50%);
  margin: 0 12px;
}
.rl-icon--maths::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='16' height='20' x='4' y='2' rx='2'/%3E%3Cpath d='M8 6h8M16 14v4M16 10h.01M12 10h.01M8 10h.01M12 14h.01M8 14h.01M12 18h.01M8 18h.01'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='16' height='20' x='4' y='2' rx='2'/%3E%3Cpath d='M8 6h8M16 14v4M16 10h.01M12 10h.01M8 10h.01M12 14h.01M8 14h.01M12 18h.01M8 18h.01'/%3E%3C/svg%3E");
}
.rl-icon--english::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E");
}
.rl-icon--exam::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z'/%3E%3Cpath d='M22 10v6'/%3E%3Cpath d='M6 12.5V16a6 3 0 0 0 12 0v-3.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z'/%3E%3Cpath d='M22 10v6'/%3E%3Cpath d='M6 12.5V16a6 3 0 0 0 12 0v-3.5'/%3E%3C/svg%3E");
}
.rl-icon--sats::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='m9 15 2 2 4-4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='m9 15 2 2 4-4'/%3E%3C/svg%3E");
}
.rl-icon--shield::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}
.rl-icon--clipboard::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='8' height='4' x='8' y='2' rx='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='m9 14 2 2 4-4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='8' height='4' x='8' y='2' rx='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='m9 14 2 2 4-4'/%3E%3C/svg%3E");
}

.rl-panel {
  background: #fff;
  border-radius: 28px;
  padding: clamp(1.75rem, 4vw, 3rem);
}
.rl-panel > * + * {
  margin-top: 2rem;
}

.rl-steps.wp-block-columns {
  gap: 1.75rem;
  margin-bottom: 0;
}

.rl-step > * {
  margin: 0;
}
.rl-step > * + * {
  margin-top: 0.6rem;
}

.rl-step__num {
  font-family: var(--wp--preset--font-family--heading, Bitter, Georgia, serif);
  font-weight: 800;
  font-size: 2.75rem;
  line-height: 1;
  color: var(--wp--preset--color--teal, #00a6a6);
}

.rl-step__title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--wp--preset--color--ink, #1a1a1a);
}

.rl-step__text {
  font-size: 1rem;
}

.rl-included {
  border-top: 2px dashed var(--wp--preset--color--aqua, #b6e3de);
  padding-top: 1.75rem;
}
.rl-included > * + * {
  margin-top: 1rem;
}

.rl-included__label {
  color: var(--wp--preset--color--teal-deep, #005c5c);
  font-weight: 700;
  font-size: 1.0625rem;
}

ul.rl-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 600px) {
  ul.rl-chips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1000px) {
  ul.rl-chips {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
ul.rl-chips li {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  background: var(--wp--preset--color--mist, #f2ffff);
  border: 1px solid var(--wp--preset--color--aqua, #b6e3de);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
}

.rl-band {
  background: var(--wp--preset--color--aqua, #b6e3de);
  border-radius: 20px;
  padding: 1.75rem clamp(1.5rem, 3vw, 2.25rem);
  color: var(--wp--preset--color--ink, #1a1a1a);
}
.rl-band h3 {
  margin: 0;
  font-size: var(--wp--preset--font-size--xx-large);
  font-weight: 800;
}
.rl-band p {
  margin: 0.25rem 0 0;
  max-width: 46em;
}
.rl-band.wp-block-columns {
  align-items: center !important;
  gap: 1.25rem 2rem;
  margin-bottom: 0;
}

ul.is-style-ticks {
  list-style: none;
  padding-left: 0 !important;
}
ul.is-style-ticks li {
  position: relative;
  padding-left: 1.85rem;
  margin: 0;
}
ul.is-style-ticks li::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  background-color: currentColor;
  -webkit-mask: no-repeat center/contain;
  mask: no-repeat center/contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  position: absolute;
  left: 0;
  top: 0.22em;
  color: var(--wp--preset--color--teal-dark, #007a7a);
}
ul.is-style-ticks li + li {
  margin-top: 0.6rem;
}
.rl-section--dark ul.is-style-ticks li::before, .rl-price--featured ul.is-style-ticks li::before {
  color: var(--wp--preset--color--gold, #d4b037);
}

ul.is-style-checklist {
  list-style: none;
  padding-left: 0 !important;
}
ul.is-style-checklist li {
  position: relative;
  padding-left: 2.6rem;
  min-height: 30px;
  margin: 0;
  font-size: 1rem;
}
ul.is-style-checklist li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--wp--preset--color--aqua, #b6e3de);
}
ul.is-style-checklist li::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  background-color: currentColor;
  -webkit-mask: no-repeat center/contain;
  mask: no-repeat center/contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  position: absolute;
  left: 6.5px;
  top: 6.5px;
  z-index: 1;
  color: var(--wp--preset--color--teal-deep, #005c5c);
}

ul.rl-list-2col {
  display: grid;
  gap: 0.75rem 2rem;
}
@media (min-width: 600px) {
  ul.rl-list-2col {
    grid-template-columns: repeat(2, minmax(0, max-content));
  }
}
ul.rl-list-2col li + li {
  margin-top: 0;
}

@media (min-width: 600px) {
  ul.rl-list-2col.is-style-checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.rl-trust {
  font-size: 1rem;
  font-weight: 500;
  color: var(--wp--preset--color--teal-deep, #005c5c);
}

.rl-card ul:not([class*=is-style-]) {
  padding-left: 1.3rem;
}
.rl-card ul:not([class*=is-style-]) li + li {
  margin-top: 0.6rem;
}
.rl-card ul:not([class*=is-style-]) li::marker {
  color: var(--wp--preset--color--teal, #00a6a6);
}

.wp-block-image.rl-polaroid {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 16px 16px 0;
  margin: 0 auto;
  max-width: 440px;
  box-shadow: 0 18px 40px rgba(0, 92, 92, 0.16);
  transform: rotate(-3deg);
}
.wp-block-image.rl-polaroid img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3.4;
  object-fit: cover;
  object-position: 55% 30%;
}
.wp-block-image.rl-polaroid figcaption,
.wp-block-image.rl-polaroid .wp-element-caption {
  margin: 0;
  padding: 0.9rem 0.5rem 1.1rem;
  text-align: center;
  font-family: var(--wp--preset--font-family--heading, Bitter, Georgia, serif);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--wp--preset--color--ink, #1a1a1a);
}
.wp-block-image.rl-polaroid.rl-polaroid--right {
  transform: rotate(2deg);
  max-width: 380px;
}
.wp-block-image.rl-polaroid.rl-polaroid--right img {
  aspect-ratio: 4/4.6;
  object-position: 50% 25%;
}

.rl-photo-stage {
  position: relative;
  padding: 1.25rem 0 3rem;
}
.rl-photo-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 82%;
  aspect-ratio: 1;
  top: 4%;
  right: 2%;
  border-radius: 50%;
  background: var(--wp--preset--color--aqua, #b6e3de);
}

.rl-float-card {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 210px;
  max-width: 100%;
  margin: 0 auto !important;
  padding: 1.5rem 1.1rem 1.25rem;
  background: linear-gradient(170deg, #fbeeb0 0%, #f6e08c 100%);
  border-radius: 2px 2px 3px 16px/2px 2px 3px 10px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05), 0 14px 18px -10px rgba(70, 52, 0, 0.4);
  transform: rotate(-4deg);
}
.rl-float-card::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 88px;
  height: 24px;
  background: rgba(182, 227, 222, 0.8);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  transform: translateX(-50%) rotate(4deg);
}
.rl-float-card > * {
  margin: 0;
}
.rl-float-card > * + * {
  margin-top: 0.4rem;
}
.rl-float-card h3,
.rl-float-card .rl-float-card__title {
  font-family: var(--wp--preset--font-family--heading, Bitter, Georgia, serif);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--wp--preset--color--ink, #1a1a1a);
}
.rl-float-card p {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--wp--preset--color--ink, #1a1a1a);
}

@media (min-width: 782px) {
  .rl-float-card {
    margin: 0 0 0 1.5rem !important;
  }
}
@media (max-width: 781px) {
  .wp-block-image.rl-polaroid {
    max-width: 360px;
  }
  .wp-block-image.rl-polaroid.rl-polaroid--right {
    max-width: 280px;
  }
}
.rl-price {
  position: relative;
  height: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 2px solid var(--wp--preset--color--aqua, #b6e3de);
  border-radius: 24px;
  padding: 2.25rem 2rem;
}
.rl-price > * {
  margin-top: 0;
  margin-bottom: 0;
}
.rl-price > * + * {
  margin-top: 1.1rem;
}
.rl-price h3 {
  font-size: var(--wp--preset--font-size--x-large);
}
.rl-price ul {
  font-size: 1rem;
}

.rl-price__tag {
  margin-top: 0.25rem !important;
  font-size: 1rem;
  font-weight: 700;
  color: var(--wp--preset--color--teal-dark, #007a7a);
}

.rl-price__amount {
  font-size: 1rem;
}
.rl-price__amount strong {
  font-family: var(--wp--preset--font-family--heading, Bitter, Georgia, serif);
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  color: var(--wp--preset--color--ink, #1a1a1a);
  margin-right: 0.35rem;
}

.rl-price--featured {
  background: var(--wp--preset--color--teal-deep, #005c5c);
  border-color: var(--wp--preset--color--teal-deep, #005c5c);
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 92, 92, 0.25);
}
.rl-price--featured h3,
.rl-price--featured .rl-price__amount strong {
  color: #fff;
}
.rl-price--featured .rl-price__tag {
  color: var(--wp--preset--color--aqua, #b6e3de);
}

.rl-badge {
  position: absolute;
  top: -16px;
  right: 28px;
  margin: 0 !important;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--wp--preset--color--gold, #d4b037);
  color: var(--wp--preset--color--ink, #1a1a1a);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
}

.rl-badge + * {
  margin-top: 0 !important;
}

.rl-price-note {
  font-size: 1rem;
}

.rl-contact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(182, 227, 222, 0.4);
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.rl-contact-item {
  position: relative;
  gap: 1rem !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}
.rl-contact-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wp--preset--color--gold, #d4b037);
}
.rl-contact-item::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background-color: currentColor;
  -webkit-mask: no-repeat center/contain;
  mask: no-repeat center/contain;
  position: relative;
  z-index: 1;
  margin: 15px;
  background-color: var(--wp--preset--color--ink, #1a1a1a);
}
.rl-contact-item > * {
  position: relative;
  z-index: 1;
}
.rl-contact-item--phone::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}
.rl-contact-item--email::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
  background-color: var(--wp--preset--color--teal-deep, #005c5c);
}
.rl-contact-item--email::after {
  background: var(--wp--preset--color--aqua, #b6e3de);
}
.rl-contact-item p {
  margin: 0;
}
.rl-contact-item a {
  color: #fff;
  text-decoration: none;
}
.rl-contact-item a:hover, .rl-contact-item a:focus-visible {
  text-decoration: underline;
}

.rl-contact-label {
  font-size: 0.9375rem;
  color: var(--wp--preset--color--aqua, #b6e3de);
}

.rl-contact-value {
  font-family: var(--wp--preset--font-family--heading, Bitter, Georgia, serif);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.rl-contact-value--small {
  font-family: var(--wp--preset--font-family--body, "DM Sans", system-ui, sans-serif);
  font-weight: 700;
  font-size: 1.25rem;
}

.rl-contact-social {
  border-top: 1px solid rgba(182, 227, 222, 0.35);
  padding-top: 1.4rem;
  gap: 0.75rem !important;
  align-items: center !important;
}
.rl-contact-social p {
  margin: 0 0.5rem 0 0;
  font-size: 0.9375rem;
  color: var(--wp--preset--color--aqua, #b6e3de);
}

.wp-block-social-links.rl-social {
  gap: 0.75rem;
}
.wp-block-social-links.rl-social .wp-social-link {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  transition: background-color 0.2s ease;
}
.wp-block-social-links.rl-social .wp-social-link a {
  padding: 12px;
}
.wp-block-social-links.rl-social .wp-social-link svg {
  width: 22px;
  height: 22px;
}
.wp-block-social-links.rl-social .wp-social-link:hover {
  background: var(--wp--preset--color--gold, #d4b037) !important;
  color: var(--wp--preset--color--ink, #1a1a1a) !important;
  transform: none;
}

.wp-block-button__link,
.wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  box-sizing: border-box;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--wp--preset--color--teal-deep, #005c5c);
  border: 2px solid var(--wp--preset--color--teal-dark, #007a7a);
  padding: calc(0.8rem - 2px) calc(1.5rem - 2px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover, .wp-block-button.is-style-outline > .wp-block-button__link:focus-visible,
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus-visible {
  background: var(--wp--preset--color--aqua, #b6e3de);
  color: var(--wp--preset--color--teal-deep, #005c5c);
}

.rl-band .wp-block-button.is-style-outline .wp-block-button__link {
  background: #fff;
}
.rl-band .wp-block-button.is-style-outline .wp-block-button__link:hover, .rl-band .wp-block-button.is-style-outline .wp-block-button__link:focus-visible {
  background: var(--wp--preset--color--mist, #f2ffff);
}

.wp-block-button.rl-btn-arrow .wp-block-button__link::after {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-color: currentColor;
  -webkit-mask: no-repeat center/contain;
  mask: no-repeat center/contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
}

.wp-block-button.rl-btn-phone .wp-block-button__link::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-color: currentColor;
  -webkit-mask: no-repeat center/contain;
  mask: no-repeat center/contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}
