/* ==========================================================================
   TEXT.CSS
   Global Typography Standards
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

html
{
  font-size: 100%;
  /* 1rem = 16px */
}

body
{
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* --------------------------------------------------------------------------
   Headings
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6
{
  margin-top: 0;
  margin-bottom: 0.75em;
  line-height: 1.2;
  font-weight: 700;
}

h1
{
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.1;
}

h2
{
  font-size: clamp(1.75rem, 3vw, 2rem);
  line-height: 1.2;
}

h3
{
  font-size: 1.5rem;
  line-height: 1.25;
}

h4
{
  font-size: 1.25rem;
  line-height: 1.3;
}

h5
{
  font-size: 1.125rem;
  line-height: 1.4;
}

h6
{
  font-size: 1rem;
  line-height: 1.4;
}


/* --------------------------------------------------------------------------
   Body Content
   -------------------------------------------------------------------------- */

p
{
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

small,
.text-small
{
  font-size: 0.875rem;
  line-height: 1.5;
}

strong,
b
{
  font-weight: 700;
}


/* --------------------------------------------------------------------------
   Links
   -------------------------------------------------------------------------- */

a
{
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

a:hover,
a:focus
{
  text-decoration: underline;
}


/* --------------------------------------------------------------------------
   Lists
   -------------------------------------------------------------------------- */

ul,
ol
{
  margin-top: 0;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

li
{
  margin-bottom: 0.375rem;
  line-height: 1.6;
}

li:last-child
{
  margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

nav,
nav a,
.menu,
.menu a
{
  font-size: 1rem;
  line-height: 1.4;
}


/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

button,
.button,
.btn,
input[type="submit"],
input[type="button"]
{
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 600;
}


/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

label
{
  font-size: 0.875rem;
  line-height: 1.4;
  font-weight: 600;
}

input,
select,
textarea
{
  font: inherit;
  font-size: 1rem;
  /* Avoids automatic zoom on iOS */
  line-height: 1.5;
}

::placeholder
{
  font-size: 1rem;
}


/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */

table
{
  font-size: 1rem;
  line-height: 1.5;
}

th
{
  font-weight: 700;
}


/* --------------------------------------------------------------------------
   Supporting / Meta Text
   -------------------------------------------------------------------------- */

.meta,
.caption,
.helper-text,
.eyebrow
{
  font-size: 0.875rem;
  line-height: 1.5;
}


/* --------------------------------------------------------------------------
   Large / Hero Typography
   -------------------------------------------------------------------------- */

.hero-title,
.display-title
{
  font-size: clamp(3rem, 6vw, 4rem);
  line-height: 1.05;
}


/* --------------------------------------------------------------------------
   Content Width
   Helps maintain readable line lengths.
   -------------------------------------------------------------------------- */

.text-content,
.prose
{
  max-width: 70ch;
}


/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */

.text-xs
{
  font-size: 0.875rem;
}

.text-sm
{
  font-size: 0.9375rem;
}

.text-base
{
  font-size: 1rem;
}

.text-lg
{
  font-size: 1.125rem;
}

.text-xl
{
  font-size: 1.25rem;
}

.text-2xl
{
  font-size: 1.5rem;
}

.text-3xl
{
  font-size: 2rem;
}

.text-4xl
{
  font-size: 3rem;
}


/* --------------------------------------------------------------------------
   Mobile Adjustments
   -------------------------------------------------------------------------- */

@media (max-width: 767px)
{

  h1
  {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }

  h2
  {
    font-size: clamp(1.625rem, 7vw, 1.875rem);
  }

  h3
  {
    font-size: 1.375rem;
  }

  .hero-title,
  .display-title
  {
    font-size: clamp(2.5rem, 11vw, 3rem);
  }

}
/* Brand foundations */
@font-face
{
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root
{
  --dp-ink: #003a5d;
  --dp-paper: #fff;
  --dp-accent: #00b2ba;
  --dp-blue: #005d83;
  --dp-muted: #535b63;
  --dp-line: #e5e8eb;
  --dp-width: 1540px;
  --dp-space: clamp(3rem, 7vw, 6rem);
}
*
{
  box-sizing: border-box;
}
body
{
  margin: 0;
  background: var(--dp-paper);
  color: var(--dp-ink);
  font-family: 'Montserrat', sans-serif;
  overflow-wrap: break-word;
}
img, video
{
  max-width: 100%;
  height: auto;
}
img
{
  display: block;
}
button
{
  font-family: inherit;
  cursor: pointer;
}
[hidden]
{
  display: none !important;
}
:focus-visible
{
  outline: 3px solid #eeaf22;
  outline-offset: 4px;
}
.dp-container
{
  width: min(var(--dp-width), calc(100% - 4rem));
  margin-inline: auto;
}
.dp-button
{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .75rem 1.75rem;
  background: var(--dp-ink);
  color: #fff;
  border: 0;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 600;
  text-decoration: none;
}
.dp-eyebrow
{
  margin-bottom: .35rem;
  font-size: .875rem;
  line-height: 1.5;
  font-weight: 700;
  text-transform: uppercase;
}
.dp-icon
{
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
}
.screen-reader-text
{
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
}
.skip-link:focus
{
  clip-path: none;
  width: auto;
  height: auto;
  top: 1rem;
  left: 1rem;
  padding: 1rem;
  background: #fff;
  color: #000;
  z-index: 100000;
}
/* Shared header */
.dp-header
{
  position: relative;
  z-index: 20;
  background: #fff;
}
.dp-topbar
{
  background: var(--dp-accent);
  color: var(--dp-ink);
}
.dp-topbar-inner, .dp-header-actions
{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.dp-topbar-inner
{
  width: calc(100% - 6rem);
  min-height: 44px;
}
.dp-opening
{
  font-size: .875rem;
}
.dp-opening span
{
  font-weight: 700;
  text-transform: uppercase;
  margin-right: 1rem;
}
.dp-book
{
  align-self: stretch;
  text-transform: uppercase;
  padding-inline: 2rem;
}
.dp-cart
{
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
}
.dp-header-inner
{
  position: relative;
  min-height: 152px;
  display: grid;
  grid-template-columns: 1fr 170px 1fr;
  align-items: center;
  gap: 2rem;
  padding-block: 1rem;
}
.dp-brand
{
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}
.dp-logo
{
  width: 145px;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}
.dp-navigation
{
  display: contents;
}
.dp-nav-main-nav
{
  grid-column: 1;
  grid-row: 1;
}
.dp-nav-header-secondary
{
  grid-column: 3;
  grid-row: 1;
}
.dp-menu, .dp-social-menu, .dp-footer-menu
{
  list-style: none;
  margin: 0;
  padding: 0;
}
.dp-menu
{
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.dp-menu li, .dp-social-menu li
{
  position: relative;
  margin: 0;
}
.dp-menu a
{
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-weight: 600;
}
.dp-menu a:hover, .dp-menu a:focus-visible, .dp-menu .current-menu-item > a
{
  text-decoration: underline;
}
.dp-menu ul
{
  list-style: none;
  margin: 0;
  padding: .75rem 1rem;
  background: #fff;
  color: var(--dp-ink);
  border: 1px solid var(--dp-line);
  min-width: 15rem;
  box-shadow: 0 8px 18px #003a5d14;
}
.dp-menu > li > ul
{
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
}
.dp-nav-header-secondary .dp-menu > li:last-child > ul
{
  left: auto;
  right: 0;
}
.dp-menu li:hover > ul, .dp-menu li:focus-within > ul, .dp-menu li.dp-submenu-open > ul
{
  display: block;
}
.dp-submenu-toggle
{
  min-width: 32px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
}
.dp-menu-toggle
{
  border: 1px solid var(--dp-ink);
  background: #fff;
  color: var(--dp-ink);
  padding: .75rem 1rem;
  min-height: 44px;
}
/* WordPress social menus: URLs and accessible names remain menu-owned. */
.dp-social-menu
{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.dp-social-menu a
{
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}
.dp-social-menu .social-facebook a, .dp-social-menu .social-instagram a
{
  font-size: 0;
}
.social-facebook a::before
{
  content: 'f';
  font-family: Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}
.social-instagram a::before
{
  content: '';
  width: 19px;
  height: 19px;
  border: 2px solid currentColor;
  border-radius: 6px;
  background: radial-gradient(circle at center, transparent 3px, currentColor 3px, currentColor 5px, transparent 5px), radial-gradient(circle at 75% 25%, currentColor 1px, transparent 2px);
}
/* Membership and social footer sections */
.dp-membership-band
{
  position: relative;
  padding-block: clamp(2rem, 4vw, 4rem);
  color: #fff;
  background: var(--dp-blue);
}
.dp-membership-band::before
{
  content: '';
  position: absolute;
  left: 50%;
  top: -2rem;
  height: 4rem;
  width: 2px;
  background: var(--dp-ink);
}
.dp-membership-inner
{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 10vw, 10rem);
  align-items: center;
}
.dp-membership-inner h2
{
  max-width: 15ch;
  margin-bottom: 0;
  text-transform: uppercase;
}
.dp-arrow-link
{
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
}
.dp-arrow-link::after
{
  content: '\2192';
  font-size: 1.5rem;
}
.dp-social-section
{
  padding-bottom: 3rem;
}
.dp-social-heading
{
  text-align: center;
  padding-block: 2.5rem 2rem;
}
.dp-social-heading h2
{
  text-transform: uppercase;
  margin-bottom: 0;
}
.dp-social-heading h2 span
{
  color: #007d84;
}
.dp-gallery-wrap
{
  position: relative;
}
.dp-social-gallery
{
  display: flex;
  gap: .75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  list-style: none;
  padding: 0;
  margin: 0;
}
.dp-social-gallery li
{
  flex: 0 0 calc((100% - 3rem) / 5);
  margin: 0;
  scroll-snap-align: start;
}
.dp-social-gallery img
{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.dp-gallery-prev, .dp-gallery-next
{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 56px;
  border: 0;
  background: #003a5dcc;
  color: #fff;
  font-size: 2.5rem;
}
.dp-gallery-prev
{
  left: 0;
}
.dp-gallery-next
{
  right: 0;
}
.dp-gallery-wrap button:disabled
{
  opacity: .35;
  cursor: default;
}
/* Shared footer */
.dp-footer
{
  background: var(--dp-ink);
  color: #fff;
  padding-block: 3.5rem;
}
.dp-footer-grid
{
  display: grid;
  grid-template-columns: 1fr 1.6fr .9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: start;
}
.dp-footer-brand .dp-logo
{
  width: 230px;
  max-height: 200px;
  margin-inline: auto;
}
.dp-footer-brand .dp-social-menu
{
  justify-content: center;
  margin-top: 1rem;
}
.dp-contact-line
{
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: .875rem;
  font-weight: 600;
  text-transform: uppercase;
}
.dp-contact-line a, .dp-footer-menu a
{
  text-decoration: none;
}
.dp-contact-line a:hover, .dp-footer-menu a:hover
{
  text-decoration: underline;
}
.dp-footer-credit
{
  margin-top: 2rem;
}
.dp-footer-credit p
{
  font-size: .875rem;
  line-height: 1.5;
  margin-bottom: .35rem;
  color: #d4e3ec;
}
.dp-footer-menu a
{
  display: inline-block;
  padding-block: .35rem;
  font-weight: 600;
}
.dp-footer-menu ul
{
  padding-left: 1rem;
  list-style: none;
}
.dp-footer-governance h2
{
  font-size: 1rem;
  text-transform: uppercase;
  border-bottom: 1px solid #fff;
  padding-bottom: .75rem;
}
/* Responsive header/footer; same menu content on every device. */
@media (max-width: 1100px)
{
  .dp-header-inner
  {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: 110px;
  }
  .dp-brand .dp-logo
  {
    width: 110px;
    max-height: 90px;
  }
  .dp-navigation
  {
    display: block;
    flex: 0 0 100%;
  }
  .dp-menu
  {
    display: block;
  }
  .dp-menu > li > ul
  {
    position: static;
    box-shadow: none;
    border: 0;
    min-width: 0;
    padding-block: .25rem;
  }
  .dp-navigation:not(.dp-enhanced) .dp-menu ul
  {
    display: block;
  }
  .dp-navigation.dp-enhanced .dp-menu li > ul
  {
    display: none;
  }
  .dp-navigation.dp-enhanced .dp-menu li.dp-submenu-open > ul
  {
    display: block;
  }
  .dp-submenu-toggle
  {
    min-width: 44px;
  }
  .dp-footer-grid
  {
    grid-template-columns: 1fr 1fr;
  }
  .dp-footer-brand .dp-logo
  {
    margin-left: 0;
  }
  .dp-footer-brand .dp-social-menu
  {
    justify-content: flex-start;
  }
  .dp-social-gallery li
  {
    flex-basis: calc((100% - 1.5rem) / 3);
  }
}
@media (max-width: 767px)
{
  .dp-container, .dp-topbar-inner
  {
    width: calc(100% - 2rem);
  }
  .dp-topbar-inner
  {
    flex-wrap: wrap;
    gap: .25rem .75rem;
    padding-block: .35rem;
  }
  .dp-header-actions
  {
    gap: .25rem;
    flex-wrap: wrap;
  }
  .dp-opening span
  {
    margin-right: .5rem;
  }
  .dp-book
  {
    padding-inline: 1rem;
  }
  .dp-membership-inner, .dp-footer-grid
  {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .dp-membership-band::before
  {
    display: none;
  }
  .dp-social-gallery li
  {
    flex-basis: 72%;
  }
  .dp-footer
  {
    padding-block: 2.5rem;
  }
}

/* Existing page-body layouts */
.dp-hero
{
  position:relative;
  background:var(--dp-accent);
  color:#fff;
  isolation:isolate;
  min-height:400px;
  display:flex;
  align-items:center;
}
.dp-hero-with-image
{
  min-height:620px;
}
.dp-hero-image
{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-2;
}
.dp-hero-with-image:after
{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.25));
  z-index:-1;
}
.dp-hero-content
{
  padding-block:var(--dp-space);
}
.dp-hero-content>*
{
  max-width:820px;
}
.dp-hero .dp-button
{
  background:var(--dp-paper);
  border-color:var(--dp-paper);
  color:var(--dp-ink);
}
.dp-split
{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:clamp(2rem,6vw,6rem);
}
.dp-split-media img
{
  width:100%;
  aspect-ratio:5/4;
  object-fit:cover;
}
.dp-split-reverse .dp-split-media
{
  order:2;
}
.dp-card-grid
{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.5rem;
}
.dp-card
{
  border:1px solid var(--dp-line);
  background:#fff;
  min-width:0;
}
.dp-card img
{
  aspect-ratio:4/3;
  width:100%;
  object-fit:cover;
}
.dp-card-body
{
  padding:1.6rem;
}
.dp-card h2,.dp-card h3
{
}
.dp-card h2 a,.dp-card h3 a
{
  text-decoration:none;
}
.dp-card h2 a:hover,.dp-card h3 a:hover
{
  text-decoration:underline;
}
.dp-cta
{
  background:var(--dp-accent);
  color:#fff;
  padding-block:4rem;
}
.dp-cta-inner
{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:2rem;
}
.dp-cta .dp-button
{
  background:var(--dp-paper);
  color:var(--dp-ink);
  border-color:var(--dp-paper);
  flex-shrink:0;
}
.dp-cta p:last-child
{
  margin-bottom:0;
}
.dp-faq
{
  border-top:1px solid var(--dp-line);
  padding-block:1.3rem;
}
.dp-faq:last-child
{
  border-bottom:1px solid var(--dp-line);
}
.dp-faq summary
{
  cursor:pointer;
  font-weight:650;
}
.dp-faq .entry-content
{
  padding-top:1.2rem;
}
.dp-documents li
{
  padding:.7rem 0;
}
.dp-search
{
  display:flex;
  gap:.7rem;
}
.dp-search input
{
  width:100%;
  min-width:0;
}
.dp-search input,input[type=text],input[type=email],input[type=url],textarea
{
  border:1px solid var(--dp-line);
  padding:.7rem;
  background:white;
  color:var(--dp-ink);
  max-width:100%;
}
.dp-comments
{
  padding-block:2rem 4rem;
}
.comment-list
{
  padding-left:1.5rem;
}
.comment-form label
{
  display:block;
}
.comment-form textarea
{
  width:100%;
}
.entry-content>*+*
{
  margin-top:1.2rem;
}
.entry-content iframe
{
  max-width:100%;
}
.entry-content table
{
  width:100%;
  border-collapse:collapse;
  display:block;
  overflow-x:auto;
}
.entry-content td,.entry-content th
{
  border:1px solid var(--dp-line);
  padding:.5rem;
}
.entry-content .alignwide
{
  max-width:100%;
}
.wp-caption
{
  max-width:100%;
}
.wp-caption-text,.gallery-caption
{
}
.alignleft
{
  float:left;
  margin:0 1.5rem 1rem 0;
}
.alignright
{
  float:right;
  margin:0 0 1rem 1.5rem;
}
.aligncenter
{
  margin-inline:auto;
}
.entry-content:after
{
  content:"";
  display:block;
  clear:both;
}
.dp-featured-image
{
  margin-block:2rem;
}
.navigation.pagination
{
  margin-top:2rem;
}
.nav-links
{
  display:flex;
  flex-wrap:wrap;
  gap:1.5rem;
}

.dp-section
{
  padding-block: var(--dp-space);
}
.dp-prose
{
  max-width: 70ch;
}
@media (max-width: 767px)
{
  .dp-card-grid, .dp-split
  {
    grid-template-columns: 1fr;
  }
  .dp-split-reverse .dp-split-media
  {
    order: 0;
  }
  .dp-cta-inner
  {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Enhanced submenus use explicit expanded state; Escape always closes them. */
.dp-navigation.dp-enhanced .dp-menu li > ul
{
  display: none;
}
.dp-navigation.dp-enhanced .dp-menu li.dp-submenu-open > ul
{
  display: block;
}
