/**
Theme Name: Dock and Paddle
Author: Lancer Hospitality
Author URI: https://lancerhospitality.com
Description: Dock and Paddle
Version: 1.0.3
Template: astra
*/

/* ========== Base ========== */
.post-content a {
    border-bottom: 1px solid;
}

abbr[title] {
  border-bottom: none;
  text-decoration: none;
}

ol, ul {
  margin: 0 0 1.5em 2em;
}

address {
  font-style: normal;
}

.intro-title::after,
.after-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin-top: .5em;
  background: var(--ast-global-color-0);
}

.item.center {
  text-align: center;
}

.item.center .secondary-title {
  position: relative;
  display: inline-block;
}

.secondary-title {
  color: #fff;
  background: var(--ast-global-color-1);
  padding: 0.5em 1.5em;
  border-radius: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ast-outline-button,
.ast-outline-button:visited {
  border: 2px solid currentColor !important;
}

/* ========== Navigation ========== */
#ast-mobile-popup-wrapper {
    z-index: 1000;
}

.menu-toggle-close:after {
    content: "Close";
    padding: 4px;
    font-size: 16px;
}

/* ========== Sitewide Notification ========== */
.sitewide-notification {
  background-color: #000;
  color: #fff; 
  padding: 2em;
  width: 100%;
  margin: 0;
}

.sitewide-notification > .container {
  width: 100%;
  max-width: 100rem;
  margin-inline: auto;
  padding: 0;
}

.sitewide-notification .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem; 
}

.sitewide-notification .notification-message p {
  margin: 0;
}

.sitewide-notification a {
  color: #fff;
}

.sitewide-notification .notification-cta {
  margin-left: auto;
  text-align: center;
}

.sitewide-notification .dark-btn {
  background-color: #fff;
  color: #000;
  border: 1px solid #fff;
  width: 100%;
}

.sitewide-notification .dark-btn:hover,
.sitewide-notification .dark-btn:focus {
  background-color: transparent;
  color: #fff;
}

/* ========== Order Ahead ========== */
.dp-order-ahead > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5em 2em !important;
  border-radius: 3px;
  background-color: var(--ast-global-color-0);
  color: #fff !important;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--ast-global-color-0);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.dp-order-ahead > a:hover,
.dp-order-ahead > a:focus-visible {
  background-color: var(--ast-global-color-1);
  border-color: var(--ast-global-color-1);
  color: #fff;
  transform: translateY(-1px);
}

.dp-order-ahead > a:focus-visible {
  outline: 2px solid var(--ast-global-color-1);
  outline-offset: 2px;
}

.dp-order-ahead > a::before {
  display: none;
}

/* ========== Text ========== */
.message-text {
  margin-bottom: 2em;
}

/* ========== Footer ========== */
h2.widget-title {
  font-size: 1.15em;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.footer-widget-area p {
  margin: 1em 0;
}

.hours-of-operation {
  margin: 0;
}

.hours-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .25rem .75rem;
  margin: 0;
}

.hours-day {
  font-weight: 600;
}

.hours-day::after {
  content: ":";
  margin-left: .25ch;
}

.hours-time {
  margin: 0;
}

.contact-address {
  margin-top: 4px;
  margin-bottom: 0;
}

.address-directions {
  margin-bottom: .5rem;
}

.address-directions a {
  padding-bottom: 4px;
  border-bottom: 1px solid;
}

.footer-phone {
  margin-top: 4px;
  margin-bottom: .5rem;
}

.footer-phone a:hover {
  padding-bottom: 4px;
  border-bottom: 1px solid;
}

/* ========== Hero ========== */
.home-hero,
.page-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
}

.home-hero picture.hero-bg,
.page-hero picture.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.home-hero picture.hero-bg > img,
.page-hero picture.hero-bg > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.home-hero {
  min-height: 70vh;
  min-height: 70svh;
}

.page-hero {
  min-height: 60vh;
  min-height: 60svh;
}

.home-hero .hero-bg,
.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.home-hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.15), rgba(0,0,0,.15));
  pointer-events: none;
  z-index: 1;
}

.page-hero.hero--no-image {
  position: relative;
  overflow: hidden;
  min-height: 50vh;
  min-height: 50svh;
  background-color: var(--ast-global-color-1);
}

