/*
Theme Name: Court Grammar St Marys Layout
Theme URI: https://www.cgs.wa.edu.au/
Author: Codex
Description: A custom WordPress brochure theme for Court Grammar School content using a St Mary's inspired layout system.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Text Domain: court-stmarys
*/

@font-face {
  font-family: "Apparel";
  src: url("assets/fonts/Apparel-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #14202a;
  --muted: #5f6a72;
  --paper: #ffffff;
  --mist: #eef4f4;
  --sea: #007d8b;
  --sea-dark: #004062;
  --coral: #e45f3f;
  --gold: #d8aa35;
  --plum: #6d3d78;
  --line: rgba(20, 32, 42, .16);
  --shadow: 0 20px 55px rgba(20, 32, 42, .14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
}

body.wp-theme-court-stmarys {
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

p {
  margin: 0 0 1.25rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.08;
}

h1,
h2,
h3 {
  font-family: "Apparel", Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

#main-content,
.content-page {
  display: block;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: linear-gradient(180deg, rgba(0, 0, 0, .46), rgba(0, 0, 0, 0));
  border-bottom: 0;
  box-shadow: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}

.brand img {
  width: clamp(190px, 20vw, 285px);
}

.brand span {
  max-width: 190px;
  line-height: 1.15;
  font-size: 15px;
}

.quick-nav {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.quick-nav a {
  color: #fff;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1;
  margin-right: 1em;
  padding-right: 1em;
  border-right: 1px solid currentColor;
  text-transform: none;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}

.quick-nav a:last-child {
  margin-right: 0;
  padding-right: 1em;
  border-right: 1px solid currentColor;
}

.quick-nav a + a::before {
  content: none;
}

.quick-nav a:hover,
.quick-nav a:focus {
  color: #d7f7fa;
}

.menu-open,
.menu-close {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 0;
  background: transparent;
  color: #fff;
  padding: 9px 25px 9px 45px;
  font: inherit;
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-open {
  position: relative;
}

.menu-open::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 50%;
  width: 10px;
  height: 10px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: translateY(-50%) rotate(-45deg);
}

.menu-open:hover,
.menu-open:focus,
.menu-close:hover,
.menu-close:focus {
  border-color: #fff;
  background: #fff;
  color: var(--sea-dark);
}

.menu-bars {
  display: none;
  gap: 4px;
}

.menu-bars span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
}

.menu-bars span:nth-child(3) {
  width: 16px;
}

.fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  color: #fff;
  background: var(--sea-dark);
  overflow-y: auto;
}

.fullscreen-menu.is-open {
  display: block;
}

.fullscreen-menu-inner {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 32px max(24px, calc((100vw - 1180px) / 2));
}

.fullscreen-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 52px;
}

.fullscreen-menu-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
}

.fullscreen-menu-logo img {
  width: min(260px, 68vw);
}

.menu-close {
  background: transparent;
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.fullscreen-menu-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px 54px;
}

.menu-group h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(28px, 3vw, 44px);
}

.menu-group h2 a:hover,
.menu-group h2 a:focus {
  color: #8fdbe2;
}

.menu-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-group li {
  margin-bottom: 10px;
}

.menu-group li a {
  color: rgba(255, 255, 255, .78);
}

.menu-group li a:hover,
.menu-group li a:focus {
  color: #fff;
}

.fullscreen-menu-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: auto;
  padding-top: 54px;
  color: rgba(255, 255, 255, .82);
  font-weight: 900;
  text-transform: uppercase;
}

