/*
Theme Name: Highland County Coon Hunters
Template: twentytwentyfive
Version: 1.0
*/

/* ==========================================================
   PAGE BACKGROUND
   ========================================================== */
html body {
  background: #1c1c1c url('/wp-content/uploads/2026/11/NightForest.jpg') center top / cover no-repeat fixed;
}

/* ==========================================================
   LAYOUT: one centered column, forest shows down both sides
   ========================================================== */
html body .wp-site-blocks {
  width: min(1400px, calc(100% - 8rem)) !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding: 0 !important;
  background: transparent;
}

/* No gaps between header, main and footer */
html body .wp-site-blocks > * { margin-block: 0 !important; }

html body .wp-site-blocks > header,
html body .wp-site-blocks > main,
html body .wp-site-blocks > footer {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
  box-sizing: border-box;
}

/* ==========================================================
   HEADER: transparent wrappers, no padding, no gaps
   ========================================================== */
html body .wp-site-blocks > header {
  background: transparent;
  border: 0;
  padding: 0;
  gap: 0;
}
html body .wp-site-blocks > header .wp-block-group,
html body .wp-site-blocks > header .has-global-padding {
  background: transparent;
  border: 0;
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  gap: 0 !important;
  row-gap: 0 !important;
}
html body .wp-site-blocks > header .wp-block-group > * {
  margin-block: 0 !important;
  max-width: none;
}

/* ==========================================================
   TITLE (text banner across the full width)
   ========================================================== */
html body .wp-site-blocks > header .wp-block-site-title {
  font-family: 'Bevan', Georgia, serif;
  font-size: clamp(1.1rem, 2.9vw, 2.6rem);
  font-weight: 400;                 /* Bevan has one weight; use 700 for Cinzel */
  letter-spacing: .03em;
  line-height: 1.15;
  text-align: center;
  color: #f4f1e8;
  text-shadow: 0 2px 6px #000, 0 0 3px #000; 
  background: rgba(0, 0, 0, 0);   /* dark band so it reads over the trees */
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 11.4rem 1rem  1.4rem 1rem;
  box-sizing: border-box;
}
html body .wp-site-blocks > header .wp-block-site-title a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================
   PARCHMENT: menu row + content (same image, same width)
   ========================================================== */
html body .wp-site-blocks > header nav.site-nav-row,
html body .wp-site-blocks > main {
  background:
    linear-gradient(rgba(255, 255, 255, .35), rgba(255, 255, 255, .35)),   /* lightening layer */
    url('/wp-content/uploads/2026/11/contentBackground.png') repeat top left;
  background-color: #f7e6b8;   /* lighter fallback color behind the image */
  color: #2a2a2a;
  width: 100% !important;
  max-width: none;
  box-sizing: border-box;
}

/* Menu row */
html body .wp-site-blocks > header nav.site-nav-row {
  padding: 1rem 2.5rem;
  gap: 1.25rem;
  justify-content: flex-start;
  margin: 0 !important;
}

/* Menu inner wrappers stay see-through so the parchment shows */
html body .wp-site-blocks > header nav.site-nav-row .wp-block-navigation__container,
html body .wp-site-blocks > header nav.site-nav-row .wp-block-navigation__responsive-container,
html body .wp-site-blocks > header nav.site-nav-row .wp-block-navigation__responsive-dialog,
html body .wp-site-blocks > header nav.site-nav-row .wp-block-navigation__responsive-container-content,
html body .wp-site-blocks > header nav.site-nav-row .wp-block-page-list,
html body .wp-site-blocks > header .site-nav-row:not(nav) {
  background: transparent !important;
  padding-inline: 0;
}

/* Content panel */
html body .wp-site-blocks > main { padding: 1.5rem 2.5rem; }

/* Nothing inside the content may break out of the panel */
html body .wp-site-blocks > main .has-global-padding { padding-inline: 0 !important; }
html body .wp-site-blocks > main .alignfull,
html body .wp-site-blocks > main .alignwide {
  margin-inline: 0 !important;
  max-width: 100% !important;
  width: 100%;
}