.page-hero.hero--no-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%; 
  background-image: url('/wp-content/themes/dock-and-paddle/assets/img/hero/dp-waves-overlay.svg');
  background-repeat: repeat;
  background-position: center center;
  background-size: auto;
  pointer-events: none;
  opacity: 0.35;
}


.hero-inner {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: clamp(2rem, 6vw, 5rem);
}

.hero-title,
.hero-subtitle {
  display: block;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,.45);
}

.hero-title {
  padding: .25em .75em;
  border: 4px solid var(--ast-global-color-0);
  border-radius: 3px;
  background-color: rgba(0, 0, 0, .35);
  backdrop-filter: blur(2px);  
  line-height: 1;
  margin: 0;
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 2;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1rem, 3vh, 2rem);
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-align: center;
  text-decoration: none;
  color: #fff;
  z-index: 3;
}

.hero-scroll:link,
.hero-scroll:visited {
  color: #fff;
  font-weight: 700;
}

.hero-scroll:hover,
.hero-scroll:active,
.hero-scroll:focus-visible {
  outline: none;
  color: var(--ast-global-color-0);
}

.hero-scroll-label {
  font-size: .875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-scroll i {
  font-size: 1.25rem;
  animation: hero-bounce 1.5s infinite;
}

/* ========== Images ========== */
.intro-image,
.post-intro-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}

.post-intro-image {
  box-shadow: 0 4px 10px 1px rgba(84,89,95,.4);
}

.intro-image {
  aspect-ratio: 4 / 3;
}

/* ========== Social Icons ========== */
.social-icons {
  display: flex;
  align-items: center;
  gap: .75em;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-icons li {
  display: flex;
}

.social-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  text-decoration: none;
  color: inherit;
  transition: color .3s;
  font-size: 1.5rem;
}

.social-link i {
  color: inherit;
}

.social-link.facebook:hover  { color: #1877F2 !important; }
.social-link.instagram:hover { color: #E4405F !important; }
.social-link.threads:hover   { color: #fff !important; }
.social-link.twitter:hover   { color: #1DA1F2 !important; }
.social-link.tiktok:hover    { color: #010101 !important; }
.social-link.bluesky:hover   { color: #208BFE !important; }

.social-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* ========== Lightbox ========== */
.dp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.8);
}

.dp-lightbox.is-active {
  display: flex;
}

.dp-lightbox__inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.dp-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.dp-lightbox__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  border: 0;
  border-radius: 3px;
  padding: 0.25rem 0.75rem;
  background: #ffffff !important;
  color: #000 !important;
  font-size: 0.875rem;
  cursor: pointer;
}

.dp-lightbox__close:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

/* ========== External Link Modal ========== */
#external-link-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,.8);
}

#external-link-modal .modal-content {
  background: var(--ast-global-color-4);
  margin: 10% auto;
  padding: 60px 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,.3);
}

#modal-heading {
  font-size: 1.25em;
}

#external-link-modal .close-modal-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  color: var(--ast-global-color-1);
  padding: .5em;
  box-shadow: none;
}

#external-link-modal .close-modal-btn:hover,
#external-link-modal .close-modal-btn:focus {
  color: var(--ast-global-color-0);
  outline: none;
}

#external-link-modal .modal-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

#external-link-modal .cancel-btn {
  background: transparent;
  color: var(--ast-global-color-1);
  border: 2px solid var(--ast-global-color-1);
  border-radius: 3px;
}

#external-link-modal .cancel-btn:hover {
  background: #999;
  color: var(--ast-global-color-1);
}

#external-link-modal .cancel-btn:focus {
  outline: 1px dotted var(--ast-global-color-0);
}

#external-link-modal button:focus {
  outline: 3px solid var(--ast-global-color-0);
}

/* ========== Home (Cards) ========== */
.news-events {
  margin: 60px 0;
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #f9f7f3;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  height: 100%;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}

.post-card-category-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--ast-global-color-8);
  color: #fff;
  z-index: 3;
}

.post-card:hover,
.post-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px 1px rgba(84,89,95,.4);
  outline: none;
}

.post-card-media {
  line-height: 0;
}

.post-card-image {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.post-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.post-card-title {
  font-size: 1em;
  letter-spacing: 0;
  margin: 0 0 .25rem;
  line-height: 1.25;
}

.post-card-excerpt {
  font-size: .9rem;
  line-height: 1.5;
  max-height: calc(1.5em * 3);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  white-space: normal;
}

.post-card-cta {
  margin-bottom: 0;
}

.post-card-button {
  text-transform: uppercase;
  font-size: .9em;
  font-weight: 600;
  color: var(--ast-global-color-8);
}

.post-card-excerpt p,
.post-card-excerpt p + p {
  display: inline;
}

.row .item > .post-card {
  height: 100%;
}

/* ========== Post ========== */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.875rem; 
  align-items: center;
  margin-bottom: 1rem;
}

