/*--------------------------------------------------------------
  AWLA modern layer — keeps the existing palette, upgrades UX.
--------------------------------------------------------------*/

:root {
  --awla-orange: #ff7400;
  --awla-orange-dark: #bf4a02;
  --awla-brown: #993b01;
  --awla-gold: #daa520;
  --awla-green: #819986;
  --awla-forest: #407f46;
  --awla-ink: #2f3138;
  --awla-muted: #5f6570;
  --awla-line: rgba(153, 59, 1, 0.12);
  --awla-sand: #f7f4ef;
  --awla-white: #ffffff;
  --awla-radius: 1rem;
  --awla-radius-sm: 0.65rem;
  --awla-shadow: 0 18px 50px rgba(153, 59, 1, 0.12);
  --awla-shadow-soft: 0 8px 24px rgba(47, 49, 56, 0.08);
  --awla-header-h: 92px;
  --awla-font: "Open Sans", system-ui, sans-serif;
  --awla-display: "Raleway", system-ui, sans-serif;
  --awla-focus: 0 0 0 3px rgba(255, 116, 0, 0.35);
  --awla-card-title: 0.95rem;
  --awla-logo-h: 56px;
  --awla-logo-w: 170px;
  --awla-card-gap-x: 1.5rem;
  --awla-card-gap-y: 2rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--awla-font);
  color: var(--awla-ink);
  background: var(--awla-white);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body {
  padding-top: var(--awla-header-h);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--awla-display);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--awla-orange);
}

a {
  color: var(--awla-orange);
  text-underline-offset: 0.18em;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a:hover,
a:focus {
  color: var(--awla-orange-dark);
}

a:focus-visible,
button:focus-visible,
.form-control:focus,
.form-select:focus,
textarea:focus {
  outline: none;
  box-shadow: var(--awla-focus);
}

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

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  background: var(--awla-orange);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  width: auto;
  height: auto;
  clip: auto;
}

/*--------------------------------------------------------------
  Header / navigation
--------------------------------------------------------------*/

.site-header,
#header,
.site-header.header-scrolled,
.site-header.header-fixed,
#header.header-scrolled,
#header.header-fixed,
.path-frontpage #header {
  height: auto;
  min-height: var(--awla-header-h);
  padding: 0;
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1040;
  background: #fff !important;
  box-shadow: 0 1px 0 rgba(47, 49, 56, 0.08);
  backdrop-filter: none;
}

.header-admin {
  top: 39px;
}

.toolbar-fixed.toolbar-horizontal .header-admin,
body.toolbar-horizontal.toolbar-fixed .site-header.header-admin {
  top: 39px;
}

.toolbar-tray-open.toolbar-vertical .header-admin {
  left: 240px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--awla-header-h);
}

#header #logo,
#header.header-scrolled #logo,
#header.header-fixed #logo {
  margin: 0 !important;
  padding: 0 !important;
  float: none;
}

.site-logo img,
#header #logo img,
#header.header-scrolled #logo img,
#header.header-fixed #logo img {
  height: 64px;
  width: auto;
  display: block;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--awla-line);
  background: var(--awla-sand);
  border-radius: 0.7rem;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 1080;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--awla-ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-nav-active .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.mobile-nav-active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-menu--account {
  margin-left: 0.35rem;
}

body:not(.user-logged-in) .menu--account,
body:not(.user-logged-in) .nav-menu--account {
  display: none !important;
}

.nav-menu--account > li > a {
  background: var(--awla-orange);
  color: #fff;
  padding: 0.5rem 1.15rem;
  box-shadow: 0 8px 18px rgba(255, 116, 0, 0.28);
}

.nav-menu--account > li > a:hover,
.nav-menu--account > li > a:focus {
  background: var(--awla-orange-dark);
  color: #fff;
}

.nav-menu,
.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem;
}

.nav-menu > li {
  position: relative;
  float: none;
  margin: 0;
}

.nav-menu a,
.nav-menu .nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.8rem;
  color: var(--awla-ink);
  font-family: var(--awla-display);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none !important;
  border-radius: 999px;
}

.nav-menu a:before,
.nav-menu a:hover:before,
.nav-menu a:focus:before,
.nav-menu li:hover > a:before,
.nav-menu .menu-active > a:before,
.nav-menu .active > a:before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  visibility: hidden !important;
  background: none !important;
}

.nav-menu a:hover,
.nav-menu a:focus,
.nav-menu .menu-active > a,
.nav-menu .active > a,
.nav-menu .is-active,
.nav-menu .menu-active > a:hover {
  color: var(--awla-orange);
  background: rgba(255, 116, 0, 0.08);
  text-decoration: none !important;
}

.nav-menu .menu-has-children > a {
  padding-right: 1.6rem;
}

.nav-menu .menu-has-children > a::after {
  content: "";
  position: absolute;
  right: 0.7rem;
  width: 0.35rem;
  height: 0.35rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-dropdown,
.nav-menu ul {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 220px;
  padding: 0.5rem;
  background: #fff;
  border-radius: var(--awla-radius-sm);
  box-shadow: var(--awla-shadow);
  display: none;
  z-index: 20;
}

.nav-menu li:hover > .nav-dropdown,
.nav-menu li:focus-within > .nav-dropdown,
.nav-menu li:hover > ul,
.nav-menu li:focus-within > ul,
.nav-menu li.sfHover > ul {
  display: block;
}

.nav-dropdown a,
.nav-menu ul a {
  display: block;
  color: var(--awla-ink);
  padding: 0.65rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 0.88rem;
}

.nav-dropdown a:hover,
.nav-menu ul a:hover {
  background: var(--awla-sand);
  color: var(--awla-orange-dark);
}

#mobile-body-overly {
  position: fixed;
  inset: 0;
  background: rgba(47, 49, 56, 0.45);
  z-index: 1035;
  display: none;
}

body.mobile-nav-active {
  overflow: hidden;
}

body.mobile-nav-active #mobile-body-overly {
  display: block;
}

/*--------------------------------------------------------------
  Page structure
--------------------------------------------------------------*/

.region-content {
  margin-top: 0 !important;
}

section.block-ctools-block {
  margin-bottom: 0;
}

#internal-page-content .block {
  margin-bottom: 0;
}

div.messages__wrapper {
  margin-top: 1.25rem;
}

.page-title-band {
  padding: 2.5rem 0 0;
}

.section-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.section-header::before {
  width: 3.5rem;
  height: 4px;
  border-radius: 999px;
  background: var(--awla-gold);
}

.section-header h1,
.section-header h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  text-transform: none;
  font-weight: 800;
}

.section-header p {
  color: var(--awla-muted);
  font-size: 1.05rem;
  margin: 0.6rem auto 0;
  max-width: 36rem;
}

