/**
Theme Name: Keller Grille
Author: Lancer Hospitality
Author URI: https://lancerhospitality.com
Description: Keller Grille
Version: 1.0.3
Template: astra
*/

/* ========== Base ========== */
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: #ffbf47;
}

.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;
}

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

.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;
}

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

.footer-phone {
  margin-bottom: 0;
}

.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: 90vh;
  min-height: 90svh;
}

.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,.55), rgba(0,0,0,.55));
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  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 {
  line-height: 1;
  margin: 0;
}

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

.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;
}

.hero-scroll:hover,
.hero-scroll:active,
.hero-scroll:focus-visible {
  outline: none;
  color: #ffbf47;
}

.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: 3px;
  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: 3 / 4;
}

/* ========== 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;
}

.social-link i {
  font-size: 1.5em;
  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;
}

/* ========== External Link Modal ========== */
#external-link-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  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: 24px;
  cursor: pointer;
  color: #666;
}

#external-link-modal .close-modal-btn:hover,
#external-link-modal .close-modal-btn:focus {
  color: #000;
  outline: none;
}

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

#external-link-modal .cancel-btn {
  background: #e0e0e0;
  color: #333;
}

#external-link-modal button:focus {
  outline: 3px solid #ffbf47;
}

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

.post-card {
  display: flex;
  flex-direction: column;
  background: #f9f7f3;
  border-radius: 3px;
  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: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-family: 'Montserrat', sans-serif;
  font-size: 1em;
  margin: 0 0 .25rem;
  line-height: 1.25;
}

.post-card-excerpt {
  font-size: 15px;
  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-excerpt p,
.post-card-excerpt p + p {
  display: inline;
}

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

/* ========== Pages ========== */
.page-sidebar {
  align-self: flex-start;
  padding: 32px 48px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
  margin-bottom: 30px;
}

.page-sidebar .hours-of-operation {
  font-size: 16px;
  line-height: 1.5em;
}

.page-sidebar a.phone-link,
.page-sidebar address,
.page-sidebar .address-directions a {
  color: #000;
  font-size: 16px;
  line-height: 1.5em;
}

.page-sidebar a.phone-link:hover {
  color: #b0170d;
  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;
}

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

.menu-section-title::after {
  content: "";
  flex: 1 1 auto;
  border-top: 2px solid #e1e1e1;
  margin-top: .35em;
}

.menu-section-desc,
.menu-entry {
  font-size: 16px;
  line-height: 1.75em;
}

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

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

.menu-item-name {
  margin: 0 0 .25rem;
  font-weight: 600;
}

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

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

/* ========== Contact ========== */
.contact-title {
  font-family: 'Playfair Display SC', serif;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 0;
}

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

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

.team-name {
  font-family: 'Playfair Display SC', serif;
  font-weight: 900;
  letter-spacing: 1px;
  margin: 0;
}

.team-title {
  font-size: 16px;
  line-height: 1.5em;
  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: #000;
  text-decoration: none;
}

.team-methods a:hover {
  color: #b0170d;
  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;
}

.gform-field-label {
  font-weight: 600 !important;
}

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

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

.contact-form .gform_wrapper input,
.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="reset"],
.contact-form .gform_wrapper input[type="tel"],
.contact-form .gform_wrapper select,
.contact-form .gform_wrapper textarea {
  border: 0;
  border-bottom: 1px solid #000;
  border-radius: 0;
  height: 50px !important;
  box-shadow: none !important;
}

.contact-form .gform_wrapper input:focus,
.contact-form .gform_wrapper textarea:focus {
  background: #f5f5f5 !important;
  color: #000 !important;
  border-color: #ffcd57;
  outline: 2px solid #ffcd57;
}

.contact-form .gform_wrapper textarea::placeholder {
  color: #666 !important;
  opacity: 1 !important;
}

.contact-form .gform_wrapper input.gform_button {
  background: var(--ast-global-color-0) !important;
  color: var(--ast-global-color-4) !important;
  border-radius: 3px !important;
  border: none !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
  font-size: 1em !important;
}

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

/* ========== 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-top: 60px;
}

.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 {
  background: #fff;
  padding: 60px 0;
  width: 100vw;
  margin-bottom: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

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

/* ========== Gallery ========== */
.gallery-fullbleed {
  width: 100vw;
  margin-top: 60px;
  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 (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;
    margin-top: -10vh;
    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; }
}

/* ========== 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; }
}