.post-meta-item {
  display: inline-flex;
  align-items: center;
}

.post-meta .post-icon {
  margin-right: 0.35rem;
  font-size: 0.9em;
}

/* ========== Pages ========== */
.page-sidebar {
  align-self: flex-start;
  padding: 2em;
  background: #fff;
  border-radius: 12px;
  border: 2px solid var(--ast-global-color-6);
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
  margin-bottom: 30px;
}

.page-sidebar-secondary {
  align-self: flex-start;
  padding: 2rem;
  background: var(--ast-global-color-4);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
  margin-bottom: 30px;
  border: 2px solid var(--ast-global-color-6);
}

.page-sidebar .hours-of-operation {
  line-height: 1.5em;
}

.page-sidebar .hours-notice {
  font-size: 80%;
  font-style: italic;
  line-height: 1.5em;
  margin-top: 1em;
  margin-bottom: 0;
}

.page-sidebar .footer-phone, .page-sidebar .contact-address {
  margin-bottom: 1rem;
}

.page-sidebar a.phone-link,
.page-sidebar address,
.page-sidebar .address-directions a {
  color: var(--ast-global-color-3);
  line-height: 1.5em;
}

.page-sidebar a.phone-link:hover {
  color: var(--ast-global-color-0);
  padding-bottom: 4px;
  border-bottom: 1px solid;
}

.page-sidebar .after-title {
  margin-bottom: 1em;
}

/* ========== Posts ========== */
.pagination {
  text-align: center;
  font-weight: 600;
  margin-top: 2em;
}

.page-numbers {
  padding: 0 .5em;
}

.post-content {
  padding-bottom: 60px;
}

/* ========== Menus ========== */
.menus {
  margin: 60px 0;
  min-height: 50vh;
}

.menu-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-section-title::after {
  content: "";
  flex: 1 1 auto;
  border-top: 2px solid var(--ast-global-color-0);
  margin-top: .25em;
}

.menu-section-desc,
.menu-entry {
  line-height: 1.75em;
}

.menu-section-items {
  padding-bottom: 40px;
}

.menu-entry {
  padding: 12px 0;
}

.menu-item-name {
  margin: 0 0 .25rem;
  font-weight: 700;
  color: var(--ast-global-color-1);
}

.menu-item-desc {
  margin: 0 0 .25rem;
  text-transform: lowercase;
}

.menu-item-price {
  margin: 0;
  font-weight: 600;
}

.menu-notice p {
  margin-bottom: 0;
}

/* ========== Contact ========== */
.features-accordion {
  width: 100%;
  margin: 1rem 0;
}

.features-accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 1px solid var(--ast-global-color-1);
  border-radius: 3px 3px 0 0;
  background-color: var(--ast-global-color-1);
  padding: 0.85rem 1.1rem;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: #fff;
}

.features-accordion-label {
  flex: 1;
  margin-right: 0.75rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 2px;
}

.features-accordion-toggle .accordion-icon {
  flex-shrink: 0;
}

.features-accordion-toggle:focus-visible {
  outline: 2px solid var(--ast-global-color-0);
  outline-offset: 2px;
}

.features-accordion-panel {
  border: 1px solid var(--ast-global-color-1);
  background-color: #fff;
  border-top: none;
  padding: 1rem 1.1rem;
  border-radius: 0 0 3px 3px;
}

.features-list {
  margin: 0;
  padding-left: 1.2rem;
}

.features-list li {
  margin-bottom: 0.35rem;
}

/* ========== Contact ========== */
.contact-title {
  font-weight: 700;
  margin-bottom: 0;
  color: var(--ast-global-color-1);
}

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

.team-person + .team-person {
  margin-top: 1rem;
}

.team-name {
  font-weight: 700;
  margin: 0;
  color: var(--ast-global-color-1);
}

.team-title {
  margin-bottom: 0;
}

.team-methods {
  list-style: none;
  font-size: 16px;
  line-height: 1.5em;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .25rem;
}

