﻿/* Mobile Arts Council — Community Calendar
   Headings h1–h6 are global. Do not scope them to a page.
   Any template can use them and they will pick up Vollkorn.
   The add-event page does not enqueue events.css, so load it here. */
@import url("assets/css/events.css?v=20261009e");

   :root {
    --font-heading: "Vollkorn", Georgia, "Times New Roman", serif;
    --font-body: "Nunito Sans", "Segoe UI", sans-serif;
    --color-brand: rgba(158, 30, 31, 1);
    --color-navy: rgba(30, 54, 104, 1);
    --color-text: #2a2a2a;
    --color-muted: #8a8a8a;
    --color-soft: #c17a7a;
    --color-field: #f1f1f1;
    --color-line: #e4e4e4;
    --color-rust: #b24a38;
    --content: 1150px;
    --narrow: 860px;
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
    overflow-x: hidden;
  }
  
  body {
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text);
    background: #fff;
  }
  
  img {
    max-width: 100%;
    display: block;
  }
  
  a {
    color: var(--color-navy);
    text-decoration: none;
  }
  
  button,
  input,
  select,
  textarea {
    font-family: inherit;
    font-size: inherit;
  }
  
  p {
    margin: 0 0 0.75rem;
  }
  
  /* Global headings — Vollkorn, used on every page */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: normal;
    color: var(--color-brand);
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0;
  }
  
  h1 { font-size: 50px; line-height: 58px;color: #fff; }
  h2 { font-size: 35px; line-height: 42px; }
  h3 { font-size: 26px; line-height: 34px; }
  h4 { font-size: 20px; line-height: 24px; }
  h5 { font-size: 18px; line-height: 22px; }
  h6 { font-size: 16px; line-height: 22px; }
  
  @media (min-width: 900px) {
    h1 {
      font-size: 50px;
      line-height: 58px;
        color: #fff;
    }
  
    h2 { font-size: 35px; line-height: 24px; }
  }
  
  .site-footer .footer-heading {
    font-family: var(--font-heading);
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
    margin: 0 0 15px;
  }
.address-block .footer-heading { margin-bottom: 9px; }
.address-block p {  margin-bottom: 66px; line-height: 22.5px; }
.address-block p  strong { font-size: 20px; line-height: 24px;font-family: var(--font-heading); margin-bottom: 9px; display: inline-block; }
.hours-block p strong { display: inline-block; margin-bottom: 10px; }
.hours-block p {  margin-bottom: 17px; }
  .u-center { text-align: center; }
  .u-muted { color: var(--color-muted); }
  
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  
  .wrap {
    width: min(var(--content), calc(100% - 40px));
    margin-inline: auto;
  }
  
  .wrap--narrow {
    width: min(var(--narrow), calc(100% - 40px));
  }
  
  /* Header */
  .social-bar {
    display: flex;
    justify-content: center;
    gap: 11px;
    padding: 13px 16px 13px;
      background: rgba(248, 248, 248, 1);
  }
  
  .social-bar a {
    color: var(--color-brand);
    display: inline-flex;
  }
  
  .social-bar svg {
    width: 22px;
    height: 22px;
    display: block;
  }
  
  .site-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: min(1275px, calc(100% - 32px));
    height: 120px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
  }
.tribe_events-template-default .site-header { box-shadow: 0px 2px 7px 0px rgba(0, 0, 0, 0.08);}
  
  .logo img {
    width: auto;
    height: 96px;
    max-height: 100%;
  }
  
  .main-site-link {
    color: rgba(30, 54, 104, 1);
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    text-align: right;
    max-width: 140px;
  }
  
  @media (min-width: 700px) {
    .logo img { width: auto; height: 96px; }
    .main-site-link {
        color: rgba(30, 54, 104, 1);
      max-width: none;
      font-size: 20px;
        line-height: 24px;
    }
      .main-site-link:hover{ font-weight: 600; }
  }
  
  /* Hero shape traced from the Figma frame: round bottom-left, photo tail on the bottom-right */
  .hero {
    position: relative;
    background: #fff;
  }
  
  .hero__media {
      z-index: 1;
    position: relative;
    height: 285px;
  }
