/*
 * SWP Framework — Matt Bellak Comedy site skin
 *
 * Palette supplied for mattbellak.com:
 *   --color-1: #CCCCCC;
 *   --color-2: #213655;
 *   --color-3: #333333;
 *   --color-4: #888888;
 *   --color-5: #52A8EC;
 *   --color-6: #E5D283;
 *
 * This file is intentionally isolated from the framework base styles so the
 * framework can continue to be updated without losing the site design layer.
 */

:root {
    --color-1: #CCCCCC;
    --color-2: #213655;
    --color-3: #333333;
    --color-4: #888888;
    --color-5: #52A8EC;
    --color-6: #E5D283;

    /* Map the supplied palette into the SWP framework color system. */
    --swp-color-primary: var(--color-5);
    --swp-color-primary-dark: var(--color-2);
    --swp-color-primary-soft: rgba(82, 168, 236, .14);
    --swp-color-text: var(--color-3);
    --swp-color-muted: var(--color-4);
    --swp-color-border: var(--color-1);
    --swp-color-surface: #ffffff;
    --swp-color-surface-alt: rgba(204, 204, 204, .22);
    --swp-color-footer: var(--color-2);
    --swp-color-white: #ffffff;
    --swp-color-header: var(--color-2);

    --swp-site-max-width: 1280px;
    --swp-site-gutter: clamp(18px, 3vw, 34px);

    /* Shared site-specific tokens. */
    --mb-accent: var(--color-6);
    --mb-navy: var(--color-2);
    --mb-blue: var(--color-5);
    --mb-text: var(--color-3);
    --mb-muted: var(--color-4);
    --mb-line: var(--color-1);
    --mb-display-font: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
    --mb-body-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   Global / typography
   -------------------------------------------------------------------------- */

html {
    scroll-behavior: smooth;
    background: var(--mb-navy);
}

body {
    background: #ffffff;
    color: var(--mb-text);
    font-family: var(--mb-body-font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection {
    background: var(--mb-accent);
    color: var(--mb-navy);
}

a,
a:link {
    color: var(--mb-blue);
}

a:hover,
a:focus {
    color: var(--mb-navy);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--mb-accent);
    outline-offset: 3px;
}

p,
li,
dd,
dt {
    color: var(--mb-text);
}

h1,
h2,
h3,
h4,
h5,
h6,
.swp-events-title,
.swp-events-embed__title,
.swp-press-kit__title,
.swp-press-kit__section-title {
    color: var(--mb-navy);
    font-family: var(--mb-display-font);
    font-weight: 900;
    letter-spacing: .015em;
    text-transform: uppercase;
}

h1,
.entry h1 {
    font-size: clamp(2.65rem, 6vw, 5.4rem);
    line-height: .92;
}

h2,
.entry h2,
.swp-events-title,
.swp-events-embed__title {
    font-size: clamp(2.25rem, 5.2vw, 4.75rem);
    line-height: .94;
}

h3,
.entry h3 {
    font-size: clamp(1.7rem, 3.5vw, 3rem);
    line-height: 1;
}

hr {
    border-top-color: var(--mb-line);
    border-bottom: 0;
}

/* Keep full-width homepage sections visually flush like the current site. */
.home .swp-home-content {
    max-width: none;
    padding: 0;
}

.home .swp-home-content > .post,
.home .swp-home-content > .post > .entry {
    margin: 0;
    padding: 0;
}

.home .swp-section__inner {
    padding-top: clamp(34px, 5vw, 62px);
    padding-bottom: clamp(34px, 5vw, 62px);
}

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

.site-header {
    background: var(--mb-navy);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: none;
}

.site-header__inner {
    min-height: 58px;
}

.site-title {
    font-family: var(--mb-display-font);
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 900;
    letter-spacing: .02em;
    line-height: 1;
    text-transform: uppercase;
}

.site-title a,
.site-title a:hover,
.site-title a:focus {
    color: #ffffff;
}

.swp-header-logo--desktop {
    max-height: 42px !important;
}

.site-menu a {
    padding: 20px 13px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .055em;
}

.site-menu > li > a::after {
    display: none;
}

.site-menu > li > a:hover,
.site-menu > li > a:focus,
.site-menu > li.current-menu-item > a,
.site-menu > li.current-menu-ancestor > a,
.site-menu > li.current_page_item > a,
.site-menu > li.current_page_ancestor > a {
    background: var(--mb-accent);
    color: var(--mb-navy);
}

.site-menu .sub-menu {
    background: var(--mb-navy);
    border-top: 3px solid var(--mb-accent);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .24);
}

.site-menu .sub-menu a {
    color: #ffffff;
}

.site-menu .sub-menu a:hover,
.site-menu .sub-menu a:focus {
    background: var(--mb-accent);
    color: var(--mb-navy);
}

.site-menu-toggle {
    color: #ffffff;
}

/* Mobile navigation in the framework is a full-screen overlay. */
@media screen and (max-width: 1199px) {
    /* Keep the hamburger and close X legible against the navy header/overlay.
       navigation.css sets these controls back to the framework text color in
       hover/open states, so the site skin intentionally wins here. */
    .site-menu-toggle,
    .site-menu-toggle:hover,
    .site-menu-toggle:focus,
    .site-menu-toggle:active,
    .site-menu-toggle.is-open,
    .site-menu-toggle.is-open:hover,
    .site-menu-toggle.is-open:focus,
    .site-menu-toggle.is-open:active {
        color: #ffffff !important;
    }

    .site-menu-toggle span,
    .site-menu-toggle span::before,
    .site-menu-toggle span::after,
    .site-menu-toggle.is-open span::before,
    .site-menu-toggle.is-open span::after {
        color: #ffffff !important;
    }

    .site-navigation {
        background: var(--mb-navy);
        color: #ffffff;
    }

    .site-navigation .site-menu a,
    .site-navigation__mobile-title a,
    .swp-mobile-menu-header a {
        color: #ffffff;
    }

    .site-navigation .site-menu a:hover,
    .site-navigation .site-menu a:focus,
    .site-navigation .site-menu .current-menu-item > a,
    .site-navigation .site-menu .current_page_item > a {
        background: var(--mb-accent);
        color: var(--mb-navy);
    }
}

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */

.swp-home-header {
    background: #000000;
}

.swp-home-header--full {
    border-bottom: 5px solid var(--mb-accent);
}

.swp-home-hero__overlay {
    background: linear-gradient(
        to bottom,
        rgba(33, 54, 85, .02) 22%,
        rgba(33, 54, 85, .78) 100%
    );
}

.swp-home-hero__title {
    color: #ffffff;
    font-family: var(--mb-display-font);
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 900;
    letter-spacing: .018em;
    line-height: .9;
    text-transform: uppercase;
}

.swp-home-hero__text {
    color: #ffffff;
}

.swp-home-hero__cta {
    border: 2px solid var(--mb-accent);
    background: var(--mb-accent);
    color: var(--mb-navy) !important;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.swp-home-hero__click-target:hover .swp-home-hero__cta,
.swp-home-hero__click-target:focus .swp-home-hero__cta,
.swp-home-hero--video .swp-home-hero__cta:hover,
.swp-home-hero--video .swp-home-hero__cta:focus {
    border-color: #ffffff;
    background: #ffffff;
    color: var(--mb-navy) !important;
}

.swp-home-hero__dot {
    border-color: var(--mb-accent);
    background: rgba(33, 54, 85, .65);
}

.swp-home-hero__dot.is-active {
    background: var(--mb-accent);
}

/* --------------------------------------------------------------------------
   Reusable content sections / homepage bands
   -------------------------------------------------------------------------- */

.swp-section {
    border-top: 1px solid rgba(204, 204, 204, .55);
}

.swp-section + .swp-section {
    margin-top: 0;
}

/* Optional editor utility classes for recreating the alternating bands. */
.swp-section.mb-section--navy,
.mb-section--navy {
    --swp-section-background: var(--mb-navy);
    color: #ffffff;
}

.swp-section.mb-section--navy h1,
.swp-section.mb-section--navy h2,
.swp-section.mb-section--navy h3,
.swp-section.mb-section--navy h4,
.swp-section.mb-section--navy h5,
.swp-section.mb-section--navy h6,
.mb-section--navy h1,
.mb-section--navy h2,
.mb-section--navy h3,
.mb-section--navy h4,
.mb-section--navy h5,
.mb-section--navy h6 {
    color: #ffffff;
}

.swp-section.mb-section--navy p,
.swp-section.mb-section--navy li,
.mb-section--navy p,
.mb-section--navy li {
    color: #ffffff;
}

.swp-section.mb-section--light,
.mb-section--light {
    --swp-section-background: #ffffff;
    color: var(--mb-text);
}

.swp-section.mb-section--gray,
.mb-section--gray {
    --swp-section-background: rgba(204, 204, 204, .22);
    color: var(--mb-text);
}

.swp-section.mb-section--accent,
.mb-section--accent {
    --swp-section-background: var(--mb-accent);
    color: var(--mb-navy);
}

/* Optional one-off heading colors for editor/HTML use. */
.mb-heading--light,
.mb-heading--light h1,
.mb-heading--light h2,
.mb-heading--light h3,
.mb-heading--light h4,
.mb-heading--light h5,
.mb-heading--light h6 {
    color: var(--color-1) !important;
}

.mb-heading--white,
.mb-heading--white h1,
.mb-heading--white h2,
.mb-heading--white h3,
.mb-heading--white h4,
.mb-heading--white h5,
.mb-heading--white h6 {
    color: #ffffff !important;
}

/* WordPress editor utility for a large centered section heading. */
.mb-section-title {
    margin: 0 0 clamp(1.4rem, 3vw, 2.6rem) !important;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Artist videos / bio / podcast
   -------------------------------------------------------------------------- */

.swp-artist-videos {
    gap: clamp(14px, 2vw, 24px);
}

.swp-artist-video__frame {
    border: 3px solid rgba(255, 255, 255, .15);
    background: #000000;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.swp-artist-bio {
    align-items: center;
}

.swp-artist-bio__photo img {
    border: 1px solid var(--mb-line);
}

.swp-artist-bio__text {
    font-size: clamp(1rem, 1.45vw, 1.14rem);
    line-height: 1.55;
}

.swp-artist-bio__text p {
    font-size: inherit;
    line-height: inherit;
}

.swp-artist-podcast__service,
.swp-press-kit__epk-button,
.swp-press-kit__photo-download {
    border: 2px solid var(--mb-navy);
    background: var(--mb-navy);
    color: #ffffff !important;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.swp-artist-podcast__service:hover,
.swp-artist-podcast__service:focus,
.swp-press-kit__epk-button:hover,
.swp-press-kit__epk-button:focus,
.swp-press-kit__photo-download:hover,
.swp-press-kit__photo-download:focus {
    border-color: var(--mb-blue);
    background: var(--mb-blue);
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   Tour / events
   -------------------------------------------------------------------------- */

:root {
    --swp-event-venue-color: var(--mb-navy);
    --swp-event-warning-bg: var(--mb-accent);
    --swp-event-warning-border: var(--mb-navy);
    --swp-event-warning-text: var(--mb-navy);
}

.swp-events-header,
.swp-events-embed__title {
    color: var(--mb-navy);
}

.swp-event-list--layout-rows .swp-event:first-child,
.swp-event,
.swp-events-empty {
    border-color: var(--mb-line);
}

.swp-event--clickable:hover,
.swp-event--clickable:focus-within {
    background: rgba(229, 210, 131, .22);
}

.swp-event__headline {
    color: var(--mb-navy);
    font-family: var(--mb-display-font);
    font-weight: 900;
    letter-spacing: .025em;
}

.swp-event__schedule {
    color: var(--mb-text);
}

.swp-event__button {
    border: 2px solid var(--mb-navy);
    background: var(--mb-navy);
    color: #ffffff;
    font-weight: 800;
}

.swp-event--clickable:hover .swp-event__button,
.swp-event--clickable:focus-within .swp-event__button {
    border-color: var(--mb-accent);
    background: var(--mb-accent);
    color: var(--mb-navy);
}

.swp-event__button--low-tickets,
.swp-event__status--low-tickets {
    border-color: var(--mb-navy);
    background: var(--mb-accent);
    color: var(--mb-navy);
}

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

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
select,
textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
    border: 1px solid var(--mb-line);
    background: #ffffff;
    color: var(--mb-text);
}

.wpcf7 label {
    color: inherit;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: var(--mb-blue);
    outline-color: rgba(82, 168, 236, .26);
}

input[type="submit"],
button[type="submit"],
.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"] {
    border: 2px solid var(--mb-accent);
    background: var(--mb-accent);
    color: var(--mb-navy);
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

input[type="submit"]:hover,
input[type="submit"]:focus,
button[type="submit"]:hover,
button[type="submit"]:focus,
.wpcf7 input[type="submit"]:hover,
.wpcf7 input[type="submit"]:focus,
.wpcf7 button[type="submit"]:hover,
.wpcf7 button[type="submit"]:focus {
    border-color: #ffffff;
    background: #ffffff;
    color: var(--mb-navy);
}

/* --------------------------------------------------------------------------
   Footer / contact band
   -------------------------------------------------------------------------- */

/*
 * Matt's existing site treats Contact + social + copyright as one continuous
 * navy footer. The framework's Footer Intro normally draws its own pale panel,
 * so explicitly pull that panel into the site palette as well.
 */
:root {
    --swp-color-footer: var(--mb-navy);
    --swp-color-footer-intro: var(--mb-navy);
}

body .site-footer {
    min-height: 180px;
    border-top: 4px solid var(--mb-accent);
    background: var(--mb-navy) !important;
    color: #ffffff;
}

.swp-footer-container {
    max-width: none;
    padding: 0 var(--swp-site-gutter) 26px;
}

/* The Contact form is commonly placed in Footer Intro on this site. */
.site-footer .swp-footer-intro {
    position: relative;
    max-width: none;
    margin: 0 calc(var(--swp-site-gutter) * -1) 0;
    padding: clamp(38px, 5vw, 64px) var(--swp-site-gutter) clamp(34px, 4.5vw, 56px);
    color: #ffffff;
    text-align: center;
}

.site-footer .swp-footer-intro::before {
    background: var(--mb-navy) !important;
}

.site-footer .swp-footer-intro > * {
    width: min(100%, 900px);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.site-footer .swp-footer-intro h1,
.site-footer .swp-footer-intro h2,
.site-footer .swp-footer-intro h3,
.site-footer .swp-footer-intro h4,
.site-footer .swp-footer-intro .swp-native-form__heading {
    margin-bottom: clamp(22px, 3vw, 34px);
    color: #ffffff;
    font-family: var(--mb-display-font);
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.site-footer .swp-footer-intro p,
.site-footer .swp-footer-intro label,
.site-footer .swp-footer-intro li,
.site-footer .swp-footer-intro .swp-native-form__checkbox label {
    color: #ffffff;
}

.site-footer .swp-footer-intro .swp-native-form__field label {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, .92);
    font-size: 12px;
    letter-spacing: .015em;
}

.site-footer .swp-footer-intro input[type="text"],
.site-footer .swp-footer-intro input[type="email"],
.site-footer .swp-footer-intro input[type="tel"],
.site-footer .swp-footer-intro input[type="url"],
.site-footer .swp-footer-intro input[type="number"],
.site-footer .swp-footer-intro select,
.site-footer .swp-footer-intro textarea {
    border: 1px solid rgba(255, 255, 255, .30);
    border-radius: 0;
    background: #ffffff;
    color: var(--mb-text);
    box-shadow: none;
}

.site-footer .swp-footer-intro input:focus,
.site-footer .swp-footer-intro select:focus,
.site-footer .swp-footer-intro textarea:focus {
    border-color: var(--mb-blue);
    box-shadow: 0 0 0 2px rgba(82, 168, 236, .24);
}

.site-footer .swp-native-form__form {
    column-gap: clamp(18px, 3vw, 34px);
    row-gap: 16px;
}

.site-footer .swp-native-form__field textarea {
    min-height: 170px;
}

.site-footer .swp-native-form__submit,
.site-footer .wpcf7 input[type="submit"],
.site-footer .wpcf7 button[type="submit"] {
    min-height: 42px;
    border: 2px solid var(--mb-accent);
    border-radius: 0;
    background: var(--mb-accent);
    color: var(--mb-navy);
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.site-footer .swp-native-form__submit:hover,
.site-footer .swp-native-form__submit:focus,
.site-footer .wpcf7 input[type="submit"]:hover,
.site-footer .wpcf7 input[type="submit"]:focus,
.site-footer .wpcf7 button[type="submit"]:hover,
.site-footer .wpcf7 button[type="submit"]:focus {
    border-color: var(--mb-blue);
    background: var(--mb-blue);
    color: #ffffff;
}

/* Standard footer widgets, should they be used later. */
.site-footer p,
.site-footer li,
.site-footer .swp-footer-widget-area .widget-title,
.site-footer .swp-footer-widget-area h2,
.site-footer .swp-footer-widget-area h3 {
    color: #ffffff;
}

.site-footer .swp-footer-widget-area h2,
.site-footer .swp-footer-widget-area h3 {
    font-family: var(--mb-display-font);
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.site-footer a,
.site-footer .swp-footer-widget-area li > a {
    color: var(--mb-accent);
}

.site-footer a:hover,
.site-footer a:focus,
.site-footer .swp-footer-widget-area li > a:hover,
.site-footer .swp-footer-widget-area li > a:focus {
    color: var(--mb-blue);
}

/* Dedicated social row, inserted by footer.php when global URLs exist. */
.swp-footer-social {
    display: flex;
    justify-content: center;
    padding: 24px 0 18px;
}

.swp-footer-social .swp-social-links,
.swp-footer-social .swp-footer-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.swp-footer-social .swp-social-links__link {
    --swp-social-icon-color: var(--mb-accent);
    --swp-social-bg-color: transparent;
    --swp-social-glyph-color: var(--mb-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    color: var(--mb-accent) !important;
    transition: transform .16s ease, color .16s ease;
}

.swp-footer-social .swp-social-links__link svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.swp-footer-social .swp-social-links__link:hover,
.swp-footer-social .swp-social-links__link:focus {
    background: transparent !important;
    color: var(--mb-blue) !important;
    transform: translateY(-2px);
}

.swp-footer-feature-link {
    margin: 18px 0 0;
    text-align: center;
}

.swp-footer-bottom {
    width: min(100%, 1100px);
    margin: 0 auto;
    padding: 18px 0 0;
    border-top: 1px solid rgba(204, 204, 204, .22);
}

.swp-footer-meta,
.swp-footer-additional-notice {
    color: rgba(255, 255, 255, .72) !important;
    font-size: 10px;
    letter-spacing: .035em;
    line-height: 1.5;
    text-transform: uppercase;
}

.swp-footer-meta a,
.swp-footer-credit a {
    color: var(--mb-accent) !important;
}

/* If the native Contact form is used in a normal home section rather than
 * Footer Intro, keep the same continuous navy treatment. */
@supports selector(section:has(.swp-contact-form-wrap)) {
    .home .swp-section:has(.swp-contact-form-wrap) {
        --swp-section-background: var(--mb-navy);
        border-top: 4px solid var(--mb-accent);
        background: var(--mb-navy);
        color: #ffffff;
    }

    .home .swp-section:has(.swp-contact-form-wrap) h1,
    .home .swp-section:has(.swp-contact-form-wrap) h2,
    .home .swp-section:has(.swp-contact-form-wrap) h3,
    .home .swp-section:has(.swp-contact-form-wrap) p,
    .home .swp-section:has(.swp-contact-form-wrap) label {
        color: #ffffff;
    }
}

/* --------------------------------------------------------------------------
   Small screens
   -------------------------------------------------------------------------- */

@media screen and (max-width: 782px) {
    .site-header__inner {
        min-height: 54px;
    }

    .site-title {
        font-size: 1.1rem;
    }

    .swp-home-header--full {
        border-bottom-width: 3px;
    }

    .swp-section__inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    .swp-artist-bio {
        gap: 1.5rem;
    }

    .swp-event__button,
    .swp-event__status {
        min-width: 0;
    }
}

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


/* --------------------------------------------------------------------------
   Back to top — keep the chevron visible before hover
   -------------------------------------------------------------------------- */

.swp-back-to-top a,
.swp-back-to-top a:link,
.swp-back-to-top a:visited {
    background: var(--mb-blue);
    color: #ffffff;
}

.swp-back-to-top svg,
.swp-back-to-top a:link svg,
.swp-back-to-top a:visited svg {
    color: #ffffff;
    stroke: #ffffff;
}

.swp-back-to-top a:hover,
.swp-back-to-top a:focus {
    background: var(--mb-accent);
    color: var(--mb-navy);
}

.swp-back-to-top a:hover svg,
.swp-back-to-top a:focus svg {
    color: var(--mb-navy);
    stroke: var(--mb-navy);
}