body.menu-is-open {
  overflow: hidden;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header .header-actions .button {
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
}

.site-header .header-actions .button.secondary {
  background: transparent;
  color: #fff;
  margin-right: 1em;
  padding-right: 1em;
  border-right: 1px solid currentColor;
}

.site-header .header-actions .button:hover,
.site-header .header-actions .button:focus {
  background: transparent;
  color: #d7f7fa;
}

.site-header .header-actions .button.secondary:hover,
.site-header .header-actions .button.secondary:focus {
  background: transparent;
  color: #d7f7fa;
}

.button,
.wp-block-button__link,
.elementor-widget-button .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--sea-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  transition: transform .2s ease, background .2s ease, color .2s ease, border .2s ease;
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.elementor-widget-button .elementor-button:hover,
.elementor-widget-button .elementor-button:focus {
  transform: translateY(-2px);
  background: var(--sea);
}

.button.secondary,
.elementor-widget-button.secondary .elementor-button {
  background: transparent;
  border-color: var(--sea-dark);
  color: var(--sea-dark);
}

.button.secondary:hover,
.button.secondary:focus,
.elementor-widget-button.secondary .elementor-button:hover,
.elementor-widget-button.secondary .elementor-button:focus {
  background: var(--sea-dark);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  isolation: isolate;
  padding: 130px 0 86px;
  color: #fff;
  background: var(--sea-dark);
  overflow: hidden;
  text-align: center;
}

.hero .container,
.intro-band .container,
.section .container,
.newsletter .container,
.site-footer .container {
  position: relative;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 32, 42, .18), rgba(20, 32, 42, .72));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 12px;
  background: linear-gradient(90deg, var(--coral) 0 33.33%, var(--gold) 33.33% 66.66%, var(--plum) 66.66%);
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  transition: opacity .8s ease, transform 5.5s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slider-controls {
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 48px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-slider-button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.hero-slider-button:hover,
.hero-slider-button:focus {
  background: #fff;
  color: var(--sea-dark);
}

.hero-slider-dots {
  display: flex;
  gap: 8px;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.hero-slider-dot.is-active {
  background: #fff;
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(52px, 8.5vw, 116px);
  font-weight: 400;
  line-height: 1.02;
  text-wrap: balance;
}

.hero p {
  max-width: 670px;
  margin: 24px auto 32px;
  font-size: clamp(18px, 2vw, 24px);
}

.hero-subline {
  min-height: 1.6em;
  font-weight: 700;
}

.hero-cta.is-hidden,
.hero-subline.is-hidden {
  display: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-actions > * {
  white-space: normal;
}

.hero .button {
  background: #fff;
  color: var(--sea-dark);
}

.hero .button.secondary {
  border-color: #fff;
  background: transparent;
  color: #fff;
}

.intro-band {
  padding: 74px 0;
  background: var(--mist);
  text-align: center;
}

.intro-band h2 {
  margin-bottom: 18px;
  color: var(--sea-dark);
  font-size: clamp(38px, 5vw, 70px);
}

.intro-band p {
  max-width: 890px;
  margin-inline: auto;
  font-size: 21px;
}

.section {
  padding: 76px 0;
}

main#main-content .split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 58px;
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 58px;
}

.feature-split > * {
  min-width: 0;
}

main#main-content .split > * {
  min-width: 0;
}

main#main-content .split.reverse .split-media {
  order: -1;
}

.feature-split-reverse .feature-split-media {
  order: -1;
}

main#main-content .split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.feature-split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

main#main-content .split-content {
  max-width: 34rem;
  align-self: start;
}

.feature-split-content {
  max-width: 34rem;
  align-self: start;
}

main#main-content .split.reverse .split-content {
  justify-self: end;
}

.feature-split-reverse .feature-split-content {
  justify-self: end;
}

main#main-content .split-media {
  align-self: start;
}

.feature-split-media {
  align-self: start;
}

.learning-showcase {
  display: grid;
  grid-template-columns: minmax(320px, 1.02fr) minmax(360px, .98fr);
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
}

.learning-showcase > * {
  min-width: 0;
}

.learning-showcase-media {
  align-self: start;
}

.learning-showcase-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.learning-showcase-text {
  max-width: 34rem;
  align-self: start;
  justify-self: end;
}

.learning-showcase-text h4,
.feature-split-content h4 {
  margin-bottom: 10px;
  color: var(--sea);
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.learning-showcase-text h3,
.feature-split-content h3 {
  margin-bottom: 20px;
  color: var(--sea-dark);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.08;
}

.learning-showcase-text > :last-child {
  margin-bottom: 0;
}

.split-content h4 {
  margin-bottom: 10px;
  color: var(--sea);
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.split-content h3 {
  margin-bottom: 20px;
  color: var(--sea-dark);
  font-size: clamp(34px, 4.4vw, 58px);
}

.split-content > :last-child,
.tour-block > :last-child,
.news-card-content > :last-child,
.acknowledgement > :last-child,
.footer-contact > :last-child {
  margin-bottom: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.divider {
  display: block;
  position: relative;
  width: calc(100% - 40px);
  max-width: 1180px;
  margin: 0 auto;
  border: 0;
  height: 50px;
  min-height: 50px;
  overflow: visible;
  background-color: transparent;
  background-image:
    linear-gradient(rgba(20, 32, 42, .12), rgba(20, 32, 42, .12)),
    linear-gradient(rgba(20, 32, 42, .12), rgba(20, 32, 42, .12)),
    url("/wp-content/themes/court-stmarys/assets/images/logo-stacked.svg");
  background-position:
    left center,
    right center,
    center center;
  background-repeat:
    no-repeat,
    no-repeat,
    no-repeat;
  background-size:
    calc(50% - 34px) 1px,
    calc(50% - 34px) 1px,
    26px auto;
}

.elementor-widget-html .divider,
.elementor-widget-html hr.divider {
  display: block !important;
  width: calc(100% - 40px) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  background-position:
    left center,
    right center,
    center center !important;
}

.divider-row {
  position: relative;
  width: calc(100% - 40px);
  max-width: 1180px;
  min-height: 50px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.divider-row::before,
.divider-row::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 34px);
  height: 1px;
  background: rgba(20, 32, 42, .12);
}

.divider-row::before {
  left: 0;
}

.divider-row::after {
  right: 0;
}

.divider-logo img {
  display: block;
  width: 26px;
  height: auto;
}

.doorways {
  color: #fff;
  background: var(--sea-dark);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading h2 {
  color: inherit;
  font-size: clamp(36px, 5vw, 66px);
}

.section-heading p {
  max-width: 480px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
}

.doorway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.doorway-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow);
}

.doorway-card > * {
  position: relative;
  z-index: 1;
}

.doorway-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--card-image) center / cover no-repeat;
  transition: transform .3s ease;
}

