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

/* ========== Base ========== */
.post-content a,
.faq-answer a,
.tribe-events-content a,
.content-body p a {
    padding-bottom: 2px;
    border-bottom: 2px solid var(--ast-global-color-7);
}

.post-content a:hover,
.faq-answer a:hover,
.tribe-events-content a:hover,
.content-body p a:hover {
    font-weight: 600;
    border-bottom: 2px solid var(--ast-global-color-1);
}

.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single:not(.ast-related-post) {
    background-color: transparent;
}

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

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

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

.secondary-title {
    position: relative;
    overflow: hidden;
    color: var(--ast-global-color-0);
    text-align: center;
    font-size: 2.4rem;
}

.secondary-title>* {
    position: relative;
    z-index: 1;
}

.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;
    margin-top: 1rem;
}

.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 ========== */
.ch-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-7);
    color: var(--ast-global-color-1) !important;
    text-align: center;
    text-decoration: none;
    border: 2px solid var(--ast-global-color-7);
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.15s ease;
}

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

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

.ch-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;
    display: block;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    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;
}

#page-hero-title {
    margin-bottom: 0;
}


.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: var(--ast-global-color-7);
}

.hero-title {
    position: relative;
    padding: .25em .75em;
    border-radius: 3px;
    line-height: 1;
    margin: 0;
    background: url('/wp-content/themes/city-house/assets/img/distressed.svg') center / cover repeat-x,
        var(--ast-global-color-7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-title::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 3px;
    background-color: rgba(0, 0, 0, .45);
    backdrop-filter: blur(2px);
    z-index: -1;
}

.hero--framed .hero-title::before {
    display: none;
}

.hero-logo {
    display: block;
    max-width: 90%;
    width: auto;
    height: auto;
    max-height: 200px;
    background-color: rgba(255, 255, 255, .65);
    backdrop-filter: blur(2px);
    padding: .5em 1em;
    border-radius: 3px;
    margin: 0 auto;
}

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

/* Hero Frame (decorative icons + lines) */
.hero-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.25rem, 3vw, 2rem);
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.hero-frame-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: clamp(0.5rem, 1.5vw, 1rem);
}

.hero-frame-row::before,
.hero-frame-row::after {
    content: "";
    flex-shrink: 0;
    width: clamp(40px, 8vw, 50px);
    height: clamp(20px, 4vw, 26px);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Top row: Monogram left, MN right */
.hero-frame-row--top::before {
    background-image: url('/wp-content/themes/city-house/assets/img/Monogram-Reversed.svg');
}

.hero-frame-row--top::after {
    background-image: url('/wp-content/themes/city-house/assets/img/MN-White.svg');
}

/* Bottom row: MN left, Monogram right */
.hero-frame-row--bottom::before {
    background-image: url('/wp-content/themes/city-house/assets/img/MN-White.svg');
}

.hero-frame-row--bottom::after {
    background-image: url('/wp-content/themes/city-house/assets/img/Monogram-Reversed.svg');
}

/* Center line */
.hero-frame-row .hero-frame-line,
.hero-frame-row:not(:empty)::before~*::before {
    display: none;
}

.hero-frame-row {
    position: relative;
}

.hero-frame-row> :not(::before):not(::after) {
    display: none;
}

/* Line between icons using a pseudo-element on a span or via gradient */
.hero-frame-row {
    background: linear-gradient(to right,
            transparent 0,
            transparent calc(clamp(40px, 8vw, 50px) + clamp(0.5rem, 1.5vw, 1rem)),
            var(--ast-global-color-4) calc(clamp(40px, 8vw, 50px) + clamp(0.5rem, 1.5vw, 1rem)),
            var(--ast-global-color-4) calc(100% - clamp(40px, 8vw, 50px) - clamp(0.5rem, 1.5vw, 1rem)),
            transparent calc(100% - clamp(40px, 8vw, 50px) - clamp(0.5rem, 1.5vw, 1rem)),
            transparent 100%);
    background-size: 100% 2px;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 600px) {

    .hero-frame-row::before,
    .hero-frame-row::after {
        width: clamp(30px, 10vw, 40px);
        height: clamp(15px, 5vw, 20px);
    }
}

/* ========== 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: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: var(--ast-global-color-5);
    color: var(--ast-global-color-0);
    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: 1px solid #e4e4e4;
    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: 1px solid #e4e4e4;
}

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

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

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

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

.menu-notice p {
    font-size: 80%;
    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;
}

/* ========== FAQ Accordion ========== */
.faq-answer .hours-notice {
    font-size: 80%;
    font-style: italic;
    line-height: 1.5em;
    margin-top: 1em;
    margin-bottom: 0;
}

.faq-controls {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    gap: 0.5rem;
    margin: 1rem 0;
}

.faq-expand-all,
.faq-collapse-all {
    padding: 4px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--ast-global-color-1);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
}

.faq-expand-all:hover,
.faq-collapse-all:hover {
    background: transparent;
    color: var(--ast-global-color-0);
    border-bottom: 2px solid var(--ast-global-color-7);
}

.faq-expand-all:focus-visible,
.faq-collapse-all:focus-visible {
    outline: 2px solid var(--ast-global-color-0);
    outline-offset: 2px;
}

.faq-accordion {
    border-top: 1px solid var(--ast-global-color-6);
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid var(--ast-global-color-6);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-heading {
    margin: 0;
    font-size: inherit;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem;
    border: none;
    background: var(--ast-global-color-0);
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: #fff;
    transition: color 0.2s ease;
}

.faq-toggle:hover {
    color: var(--ast-global-color-7);
}

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

.faq-question {
    flex: 1;
    margin-right: 1rem;
    font-weight: 600;
    font-size: 1em;
}

.faq-icon {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--ast-global-color-7);
}

.faq-panel {
    padding: 0;
    background-color: var(--ast-global-color-4);
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
}

.faq-answer {
    color: var(--ast-global-color-3);
    padding: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* ========== 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-6);
    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-6);
    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-6);
    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-bottom: 2px solid var(--ast-global-color-7);
    outline: 1px dotted var(--ast-global-color-7);
    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-7) !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-0) !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;
}

.past-event-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: inline-block;
    padding: 0.25em 0.6em !important;
    border-radius: 3px;
    background-color: var(--ast-global-color-5);
    color: var(--ast-global-color-0);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
}

.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: 1px solid #e4e4e4;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
    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);
}

.tribe-events-calendar-latest-past__event {
    padding: 0 !important;
}

.tribe-events-calendar-latest-past__event img {
    border-radius: 8px;
}

.tribe-events .tribe-events-calendar-latest-past__event-date-tag {
    margin-right: 1em;
}

.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: var(--ast-global-color-5);
    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/city-house/assets/img/City-House_Monogram.svg") 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 (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: 544px) {
    .secondary-title {
        font-size: 1.4rem !important;
    }
}

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

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

@media (max-width: 921px) {
    .secondary-title {
        font-size: 1.9rem;
    }
}

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