.section-more {
  text-align: center;
  margin: 2rem 0 0;
}

.section-more a.red-button,
.section-more a.btn-awla {
  color: #fff !important;
}

/*--------------------------------------------------------------
  Internal pages — MURUNA-style alternating image / copy blocks
  Odd rows: image left. Even rows: image right.
--------------------------------------------------------------*/
#internal-page-content,
#internal-page-content.page-section {
  padding: 0;
}

.content-row-odd,
.content-row-even {
  padding: 3rem 0;
  background: #fff;
  border-bottom: 1px solid rgba(47, 49, 56, 0.08);
}

#internal-page-content > .content-row-odd:last-child,
#internal-page-content > .content-row-even:last-child {
  border-bottom: 0;
  padding-bottom: 2rem;
}

.content-row-odd {
  background: var(--awla-sand);
}

#internal-page-content .section-header {
  padding: 2rem 0 0.25rem;
}

#internal-page-content .section-header h1 {
  margin-bottom: 0;
}

#internal-page-content .row {
  display: flex;
  flex-wrap: wrap;
}

/* Split image/text blocks only — never card grids (those use .col-md-6.col-lg-4 etc.) */
#internal-page-content .row:not(.media-card-grid):not(.fellows-card-grid) {
  align-items: flex-start;
  column-gap: 3rem;
  row-gap: 1.75rem;
  --bs-gutter-x: 0;
}

#internal-page-content .row > [class*="col-"] {
  margin-bottom: 0;
}

#internal-page-content img,
#internal-page-content .img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Equal 50/50 split (editorial still uses Bootstrap 3 col-* classes) */
#internal-page-content .row:not(.media-card-grid):not(.fellows-card-grid) > .col-lg-6 {
  flex: 1 1 calc(50% - 1.5rem);
  max-width: calc(50% - 1.5rem);
  width: auto;
}

/* Odd: media on the left. Even: media on the right. */
#internal-page-content .content-row-odd .row > [class*="col-"]:has(> img),
#internal-page-content .content-row-odd .row > [class*="col-"]:has(> .img-fluid),
#internal-page-content .content-row-odd .row > [class*="col-"]:has(> .card) {
  order: -1;
}

#internal-page-content .content-row-even .row > [class*="col-"]:has(> img),
#internal-page-content .content-row-even .row > [class*="col-"]:has(> .img-fluid),
#internal-page-content .content-row-even .row > [class*="col-"]:has(> .card) {
  order: 1;
}

#internal-page-content .row > [class*="col-"] > img,
#internal-page-content .row > [class*="col-"] > .img-fluid {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1.25rem;
  box-shadow: var(--awla-shadow-soft);
}

#internal-page-content .row > [class*="col-"] > .card {
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
  overflow: visible;
}

#internal-page-content .row > [class*="col-"] > .card img,
#internal-page-content .row > [class*="col-"] > .card .card-img-top {
  width: 100%;
  max-height: none;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
  border-radius: 1.25rem;
  padding: 1rem;
  box-shadow: var(--awla-shadow-soft);
}

#internal-page-content .row > [class*="col-"] > .card .card-body {
  padding: 1.1rem 0.15rem 0;
  font-style: italic;
  color: var(--awla-forest);
}

#internal-page-content p img {
  width: auto;
  max-width: min(100%, 280px);
  max-height: 160px;
  object-fit: contain;
  border-radius: 0.75rem;
  margin: 0.75rem 0 0;
}

#internal-page-content .text-right {
  text-align: inherit;
}

#internal-page-content p.text-right {
  text-align: right;
}

#internal-page-content .text-right .red-button {
  display: inline-block;
}

#internal-page-content .row > [class*="col-"] > h3,
#internal-page-content .row > [class*="col-"] > h3:first-child {
  margin-top: 0;
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
}

#internal-page-content h5 {
  color: var(--awla-forest);
  font-weight: 700;
  margin-top: 1.4rem;
}

#internal-page-content ul,
#internal-page-content ol {
  padding-left: 1.2rem;
}

#internal-page-content .card-deck {
  width: 100%;
}

#internal-page-content .card-deck .card {
  border: 1px solid var(--awla-line);
  box-shadow: var(--awla-shadow-soft);
  border-radius: var(--awla-radius);
  overflow: hidden;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

#internal-page-content .card-deck .card-body {
  flex: 1 1 auto;
}

#internal-page-content .card-deck h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

#internal-page-content .card-deck .card-img-top {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  max-height: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

/* Partner / founder logos — same strip on Home and About */
#partners,
.partners-band,
.path-about .content-row-odd:has(.block-region-row-3) {
  background: #fff;
  padding: 2.5rem 0;
  border-bottom: 0;
}

.path-about .block-region-row-3 .row,
#partners .row {
  align-items: flex-start;
}

.path-about .block-region-row-3 .row > [class*="col-"] {
  flex: 1 1 auto;
  max-width: none;
  width: auto;
  order: 0 !important;
}

.path-about .block-region-row-3 .row .row,
#partners .row .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.75rem;
}

.path-about .block-region-row-3 .row .row > [class*="col-"],
#partners .row .row > [class*="col-"] {
  width: auto !important;
  flex: 0 0 auto;
  max-width: none;
  margin-bottom: 0;
}

.path-about .block-region-row-3 img,
.path-about .block-region-row-3 .img-fluid,
#partners img,
#partners .img-fluid {
  width: auto !important;
  height: auto !important;
  max-height: var(--awla-logo-h) !important;
  max-width: var(--awla-logo-w) !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  border-radius: 0;
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
  filter: none;
  opacity: 1;
}

.path-about #internal-page-content .block-region-row-3 h3,
.path-about .block-region-row-3 h3,
#partners h3 {
  font-size: 0.72rem !important;
  line-height: 1.3 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--awla-muted) !important;
  font-weight: 700 !important;
  margin: 0 0 0.7rem !important;
  padding: 0;
  border: 0;
}

#internal-page-content .block-content-basic:not(:has(img, p, li, h3, h2, h1, .card, .row, iframe, video, form)) {
  display: none !important;
}

.path-about .block-region-row-3 a,
#partners a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--awla-logo-h);
}

#partners p,
.path-about .block-region-row-3 p {
  margin-bottom: 0.35rem;
}