.doorway-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .78));
}

.doorway-card:hover::before,
.doorway-card:focus-within::before {
  transform: scale(1.06);
}

.doorway-card h3 {
  margin-bottom: 12px;
  font-size: 32px;
}

.doorway-card p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .88);
}

.doorway-card a {
  font-weight: 900;
  text-transform: uppercase;
}

.news {
  background: #fff;
}

.news .section-heading {
  color: var(--sea-dark);
}

.news .section-heading p {
  color: var(--muted);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.news-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 32, 42, .08);
}

.news-card > a {
  display: block;
}

.news-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.news-card-content {
  padding: 24px;
}

.news-card time {
  display: block;
  margin-bottom: 10px;
  color: var(--sea);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-card h3 {
  margin-bottom: 14px;
  color: var(--sea-dark);
  font-size: 28px;
}

.tour-block {
  position: relative;
  margin: 0 auto;
  padding: 58px 40px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--sea), var(--sea-dark));
  overflow: hidden;
}

.tour-block::after {
  content: "";
  position: absolute;
  inset: auto -80px -90px auto;
  width: 260px;
  height: 260px;
  border: 36px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
}

.tour-block h2 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 60px);
}

.tour-block p {
  max-width: 660px;
}

.newsletter {
  padding: 36px 0;
  color: #fff;
  background: var(--sea);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 28px;
}

.newsletter h2 {
  font-size: 36px;
}

.newsletter-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 10px;
}

.newsletter-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.newsletter-form input {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
}

.newsletter-form input::placeholder {
  color: #6c7680;
  opacity: 1;
}

.newsletter-form .button {
  background: var(--sea-dark);
  width: 100%;
}

.elementor-element-welcomeband {
  padding: 86px 0 78px;
  text-align: center;
  background: var(--sand);
}

.elementor-element-welcomewrap,
.elementor-element-learningwrap,
.elementor-element-communitywrap,
.elementor-element-enrolwrap,
.elementor-element-tourwrap {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.elementor-element-welcomewrap h2 {
  margin-bottom: 18px;
  color: var(--sea-dark);
  font-size: clamp(38px, 5vw, 70px);
}

.elementor-element-welcomewrap .elementor-widget-text-editor {
  max-width: 890px;
  margin-inline: auto;
  font-size: 21px;
}

.elementor-element-learningsec,
.elementor-element-communitysec,
.elementor-element-enrolsec,
.elementor-element-toursec {
  padding: 76px 0;
}

.elementor-element-learningwrap {
  display: grid;
  grid-template-columns: minmax(320px, 1.02fr) minmax(360px, 0.98fr);
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
}

.elementor-element-communitywrap,
.elementor-element-enrolwrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 58px;
}

.elementor-element-learningtext,
.elementor-element-communitytext,
.elementor-element-enroltext {
  max-width: 34rem;
  align-self: start;
}

.elementor-element-communitytext {
  justify-self: end;
}

.elementor-element-communitymedia {
  order: -1;
}