.team-methods a {
  color: var(--ast-global-color-1);
  text-decoration: none;
}

.team-methods a:hover {
  color: var(--ast-global-color-0);
  padding-bottom: 4px;
  border-bottom: 1px solid;
  text-decoration: none;
}

.team-methods a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.team-ext {
  margin-left: .25ch;
}

/* ========== Contact Form ========== */
.contact-form {
  margin-bottom: 60px;
}

.contact-form a {
  padding-bottom: 4px;
  border-bottom: 1px solid;
}

.contact-form .gform_footer {
  margin-top: 0 !important;
}

.contact-form .gform-field-label {
  font-size: .9em !important;
  font-weight: 700 !important;
}

.gform_required_legend {
  font-size: .8rem;
  font-style: italic;
}

.contact-form .gform_wrapper .gform_body .gform_fields .gfield {
  background: transparent !important;
}

/* Base fields */
.contact-form .gform_wrapper input[type="text"],
.contact-form .gform_wrapper input[type="number"],
.contact-form .gform_wrapper input[type="email"],
.contact-form .gform_wrapper input[type="url"],
.contact-form .gform_wrapper input[type="password"],
.contact-form .gform_wrapper input[type="search"],
.contact-form .gform_wrapper input[type="tel"] {
  border: 0;
  border-bottom: 1px solid var(--ast-global-color-1);
  border-radius: 0;
  height: 50px;
  box-shadow: none;
  box-sizing: border-box;
  font-size: .9em;
}

.contact-form .gform_wrapper select {
  border: 0;
  border-bottom: 1px solid var(--ast-global-color-1);
  border-radius: 0;
  height: 50px;
  line-height: 50px;
  padding-top: 0;
  padding-bottom: 0;
  box-shadow: none;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: .9em;
}

.contact-form .gform_wrapper textarea {
  border: 0;
  border-bottom: 1px solid var(--ast-global-color-1);
  border-radius: 0;
  min-height: 120px;
  box-shadow: none;
  box-sizing: border-box;
  font-size: .9em;
}

.contact-form .datepicker {
  width: 100% !important;
}

.contact-form .gform_wrapper input:focus,
.contact-form .gform_wrapper textarea:focus {
  background: #f5f5f5 !important;
  color: var(--ast-global-color-1) !important;
  border-color: var(--ast-global-color-0);
  outline: 2px solid var(--ast-global-color-6);
  font-weight: 600 !important;
}

.contact-form .gform_wrapper textarea::placeholder {
  color: var(--ast-global-color-3) !important;
  opacity: 1 !important;
}

.contact-form .gform_wrapper input.gform_button {
  background: var(--ast-global-color-6) !important;
  color: var(--ast-global-color-1) !important;
  border-radius: 3px !important;
  border: none !important;
  padding: 1em 2em !important;
  font-weight: 700 !important;
  font-size: 1em !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.contact-form .gform_wrapper input.gform_button:hover {
  background: var(--ast-global-color-1) !important;
  color: #fff !important;
}

.gform-theme--framework {
  --gf-ctrl-date-picker-cell-content-bg-color-hover: var(--ast-global-color-0);
  --gf-ctrl-date-picker-cell-content-color-hover: #ffffff;
}

.gform-theme--framework.ui-datepicker table .ui-datepicker-today a,
.gform-theme--framework.ui-datepicker table .ui-datepicker-today span {
  --gf-local-bg-color: transparent;
  border: 1px solid var(--ast-global-color-0);
  box-sizing: border-box;
}

.gform-theme--framework.ui-datepicker table .ui-datepicker-current-day a,
.gform-theme--framework.ui-datepicker table .ui-datepicker-current-day span {
  background-color: var(--ast-global-color-0);
  color: #ffffff;
}

.gform-theme--framework.ui-datepicker table td:not(.ui-state-disabled):not(.ui-datepicker-current-day) a:hover {
  background-color: var(--ast-global-color-0) !important;
  color: #ffffff !important;
}

.gform-theme--framework.ui-datepicker table .ui-datepicker-today a:hover,
.gform-theme--framework.ui-datepicker table .ui-datepicker-today span:hover {
  background-color: transparent !important;
  color: inherit !important;
}

/* ========== Events Calendar ========== */
#events-list-heading {
  text-align: center;
}

.tribe-common h1, .tribe-common h2, .tribe-common h3, .tribe-common h4, .tribe-common h5, .tribe-common h6 {
  font-weight: 700;
}