@media (max-width: 767.98px) {
  .content-row-odd,
  .content-row-even {
    padding: 1.5rem 0;
  }

  .path-about .content-row-odd:has(.block-region-row-3),
  #partners,
  .partners-band {
    padding: 1.5rem 0;
  }

  #internal-page-content .row:not(.media-card-grid):not(.fellows-card-grid) {
    flex-direction: column;
  }

  #internal-page-content .row:not(.media-card-grid):not(.fellows-card-grid) > .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }

  #internal-page-content .content-row-odd .row > [class*="col-"]:has(> img),
  #internal-page-content .content-row-odd .row > [class*="col-"]:has(> .card),
  #internal-page-content .content-row-even .row > [class*="col-"]:has(> img),
  #internal-page-content .content-row-even .row > [class*="col-"]:has(> .card) {
    order: -1;
  }

  #internal-page-content .row > [class*="col-"] > img,
  #internal-page-content .row > [class*="col-"] > .img-fluid,
  #internal-page-content .row > [class*="col-"] > .card img {
    aspect-ratio: 16 / 10;
  }
}

.content-panel,
.sidebar-panel,
.dashboard-panel {
  background: #fff;
  border: 1px solid var(--awla-line);
  border-radius: var(--awla-radius);
  box-shadow: var(--awla-shadow-soft);
  padding: 1.5rem 1.6rem;
}

.sidebar-panel h2,
.dashboard-panel h2 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--awla-gold);
}

/*--------------------------------------------------------------
  Buttons
--------------------------------------------------------------*/

.btn-awla,
a.red-button,
a.red-button:visited,
#intro .about-btn,
#subscribe button,
#contact .form button[type="submit"],
form .form-actions .btn-awla,
form .form-actions .button--primary,
input.button-primary,
.webform-button--submit,
.webform-button--next {
  background: var(--awla-orange);
  border: 2px solid var(--awla-orange);
  color: #fff !important;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-weight: 700;
  font-family: var(--awla-display);
  letter-spacing: 0.01em;
  box-shadow: 0 8px 20px rgba(255, 116, 0, 0.25);
}

.btn-awla:hover,
a.red-button:hover,
#intro .about-btn:hover,
#subscribe button:hover,
#contact .form button[type="submit"]:hover,
.webform-button--submit:hover,
.webform-button--next:hover {
  background: var(--awla-orange-dark);
  border-color: var(--awla-orange-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

.btn-secondary,
.webform-button--previous {
  border-radius: 999px;
  border-color: var(--awla-green);
  color: var(--awla-forest);
}

/*--------------------------------------------------------------
  Forms
--------------------------------------------------------------*/

.awla-form .form-control,
.awla-form .form-select,
.awla-form textarea,
.awla-form input[type="text"],
.awla-form input[type="email"],
.awla-form input[type="password"],
.awla-form input[type="tel"],
.awla-form input[type="url"],
.awla-form input[type="number"],
.awla-form input.form-text,
.awla-form select,
form.user-login-form input,
form.user-pass input,
form.user-register-form input,
form.user-form input,
form.contact-message-form input,
form.contact-message-form textarea,
.webform-submission-form input.form-control,
.webform-submission-form textarea.form-control,
.webform-submission-form select.form-select {
  width: 100%;
  border: 1px solid #e4d9cf;
  border-radius: 0.75rem;
  padding: 0.7rem 0.9rem;
  min-height: 46px;
  background: #fff;
  color: var(--awla-ink);
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.awla-form .form-control:focus,
form input:focus,
form textarea:focus,
form select:focus {
  border-color: var(--awla-orange);
}

.awla-form label,
form label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--awla-ink);
  margin-bottom: 0.35rem;
}

.awla-form-item,
.js-form-item {
  margin-bottom: 1rem;
}

form div.form-actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.path-user form div.form-actions {
  justify-content: center;
}

.form-required:after {
  background-image: none;
  content: "*";
  color: var(--awla-orange);
  width: auto;
  height: auto;
  margin-left: 0.2rem;
  font-weight: 700;
}

.form-item--error-message,
.invalid-feedback {
  color: #b42318;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.awla-form--panel .panel,
.webform-submission-form .panel,
form div.panel-body {
  background: var(--awla-sand);
  border: 1px solid var(--awla-line);
  border-radius: var(--awla-radius);
  box-shadow: none;
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.25rem;
}

form div.panel-title,
div.webform-container .panel-heading,
div.webform-submission-information .panel-heading {
  color: var(--awla-orange-dark);
  font-family: var(--awla-display);
  font-weight: 800;
}

div.webform-submission-information,
div.webform-container,
div.webform-submission {
  width: min(1000px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

div.submissions,
div.webform-submission {
  margin-top: 2rem;
}

/* Auth / contact cards */

body.path-user .region-content {
  margin: 0;
  min-height: calc(100vh - 220px);
}

body.path-user .block-page-title-block,
body.path-user h1.page-title {
  display: none;
}

.auth-shell,
.contact-shell {
  width: min(520px, 100%);
  margin: 2.5rem auto 4rem;
  padding: 0 1rem;
}

.auth-shell--wide,
.auth-card--wide,
.contact-shell {
  width: min(760px, 100%);
}

.auth-card,
.contact-card {
  background: #fff;
  border: 1px solid var(--awla-line);
  border-radius: 1.25rem;
  box-shadow: var(--awla-shadow);
  padding: 2.1rem 2rem 2.2rem;
}

.auth-kicker {
  color: var(--awla-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  margin-bottom: 0.4rem;
}

.auth-title {
  margin-bottom: 0.4rem;
  font-size: 1.85rem;
}

.auth-lead,
.auth-card__header p:last-child {
  color: var(--awla-muted);
  margin-bottom: 1.4rem;
}

.auth-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.auth-link {
  font-weight: 700;
}

.path-user .tabs,
.path-user .nav-tabs {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  margin: 1.5rem auto 0;
  flex-wrap: wrap;
}

.path-user .nav-tabs .nav-link,
.path-user .tabs a {
  border: 0;
  background: var(--awla-sand);
  color: var(--awla-ink);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-weight: 700;
}

.path-user .nav-tabs .nav-link.active,
.path-user .tabs a.is-active {
  background: var(--awla-orange);
  color: #fff;
}

/*--------------------------------------------------------------
  Cards / listings
--------------------------------------------------------------*/

#hotels .view-content,
.view-news .view-content,
.view-main-page-news .view-content,
.view-videos .view-content {
  display: block;
}

#hotels .listing-item,
.view-news .listing-item,
.news-item,
.content-card--teaser {
  height: 100%;
}

#gallery .listing-item {
  background: transparent;
  border: 0;
  box-shadow: none;
  display: block;
}

#hotels .listing-item,
.view-news .listing-item,
.news-item,
.content-card,
#hotels .hotel {
  background: #fff;
  border: 1px solid var(--awla-line);
  border-radius: var(--awla-radius);
  box-shadow: var(--awla-shadow-soft);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#hotels .listing-item:hover,
.view-news .listing-item:hover,
.news-item:hover,
.content-card:hover,
#hotels .hotel:hover {
  transform: translateY(-4px);
  box-shadow: var(--awla-shadow);
}

.news-item img,
.content-card img,
#hotels .hotel-img img,
.listing-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 0;
}

.news-item h6,
.node__title,
.content-card .node__title a,
#hotels h3 {
  padding: 1rem 1.15rem 0.25rem;
  font-size: 1.15rem;
  color: var(--awla-orange-dark);
}

.news-item p,
.content-card .node__content,
#hotels p {
  padding: 0 1.15rem 1rem;
  color: var(--awla-muted);
  font-style: normal;
}