/* Content starts at the left edge of the panel, not centered in a narrow column */
html body .wp-site-blocks > main .is-layout-constrained > :where(:not(.alignfull):not(.alignleft):not(.alignright)),
html body .wp-site-blocks > main .wp-block-post-content > * {
  max-width: 1200px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}
/* Parchment behind everything between header and footer (covers The Events Calendar pages) */
html body .wp-site-blocks > :not(header):not(footer) {
  background:
    linear-gradient(rgba(255, 255, 255, .35), rgba(255, 255, 255, .35)),
    url('/wp-content/uploads/2026/11/contentBackground.png') repeat top left;
  background-color: #f7e6b8;
  color: #2a2a2a;
  padding: 1.5rem 2.5rem;
  width: 100% !important;
  max-width: none;
  box-sizing: border-box;
}

/* Let the parchment show through the calendar's own white panels */
html body .tribe-common,
html body .tribe-events,
html body .tribe-events-view,
html body .tribe-events-l-container,
html body #tribe-events-pg-template {
  background: transparent !important;
}

/* ===== Events Calendar: month view borders ===== */

/* Outer border around the whole calendar grid */
html body .tribe-events-calendar-month {
  border: 3px solid #5b3319;
  background: rgba(255, 255, 255, .25);
}

/* Weekday header row */
html body .tribe-events-calendar-month__header {
  background: #6B4226;
}
html body .tribe-events-calendar-month__header-column {
  text-align: center;
  padding: .6rem 0;
  border-right: 1px solid #8b5e3c;      /* one line per column */
}
html body .tribe-events-calendar-month__header-column:last-child { border-right: 0; }

html body .tribe-events-calendar-month__header-column-title {
  width: 100%;
  text-align: center;
  border: 0;
}
/* Make the letters/abbreviations readable */
html body .tribe-events-calendar-month__header-column-title,
html body .tribe-events-calendar-month__header-column-title abbr,
html body .tribe-events-calendar-month__header-column-title span {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

/* Force each weekday header cell to fill its column */
html body .tribe-events-calendar-month__header-row {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  justify-items: stretch;
  align-items: center;
  width: 100%;
}
html body .tribe-events-calendar-month__header-column {
  display: block !important;
  justify-self: stretch;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  box-sizing: border-box;
  float: none;
  text-align: center;
  border-right: 0 !important;                    /* drop the old right-edge line */
}
html body .tribe-events-calendar-month__header-column + .tribe-events-calendar-month__header-column {
  border-left: 1px solid #8b5e3c;                /* divider between columns */
}
html body .tribe-events-calendar-month__header-column-title {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  border: 0 !important;
}

/* Lines between the day boxes */
html body .tribe-events-calendar-month__day {
  border-right: 1px solid #8b5e3c !important;
  border-bottom: 1px solid #8b5e3c !important;
  min-height: 7rem;
}
html body .tribe-events-calendar-month__week .tribe-events-calendar-month__day:last-child {
  border-right: 0 !important;      /* the outer border already closes the right edge */
}
html body .tribe-events-calendar-month__week:last-child .tribe-events-calendar-month__day {
  border-bottom: 0 !important;     /* and the bottom edge */
}

/* Days from the previous/next month a bit dimmer */
html body .tribe-events-calendar-month__day--other-month {
  background: rgba(0, 0, 0, .06);
}

/* Today stands out */
html body .tribe-events-calendar-month__day--current {
  background: rgba(200, 105, 43, .18);
}

/* Line the weekday letters up with the day numbers below */
html body .tribe-events-calendar-month__header-column-title {
  text-align: left;
  padding-left: 20px;     /* matches the indent of the day numbers */
}

/* ===== Subscribe to calendar: match the menu buttons ===== */
html body .tribe-events-c-subscribe-dropdown { position: relative; }

html body .tribe-events-c-subscribe-dropdown__button {
  background: #dcdcdc;
  border: 3px solid #c8692b;
  box-shadow: 0 0 0 2px #5b3319;
  border-radius: 0;
  color: #5a2d0c;
  font-weight: 700;
  padding: .55rem 1.5rem;
  text-align: center;
}
html body .tribe-events-c-subscribe-dropdown__button-text {
  background: transparent !important;
  color: inherit !important;
  font-weight: 700;
}
/* Arrow/icon follows the text color */
html body .tribe-events-c-subscribe-dropdown__button svg,
html body .tribe-events-c-subscribe-dropdown__button svg path {
  fill: currentColor !important;
}

/* Hover and open state = the menu hover look */
html body .tribe-events-c-subscribe-dropdown__button:hover,
html body .tribe-events-c-subscribe-dropdown__button:focus-within,
html body .tribe-events-c-subscribe-dropdown__button--active {
  background: #6B4226 url('/wp-content/uploads/2026/11/menuHover.png') left no-repeat !important;
  color: #ffffff;
}

/* Dropdown list floats over the page (no more stretching the bottom) */
html body .tribe-events-c-subscribe-dropdown__content {
  position: absolute !important;
  right: 0;
  bottom: calc(100% + 8px);      /* opens upward; use  top: calc(100% + 8px); bottom: auto;  to open downward */
  z-index: 50;
  background: #f7e6b8;
  border: 3px solid #c8692b;
  box-shadow: 0 0 0 2px #5b3319;
  min-width: 220px;
}
html body .tribe-events-c-subscribe-dropdown__list-item-link {
  color: #5a2d0c;
  font-weight: 700;
}
html body .tribe-events-c-subscribe-dropdown__list-item-link:hover {
  background: #6B4226;
  color: #ffffff;
}

/* Subscribe dropdown: remove the white box and the extra top space */
html body .tribe-events-c-subscribe-dropdown__content {
  padding: 0 !important;
  background: #f7e6b8 !important;
}
html body .tribe-events-c-subscribe-dropdown__list {
  background: transparent !important;
  margin: 0 !important;
  padding: .4rem 0 !important;        /* top/bottom space inside the box; reduce for less */
}
html body .tribe-events-c-subscribe-dropdown__list-item {
  background: transparent !important;
  margin: 0 !important;
}
html body .tribe-events-c-subscribe-dropdown__list-item-link {
  display: block;
  padding: .45rem 1.25rem;
  user-select: none;                  /* stops the blue text-selection highlight */
}

/* Replace the blue focus ring on the button with your orange */
html body .tribe-events-c-subscribe-dropdown__button:focus,
html body .tribe-events-c-subscribe-dropdown__button:focus-within,
html body .tribe-events-c-subscribe-dropdown__button-text:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px #5b3319 !important;
}

