/*
Theme Name: CGI-AI 2027 Cairns
Theme URI: https://www.cgs-network.org/cgi27/
Author: CGI-AI 2027 Organising Committee
Author URI: https://www.cgs-network.org/
Description: Custom conference theme for CGI-AI 2027 in Cairns, Australia.
Version: 1.0.6
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cgi-ai-2027
*/

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-700-normal.woff2") format("woff2");
}

:root {
  --navy-950: #03172f;
  --navy-900: #05254d;
  --navy-800: #082f60;
  --ink: #082650;
  --teal: #128b88;
  --teal-bright: #26aaa5;
  --line: #d9e0e6;
  --muted: #53677d;
  --surface: #f5f8fa;
  --white: #ffffff;
  --page-width: 1320px;
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

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

p,
h1,
h2,
h3 {
  margin: 0;
}

.page-width {
  width: min(var(--page-width), calc(100% - 120px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 94px;
  padding-inline: max(60px, calc((100vw - var(--page-width)) / 2));
  background: var(--white);
}

.masthead__title {
  max-width: 540px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-align: right;
  text-transform: uppercase;
}

.wordmark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 17px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  line-height: 1;
}

.wordmark__place,
.wordmark__year {
  color: #087f7b;
  font-size: 43px;
  font-weight: 600;
}

.wordmark__event {
  color: var(--ink);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.015em;
}

.wordmark__divider {
  width: 1px;
  height: 45px;
  margin-inline: 2px 4px;
  background: #69798a;
}

.navigation {
  position: relative;
  z-index: 20;
  min-height: 64px;
  background: linear-gradient(90deg, var(--navy-900), #032d5f);
}

.navigation__inner {
  width: min(var(--page-width), calc(100% - 120px));
  min-height: 64px;
  margin-inline: auto;
}

.navigation__links {
  display: flex;
  align-items: stretch;
  gap: 42px;
  height: 64px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navigation__links > .menu-item {
  position: relative;
  height: 64px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navigation__links > .menu-item > a {
  white-space: nowrap;
}

.navigation__links > .menu-item-has-children > a {
  padding-right: 17px;
}

.navigation__links > .menu-item-has-children > a::before {
  position: absolute;
  top: 50%;
  right: 1px;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: translateY(-70%) rotate(45deg);
}

.navigation__links .sub-menu {
  position: absolute;
  z-index: 2;
  top: 64px;
  left: -22px;
  display: none;
  width: 250px;
  margin: 0;
  padding: 12px;
  background: var(--navy-950);
  box-shadow: 0 20px 42px rgba(0, 11, 28, 0.3);
  list-style: none;
}

.navigation__links .sub-menu .menu-item {
  height: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navigation__links > .menu-item-has-children:hover > .sub-menu,
.navigation__links > .menu-item-has-children:focus-within > .sub-menu {
  display: grid;
}

.navigation__links .sub-menu a {
  display: block;
  height: auto;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
  white-space: normal;
}

.navigation__links .sub-menu a::after {
  display: none;
}

.navigation__links .sub-menu a:hover,
.navigation__links .sub-menu a:focus-visible,
.navigation__links .sub-menu .current-menu-item > a,
.navigation__links .sub-menu .current_page_item > a {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.navigation__item {
  position: relative;
  height: 64px;
}

.navigation__item details {
  height: 100%;
}

.navigation__item summary {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.91);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.navigation__item summary::-webkit-details-marker {
  display: none;
}

.navigation__item summary::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 3px;
  background: var(--teal-bright);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 160ms ease, transform 160ms ease;
}

.navigation__item summary:hover::after,
.navigation__item summary:focus-visible::after,
.navigation__item summary.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.navigation__submenu {
  position: absolute;
  top: 64px;
  left: -22px;
  display: none;
  width: 230px;
  padding: 12px;
  background: var(--navy-950);
  box-shadow: 0 20px 42px rgba(0, 11, 28, 0.3);
}

.navigation__item--group:hover .navigation__submenu,
.navigation__item--group:focus-within .navigation__submenu,
.navigation__item details[open] .navigation__submenu {
  display: grid;
}

.navigation__submenu a {
  display: block;
  height: auto;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.78);
}

.navigation__submenu a::after {
  display: none;
}

.navigation__submenu a:hover,
.navigation__submenu a:focus-visible,
.navigation__submenu a.is-current {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.navigation__links a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.91);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.navigation__links a::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 3px;
  background: var(--teal-bright);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 160ms ease, transform 160ms ease;
}

.navigation__links a:hover,
.navigation__links a:focus-visible {
  color: var(--white);
}

.navigation__links a:hover::after,
.navigation__links a:focus-visible::after,
.navigation__links a.is-active::after,
.navigation__links > .current-menu-item > a::after,
.navigation__links > .current-menu-parent > a::after,
.navigation__links > .current-menu-ancestor > a::after,
.navigation__links > .current_page_item > a::after,
.navigation__links > .current_page_ancestor > a::after,
.navigation__links > .menu-item > a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 596px;
  overflow: hidden;
  background: var(--navy-950);
}

.hero__image,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.hero__video {
  pointer-events: none;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 18, 37, 0.92) 0%, rgba(1, 18, 37, 0.68) 29%, rgba(1, 18, 37, 0.18) 62%, rgba(1, 18, 37, 0.03) 100%),
    linear-gradient(0deg, rgba(2, 19, 39, 0.62) 0%, rgba(2, 19, 39, 0) 47%);
}

.hero__content {
  position: relative;
  z-index: 2;
  min-height: 596px;
  padding-top: 70px;
  padding-bottom: 64px;
  color: var(--white);
}

.film-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.film-trigger__icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  transition: background 160ms ease, color 160ms ease;
}