.card-more {
  margin: auto 1.15rem 1.15rem;
  font-weight: 700;
  color: var(--awla-orange);
  text-decoration: none;
}

.node__meta {
  color: var(--awla-muted);
  font-size: 0.88rem;
  padding: 0 1.15rem 0.5rem;
}

.content-article {
  background: #fff;
  border-radius: var(--awla-radius);
  padding: 0;
  box-shadow: none;
}

.content-article .node__content {
  font-size: 1.05rem;
}

/*--------------------------------------------------------------
  Homepage
--------------------------------------------------------------*/

#intro {
  margin-top: 0 !important;
  width: 100%;
  height: calc(100vh - var(--awla-header-h));
  height: calc(100svh - var(--awla-header-h));
  min-height: 560px;
  background: url(/img/intro-bg.jpg) center center / cover no-repeat;
  overflow: hidden;
  position: relative;
}

#intro:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(47, 49, 56, 0.28) 0%, rgba(153, 59, 1, 0.55) 100%);
}

#intro .intro-container,
#intro .intro-container.wow {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.25rem 3rem;
  opacity: 1;
  transform: none;
}

#intro h1 {
  color: #fff;
  text-transform: none;
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  letter-spacing: -0.03em;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.75rem;
}

#intro h1 span {
  color: #ffb46a;
}

#intro p {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  max-width: 42rem;
  font-style: italic;
}

#intro .play-btn {
  margin: 1.25rem 0 1rem;
  z-index: 3;
}

#intro .about-btn {
  background: transparent;
  color: #fff;
}

#intro .about-btn:hover {
  background: var(--awla-orange);
  color: #fff;
}

#about {
  background: var(--awla-sand) !important;
  background-image: none !important;
  color: var(--awla-ink);
  padding: 5.5rem 0;
  overflow: visible;
  position: relative;
}

#about:before {
  display: none !important;
}

#about .container,
#about .about-split {
  position: relative;
  z-index: 2;
}

#about h2 {
  color: var(--awla-orange);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1.1rem;
}

#about p,
#about .about-split__copy p {
  color: var(--awla-ink);
  font-size: 1.08rem;
  line-height: 1.8;
}

.about-split__media img {
  width: 100%;
  border-radius: 1.35rem;
  box-shadow: var(--awla-shadow);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

#hotels {
  background: #fff;
  padding: 5rem 0;
}

#hotels .news-card-grid,
.news-card-grid--home {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1199.98px) {
  #hotels .news-card-grid,
  .news-card-grid--home {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  #hotels .news-card-grid,
  .news-card-grid--home,
  .news-card-grid {
    grid-template-columns: 1fr;
  }
}

section#quotes {
  background: linear-gradient(180deg, #fbf8f3 0%, #f3eee6 100%);
  padding: 5rem 0 4.5rem;
}

section#quotes .view-header {
  display: none;
}

.quote-carousel {
  max-width: 820px;
  margin: 0 auto;
}

.quote-card {
  margin: 0 auto;
  padding: 2.4rem 2.2rem 2rem;
  background: #fff;
  border: 1px solid var(--awla-line);
  border-radius: 1.5rem;
  box-shadow: var(--awla-shadow-soft);
  text-align: center;
}

.quote-card__mark {
  display: block;
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 0.7;
  color: var(--awla-gold);
  margin-bottom: 0.85rem;
}

.quote-card__body,
.quote-card .quote-body,
section#quotes div.quote-body,
section#quotes h3 {
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
  color: var(--awla-ink);
  font-size: 1.2rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.7;
}

section#quotes .carousel-caption,
section#quotes .d-none {
  display: block !important;
  position: static;
  padding: 0;
  color: inherit;
}

section#quotes .quote-divider {
  width: 3.5rem;
  border-bottom: 2px solid var(--awla-gold);
  margin: 1.25rem auto;
}

section#quotes .quote-author {
  color: var(--awla-orange-dark);
  font-weight: 800;
  font-style: normal;
  font-size: 1.05rem;
  padding-top: 0;
}

section#quotes .quote-position {
  color: var(--awla-muted);
  font-size: 0.92rem;
  font-style: normal;
  padding-top: 0.2rem;
}

.quote-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.quote-carousel__btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--awla-line);
  background: #fff;
  border-radius: 50%;
  color: var(--awla-orange-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.quote-carousel__btn:hover {
  background: var(--awla-orange);
  color: #fff;
  border-color: var(--awla-orange);
}

.quote-carousel__dots {
  position: static;
  margin: 0;
  display: flex;
  gap: 0.4rem;
}

.quote-carousel__dots [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: #d7cfc4;
  opacity: 1;
  text-indent: 0;
}

.quote-carousel__dots .active {
  background: var(--awla-orange);
}

#partners .row {
  row-gap: 1.75rem;
}