.elementor-element-learningmedia img,
.elementor-element-communitymedia img,
.elementor-element-enrolmedia img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.elementor-element-learningtext h4,
.elementor-element-communitytext h4,
.elementor-element-enroltext h4 {
  margin-bottom: 10px;
  color: var(--sea);
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.elementor-element-learningtext h3,
.elementor-element-communitytext h3,
.elementor-element-enroltext h3 {
  margin-bottom: 20px;
  color: var(--sea-dark);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.08;
}

.elementor-element-welcomebtns,
.elementor-element-learningbtns,
.elementor-element-communitybtns,
.elementor-element-enrolbtns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.elementor-element-welcomebtns {
  justify-content: center;
}

.elementor-element-dividerone,
.elementor-element-dividertwo {
  position: relative;
  width: calc(100% - 40px);
  max-width: 1180px;
  min-height: 50px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.elementor-element-dividerone::before,
.elementor-element-dividerone::after,
.elementor-element-dividertwo::before,
.elementor-element-dividertwo::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 34px);
  height: 1px;
  background: rgba(20, 32, 42, .12);
}

.elementor-element-dividerone::before,
.elementor-element-dividertwo::before {
  left: 0;
}

.elementor-element-dividerone::after,
.elementor-element-dividertwo::after {
  right: 0;
}

.elementor-element-dividerlogo1 img,
.elementor-element-dividerlogo2 img {
  display: block;
  width: 26px;
  height: auto;
}

.elementor-element-tourblock {
  position: relative;
  margin: 0 auto;
  padding: 58px 40px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--sea), var(--sea-dark));
  overflow: hidden;
}

.elementor-element-tourblock::after {
  content: "";
  position: absolute;
  inset: auto -80px -90px auto;
  width: 260px;
  height: 260px;
  border: 36px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
}

.elementor-element-tourblock h2 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 60px);
}

.elementor-element-tourblock p {
  max-width: 660px;
}

.site-footer {
  color: #fff;
  background: var(--sea-dark);
}

.footer-main {
  display: grid;
  grid-template-columns: .7fr 1fr 1.2fr;
  gap: 38px;
  padding: 58px 0;
}

.footer-logo {
  width: 104px;
  margin-bottom: 20px;
}

.footer-links {
  columns: 2;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  break-inside: avoid;
  margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, .86);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #fff;
}

.acknowledgement {
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
}

.content-page {
  padding: 150px 0 80px;
}

.content-page h1 {
  margin-bottom: 24px;
  color: var(--sea-dark);
  font-size: clamp(42px, 6vw, 76px);
}

.content-page .entry-content {
  max-width: 860px;
}

.elementor-full-width-page {
  padding-top: 88px;
}

.elementor-page .content-page,
.elementor-page .elementor-full-width-page {
  overflow-x: clip;
}

@media (max-width: 1020px) {
  .quick-nav,
  .header-actions {
    display: none;
  }

  .section-heading {
    flex-direction: column;
    align-items: start;
  }

  .fullscreen-menu-links {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter-inner,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .doorway-grid,
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter-form {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  main#main-content .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .learning-showcase {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  main#main-content .split.reverse .split-media {
    order: 0;
  }

  .feature-split-reverse .feature-split-media {
    order: 0;
  }

  main#main-content .split-content,
  main#main-content .split.reverse .split-content {
    max-width: none;
    justify-self: stretch;
  }

  .feature-split-content,
  .feature-split-reverse .feature-split-content {
    max-width: none;
    justify-self: stretch;
  }

  .learning-showcase-text {
    max-width: none;
    justify-self: stretch;
  }

  .elementor-element-learningwrap,
  .elementor-element-communitywrap,
  .elementor-element-enrolwrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .elementor-element-communitymedia {
    order: 0;
  }

  .elementor-element-learningtext,
  .elementor-element-communitytext,
  .elementor-element-enroltext {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 86px;
  }

  .brand img {
    width: min(190px, 52vw);
  }

  .fullscreen-menu-inner {
    padding: 22px 18px 34px;
  }

  .fullscreen-menu-top {
    margin-bottom: 34px;
  }

  .fullscreen-menu-links {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero {
    min-height: 86vh;
    padding-top: 116px;
  }

  .hero-actions > * {
    width: 100%;
  }

  .hero-slider-controls {
    left: 14px;
    right: 14px;
    bottom: 28px;
    justify-content: space-between;
  }

  .hero-slider-dots {
    flex: 1;
    justify-content: center;
  }

  .hero-slider-button {
    width: 38px;
    height: 38px;
  }

  .intro-band,
  .section {
    padding: 54px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 16px;
  }

  .doorway-grid,
  .news-grid,
  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .doorway-card {
    min-height: 300px;
  }

  .tour-block {
    padding: 42px 24px;
  }

  .footer-bottom {
    display: block;
  }
}