.tribe-common .tribe-common-h--alt {
  font-weight: 700 !important;
  letter-spacing: 1px;
}

.tribe-events .tribe-events-l-container {
    padding-bottom: 0 !important;
    padding-top: 1em !important; 
}

.tribe-events-content ol, .tribe-events-content p, .tribe-events-content ul {
  font-size: inherit;
  line-height: inherit;
}

.tribe-events-content {
  color: var(--ast-global-color-3);
}

.tribe-common--breakpoint-medium.tribe-common .tribe-common-h6--min-medium {
  font-size: 1em !important;
}

.tribe-events-pro .tribe-events-pro-photo article {
  display: flex;
	flex-direction: column;
  height: 100%;
  border-radius: 8px;
  background-color: var(--ast-global-color-4);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
  transition: transform .15s ease, box-shadow .15s ease;
}

.tribe-events-pro .tribe-events-pro-photo article:hover {  
  transform: translateY(-2px);
  box-shadow: 0 4px 10px 1px rgba(84,89,95,.4);
  outline: none;
}

.tribe-events-pro .tribe-events-pro-photo__event-featured-image,
.tribe-events-pro .tribe-events-pro-photo__event-featured-image-link {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
  border-radius: 8px 8px 0 0 ;
}

.tribe-events-pro .tribe-events-pro-photo__event-featured-image img,
.tribe-events-pro .tribe-events-pro-photo__event-featured-image-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tribe-events-single ul.tribe-related-events li {
  margin: 0 0 2em 0;
}

.tribe-events-pro .tribe-events-pro-photo__event-details-wrapper {
    padding: 1em;
}

.tribe-events-single ul.tribe-related-events li .tribe-related-events-thumbnail a {
    display: block;
    position: relative;
    overflow: hidden;
    padding-top: 0 !important;
    aspect-ratio: 1 / 1;
}

.tribe-events-single ul.tribe-related-events li .tribe-related-events-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none !important;
}

.event-sidebar {
  background-color: #fff;
  border-radius: 12px;
  border: 2px solid var(--ast-global-color-6);
  margin: auto;
}

.event-sidebar .tribe-events-event-image {
  margin-bottom: 0;
}

.tribe-events-event-image img {
  width: 100%;
  border-radius: 10px 10px 0 0;
}

.tribe-events-event-meta:before {
  border: none;
}

.tribe-events-single-event-meta {
  padding: 1em 2em;
}

.tribe-events-event-meta .tribe-events-meta-value, .tribe-events-event-meta .tribe-events-address  {
  color: var(--ast-global-color-3);
}

.tribe-common .tribe-common-h--alt {
  font-weight: 700;
}

.tribe-events button.tribe-events-c-top-bar__datepicker-button {
  font-size: 1em !important;
}

.tribe-common.tribe-common--breakpoint-medium button.tribe-events-c-top-bar__datepicker-button {
  font-size: 1em !important;
  font-weight: 700;
}

.tribe-events-calendar-list__event-date-tag-daynum {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ast-global-color-1);
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__content {
  min-width: 130px;
}

#tribe-events-pg-template {
    max-width: 100%;
    padding: 0;
}

.tribe-events-pro .tribe-events-pro-photo__event.ast-article-post {
	border-bottom: 0 !important;
	border-bottom-width: 0 !important;
	border-bottom-style: none !important;
	border-bottom-color: transparent !important;
	padding-bottom: 0 !important; 
}

.tribe-events .tribe-events-c-nav__prev:disabled, .tribe-events button.tribe-events-c-nav__prev:disabled, .tribe-events .tribe-events-c-nav__next:disabled, .tribe-events button.tribe-events-c-nav__next:disabled {
  text-transform: capitalize;
}

.tribe-events-single ul.tribe-related-events li {
  background: var(--ast-global-color-4);
  color: var(--ast-global-color-3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
  transition: transform .15s ease, box-shadow .15s ease;
  border-radius: 8px;
}
.tribe-events-single ul.tribe-related-events li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px 1px rgba(84,89,95,.4);
  outline: none;
}
.tribe-events-single ul.tribe-related-events li .tribe-related-event-info {
    padding: 1em;
}

.tribe-events-single ul.tribe-related-events li .tribe-related-events-title a {
  color: var(--ast-global-color-1);
}