.wow {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

#intro .wow,
.wow.is-visible,
.wow.animated {
  opacity: 1;
  transform: none;
  visibility: visible;
}

/*--------------------------------------------------------------
  Profile / dashboard
--------------------------------------------------------------*/

#user-profile,
.dashboard-section {
  padding: 2.5rem 0 4rem;
}

.fellow-profile {
  background: var(--awla-sand);
}

.fellow-profile__card {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 0;
  border-radius: 1.35rem;
  box-shadow: var(--awla-shadow-soft);
  padding: 2rem;
}

.fellow-profile__hero {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: center;
}

.fellow-profile__photo img,
.fellow-profile__photo .fellow-placeholder {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 1.1rem;
  background: #f4efe8;
}

.fellow-profile__kicker {
  color: var(--awla-green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.fellow-profile__name,
.profile-name {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 0.4rem;
  color: var(--awla-orange);
}

.fellow-profile__meta,
.fellow-profile__location,
.profile-role,
.profile-org,
.profile-location {
  color: var(--awla-muted);
  margin-bottom: 0.2rem;
}

.fellow-profile__bio,
.profile-bio {
  text-align: left;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  color: var(--awla-ink);
  font-size: 1.05rem;
  line-height: 1.8;
}

.fellow-profile__tabs:not(:has(a)),
.profile-card__tabs:not(:has(a)) {
  display: none;
}

@media (max-width: 767px) {
  .fellow-profile__hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .fellow-profile__photo {
    max-width: 240px;
    margin: 0 auto;
  }
}

.profile-card {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 0;
  border-radius: 1.35rem;
  box-shadow: var(--awla-shadow-soft);
  padding: 2rem;
}

.profile-picture img {
  width: 148px;
  height: 148px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 0 4px var(--awla-gold);
  margin-bottom: 1rem;
}

.profile-name {
  margin-bottom: 0.3rem;
}

.profile-role,
.profile-org,
.profile-location {
  color: var(--awla-muted);
  margin-bottom: 0.25rem;
}

.profile-bio {
  text-align: left;
  margin-top: 1.5rem;
  color: var(--awla-ink);
}

.profile-bio:not(:has(.field, p)) {
  display: none;
}

.profile-social a,
section#user-profile .social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--awla-orange);
  color: #fff;
  margin: 0.25rem;
}

.profile-social a:hover {
  background: var(--awla-green);
  color: #fff;
}

/*--------------------------------------------------------------
  Footer
--------------------------------------------------------------*/

.site-footer,
#footer {
  background: var(--awla-brown);
  color: #f6efe8;
  margin-top: 0;
  padding: 0;
}

#footer .footer-top {
  background: linear-gradient(160deg, var(--awla-orange-dark) 0%, var(--awla-brown) 100%);
  padding: 3.5rem 0 2rem;
}

#footer .footer-top h4,
#footer h2#block-footer-menu,
#footer .footer-top h2 {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 1rem;
}

#footer .footer-top .footer-info p,
#footer .footer-top .footer-contact p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.7;
  width: 100%;
}

#footer .footer-top .footer-links ul li,
#footer .footer-links li,
.footer-menu li {
  border-bottom: 0;
}

#footer .footer-top .social-links a,
#footer .social-links a {
  background: rgba(255, 255, 255, 0.12);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-right: 0.35rem;
  color: #fff;
  text-decoration: none !important;
  box-shadow: none;
  border-bottom: 0;
}

#footer .social-links a:hover,
#footer .footer-top .social-links a:hover,
#footer .social-links a:focus,
#footer .footer-top .social-links a:focus {
  text-decoration: none !important;
  color: #fff;
  background: var(--awla-green);
}

#footer .social-links a i,
#footer .social-links a span,
#footer .social-links a::before,
#footer .social-links a::after {
  text-decoration: none !important;
}

.footer-bottom,
#footer .copyright {
  padding: 1.1rem 0 1.4rem;
  border-top: 0;
  text-align: center;
}

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

.footer-menu li {
  padding: 0.45rem 0;
  border-bottom: 0;
}

#footer .block,
#footer .region,
#footer .content {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
}

.footer-menu a:hover {
  color: var(--awla-gold);
}

/*--------------------------------------------------------------
  Messages, pager, breadcrumb
--------------------------------------------------------------*/

.awla-messages {
  width: min(1100px, calc(100% - 2rem));
  margin: 1rem auto;
}

.awla-messages .alert {
  border: 0;
  border-radius: var(--awla-radius-sm);
  box-shadow: var(--awla-shadow-soft);
}

.awla-pager {
  margin: 2rem 0 1rem;
}

.pagination .page-link {
  border: 0;
  margin: 0 0.15rem;
  border-radius: 999px;
  color: var(--awla-orange-dark);
  min-width: 2.4rem;
  text-align: center;
}

.pagination .page-item.active .page-link {
  background: var(--awla-orange);
  color: #fff;
}

.awla-breadcrumb {
  width: min(1100px, calc(100% - 2rem));
  margin: 1rem auto 0;
}

.breadcrumb {
  background: transparent;
  padding: 0;
}

.breadcrumb-item a {
  color: var(--awla-orange-dark);
}

.back-to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--awla-green);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1030;
  box-shadow: var(--awla-shadow-soft);
  cursor: pointer;
}

.back-to-top.is-visible {
  display: inline-flex;
}

.back-to-top:hover {
  background: var(--awla-orange);
  color: #fff;
}

/*--------------------------------------------------------------
  Responsive
--------------------------------------------------------------*/

@media (max-width: 991px) {
  .nav-toggle,
  #mobile-nav-toggle {
    display: inline-flex !important;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    margin: 0 !important;
    background: var(--awla-sand) !important;
    z-index: 1080 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  #header,
  #header.header-scrolled,
  #header.header-fixed,
  .site-header,
  .path-frontpage #header {
    background: #fff !important;
    height: auto;
    padding: 0;
  }

  #nav-menu-container,
  .site-nav {
    display: block !important;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 86vw);
    height: 100vh;
    background: #fff;
    padding: 5.5rem 1.25rem 2rem;
    overflow-y: auto;
    transform: translateX(110%);
    transition: transform 0.3s ease;
    z-index: 1070;
    box-shadow: var(--awla-shadow);
  }

  body.mobile-nav-active #nav-menu-container,
  body.mobile-nav-active .site-nav {
    transform: translateX(0);
  }

  .nav-menu {
    display: block;
  }

  .nav-menu > li {
    width: 100%;
    border-bottom: 0;
    margin: 0.15rem 0;
  }

  .nav-menu a,
  .nav-menu .nav-link {
    width: 100%;
    color: var(--awla-ink);
    border-radius: 0.7rem;
    padding: 0.8rem 0.95rem;
    text-decoration: none !important;
    background: transparent;
  }

  .nav-menu a:hover,
  .nav-menu a:focus,
  .nav-menu .menu-active > a,
  .nav-menu .active > a,
  .nav-menu .is-active {
    background: rgba(255, 116, 0, 0.1);
    color: var(--awla-orange);
    text-decoration: none !important;
  }

  .nav-dropdown,
  .nav-menu ul {
    position: static;
    display: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.12);
    min-width: 0;
    margin: 0 0 0.5rem;
  }

  .nav-menu li.is-open > .nav-dropdown,
  .nav-menu li.is-open > ul {
    display: block;
  }

  .nav-dropdown a,
  .nav-menu ul a {
    color: var(--awla-ink);
  }

  #header #logo img,
  #header.header-scrolled #logo img,
  #header.header-fixed #logo img,
  .site-logo img {
    height: 52px;
  }

  #mobile-nav-toggle {
    display: inline-flex;
    position: relative;
    right: auto;
    top: auto;
    margin: 0;
    font-size: inherit;
  }

  .nav-menu--account {
    margin: 1rem 0 0;
  }

  .nav-menu--account > li {
    border-bottom: 0;
  }

  .nav-menu--account > li > a {
    justify-content: center;
  }
}