/* Wider Subscribe button, with room on the left for the dog image on hover */
html body .tribe-events-c-subscribe-dropdown__button {
  min-width: 290px;
  padding-left: 4.5rem;            /* clears the dog; reduce if there's too much space */
  padding-right: 1.5rem;
  box-sizing: border-box;
}
html body .tribe-events-c-subscribe-dropdown__button-text {
  text-align: center;
}

/* Turn the calendar's blue accents brown */
html body .tribe-common,
html body .tribe-events,
html body .tribe-events-c-subscribe-dropdown {
  --tec-color-accent-primary: #6B4226;
  --tec-color-accent-primary-hover: #5b3319;
  --tec-color-accent-primary-active: #5b3319;
  --tec-color-link-accent: #6B4226;
  --tec-color-link-accent-hover: #5b3319;
  --tec-color-button-primary: #6B4226;
  --tec-color-button-primary-hover: #5b3319;
}

/* The blue highlight on the dropdown items becomes brown */
html body .tribe-events-c-subscribe-dropdown ::selection {
  background: #6B4226;
  color: #ffffff;
}
html body .tribe-events-c-subscribe-dropdown__list-item-link:focus,
html body .tribe-events-c-subscribe-dropdown__list-item-link:active {
  background: #6B4226;
  color: #ffffff;
  outline: none;
}

/* ===== Policy box: dark outer border, orange inner line, richer parchment ===== */
html body .policy-box {
  border: 4px solid #1a1a1a;
  box-shadow: inset 0 0 0 3px #c8692b;
  color: #2a2a2a;
  text-align: center;
  padding: 1.25rem 2rem;
  margin: 1.5rem 0;
  box-sizing: border-box;
  width: 100%;
}
html body .policy-box p {
  margin: 0 0 1rem;
  max-width: none;
}
html body .policy-box .policy-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}
html body .policy-box .policy-revised {
  text-align: right;
  font-size: .8rem;
  margin: .5rem 0 0;
}