.hero__media:after { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: linear-gradient(180deg, rgba(52, 52, 52, 0.4) 31.02%, rgba(158, 30, 31, 0.4) 100%); z-index: 1; pointer-events: none; }
.hero__media {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 450px;
/*  aspect-ratio: 2160 / 680;*/
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  clip-path: url(#heroClipDesktop);
  border-radius: 0;
}

  .hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
  }
  
  .hero__title {
    position: absolute;
    z-index: 2;
    inset: 0 33% 18%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  }
  
  @media (min-width: 800px) {
    .hero__media img {
      object-fit: cover;
      object-position: center center;
    }
  }

  @media (min-width: 800px) and (max-width: 1199px) {
    .hero__media {
      height: calc(100vw / 5.633 + 150px);
      aspect-ratio: auto;
    }
  }
  @media (max-width: 767px) {
    .hero__media {
        min-height: auto;
        padding: 143px 0;
/*    aspect-ratio: 585 / 428;*/
    clip-path: url(#heroClipMobile);
  }
      .hero__title {
    inset: 0 23% 16%;
      }
  }

  @media (max-width: 1199px) {
    
  }

  /* Footer */
  .site-footer {
    background: var(--color-brand);
    color: #fff;
    padding: 72px 20px 45px;
    text-align: left;
  }
  
  .site-footer a { color: #fff; }
  .site-footer a:hover { text-decoration: underline; }
  
  .site-footer__grid {
    width: min(936px, 100%);
    margin: 0 auto;
    display: grid;
    gap: clamp(32px, 6vw, 228px);
}
  .site-footer__grid > * {
    min-width: 0;
  }
  
  .site-footer p, .site-footer li { font-size: 15px;line-height: 24px; font-weight: 400;color: rgba(255, 255, 255, 1); }
  .site-footer strong { font-weight: 700; }
  .link-list {list-style: none;margin: 8px 0 0; padding: 0;}
  .link-list li { margin: 0 0 16px; letter-spacing: 0.45px;line-height: 22.5px;}
  
  
  @media (min-width: 800px) {
    .site-footer__grid {
      grid-template-columns: 1fr 1fr 1fr;
      align-items: start;
    }
  }
  
  .legal {
    text-align: center;
    padding: 23px 16px 23px;
    color: #9a9a9a;
    font-size: 12px;
  }
  
  .legal .year {  margin: 0; font-size: 15px;  line-height: 22.5px; color: rgba(63, 69, 79, 1); padding-bottom: 8px; }
  .legal__credit {
    margin-top: 2px;
      margin-bottom: 0;
    font-size: 11px;
    color: rgba(84, 84, 84, 1);
  }
  .legal__credit a {  color: rgba(158, 30, 31, 1); display: inline-block; margin-left: 8px; }

@media (max-width: 799px) {
  .site-header__row {
    width: calc(100% - 32px);
    max-width: 100%;
    height: 120px;
    padding: 0;
  }

  .hero__title h1 {
    font-size: 40px;
    line-height: 42px;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
  }

  .site-footer {
    padding: 40px 20px 32px;
  }

  .site-footer__grid {
    width: 100%;
    max-width: 100%;
    gap: 32px;
  }

  .address-block p {
    margin-bottom: 24px;
  }

  .hours-block p {
    margin-bottom: 16px;
  }

  .link-list li {
    margin-bottom: 12px;
  }
}

@media (min-width: 768px) {
  .hero__title {
    inset: 0 24px 12%;
  }

  .hero__title h1 {
    font-size: clamp(38px, 5.6vw, 50px);
    line-height: 1.15;
    white-space: nowrap;
  }
}

/* Default pages: 404, and any template that uses the title block */
.top-title-block {
  padding: 48px 0 6px;
}
.top-title-block .container { margin-bottom: 0;}


.top-title-wrap h1,
.entry-title {
  color: var(--color-brand);
  font-size: 42px;
  line-height: 50px;
}

.page-content-default {
  padding: 10px 0 72px;
  color: rgba(67, 67, 67, 1);
  font-size: 16px;
  line-height: 22.4px;
}
.page-content-default h2, .page-content-default h3, .page-content-default h4, .page-content-default h5, .page-content-default h6 { margin-bottom: 15px; }

.page-content-default p,
.entry-content p {
  max-width: 100%;
  margin: 0 0 22px;
}

.page-content-default a:not(.btn),
.entry-content a {
  color: var(--color-navy);
  text-decoration: underline;
}

.page-content-default .btn,
.search-submit,
.wp-block-search__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  background: var(--color-navy);
  color: #fff;
  border: 0;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.page-content-default .btn:hover,
.search-submit:hover,
.wp-block-search__button:hover {
  background: rgba(158, 30, 31, 1);
  color: #fff;
}

.container {
  width: min(var(--content), calc(100% - 40px));
  margin: 40px auto 64px;
}

.entry-content,
.widget-area {
  color: rgba(67, 67, 67, 1);
  font-size: 16px;
  line-height: 22.4px;
}

.widget-area {
  margin-top: 36px;
}

.widget-area h2 {
  font-size: 20px;
  line-height: 24px;
  margin-bottom: 10px;
}

.widget-area ul,
.widget-area ol {
  margin: 0 0 22px;
  padding-left: 18px;
}

.search-form,
.wp-block-search__inside-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  max-width: 520px;
}

.search-field,
.wp-block-search__input {
  flex: 1 1 220px;
  min-height: 44px;
  padding: 10px 12px;
  background: var(--color-field);
  border: 0;
  border-radius: 4px;
  color: #333;
}

@media (max-width: 700px) {
  .top-title-wrap h1,
  .entry-title {
    font-size: 28px;
    line-height: 34px;
  }
}

/* Add-event form. Tribe's stylesheet loads after this file and its
   clearfix becomes the first grid cell, which shoves Organization Name
   into the right column. */
.tribe-community-events form.mac-community-form::before,
.tribe-community-events form.mac-community-form::after {
  content: none !important;
  display: none !important;
}

.mac-community-form a.tribe-change-timezone,
.mac-community-form .tribe-field-timezone,
.mac-community-form select.tribe-dropdown {
  display: none !important;
}

@media (min-width: 760px) {
  .mac-community-form.event-form > label.field:nth-of-type(1) { grid-column: 1 !important; grid-row: 1 !important; }
  .mac-community-form.event-form > label.field:nth-of-type(2) { grid-column: 2 !important; grid-row: 1 !important; }
  .mac-community-form.event-form > label.field:nth-of-type(3) { grid-column: 1 !important; grid-row: 2 !important; }
  .mac-community-form.event-form > label.field:nth-of-type(4) { grid-column: 2 !important; grid-row: 2 !important; }
  .mac-community-form.event-form > label.field:nth-of-type(5) { grid-column: 1 !important; grid-row: 3 !important; }

  .mac-community-form .mac-community-datetime,
  .mac-community-form .field--full {
    grid-column: 1 / -1 !important;
  }
}