.home-events-strip .tribe-events-header,
.home-events-strip .tribe-events-c-subscribe-dropdown,
.home-events-strip .tribe-events-c-subscribe-dropdown__container {
	display: none !important;
}

.home-events-strip .tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container, .home-events-strip .tribe-events .tribe-events-l-container {
  min-height: 400px;
  padding: 0;
}

.home-events-strip .tribe-common--breakpoint-medium.tribe-common .tribe-common-g-row--gutters>.tribe-common-g-col {
    padding-top: 0;
}

.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__content {
    min-width: 150px;
}

.series .entry-content a {
  text-decoration: none;
}

/* ========== 404 ========== */
.not-found {
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.not-found h1 {
  font-size: 10em;
  color: var(--ast-global-color-0);
}

.not-found p {
  font-size: 1.5em;
  line-height: 1.25em;
  font-weight: 600;
  padding: 0 5%;
}

/* ========== Layout ========== */
.container {
  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
  padding: 80px 0;
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  --gap: 40px;
  --cols: 1;
  gap: var(--gap);
  --avail: calc(100% - (var(--cols) - 1) * var(--gap));
}

.item {
  flex: 0 0 100%;
  overflow-wrap: anywhere;
}

.center-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.secondary-bg {
  position: relative;
  z-index: 1;
  background: #fff;
  width: 100vw;
  padding-top: 4rem;
  margin-top: 4rem;
  margin-bottom: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.secondary-bg::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 125px;
  height: 129px;
  background:
    url("/wp-content/themes/dock-and-paddle/assets/img/dock-and-paddle-logo-mark.png")
    no-repeat center center;
  background-size: contain;
  pointer-events: none;
  z-index: 2;
}

.secondary-bg .container {
  padding-left: 20px;
  padding-right: 20px;
}

@supports (width: 100dvw) {
  .secondary-bg {
    width: 100dvw;
    margin-left: calc(50% - 50dvw);
    margin-right: calc(50% - 50dvw);
  }
}

/* ========== Gallery ========== */
.gallery-fullbleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.gallery-item {
  aspect-ratio: 1 / 1;
}

.gallery-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ========== Media Queries ========== */
@media (min-width: 600px) {
  .row.cols-sm-2 { --cols: 2; }
  .row.cols-sm-3 { --cols: 3; }
  .row.cols-sm-4 { --cols: 4; }
}

@media (min-width: 768px) {
	.tribe-events-single ul.tribe-related-events {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2rem;
	}

	.tribe-events-single ul.tribe-related-events li {
		margin: 0 0 2em 0 !important;
		width: auto !important;
		flex: 0 0 auto; 
	}
}

@media (max-width: 899px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .v-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .self-center { align-self: center; }

  .row.cols-md-2 { --cols: 2; }
  .row.cols-md-3 { --cols: 3; }
  .row.cols-md-4 { --cols: 4; }

  .span-1-2 { flex: 0 0 calc(var(--avail) * 1 / 2); }
  .span-1-3 { flex: 0 0 calc(var(--avail) * 1 / 3); }
  .span-2-3 { flex: 0 0 calc(var(--avail) * 2 / 3); }
  .span-1-4 { flex: 0 0 calc(var(--avail) * 1 / 4); }
  .span-2-4 { flex: 0 0 calc(var(--avail) * 2 / 4); }
  .span-3-4 { flex: 0 0 calc(var(--avail) * 3 / 4); }

  .intro-image-section,
  .page-sidebar {
    position: relative;
    z-index: 4;
  }
}

@media (min-width: 1200px) {
  .row.cols-lg-2 { --cols: 2; }
  .row.cols-lg-3 { --cols: 3; }
  .row.cols-lg-4 { --cols: 4; }
}

@media (max-width: 600px) {
  .page-sidebar-secondary {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .sitewide-notification .notification-cta {
    margin-left: 0;
    margin-top: 1rem;
    text-align: center;
  }
}

@media (max-width: 899px) {
  .sitewide-notification .row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .sitewide-notification .notification-cta {
    width: 100%;
  }

  .sitewide-notification .notification-cta p {
    margin: 0;
  }

    .sitewide-notification .notification-cta .dark-btn {
    display: block;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .home-hero {
    min-height: 60vh;
    min-height: 60svh;
  }
}

/* ========== Animations ========== */
@keyframes hero-bbounce { /* tiny rename to avoid clashes */
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

.hero-scroll i {
  animation-name: hero-bbounce;
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll i { animation: none; }
}