/* Events Calendar: remove the empty space above the policy box and below the calendar */
html body .tribe-events-l-container,
html body .tribe-common-l-container {
  padding-top: 0 !important;
  padding-bottom: 1rem !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  min-height: 0 !important;
  margin-top: 0 !important;
}
html body .tribe-events-before-html {
  padding: 0 !important;
  margin: 0 !important;
}
html body .tribe-events-before-html .policy-box { margin-top: 0; }

/* The theme wrappers around the calendar: no extra top padding */
html body .wp-site-blocks > :has(.tribe-events-l-container),
html body .wp-site-blocks > :has(.tribe-events-l-container) > .wp-block-group,
html body .wp-site-blocks > :has(.tribe-events-l-container) .wp-block-post-content,
html body .wp-site-blocks > :has(.tribe-events-l-container) .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
html body .wp-site-blocks > :has(.tribe-events-l-container) .wp-block-spacer {
  display: none;
}

/* ===== Calendar event hover popup ===== */
html body .tooltipster-base {
  z-index: 99999 !important;       /* above the day numbers and grid lines */
}
html body .tooltipster-base .tooltipster-box {
  background:
    linear-gradient(rgba(255, 255, 255, .35), rgba(255, 255, 255, .35)),
    url('/wp-content/uploads/2026/11/contentBackground.png') repeat top left;
  border: 3px solid #c8692b !important;
  box-shadow: 0 0 0 2px #5b3319, 0 6px 14px rgba(0, 0, 0, .35) !important;
  border-radius: 0 !important;
}
html body .tooltipster-base .tooltipster-content {
  background: transparent !important;
  padding: .75rem 1rem !important;
  color: #2a2a2a;
}
html body .tribe-events-calendar-month__calendar-event-tooltip {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
}
html body .tribe-events-calendar-month__calendar-event-tooltip-datetime,
html body .tribe-events-calendar-month__calendar-event-tooltip-datetime time {
  color: #5a2d0c;
  font-size: .9rem;
}
html body .tribe-events-calendar-month__calendar-event-tooltip-title,
html body .tribe-events-calendar-month__calendar-event-tooltip-title a {
  color: #5a2d0c;
  font-weight: 700;
}

/* The little pointer arrow: hidden so it doesn't clash with the border */
html body .tooltipster-base .tooltipster-arrow { display: none !important; }

/* Contact form */
html body .wpcf7 form { display: block; font-weight: 700; margin-bottom: 1.1rem; }
html body .wpcf7 input[type="text"],
html body .wpcf7 input[type="email"],
html body .wpcf7 textarea {
  width: 100%;
  max-width: 700px;
  padding: .6rem .75rem;
  border: 2px solid #8b5e3c;
  background: rgba(255, 255, 255, .75);
  color: #2a2a2a;
  box-sizing: border-box;
}
html body .wpcf7 textarea { max-width: 100%; min-height: 10rem; }
html body .wpcf7 .wpcf7-list-item { display: block; margin: .3rem 0; }
html body .wpcf7 input[type="submit"] {
  background: #dcdcdc;
  border: 3px solid #c8692b;
  box-shadow: 0 0 0 2px #5b3319;
  color: #5a2d0c;
  font-weight: 700;
  padding: .55rem 2.5rem;
  cursor: pointer;
  width: 10rem;
}
html body .wpcf7 input[type="submit"]:hover {
  background: #6B4226 url('/wp-content/uploads/2026/11/menuHover.png') left no-repeat;
  color: #fff;
}
/* ==========================================================
   MENU BUTTONS
   ========================================================== */
.site-nav-row .wp-block-navigation-item__content {
  background: #dcdcdc;
  border: 3px solid #c8692b;
  box-shadow: 0 0 0 2px #5b3319;
  color: #5a2d0c;
  font-weight: 700;
  min-width: 190px;
  padding: .55rem 1.5rem;
  text-align: center;
  text-decoration: none;
}
.site-nav-row .wp-block-navigation-item__content:hover,
.site-nav-row .wp-block-navigation-item__content:focus-visible,
.site-nav-row .current-menu-item > .wp-block-navigation-item__content,
.site-nav-row .wp-block-navigation-item__content[aria-current="page"] {
  background: #6B4226 url('/wp-content/uploads/2026/11/menuHover.png') left no-repeat !important;
  color: #ffffff;
}