.film-trigger__icon .dashicons {
  width: 22px;
  height: 22px;
  font-size: 22px;
  line-height: 1;
  transform: translateX(1px);
}

.film-trigger:hover .film-trigger__icon,
.film-trigger:focus-visible .film-trigger__icon {
  background: var(--white);
  color: var(--navy-900);
}

.hero__copy {
  margin-top: 58px;
}

.hero__copy--no-film {
  margin-top: 108px;
}

.hero h1 {
  max-width: 690px;
  font-size: clamp(48px, 4.1vw, 63px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.14;
}

.hero__place {
  margin-top: 24px;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.hero__date {
  margin-top: 12px;
  font-size: 23px;
  font-weight: 500;
}

.hero__actions {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  min-width: 234px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 26px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: #25a8a3;
  color: var(--navy-950);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #15948f;
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(3, 23, 47, 0.28);
  color: var(--white);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.facts {
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.facts__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr 0.9fr;
  min-height: 156px;
}

.fact {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 32px 36px;
  color: var(--teal);
  text-decoration: none;
}

.fact__icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 5px;
  font-size: 19px;
  line-height: 1;
}

.fact + .fact {
  padding-left: 36px;
}

.fact + .fact::before {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 1px;
  background: var(--line);
  content: "";
}

.fact__label {
  color: #344d70;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact__value {
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(18px, 1.7vw, 23px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.fact--supporter {
  color: var(--ink);
}

.fact--supporter a {
  display: block;
  width: min(158px, 100%);
  margin-top: 10px;
}

.fact--supporter img {
  width: 100%;
  height: auto;
}

.section {
  padding-block: 104px;
}

.section--about {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 104px;
  min-height: 360px;
  padding-top: 62px;
}

.section--about .section__body {
  align-self: start;
  padding-top: 30px;
}

.eyebrow {
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 {
  margin-top: 20px;
  color: var(--ink);
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.13;
}

.section--about h2 {
  max-width: 620px;
  font-size: 38px;
  letter-spacing: -0.025em;
  line-height: 1.22;
}

.section__body {
  align-self: center;
  color: #244265;
  font-size: 17px;
  line-height: 1.8;
}

.section__body p + p {
  margin-top: 22px;
}

.section--tinted {
  background: var(--surface);
}

.section-heading {
  max-width: 780px;
}

.section-heading > p:last-child,
.section-heading > .wp-block-group__inner-container > p:last-child {
  max-width: 630px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.track-list {
  margin-top: 60px;
  border-top: 1px solid #b9c6d1;
}

.track {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 220px;
  gap: 34px;
  align-items: start;
  padding-block: 40px;
  border-bottom: 1px solid #b9c6d1;
}

.track__number {
  color: var(--teal);
  font-size: 17px;
  font-weight: 700;
}

.track h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.track__body > p,
.track__body > .wp-block-group__inner-container > p {
  max-width: 780px;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.72;
}

.track__body a {
  color: var(--teal);
  font-weight: 700;
  text-underline-offset: 4px;
}

.track__body .track__submission {
  margin-top: 24px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.track__body .track__submission > a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 18px;
  border: 1px solid var(--teal-bright);
  background: var(--teal-bright);
  color: var(--navy-950);
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.track__body .track__submission > a:hover,
.track__body .track__submission > a:focus-visible {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-2px);
}

.track__deadline {
  padding-top: 3px;
  text-align: right;
}

.track__deadline p {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.track__deadline strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 21px;
}

.author-info__intro {
  max-width: 820px;
}

.author-info__intro > p:last-child,
.author-info__intro > .wp-block-group__inner-container > p:last-child {
  max-width: 720px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.author-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 60px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.author-card {
  min-height: 400px;
  padding: 32px 34px 36px 0;
}

.author-card + .author-card {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.author-card__number,
.author-status__label {
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.author-card h3 {
  margin-top: 28px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.author-card h3 + p,
.author-card ul {
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.72;
}

.author-card ul {
  padding-left: 20px;
}

.author-card li + li {
  margin-top: 10px;
}

.author-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.author-card__link:hover,
.author-card__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.author-status {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
  margin-top: 32px;
  padding: 30px 34px;
  background: var(--navy-950);
  color: var(--white);
}

.author-status h3 {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 600;
}

.author-status .author-card__link {
  margin-top: 18px;
}

.author-status .author-card__link > a,
.author-status a.author-card__link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 18px;
  border: 1px solid var(--teal-bright);
  background: var(--teal-bright);
  color: var(--navy-950);
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.author-status .author-card__link > a:hover,
.author-status .author-card__link > a:focus-visible,
.author-status a.author-card__link:hover,
.author-status a.author-card__link:focus-visible {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy-950);
  text-decoration: none;
  transform: translateY(-2px);
}

.author-status > p,
.author-status > .wp-block-group__inner-container > p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.topics {
  display: block;
}

.topics__intro {
  max-width: 780px;
}

.topics__intro > p:last-child,
.topics__intro > .wp-block-group__inner-container > p:last-child {
  max-width: 680px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.topics__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  margin: 56px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  counter-reset: topic;
  list-style: none;
}

.topics__list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  min-height: 82px;
  padding: 20px 22px 18px;
  border-bottom: 1px solid var(--line);
  counter-increment: topic;
}

.topics__list li:not(:nth-child(3n + 1)) {
  border-left: 1px solid var(--line);
}

.topics__list li::before {
  color: var(--teal);
  content: counter(topic, decimal-leading-zero);
  font-size: 12px;
  font-weight: 700;
}

.topics__list li > span:first-child {
  display: none;
}

.topics__list p {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.split-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 120px;
}

.large-copy {
  max-width: 660px;
  color: #244265;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.6;
}

.feature-lines {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.feature-lines > p,
.feature-lines > .wp-block-group__inner-container > p {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--teal);
}

.feature-lines span {
  color: var(--ink);
  font-weight: 600;
}

.section--navy {
  background: var(--navy-950);
  color: var(--white);
}

.section-heading--light h2,
.section-heading--light .eyebrow {
  color: var(--white);
}

.section-heading--light .eyebrow {
  opacity: 0.72;
}

.chair-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.chair {
  min-height: 180px;
  padding: 32px 34px 28px 0;
}

.chair + .chair {
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.chair h3 {
  max-width: 330px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
}

.chair p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

.forthcoming-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 60px;
  border-top: 1px solid #b9c6d1;
  border-bottom: 1px solid #b9c6d1;
}

.forthcoming-card {
  min-height: 260px;
  padding: 30px 34px 34px 0;
}

.forthcoming-card + .forthcoming-card {
  padding-left: 34px;
  border-left: 1px solid #b9c6d1;
}

.forthcoming-card__number,
.forthcoming-card__status {
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.forthcoming-card__status {
  margin-top: 30px;
}

.forthcoming-card h3 {
  margin-top: 12px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.forthcoming-card h3 + p {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.travel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 120px;
}

.travel__content {
  align-self: center;
  color: #244265;
  font-size: 18px;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer {
  padding-top: 72px;
  background: #061b35;
  color: rgba(255, 255, 255, 0.7);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 1fr 1.25fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 58px;
}

.footer__inner section > p:not(.footer__brand, .footer__label) {
  font-size: 14px;
  line-height: 1.7;
}

.footer__brand {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
}

.footer__label {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}

.footer__link:hover,
.footer__link:focus-visible,
.footer__link--accent {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer__logo {
  display: block;
  width: 126px;
  margin-top: 20px;
  padding: 8px;
  background: var(--white);
}

.footer__logo img {
  width: 100%;
}

.footer__supporter {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.5;
}

.footer__logo--cadsi {
  width: 180px;
  max-width: 100%;
  height: 90px;
  margin-top: 12px;
  padding: 10px;
  overflow: hidden;
}

/* Fit the official square asset's whitespace around its horizontal wordmark. */
.footer__logo--cadsi img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 43%;
  transform: scale(1.5);
}

.footer__bottom {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
}

.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.film-modal {
  width: min(960px, calc(100% - 48px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.film-modal::backdrop {
  background: rgba(0, 12, 26, 0.78);
}

.film-modal__panel {
  position: relative;
  width: 100%;
  max-height: calc(100dvh - 48px);
  padding: 28px 28px 34px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--white);
  box-shadow: 0 24px 80px rgba(0, 8, 18, 0.4);
}

.film-modal__close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-900);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.film-modal__close:focus-visible {
  outline: 3px solid var(--teal-bright);
  outline-offset: 3px;
}

.film-modal__video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 28px;
  background: var(--navy-950);
  object-fit: contain;
}

.film-modal__panel h2 {
  margin-top: 12px;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.film-modal__panel > p:last-child {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.page-hero {
  min-height: 310px;
  background:
    linear-gradient(110deg, rgba(4, 37, 77, 0.98), rgba(3, 23, 47, 0.97)),
    url("assets/cairns-hero.jpg") center 48% / cover;
  color: var(--white);
}

.page-hero__inner {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  justify-content: center;
  padding-block: 56px;
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero h1 {
  max-width: 900px;
  margin-top: 18px;
  font-size: clamp(42px, 4.3vw, 62px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.page-hero__lead {
  max-width: 780px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.7;
}

.page-content {
  width: 100%;
  margin: 0;
  padding: 0;
}

.page-content--home {
  width: 100%;
  padding-block: 0;
}

.page-content:not(.page-content--home) > :where(p, ul, ol, blockquote, figure, table, .wp-block-columns, .wp-block-group:not(.section), .wp-block-image, .wp-block-buttons) {
  width: min(900px, calc(100% - 120px));
  max-width: 900px;
  margin-inline: auto;
}

.page-content:not(.page-content--home) > :where(p, ul, ol, blockquote, figure, table, .wp-block-columns, .wp-block-group:not(.section), .wp-block-image, .wp-block-buttons) + :where(p, ul, ol, blockquote, figure, table, .wp-block-columns, .wp-block-group:not(.section), .wp-block-image, .wp-block-buttons) {
  margin-top: 24px;
}

.page-content:not(.page-content--home) > h2 {
  width: min(900px, calc(100% - 120px));
  margin-inline: auto;
  margin-top: 52px;
  font-size: clamp(32px, 3vw, 46px);
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.page-content:not(.page-content--home) > h2:first-child {
  margin-top: 0;
}

.page-content:not(.page-content--home) > h3 {
  width: min(900px, calc(100% - 120px));
  margin-inline: auto;
  margin-top: 36px;
  font-size: 25px;
  line-height: 1.35;
}

.page-content:not(.page-content--home) > :where(p, ul, ol, blockquote),
.page-content:not(.page-content--home) > :where(ul, ol) li {
  color: var(--muted);
  line-height: 1.75;
}

.page-content:not(.page-content--home) > :where(ul, ol) {
  padding-left: 1.4em;
}

.page-content:not(.page-content--home) > :where(p, ul, ol, blockquote, figure, table, .wp-block-columns, .wp-block-group, .wp-block-image, .wp-block-buttons) a:not(.button) {
  color: var(--teal);
  font-weight: 700;
  text-underline-offset: 4px;
}

/* Keep submission calls to action above the generic WordPress content-link rule. */
.page-content:not(.page-content--home) .track__body .track__submission > a,
.page-content:not(.page-content--home) .author-status .author-card__link > a,
.page-content:not(.page-content--home) .author-status a.author-card__link {
  color: var(--navy-950);
}

.page-content:not(.page-content--home) .track__body .track__submission > a:hover,
.page-content:not(.page-content--home) .track__body .track__submission > a:focus-visible {
  color: var(--white);
}

.page-content:not(.page-content--home) .author-status .author-card__link > a:hover,
.page-content:not(.page-content--home) .author-status .author-card__link > a:focus-visible,
.page-content:not(.page-content--home) .author-status a.author-card__link:hover,
.page-content:not(.page-content--home) .author-status a.author-card__link:focus-visible {
  color: var(--navy-950);
}

.page-content:not(.page-content--home) > .section:not(.page-width) {
  width: 100%;
  max-width: none;
}

.page-content .wp-block-columns {
  gap: clamp(28px, 5vw, 64px);
}

/*
 * WordPress restores an inner container around flow-layout Group blocks in
 * classic themes. Flatten only the custom grid components so the intended
 * cards remain grid items without changing ordinary Gutenberg Group layout.
 */
.page-content :is(
  .section--about,
  .track,
  .author-grid,
  .author-status,
  .split-section,
  .chair-list,
  .forthcoming-grid,
  .essential-grid,
  .route-cards,
  .date-grid,
  .status-panel,
  .contact-grid,
  .contact-status
) > .wp-block-group__inner-container {
  display: contents;
}

.page-content .wp-block-column > :first-child,
.page-content .wp-block-group__inner-container > :first-child {
  margin-top: 0;
}

.page-content .wp-block-column > * + *,
.page-content .wp-block-group__inner-container > * + * {
  margin-top: 20px;
}

.page-content .wp-block-image img,
.page-content figure img {
  height: auto;
}

.page-content figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
}

.page-content th,
.page-content td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.page-content > .alignwide {
  max-width: var(--page-width);
}

.page-content > .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

.home-about {
  padding-block: 92px;
}

.essential-grid,
.route-cards,
.date-grid,
.contact-grid {
  display: grid;
}

.section--about > *,
.track-list > *,
.track > *,
.author-grid > *,
.author-status > *,
.topics__list > *,
.split-section > *,
.feature-lines > *,
.chair-list > *,
.forthcoming-grid > *,
.essential-grid > *,
.route-cards > *,
.date-grid > *,
.status-panel > *,
.contact-grid > *,
.contact-status > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

:is(
  .section--about,
  .track-list,
  .track,
  .author-grid,
  .author-status,
  .topics__list,
  .split-section,
  .feature-lines,
  .chair-list,
  .forthcoming-grid,
  .essential-grid,
  .route-cards,
  .date-grid,
  .status-panel,
  .contact-grid,
  .contact-status
) > .wp-block-group__inner-container > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.essential-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px;
  border-top: 1px solid #b9c6d1;
  border-bottom: 1px solid #b9c6d1;
}

.essential-card {
  min-height: 300px;
  padding: 30px 34px 34px 0;
}

.essential-card + .essential-card {
  padding-left: 34px;
  border-left: 1px solid #b9c6d1;
}

.essential-card__number {
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.essential-card h3,
.route-card h3,
.contact-grid h3 {
  margin-top: 26px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.essential-card h3 + p,
.route-card h3 + p,
.contact-grid h3 + p {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.route-cards--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.route-cards--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.route-card {
  min-height: 290px;
  padding: 32px 38px 34px 0;
  border-top: 1px solid #b9c6d1;
  border-bottom: 1px solid #b9c6d1;
}

.route-card + .route-card {
  padding-left: 38px;
  border-left: 1px solid #b9c6d1;
}

.route-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}

.route-card a:hover,
.route-card a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.route-card__status {
  display: inline-block;
  margin-top: 28px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topics__note {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.date-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.date-card {
  min-height: 330px;
  padding: 42px;
  border: 1px solid var(--line);
  color: var(--teal);
}

.date-card .eyebrow {
  margin-top: 46px;
}

.date-card h2 {
  margin-top: 20px;
  font-size: clamp(38px, 4vw, 54px);
}

.date-card h2 + p {
  margin-top: 18px;
  color: var(--muted);
}

.status-panel,
.contact-status {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
  margin-top: 32px;
  padding: 34px 38px;
  background: var(--navy-950);
  color: var(--white);
}

.status-panel {
  grid-template-areas:
    "label copy"
    "title copy";
  column-gap: 70px;
  row-gap: 0;
}

.status-panel > .eyebrow,
.status-panel > .wp-block-group__inner-container > .eyebrow {
  grid-area: label;
  align-self: end;
}

.status-panel > h3,
.status-panel > .wp-block-group__inner-container > h3 {
  grid-area: title;
  align-self: start;
}

.status-panel > p:last-child,
.status-panel > .wp-block-group__inner-container > p:last-child {
  grid-area: copy;
  align-self: center;
}

.status-panel h3,
.contact-status h3 {
  margin-top: 10px;
  font-size: 24px;
  font-weight: 600;
}

.status-panel > p:last-child,
.status-panel > .wp-block-group__inner-container > p:last-child,
.contact-status > p,
.contact-status > .wp-block-group__inner-container > p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.status-panel--light {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.status-panel--light > p:last-child,
.status-panel--light > .wp-block-group__inner-container > p:last-child {
  color: var(--muted);
}

.forthcoming-grid--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.forthcoming-grid--four .forthcoming-card:nth-child(3) {
  padding-left: 0;
  border-left: 0;
}

.contact-intro {
  max-width: 760px;
}

.contact-intro > p:last-child,
.contact-intro > .wp-block-group__inner-container > p:last-child {
  margin-top: 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-grid article {
  min-height: 270px;
  padding: 30px 34px 34px 0;
}

.contact-grid article + article {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.contact-grid__number {
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.not-found {
  min-height: 300px;
}

@media (max-width: 1280px) {
  .masthead {
    padding-inline: 40px;
  }

  .wordmark {
    gap: 12px;
  }

  .wordmark__place,
  .wordmark__year {
    font-size: 36px;
  }

  .wordmark__event {
    font-size: 41px;
  }

  .wordmark__divider {
    height: 39px;
  }

  .masthead__title {
    max-width: 430px;
    font-size: 12px;
  }
}

@media (max-width: 1020px) {
  .masthead__title {
    display: none;
  }
}

@media (max-width: 1100px) {
  .page-width,
  .navigation__inner {
    width: min(100% - 64px, var(--page-width));
  }

  .page-content--home {
    width: 100%;
  }

  .navigation__links {
    gap: 29px;
  }

  .facts__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .fact {
    min-height: 138px;
    padding: 28px 32px;
  }

  .fact + .fact {
    padding-left: 32px;
  }

  .fact + .fact::before {
    display: none;
  }

  .fact:nth-child(even)::before {
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: 0;
    display: block;
    width: 1px;
    background: var(--line);
    content: "";
  }

  .fact:nth-child(n + 3)::after {
    position: absolute;
    top: 0;
    right: 24px;
    left: 24px;
    height: 1px;
    background: var(--line);
    content: "";
  }

  .section--about,
  .split-section,
  .travel {
    gap: 64px;
  }

  .author-grid {
    grid-template-columns: 1fr;
  }

  .essential-grid,
  .route-cards--three,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .essential-card,
  .essential-card + .essential-card,
  .route-card,
  .route-card + .route-card,
  .contact-grid article,
  .contact-grid article + article {
    min-height: 0;
    padding: 30px 0;
    border-left: 0;
  }

  .essential-card + .essential-card,
  .route-card + .route-card,
  .contact-grid article + article {
    border-top: 1px solid #b9c6d1;
  }

  .footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .author-card {
    min-height: 0;
    padding: 30px 0;
  }

  .author-card + .author-card {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .topics__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topics__list li:not(:nth-child(3n + 1)) {
    border-left: 0;
  }

  .topics__list li:nth-child(even) {
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  .masthead {
    height: 76px;
    padding-inline: 24px;
  }

  .wordmark {
    gap: 10px;
  }

  .wordmark__place,
  .wordmark__year {
    font-size: 25px;
  }

  .wordmark__event {
    font-size: 29px;
  }

  .wordmark__divider {
    height: 29px;
  }

  .masthead__title {
    display: none;
  }

  .navigation,
  .navigation__inner {
    min-height: 56px;
  }

  .navigation__inner {
    width: 100%;
  }

  .menu-button {
    display: flex;
    width: 100%;
    height: 56px;
    align-items: center;
    gap: 10px;
    padding-inline: 24px;
    border: 0;
    background: transparent;
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
  }

  .navigation__links {
    position: absolute;
    z-index: 3;
    top: 56px;
    left: 0;
    display: none;
    width: 100%;
    height: auto;
    gap: 0;
    padding: 10px 24px 20px;
    background: var(--navy-900);
  }

  .navigation__links.is-open {
    display: block;
  }

  .navigation__links > .menu-item {
    height: auto;
  }

  .navigation__links > .menu-item > a {
    min-height: 48px;
  }

  .navigation__links > .menu-item-has-children > a {
    padding-right: 24px;
  }

  .navigation__links .sub-menu,
  .navigation__links > .menu-item-has-children:hover > .sub-menu,
  .navigation__links > .menu-item-has-children:focus-within > .sub-menu {
    position: static;
    display: none;
    width: 100%;
    padding: 4px 0 10px 18px;
    background: rgba(0, 0, 0, 0.12);
    box-shadow: none;
  }

  .navigation__links.is-open .sub-menu {
    display: block;
  }

  .navigation__links .sub-menu a {
    padding: 10px 14px;
  }

  .navigation__links a {
    height: auto;
    padding-block: 13px;
  }

  .navigation__item {
    height: auto;
  }

  .navigation__item details,
  .navigation__item summary {
    height: auto;
  }

  .navigation__item summary {
    justify-content: space-between;
    padding-block: 13px;
  }

  .navigation__item summary::after {
    bottom: 7px;
    width: 42px;
  }

  .navigation__submenu {
    position: static;
    width: 100%;
    padding: 4px 0 10px 18px;
    background: rgba(0, 0, 0, 0.12);
    box-shadow: none;
  }

  .navigation__submenu a {
    padding: 10px 14px;
  }

  .navigation__links a::after {
    bottom: 7px;
    width: 42px;
  }

  .page-width {
    width: calc(100% - 48px);
  }

  .page-content {
    width: 100%;
    padding: 0;
  }

  .page-content--home {
    width: 100%;
    padding-block: 0;
  }

  .page-content:not(.page-content--home) > :where(p, ul, ol, blockquote, figure, table, .wp-block-columns, .wp-block-group:not(.section), .wp-block-image, .wp-block-buttons),
  .page-content:not(.page-content--home) > h2,
  .page-content:not(.page-content--home) > h3 {
    width: calc(100% - 48px);
  }

  .author-status {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px 24px;
  }

  .hero,
  .hero__content {
    min-height: 650px;
  }

  .hero__content {
    padding-top: 42px;
  }

  .hero__image,
  .hero__video {
    object-position: 61% center;
  }

  .hero__shade {
    background: linear-gradient(90deg, rgba(1, 18, 37, 0.94) 0%, rgba(1, 18, 37, 0.65) 76%, rgba(1, 18, 37, 0.32) 100%);
  }

  .hero__copy {
    margin-top: 64px;
  }

  .hero__copy--no-film {
    margin-top: 84px;
  }

  .hero h1 {
    font-size: clamp(39px, 10vw, 55px);
    letter-spacing: -0.045em;
  }

  .hero__place {
    font-size: 24px;
  }

  .hero__actions {
    gap: 14px;
  }

  .button {
    min-width: 0;
  }

  .facts__inner {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .fact,
  .fact + .fact {
    min-height: 110px;
    padding-inline: 24px;
    border-left: 0;
  }

  .fact:nth-child(even)::before,
  .fact:nth-child(n + 3)::after {
    display: none;
  }

  .fact + .fact {
    border-top: 1px solid var(--line);
  }

  .section,
  .section--about {
    padding-block: 76px;
  }

  .section--about,
  .split-section,
  .travel {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .page-hero,
  .page-hero__inner {
    min-height: 270px;
  }

  .page-hero h1 {
    font-size: clamp(37px, 10vw, 48px);
  }

  .page-hero__lead {
    font-size: 16px;
  }

  .route-cards--two,
  .date-grid,
  .forthcoming-grid--four,
  .status-panel,
  .contact-status {
    grid-template-columns: 1fr;
  }

  .date-card {
    min-height: 0;
    padding: 30px 26px;
  }

  .status-panel,
  .contact-status {
    gap: 20px;
    padding: 28px 24px;
  }

  .status-panel {
    grid-template-areas:
      "label"
      "title"
      "copy";
    row-gap: 0;
  }

  .status-panel > p:last-child,
  .status-panel > .wp-block-group__inner-container > p:last-child {
    margin-top: 20px;
  }

  .topics__list {
    grid-template-columns: 1fr;
  }

  .topics__list li,
  .topics__list li:nth-child(even) {
    padding-inline: 0;
    border-left: 0;
  }

  .track {
    grid-template-columns: 50px 1fr;
  }

  .track__deadline {
    grid-column: 2;
    text-align: left;
  }

  .chair-list {
    grid-template-columns: 1fr;
  }

  .chair,
  .chair + .chair {
    min-height: 0;
    padding: 28px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

  .forthcoming-grid {
    grid-template-columns: 1fr;
  }

  .forthcoming-card,
  .forthcoming-card + .forthcoming-card {
    min-height: 0;
    padding: 28px 0;
    border-left: 0;
    border-bottom: 1px solid #b9c6d1;
  }

  .forthcoming-card:last-child {
    border-bottom: 0;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer__bottom {
    min-height: 104px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .hero,
  .hero__content {
    min-height: 640px;
  }

  .film-trigger {
    font-size: 14px;
  }

  .film-trigger__icon {
    width: 48px;
    height: 48px;
  }

  .hero__copy {
    margin-top: 54px;
  }

  .hero__copy--no-film {
    margin-top: 70px;
  }

  .hero h1 {
    font-size: 39px;
    line-height: 1.12;
  }

  .hero__place {
    margin-top: 22px;
    font-size: 22px;
  }

  .hero__date {
    font-size: 19px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 32px;
  }

  .button {
    width: 100%;
  }

  .track__body .track__submission,
  .track__body .track__submission > a,
  .author-status .author-card__link,
  .author-status .author-card__link > a,
  .author-status a.author-card__link {
    width: 100%;
  }

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

  .track {
    gap: 18px;
  }

  .large-copy {
    font-size: 21px;
  }

  .film-modal__panel {
    max-height: calc(100dvh - 24px);
    padding: 18px 18px 26px;
  }

  .film-modal {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__video {
    display: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