/*--------------------------------------------------------------
  News + fellow cards
--------------------------------------------------------------*/

.news-card-grid,
.news-card-grid--home {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--awla-card-gap-y) var(--awla-card-gap-x);
}

@media (min-width: 1200px) {
  .news-card-grid--home {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .news-card-grid--home {
    grid-template-columns: repeat(2, 1fr);
  }
}

.news-card-grid__item {
  display: flex;
  height: 100%;
  min-height: 100%;
}

.news-card-grid__item > .news-card {
  width: 100%;
}

.news-card,
.fellow-card {
  background: #fff;
  border: 1px solid var(--awla-line);
  border-radius: var(--awla-radius);
  box-shadow: var(--awla-shadow-soft);
  overflow: hidden;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover,
.fellow-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--awla-shadow);
}

.news-card__media,
.news-card__media a,
.news-card .hotel-img,
.news-card .hotel-img a {
  display: block;
  margin: 0;
}

.news-card__media img,
.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.news-card__body,
.media-card__body {
  padding: 0.95rem 1.05rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.news-card__date,
.news-card__date h6,
.news-card__date p {
  color: var(--awla-green);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

.news-card__title,
.news-card__title h3,
.news-card__title h4,
.news-card h3,
.news-card h4,
#internal-page-content .news-card h3,
#internal-page-content .news-card__title {
  font-size: var(--awla-card-title);
  line-height: 1.35;
  margin: 0;
  color: var(--awla-ink);
  flex: 1 1 auto;
}

.news-card__title a,
.news-card h3 a,
.news-card h4 a {
  color: var(--awla-ink);
  text-decoration: none;
}

.news-card__title a:hover,
.news-card h3 a:hover,
.news-card h4 a:hover {
  color: var(--awla-orange);
}

.news-card .views-label,
.fellow-card .views-label,
.news-card .field-label,
.fellow-card .field-label {
  display: none;
}

.news-card .views-field,
.fellow-card .views-field,
.news-card .field-content,
.fellow-card .field-content {
  margin: 0;
  padding: 0;
}

.fellows-card-grid {
  --bs-gutter-x: var(--awla-card-gap-x);
  --bs-gutter-y: var(--awla-card-gap-y);
  align-items: stretch;
}

.fellows-card-grid > [class*="col-"] {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.fellows-group-title {
  width: 100%;
  font-size: 1.35rem;
  margin: 1.5rem 0 1rem;
}

.fellow-card__photo img,
.fellow-placeholder,
.fellow-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #f4efe8;
}

.fellow-card__body {
  padding: 0.9rem 1rem 1.1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.fellow-card__name,
.fellow-card__name h3,
.fellow-card h3,
.fellow-card strong {
  font-size: 0.98rem;
  margin: 0 0 0.2rem;
  color: var(--awla-ink);
}

.fellow-card__name a,
.fellow-card a {
  color: var(--awla-ink);
  text-decoration: none;
}

.fellow-card a:hover {
  color: var(--awla-orange);
}

.fellow-card__country,
.fellow-card .views-field-field-country,
.fellow-card .field-content {
  color: var(--awla-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* Quotes visible on all screen sizes (BS5 d-none hid them on mobile). */
#quotes .carousel-caption,
#quotes .d-none {
  display: block !important;
  position: relative;
  left: 0;
  right: 0;
  bottom: auto;
  padding: 0;
  color: inherit;
}

#quotes .carousel-item {
  min-height: 0;
}

/* Bootstrap 3 leftovers in editorial content — only below md so they
   do not override Bootstrap 5 .col-md-* / .col-lg-* 50/50 splits. */
@media (max-width: 767.98px) {
  .col-xs-12 { flex: 0 0 auto; width: 100%; }
  .col-xs-8 { flex: 0 0 auto; width: 66.666%; }
  .col-xs-6 { flex: 0 0 auto; width: 50%; }
  .col-xs-4 { flex: 0 0 auto; width: 33.333%; }
}
.text-right { text-align: right; }

.card-deck {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--awla-card-gap-y) var(--awla-card-gap-x);
}

.card-deck .card {
  border: 1px solid var(--awla-line);
  border-radius: var(--awla-radius);
  overflow: hidden;
  box-shadow: var(--awla-shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-deck .card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.card-deck .card-img-top {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.page-section {
  padding-top: 0;
}

.article-page.page-section {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

#footer .footer-info img,
#footer .footer-top img {
  max-height: 72px;
  width: auto;
  margin: 0.35rem 0.45rem 0.35rem 0;
  border: 0;
}

.region-branding .block-search,
.region-branding .search-block-form,
.region-branding .block-local-actions-block,
.block-system-powered-by-block {
  display: none;
}

.content-article .field--name-body {
  font-size: 1.05rem;
  max-width: 48rem;
}

.content-article .field--name-field-image img {
  border-radius: var(--awla-radius);
  margin-bottom: 1.25rem;
}

.node--type-fellows .field--name-field-image img,
.node--type-fellows .fellow-placeholder {
  width: min(320px, 100%);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--awla-radius);
  background: var(--awla-green);
}

.main-page .block-page-title-block,
#internal-page-content .block-page-title-block,
.path-frontpage .block-page-title-block {
  display: none;
}

.views-view-grid.cols-3,
.views-view-grid.cols-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.views-view-grid.cols-3 > .views-row,
.views-view-grid.cols-4 > .views-row,
.views-view-grid [style*="width:"] {
  width: auto !important;
  float: none !important;
  padding: 0;
}

.view-filters .form-item {
  display: inline-block;
  margin-right: 0.75rem;
  vertical-align: end;
}

.view-filters .form-control,
.view-filters .form-select {
  min-width: 12rem;
}

.region-content > .block-system-main-block {
  margin: 0;
}

.empty.pb-3,
.views-field-nothing .pb-3:empty {
  display: none;
}

.carousel-control-prev,
.carousel-control-next {
  width: 3rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: none;
  background-color: rgba(153, 59, 1, 0.55);
  border-radius: 50%;
  background-size: 50%;
}

body.page-user-login,
body.page-user-pass,
body.page-user-register,
body.path-webform,
body.path-form {
  padding-top: var(--awla-header-h);
}

body.page-user-login .region-content,
body.page-user-pass .region-content,
body.page-user-register .region-content,
body.path-webform .region-content,
body.path-form .region-content {
  min-height: calc(100vh - 220px);
}

body.page-user-login .block-page-title-block,
body.page-user-pass .block-page-title-block,
body.page-user-register .block-page-title-block,
body.path-webform .block-page-title-block,
body.path-form .block-page-title-block {
  display: none;
}

.captcha {
  border: 1px solid var(--awla-line);
  border-radius: var(--awla-radius-sm);
  padding: 0.85rem 1rem 1rem;
  background: var(--awla-sand);
  margin: 1rem 0;
}

.captcha__title {
  font-size: 0.85rem;
  color: var(--awla-muted);
  float: none;
  width: auto;
}

.captcha__description {
  display: none;
}

input[type="hidden"].form-control {
  display: none !important;
  height: 0;
  padding: 0;
  border: 0;
}

.article-page {
  padding: 2rem 0 4rem;
}

.article-kicker .field--name-title,
.article-kicker h1,
.article-kicker h2 {
  display: block;
  font-family: var(--awla-display);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 800;
  color: var(--awla-orange);
  margin: 0 0 1.25rem;
  line-height: 1.25;
}

.profile-card__tabs:not(:has(a)),
.block-region-tabs:not(:has(a)),
.article-main .block-local-tasks-block:not(:has(.nav-link, a)) {
  display: none;
}

.article-main .field--name-field-image img {
  width: 100%;
  border-radius: var(--awla-radius);
  margin-bottom: 1rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-main .field--name-field-date {
  color: var(--awla-green);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.article-main .field--name-body p:empty,
.article-main .field--name-body p:has(> span:empty:only-child) {
  display: none;
}

.article-main .field--name-body {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--awla-ink);
}

.article-related .view-content,
.article-related .news-card-grid {
  display: grid;
  gap: 1rem;
}

.article-related .news-card__title,
.article-related h3 {
  font-size: 0.95rem;
}

.article-related .list-group-item {
  border: 0;
  border-bottom: 1px solid var(--awla-line);
  padding: 0.85rem 0;
  background: transparent;
}

.article-related .list-group-item a {
  color: var(--awla-ink);
  font-weight: 600;
  text-decoration: none;
}

.article-related .list-group-item a:hover {
  color: var(--awla-orange);
}

.view-videos .row {
  --bs-gutter-x: var(--awla-card-gap-x);
  --bs-gutter-y: var(--awla-card-gap-y);
}

.view-videos .row > [class*="col-"] {
  width: 100%;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .view-videos .row > [class*="col-"] {
    width: auto;
  }
}

.media-card-grid {
  --bs-gutter-x: var(--awla-card-gap-x);
  --bs-gutter-y: var(--awla-card-gap-y);
  align-items: stretch !important;
}

.media-card-grid > [class*="col-"],
.view-videos .row > [class*="col-"] {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.media-card-grid > [class*="col-"] > *,
.fellows-card-grid > [class*="col-"] > *,
.view-videos .row > [class*="col-"] > * {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
}

.media-card {
  background: #fff;
  border: 1px solid var(--awla-line);
  border-radius: var(--awla-radius);
  box-shadow: var(--awla-shadow-soft);
  overflow: hidden;
  height: 100%;
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--awla-shadow);
}

.media-card__media {
  position: relative;
  display: block;
}

.media-card__media a,
.media-card__media img {
  display: block;
  width: 100%;
  margin: 0 !important;
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-card__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 116, 0, 0.92);
  box-shadow: 0 10px 30px rgba(153, 59, 1, 0.25);
  pointer-events: none;
}

.media-card__play::after {
  content: "";
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

.media-card__title,
.media-card h3,
.media-card h4,
.media-card h5,
.view-videos h5,
#internal-page-content .media-card h3,
#internal-page-content .media-card__title,
#internal-page-content .media-card__title a,
.media-card__title a,
.media-card__title h1,
.media-card__title h2,
.media-card__title h3,
.media-card__title h4,
.media-card__title h5,
.media-card .field-content,
.media-card .field-content a,
.news-card__title,
.news-card__title a,
.news-card__title .field-content,
.news-card__title .field-content a,
#internal-page-content .news-card__title,
#internal-page-content .news-card h3 {
  font-size: var(--awla-card-title) !important;
  font-weight: 700;
  margin: 0;
  padding: 0;
  line-height: 1.35 !important;
  letter-spacing: 0;
  color: var(--awla-ink) !important;
  flex: 1 1 auto;
}

.media-card__title a,
.view-videos h5 a {
  color: var(--awla-ink);
  text-decoration: none;
}

.media-card__title a:hover,
.view-videos h5 a:hover {
  color: var(--awla-orange);
}

.view-videos img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  :root {
    --awla-header-h: 72px;
  }

  body {
    padding-top: 72px;
    font-size: 15px;
    line-height: 1.55;
  }

  .site-logo img,
  #header #logo img,
  #header.header-scrolled #logo img,
  #header.header-fixed #logo img {
    height: 48px;
  }

  .section-header {
    margin-bottom: 1.15rem;
  }

  .section-header h1,
  .section-header h2,
  #internal-page-content .section-header h1 {
    font-size: 1.4rem;
  }

  #internal-page-content .section-header {
    padding: 1.35rem 0 0;
  }

  #internal-page-content .row > [class*="col-"] > h3,
  #internal-page-content .row > [class*="col-"] > h3:first-child {
    font-size: 1.12rem;
  }

  #intro h1 {
    font-size: 1.7rem !important;
  }

  #intro p,
  #intro .intro-text {
    font-size: 0.95rem !important;
  }

  #intro .intro-container {
    top: 0 !important;
  }

  .container,
  .container-sm,
  .container-md {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  div.webform-container,
  div.webform-submission-information {
    width: 100% !important;
    max-width: 100%;
    padding: 0 1rem;
  }

  #footer,
  #footer.site-footer {
    padding: 0 !important;
  }

  #footer .footer-top {
    padding: 1.5rem 0 1rem !important;
  }

  #footer .footer-grid,
  #footer .footer-top .row {
    --bs-gutter-y: 0.75rem;
    row-gap: 0.75rem;
  }

  #footer .footer-info,
  #footer .footer-links,
  #footer .footer-contact,
  #footer .footer-top .footer-info,
  #footer .footer-top .footer-links,
  #footer .footer-top .footer-contact {
    margin-bottom: 0.25rem !important;
  }

  #footer .block,
  #footer .block-menu,
  #footer .block-block-content {
    margin-bottom: 0 !important;
  }

  #footer h2,
  #footer h3,
  #footer h4,
  #footer .footer-top h2,
  #footer .footer-top h4 {
    margin-bottom: 0.4rem !important;
    padding-bottom: 0.35rem !important;
  }
}