/* ==========================================================
   FOOTER: dark band to match the title, separate from the content
   ========================================================== */
html body .wp-site-blocks > footer {
  background: rgba(0, 0, 0, .65) !important;
  color: #f4f1e8;
  border-top: 3px solid #c8692b;
  padding: .9rem 1rem;
  text-align: center;
  margin-top: 1rem !important;      /* a little forest between content and footer; set to 0 to attach it */
}
html body .wp-site-blocks > footer .wp-block-group {
  background: transparent !important;
  color: inherit;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0;
}
html body .wp-site-blocks > footer .wp-block-spacer { display: none; }
html body .wp-site-blocks > footer p {
  margin: 0;
  font-size: .95rem;
  color: inherit;
}
html body .wp-site-blocks > footer a { color: #f4d9a8; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (min-width: 783px) {
  html body .wp-site-blocks > header .wp-block-site-title { white-space: nowrap; }
}
@media (max-width: 782px) {
  html body .wp-site-blocks { width: calc(100% - 1.5rem) !important; }
  html body .wp-site-blocks > header .wp-block-site-title {
    font-size: 1.2rem;
    padding: .9rem .75rem;
    letter-spacing: .01em;
  }
  html body .wp-site-blocks > header nav.site-nav-row { padding: .75rem 1rem; }
  html body .wp-site-blocks > main { padding: 1rem; }
  html body .wp-site-blocks > footer { padding: .75rem; }
  html body .policy-box { padding: .5rem; }
}

/* ===== Opened hamburger menu (phone + tablet) ===== */
html body .wp-site-blocks > header nav.site-nav-row .wp-block-navigation__responsive-container.is-menu-open {
  background: #f2d58f url('/wp-content/uploads/2026/11/contentBackground.png') !important;
  position: fixed !important;
  inset: 0 !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 100000 !important;
  overflow-y: auto;
  padding: 1rem 1.25rem 1.5rem !important;
}
html body .wp-site-blocks > header nav.site-nav-row .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  padding: 3rem 0 0 !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  display: flex !important;
  flex-direction: column;
  align-items: stretch !important;
  gap: .7rem !important;
  width: 100%;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
  width: 100%;
  margin: 0 !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  display: flex !important;
  justify-content: center;
  width: 100%;
  min-width: 0 !important;
  box-sizing: border-box;
  text-align: center;
}
/* hamburger / close icons */
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
  color: #5a2d0c;
}

/* ===== Wide screens (901px+): buttons shrink to fit, one row ===== */
@media (min-width: 1101px) {
  nav.site-nav-row .wp-block-navigation__responsive-container-content {
    width: 100%;
  }
  nav.site-nav-row .wp-block-navigation__container {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: .6rem !important;
    width: 100%;
  }
  nav.site-nav-row .wp-block-navigation-item {
    flex: 1 1 0;
    min-width: 0;
    margin: 0 !important;
  }
  nav.site-nav-row .wp-block-navigation-item__content {
    display: flex !important;
    justify-content: center;
    width: 100%;
    min-width: 0 !important;
    box-sizing: border-box;
    padding: .55rem .5rem !important;
    font-size: clamp(.85rem, 1.4vw, 1.1rem);
    white-space: nowrap;
  }
	/* make room for the dog on hover / current page */
  nav.site-nav-row .wp-block-navigation-item__content:hover,
  nav.site-nav-row .wp-block-navigation-item__content:focus-visible,
  nav.site-nav-row .current-menu-item > .wp-block-navigation-item__content,
  nav.site-nav-row .wp-block-navigation-item__content[aria-current="page"] {
    padding-left: 3.5rem !important;
  }
}

/* ===== 600-900px: hamburger (WordPress only collapses below 600px) ===== */
@media (min-width: 600px) and (max-width: 1100px) {
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex !important;
  }
  .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }
}