@media (max-width: 767.98px) {
  .col-xs-4,
  .col-xs-8 {
    width: 100%;
  }

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

  body {
    font-size: 14.5px;
  }

  h1 {
    font-size: 1.35rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 1.08rem;
  }

  #intro {
    height: min(68svh, 480px);
    min-height: 260px;
  }

  #intro h1 {
    font-size: 1.45rem !important;
  }

  #about {
    padding: 2.25rem 0;
  }

  #about h2 {
    font-size: 1.3rem;
  }

  #about p,
  #about .about-split__copy p {
    font-size: 0.95rem;
  }

  .content-row-odd,
  .content-row-even {
    padding: 1.35rem 0;
  }

  #internal-page-content > .content-row-odd:last-child,
  #internal-page-content > .content-row-even:last-child {
    padding-bottom: 1.1rem;
  }

  #internal-page-content .row:not(.media-card-grid):not(.fellows-card-grid) {
    column-gap: 0;
    row-gap: 1rem;
  }

  #internal-page-content ul,
  #internal-page-content ol {
    padding-left: 1.05rem;
  }

  .news-card__title,
  .news-card h3,
  .media-card__title,
  .media-card h3,
  #internal-page-content .news-card h3,
  #internal-page-content .media-card h3,
  #internal-page-content .media-card__title,
  .media-card__title a,
  .news-card__title a {
    font-size: 0.9rem !important;
  }

  .media-card__play {
    width: 44px;
    height: 44px;
  }

  .media-card__play::after {
    border-width: 7px 0 7px 11px;
  }

  .news-card__body,
  .media-card__body {
    padding: 0.8rem 0.85rem 0.95rem;
  }

  .fellow-card__name,
  .fellow-card h3 {
    font-size: 0.85rem;
  }

  .quote-card {
    padding: 1.15rem 1rem;
  }

  #quotes .carousel-caption {
    font-size: 0.95rem;
  }

  #footer,
  #footer.site-footer {
    padding: 0 !important;
  }

  #footer .footer-top {
    padding: 1.35rem 0 0.85rem !important;
  }

  #footer .footer-grid,
  #footer .footer-top .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 0.65rem;
    row-gap: 0.65rem;
    margin-bottom: 0;
  }

  #footer .footer-info,
  #footer .footer-links,
  #footer .footer-contact,
  #footer .footer-newsletter,
  #footer .footer-top .footer-info,
  #footer .footer-top .footer-links,
  #footer .footer-top .footer-contact,
  #footer [class*="col-"] {
    margin: 0 !important;
    margin-bottom: 0.15rem !important;
    padding-top: 0;
    padding-bottom: 0;
  }

  #footer .block,
  #footer .region,
  #footer .content,
  #footer .block-block-content,
  #footer .block-menu {
    margin: 0 !important;
    padding: 0 !important;
  }

  #footer h2,
  #footer h3,
  #footer h4,
  #footer .footer-top h4,
  #footer .footer-top h2,
  #footer h2#block-footer-menu {
    margin: 0 0 0.35rem !important;
    padding: 0 0 0.3rem !important;
    line-height: 1.3;
  }

  #footer p,
  #footer .footer-top .footer-info p,
  #footer .footer-top .footer-contact p {
    margin: 0 0 0.35rem !important;
    line-height: 1.5;
  }

  #footer .footer-top .footer-links ul li,
  #footer .footer-links li,
  #footer .footer-menu li {
    padding: 0.2rem 0 !important;
    margin: 0;
    border-bottom: 0;
  }

  #footer .social-links {
    margin: 0.4rem 0 0;
  }

  #footer img,
  #footer .footer-top .footer-info img {
    margin: 0 0 0.4rem 0 !important;
  }

  #footer .copyright,
  .footer-bottom {
    padding: 0.7rem 0 0.9rem !important;
  }

  .article-page.page-section {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
  }

  .card-deck {
    grid-template-columns: 1fr;
  }

  #internal-page-content .card-deck h3 {
    font-size: 1.05rem;
  }

  :root {
    --awla-logo-h: 48px;
    --awla-logo-w: 150px;
    --awla-card-gap-x: 1.25rem;
    --awla-card-gap-y: 1.5rem;
  }

  .path-about .block-region-row-3 img,
  .path-about .block-region-row-3 .img-fluid,
  #partners img,
  #partners .img-fluid {
    max-height: var(--awla-logo-h) !important;
    max-width: var(--awla-logo-w) !important;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .wow {
    opacity: 1;
    transform: none;
  }
}

/*--------------------------------------------------------------
  Final UI polish
--------------------------------------------------------------*/

html,
body {
  overflow-x: clip;
}

.path-multimedia #internal-page-content .views-element-container > h2 {
  display: none;
}

.fellows-group-title,
.view-group-title {
  width: 100%;
  flex: 0 0 100%;
  max-width: 100%;
  font-size: 1.2rem;
  margin: 0.5rem 0 1.1rem;
  padding-top: 0.35rem;
}

#footer .social-links p,
#footer .social-links .mt-3 {
  margin: 0.5rem 0 0 !important;
}

#footer .twitter-hashtag-button {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

#footer iframe.twitter-hashtag-button,
#footer iframe[id^="twitter-widget"] {
  margin-top: 0.45rem;
  max-height: 28px;
}

#footer .footer-info .row img,
#footer .footer-info a img {
  max-height: 52px;
  width: auto;
  margin: 0.2rem 0.4rem 0.2rem 0;
}

.pagination .page-link {
  text-decoration: none !important;
}

.news-card__title a,
.media-card__title a,
.fellow-card a {
  text-decoration: none !important;
}

/*--------------------------------------------------------------
  Mobile menu button — last so nothing can hide it
--------------------------------------------------------------*/

@media (max-width: 991.98px) {
  #header,
  #header.header-fixed,
  #header.header-scrolled,
  .site-header {
    overflow: visible !important;
    height: auto !important;
    min-height: 72px !important;
    padding: 0.4rem 0 !important;
    background: #fff !important;
  }

  #header .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  #header #logo {
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 1 auto;
  }

  #header #mobile-nav-toggle.nav-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    border: 1px solid rgba(153, 59, 1, 0.18) !important;
    border-radius: 0.65rem !important;
    background: #f7f4ef !important;
    color: #2f3138 !important;
    z-index: 1100 !important;
    flex-shrink: 0 !important;
    font-size: 1.35rem !important;
    line-height: 1 !important;
  }

  #header #mobile-nav-toggle .nav-toggle-icon,
  #header #mobile-nav-toggle .fa-bars,
  #header #mobile-nav-toggle .fa-times {
    display: inline-block !important;
    color: #2f3138 !important;
    font-size: 1.35rem !important;
    width: auto !important;
    height: auto !important;
  }

  #nav-menu-container.site-nav {
    display: block !important;
  }
}

@media (min-width: 992px) {
  #header #mobile-nav-toggle {
    display: none !important;
  }
}
