/*
Theme Name: Teddy Mac Giving Back
Theme URI: https://www.teddymacgivingback.com/
Author: Scenario Sales
Author URI: https://scenariosales.com/
Description: A modern, accessible community-events theme created for Teddy Mac Giving Back. Includes event management, calendar and archive views, galleries, FAQs, social-feed compatibility, and stored contact inquiries.
Version: 2.1.5
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: teddy-mac-giving-back
Tags: custom-logo, custom-menu, featured-images, accessibility-ready, block-styles, wide-blocks, e-commerce
*/

@font-face {
  font-display: swap;
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/anton-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/oswald-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Oswald";
  font-style: normal;
  font-weight: 500;
  src: url("assets/fonts/oswald-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Oswald";
  font-style: normal;
  font-weight: 600;
  src: url("assets/fonts/oswald-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Oswald";
  font-style: normal;
  font-weight: 700;
  src: url("assets/fonts/oswald-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/playfair-display-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  src: url("assets/fonts/playfair-display-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  src: url("assets/fonts/playfair-display-latin-700-normal.woff2") format("woff2");
}

:root {
  --tmg-pink: #e7257e;
  --tmg-pink-dark: #000000;
  --tmg-yellow: #ffd400;
  --tmg-ink: #000000;
  --tmg-ink-soft: #181818;
  --tmg-paper: #ffffff;
  --tmg-white: #ffffff;
  --tmg-muted: #555555;
  --tmg-border: #d8d8d8;
  --tmg-shadow: 0 18px 50px rgba(0, 0, 0, 0.13);
  --tmg-radius: 24px;
  --tmg-container: 1180px;
  --tmg-header-height: 92px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--tmg-header-height) + 24px);
}

body {
  margin: 0;
  background: var(--tmg-paper);
  color: var(--tmg-ink);
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-header {
  top: 32px;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: var(--tmg-pink-dark);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--tmg-pink);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button,
.wp-element-button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.7em;
  color: var(--tmg-ink);
  font-family: "Anton", Impact, "Arial Black", sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.04;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 6.2rem);
}

h2 {
  font-size: clamp(2.15rem, 5vw, 4.25rem);
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

p {
  margin: 0 0 1.25rem;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background: var(--tmg-white);
  border-radius: 6px;
  box-shadow: 0 0 0 4px var(--tmg-yellow);
  clip: auto !important;
  clip-path: none;
  color: var(--tmg-ink);
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  height: auto;
  left: 1rem;
  padding: 0.85rem 1rem;
  top: 1rem;
  width: auto;
  z-index: 100000;
}

:focus-visible {
  outline: 4px solid var(--tmg-yellow);
  outline-offset: 4px;
}

.container {
  margin-inline: auto;
  max-width: var(--tmg-container);
  padding-inline: 24px;
  width: 100%;
}

.narrow {
  max-width: 790px;
}

.section {
  padding-block: clamp(72px, 9vw, 124px);
}

.section--dark {
  background: var(--tmg-ink);
  color: var(--tmg-white);
}

.section--dark h2,
.section--dark h3 {
  color: var(--tmg-white);
}

.section--white {
  background: var(--tmg-white);
}

.section--pink {
  background: var(--tmg-pink);
  color: var(--tmg-white);
}

.section--pink h2,
.section--pink h3 {
  color: var(--tmg-white);
}

.eyebrow {
  align-items: center;
  color: var(--tmg-pink-dark);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 10px;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: var(--tmg-yellow);
  border-radius: 999px;
  content: "";
  height: 10px;
  width: 28px;
}

.section--dark .eyebrow,
.section--pink .eyebrow,
.hero .eyebrow {
  color: var(--tmg-yellow);
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 48px;
}

.section-heading > div {
  max-width: 820px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.lede {
  color: var(--tmg-muted);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  font-weight: 600;
  line-height: 1.65;
}

.section--dark .lede,
.section--pink .lede {
  color: rgba(255, 255, 255, 0.82);
}

.button {
  align-items: center;
  background: var(--tmg-pink);
  border: 2px solid var(--tmg-pink);
  border-radius: 999px;
  color: var(--tmg-white);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 900;
  gap: 10px;
  justify-content: center;
  letter-spacing: 0.05em;
  line-height: 1;
  min-height: 52px;
  padding: 0.95rem 1.45rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  background: var(--tmg-pink-dark);
  border-color: var(--tmg-pink-dark);
  color: var(--tmg-white);
  transform: translateY(-2px);
}

.button--yellow {
  background: var(--tmg-yellow);
  border-color: var(--tmg-yellow);
  color: var(--tmg-ink);
}

.button--yellow:hover {
  background: var(--tmg-white);
  border-color: var(--tmg-white);
  color: var(--tmg-ink);
}

.button--outline {
  background: transparent;
  border-color: currentColor;
  color: currentColor;
}

.button--outline:hover {
  background: var(--tmg-ink);
  border-color: var(--tmg-ink);
  color: var(--tmg-white);
}

.button--light {
  background: var(--tmg-white);
  border-color: var(--tmg-white);
  color: var(--tmg-ink);
}

.button--light:hover {
  background: var(--tmg-yellow);
  border-color: var(--tmg-yellow);
  color: var(--tmg-ink);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-header {
  background: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  left: 0;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 1000;
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  min-height: var(--tmg-header-height);
}

.site-branding {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
  text-decoration: none;
}

.custom-logo-link,
.brand-fallback {
  align-items: center;
  display: flex;
  text-decoration: none;
}

.custom-logo,
.brand-fallback img {
  height: 76px;
  object-fit: contain;
  width: 92px;
}

.site-title {
  color: var(--tmg-white);
  display: none;
  font-size: 0.95rem;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
  max-width: 130px;
  text-transform: uppercase;
}

.primary-navigation {
  margin-left: auto;
}

.primary-navigation ul {
  align-items: center;
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-navigation a {
  border-radius: 999px;
  color: var(--tmg-white);
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0.72rem 0.78rem;
  text-decoration: none;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
  background: rgba(255, 255, 255, 0.1);
  color: var(--tmg-yellow);
}

.header-cta {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.78rem 1.1rem;
}

.primary-navigation .mobile-menu-cta {
  display: none;
}

.menu-toggle {
  align-items: center;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: var(--tmg-white);
  display: none;
  height: 48px;
  justify-content: center;
  margin-left: auto;
  padding: 0;
  width: 48px;
}

.menu-toggle svg {
  height: 22px;
  width: 22px;
}

.hero {
  background: var(--tmg-ink);
  color: var(--tmg-white);
  min-height: min(850px, calc(100vh - var(--tmg-header-height)));
  overflow: hidden;
  position: relative;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.97) 0%, rgba(0, 0, 0, 0.83) 45%, rgba(0, 0, 0, 0.2) 75%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.95), transparent 40%),
    var(--tmg-hero-image) center / cover no-repeat;
  content: "";
  inset: 0;
  position: absolute;
}

.hero::after {
  background: var(--tmg-pink);
  bottom: -110px;
  clip-path: polygon(0 45%, 100% 0, 100% 55%, 0 100%);
  content: "";
  height: 190px;
  left: 0;
  opacity: 0.94;
  position: absolute;
  right: 0;
}

.hero-inner {
  align-items: center;
  display: grid;
  min-height: inherit;
  padding-block: 76px 150px;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 790px;
}

.hero h1 {
  color: var(--tmg-white);
  margin-bottom: 24px;
  max-width: 760px;
  text-wrap: balance;
}

.hero h1 .accent {
  color: var(--tmg-yellow);
}

.hero .lede {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  max-width: 690px;
}

.hero-badge {
  align-items: center;
  background: var(--tmg-yellow);
  border: 5px solid var(--tmg-ink);
  border-radius: 50%;
  bottom: 62px;
  box-shadow: var(--tmg-shadow);
  color: var(--tmg-ink);
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
  font-weight: 900;
  height: 138px;
  justify-content: center;
  letter-spacing: 0.1em;
  position: absolute;
  right: max(24px, calc((100vw - var(--tmg-container)) / 2 + 24px));
  text-align: center;
  text-transform: uppercase;
  transform: rotate(7deg);
  width: 138px;
  z-index: 2;
}

.hero-badge strong {
  font-size: 2rem;
  letter-spacing: -0.06em;
  line-height: 1;
}

.impact-strip {
  background: var(--tmg-yellow);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.impact-item {
  border-right: 2px solid rgba(0, 0, 0, 0.2);
  padding: 34px 24px;
  text-align: center;
}

.impact-item:last-child {
  border-right: 0;
}

.impact-item strong {
  display: block;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.impact-item span {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-grid {
  align-items: center;
  display: grid;
  gap: clamp(44px, 7vw, 92px);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.story-media {
  position: relative;
}

.story-media::before {
  background: var(--tmg-yellow);
  border-radius: var(--tmg-radius);
  content: "";
  inset: 24px -24px -24px 24px;
  position: absolute;
}

.story-media img {
  aspect-ratio: 4 / 5;
  border-radius: var(--tmg-radius);
  box-shadow: var(--tmg-shadow);
  object-fit: cover;
  position: relative;
  width: 100%;
}

.story-note {
  background: var(--tmg-pink);
  border: 5px solid var(--tmg-white);
  border-radius: 18px;
  bottom: -24px;
  color: var(--tmg-white);
  font-family: "Anton", Impact, sans-serif;
  font-size: 1.25rem;
  max-width: 260px;
  padding: 22px;
  position: absolute;
  right: -24px;
  transform: rotate(-3deg);
}

.feature-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  background: var(--tmg-white);
  border: 1px solid var(--tmg-border);
  border-radius: var(--tmg-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  min-height: 280px;
  overflow: hidden;
  padding: 30px;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  box-shadow: var(--tmg-shadow);
  transform: translateY(-6px);
}

.feature-card::after {
  background: var(--tmg-pink);
  border-radius: 50%;
  content: "";
  height: 86px;
  opacity: 0.08;
  position: absolute;
  right: -22px;
  top: -24px;
  width: 86px;
}

.feature-number {
  color: var(--tmg-pink);
  display: block;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  font-size: 3.2rem;
  letter-spacing: -0.07em;
  line-height: 1;
  margin-bottom: 26px;
}

.event-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, 1fr);
}

.event-card {
  background: var(--tmg-white);
  border-radius: var(--tmg-radius);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.event-card-media {
  background: var(--tmg-ink-soft);
  display: block;
  overflow: hidden;
  position: relative;
}

.event-card-media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 500ms ease;
  width: 100%;
}

.event-card:hover .event-card-media img {
  transform: scale(1.04);
}

.event-date-chip {
  background: var(--tmg-yellow);
  border-radius: 12px;
  color: var(--tmg-ink);
  font-size: 0.72rem;
  font-weight: 900;
  left: 18px;
  letter-spacing: 0.08em;
  line-height: 1.2;
  padding: 10px 12px;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  top: 18px;
}

.event-date-chip strong {
  display: block;
  font-size: 1.45rem;
  letter-spacing: -0.05em;
}

.event-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.event-card-content h3 {
  margin-bottom: 12px;
}

.event-card-content h2 a,
.event-card-content h3 a {
  color: var(--tmg-ink);
  text-decoration: none;
}

.event-card-content h2 a:hover,
.event-card-content h3 a:hover {
  color: var(--tmg-pink-dark);
}

.section--dark .event-card h2,
.section--dark .event-card h3 {
  color: var(--tmg-ink);
}

.event-meta {
  color: var(--tmg-muted);
  display: grid;
  font-size: 0.92rem;
  gap: 8px;
  margin-bottom: 18px;
}

.event-meta span {
  align-items: flex-start;
  display: flex;
  gap: 8px;
}

.event-card-content .text-link {
  margin-top: auto;
}

.text-link {
  color: var(--tmg-pink-dark);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link::after {
  content: " →";
}

.calendar-shell {
  background: var(--tmg-white);
  border: 1px solid var(--tmg-border);
  border-radius: var(--tmg-radius);
  box-shadow: var(--tmg-shadow);
  overflow: hidden;
}

.calendar-toolbar {
  align-items: center;
  background: var(--tmg-ink);
  color: var(--tmg-white);
  display: flex;
  justify-content: space-between;
  padding: 20px 24px;
}

.calendar-toolbar h2 {
  color: var(--tmg-white);
  font-size: 1.4rem;
  margin: 0;
}

.calendar-nav {
  display: flex;
  gap: 8px;
}

.calendar-nav button {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--tmg-white);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.calendar-toolbar > [data-calendar-today] {
  background: var(--tmg-yellow);
  border: 0;
  border-radius: 999px;
  color: var(--tmg-ink);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  min-height: 42px;
  padding: 0.7rem 1rem;
  text-transform: uppercase;
}

.calendar-toolbar > [data-calendar-today]:hover {
  background: var(--tmg-white);
}

.calendar-nav button:hover {
  background: var(--tmg-pink);
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-weekdays {
  background: #f5f5f7;
  border-bottom: 1px solid var(--tmg-border);
}

.calendar-weekdays span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 12px 6px;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  background: var(--tmg-white);
  border-bottom: 1px solid var(--tmg-border);
  border-right: 1px solid var(--tmg-border);
  min-height: 96px;
  padding: 10px;
}

.calendar-day:nth-child(7n) {
  border-right: 0;
}

.calendar-day.is-muted {
  background: #fafafa;
  color: #a4a4ab;
}

.calendar-day.is-today .calendar-day-number {
  background: var(--tmg-ink);
  color: var(--tmg-white);
}

.calendar-day-number {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.calendar-event {
  background: var(--tmg-pink);
  border-radius: 7px;
  color: var(--tmg-white);
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 7px;
  overflow: hidden;
  padding: 6px 7px;
  text-decoration: none;
}

.calendar-event:hover {
  background: var(--tmg-pink-dark);
  color: var(--tmg-white);
}

.gallery-mosaic {
  display: grid;
  gap: 14px;
  grid-auto-rows: 210px;
  grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
  border-radius: 18px;
  cursor: zoom-in;
  display: block;
  overflow: hidden;
  position: relative;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(7) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:nth-child(4),
.gallery-item:nth-child(10) {
  grid-column: span 2;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: filter 250ms ease, transform 450ms ease;
  width: 100%;
}

.gallery-item:hover img {
  filter: saturate(1.1);
  transform: scale(1.045);
}

.gallery-item::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4), transparent 50%);
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 200ms ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.lightbox {
  align-items: center;
  background: rgba(10, 10, 12, 0.94);
  border: 0;
  display: none;
  height: 100%;
  inset: 0;
  justify-content: center;
  margin: 0;
  max-height: none;
  max-width: none;
  padding: 68px 28px 28px;
  position: fixed;
  width: 100%;
  z-index: 9999;
}

.lightbox[open] {
  display: flex;
}

.lightbox img {
  border-radius: 12px;
  max-height: calc(100vh - 100px);
  max-width: min(1100px, 100%);
  object-fit: contain;
}

.lightbox-close {
  align-items: center;
  background: var(--tmg-white);
  border: 0;
  border-radius: 50%;
  color: var(--tmg-ink);
  display: flex;
  font-size: 1.7rem;
  height: 46px;
  justify-content: center;
  position: absolute;
  right: 22px;
  top: 18px;
  width: 46px;
}

.causes-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
}

.cause-card {
  align-items: flex-start;
  background: var(--tmg-white);
  border: 1px solid var(--tmg-border);
  border-radius: var(--tmg-radius);
  display: flex;
  gap: 22px;
  padding: 30px;
}

.cause-icon {
  align-items: center;
  background: var(--tmg-yellow);
  border-radius: 18px;
  display: flex;
  flex: 0 0 auto;
  font-size: 1.6rem;
  height: 62px;
  justify-content: center;
  width: 62px;
}

.cause-card h3 {
  margin-bottom: 8px;
}

.social-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.social-grid--feeds {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.social-journal-feed {
  background: var(--tmg-white);
  border: 1px solid var(--tmg-border);
  border-radius: var(--tmg-radius);
  min-height: 320px;
  overflow: hidden;
  padding: clamp(18px, 3vw, 34px);
}

.social-journal-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.social-journal-note {
  color: var(--tmg-muted);
  font-size: 0.95rem;
  margin: 18px 0 0;
}

.social-journal-fallback {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.social-journal-fallback-copy {
  align-self: center;
}

.social-journal-mosaic {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.social-journal-mosaic img {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.social-journal-mosaic img:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.social-panel {
  background: var(--tmg-white);
  border: 1px solid var(--tmg-border);
  border-radius: var(--tmg-radius);
  min-height: 280px;
  overflow: hidden;
  padding: 30px;
}

.social-panel-header {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}

.social-icon {
  align-items: center;
  background: var(--tmg-ink);
  border-radius: 50%;
  color: var(--tmg-white);
  display: inline-flex;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.social-panel h3 {
  margin: 0;
}

.social-placeholder {
  align-items: center;
  background: #f5f5f7;
  border-radius: 16px;
  color: var(--tmg-muted);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 170px;
  padding: 28px;
  text-align: center;
}

.social-placeholder p {
  margin-bottom: 16px;
}

.faq-list {
  border-top: 1px solid var(--tmg-border);
}

.faq-item {
  border-bottom: 1px solid var(--tmg-border);
}

.faq-item summary {
  cursor: pointer;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  list-style: none;
  padding: 24px 52px 24px 0;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  color: var(--tmg-pink);
  content: "+";
  font-size: 2rem;
  position: absolute;
  right: 6px;
  top: 16px;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  color: var(--tmg-muted);
  max-width: 820px;
  padding: 0 52px 24px 0;
}

.page-hero {
  background: var(--tmg-ink);
  color: var(--tmg-white);
  overflow: hidden;
  padding-block: clamp(78px, 11vw, 150px);
  position: relative;
}

.page-hero::before {
  background: radial-gradient(circle at 85% 20%, rgba(231, 37, 126, 0.38), transparent 34%);
  content: "";
  inset: 0;
  position: absolute;
}

.page-hero::after {
  background: var(--tmg-yellow);
  bottom: -56px;
  clip-path: polygon(0 50%, 100% 0, 100% 30%, 0 80%);
  content: "";
  height: 90px;
  left: 0;
  position: absolute;
  right: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--tmg-white);
  margin-bottom: 18px;
}

.page-hero .lede {
  color: rgba(255, 255, 255, 0.82);
  max-width: 760px;
}

.content-area {
  padding-block: 80px;
}

.entry-content > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 790px;
}

.entry-content > .alignwide {
  max-width: var(--tmg-container);
}

.entry-content > .alignfull {
  max-width: none;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.4em;
}

.event-detail-grid {
  align-items: start;
  display: grid;
  gap: 58px;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
}

.event-sidebar {
  background: var(--tmg-white);
  border: 1px solid var(--tmg-border);
  border-radius: var(--tmg-radius);
  box-shadow: var(--tmg-shadow);
  padding: 30px;
  position: sticky;
  top: calc(var(--tmg-header-height) + 24px);
}

.event-sidebar h2 {
  font-size: 1.35rem;
}

.event-sidebar dl {
  margin: 0 0 24px;
}

.event-sidebar dt {
  color: var(--tmg-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-top: 16px;
  text-transform: uppercase;
}

.event-sidebar dd {
  margin: 2px 0 0;
}

.contact-grid {
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.contact-card {
  background: var(--tmg-ink);
  border-radius: var(--tmg-radius);
  color: var(--tmg-white);
  overflow: hidden;
  padding: 38px;
  position: relative;
}

.contact-card::after {
  background: var(--tmg-pink);
  border-radius: 50%;
  bottom: -90px;
  content: "";
  height: 220px;
  opacity: 0.5;
  position: absolute;
  right: -80px;
  width: 220px;
}

.contact-card h2,
.contact-card h3 {
  color: var(--tmg-white);
  position: relative;
  z-index: 1;
}

.contact-card p,
.contact-card .button-row {
  position: relative;
  z-index: 1;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.booking-calendar {
  background: var(--tmg-white);
  border: 1px solid var(--tmg-border);
  border-radius: var(--tmg-radius);
  box-shadow: var(--tmg-shadow);
  min-height: 520px;
  overflow: hidden;
  padding: clamp(20px, 4vw, 42px);
}

.booking-calendar iframe {
  border: 0;
  display: block;
  min-height: 700px;
  width: 100%;
}

.field-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 7px;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--tmg-white);
  border: 2px solid var(--tmg-border);
  border-radius: 12px;
  color: var(--tmg-ink);
  min-height: 52px;
  padding: 0.85rem 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.form-field textarea {
  min-height: 170px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--tmg-pink);
  box-shadow: 0 0 0 4px rgba(231, 37, 126, 0.16);
  outline: 0;
}

.form-status {
  border-radius: 12px;
  font-weight: 700;
  margin-bottom: 24px;
  padding: 16px 18px;
}

.form-status--success {
  background: #e5f8ed;
  color: #126b37;
}

.form-status--error {
  background: #fff0f1;
  color: #9d1f2f;
}

.honeypot {
  left: -9999px;
  position: absolute;
}

.empty-state {
  background: var(--tmg-white);
  border: 2px dashed var(--tmg-border);
  border-radius: var(--tmg-radius);
  padding: 42px;
  text-align: center;
}

.section--dark .empty-state {
  background: var(--tmg-ink-soft);
  border-color: rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.82);
}

.section--dark .empty-state h2,
.section--dark .empty-state h3 {
  color: var(--tmg-white);
}

.cta-band {
  background: var(--tmg-pink);
  color: var(--tmg-white);
  overflow: hidden;
  padding-block: 64px;
  position: relative;
}

.cta-band::before {
  background: var(--tmg-yellow);
  border-radius: 50%;
  content: "";
  height: 260px;
  opacity: 0.22;
  position: absolute;
  right: -80px;
  top: -130px;
  width: 260px;
}

.cta-band-inner {
  align-items: center;
  display: flex;
  gap: 36px;
  justify-content: space-between;
  position: relative;
}

.cta-band h2 {
  color: var(--tmg-white);
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  margin: 0;
  max-width: 720px;
}

.site-footer {
  background: #000000;
  color: rgba(255, 255, 255, 0.75);
  padding-block: 66px 30px;
}

.footer-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
}

.footer-brand {
  max-width: 470px;
}

.footer-brand img {
  background: var(--tmg-white);
  border-radius: 16px;
  margin-bottom: 20px;
  padding: 4px;
  width: 105px;
}

.site-footer h2,
.site-footer h3 {
  color: var(--tmg-white);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 9px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--tmg-yellow);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  min-height: 42px;
  padding: 0.65rem 0.85rem;
  text-transform: uppercase;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  font-size: 0.78rem;
  gap: 20px;
  justify-content: space-between;
  margin-top: 52px;
  padding-top: 24px;
}

.footer-bottom p {
  margin: 0;
}

.pagination,
.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 46px;
}

.page-numbers {
  align-items: center;
  background: var(--tmg-white);
  border: 1px solid var(--tmg-border);
  border-radius: 999px;
  color: var(--tmg-ink);
  display: inline-flex;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  min-width: 44px;
  padding-inline: 14px;
  text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--tmg-pink);
  border-color: var(--tmg-pink);
  color: var(--tmg-white);
}

@media (min-width: 1160px) {
  .site-title {
    display: block;
  }
}

@media (max-width: 1060px) {
  .primary-navigation a {
    font-size: 0.8rem;
    padding-inline: 0.6rem;
  }

  .header-cta {
    display: none;
  }

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

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

  .gallery-item:nth-child(4),
  .gallery-item:nth-child(10) {
    grid-column: auto;
  }
}

@media (max-width: 820px) {
  :root {
    --tmg-header-height: 80px;
  }

  body.admin-bar .site-header {
    top: 46px;
  }

  .custom-logo,
  .brand-fallback img {
    height: 58px;
    width: 64px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-navigation {
    background: var(--tmg-ink);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: none;
    left: 0;
    max-height: calc(100vh - var(--tmg-header-height));
    overflow-y: auto;
    padding: 14px 24px 24px;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-navigation ul {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-navigation a {
    font-size: 0.95rem;
    padding: 0.9rem 1rem;
  }

  .primary-navigation .mobile-menu-cta {
    display: flex;
    margin-top: 12px;
    width: 100%;
  }

  .hero {
    min-height: 720px;
  }

  .hero::before {
    background:
      linear-gradient(0deg, rgba(24, 24, 28, 0.98) 4%, rgba(24, 24, 28, 0.72) 100%),
      var(--tmg-hero-image) 62% center / cover no-repeat;
  }

  .hero-inner {
    align-items: end;
    padding-block: 170px 150px;
  }

  .hero-badge {
    bottom: 48px;
    height: 108px;
    width: 108px;
  }

  .hero-badge strong {
    font-size: 1.55rem;
  }

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

  .impact-item:nth-child(2) {
    border-right: 0;
  }

  .impact-item:nth-child(-n + 2) {
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
  }

  .story-grid,
  .event-detail-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .story-grid {
    gap: 70px;
  }

  .story-media {
    max-width: 600px;
  }

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

  .social-grid {
    grid-template-columns: 1fr;
  }

  .social-journal-fallback {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .event-sidebar {
    position: static;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .container {
    padding-inline: 18px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 34px;
  }

  .feature-grid,
  .event-grid,
  .causes-grid,
  .field-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: 690px;
  }

  .hero-inner {
    padding-block: 150px 150px;
  }

  .hero-badge {
    display: none;
  }

  .impact-item {
    padding: 26px 10px;
  }

  .gallery-mosaic {
    grid-auto-rows: 155px;
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(7) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .calendar-day {
    min-height: 70px;
    padding: 5px;
  }

  .calendar-event {
    font-size: 0;
    height: 8px;
    padding: 0;
  }

  .calendar-weekdays span {
    font-size: 0.62rem;
  }

  .calendar-toolbar {
    padding: 16px;
  }

  .story-media::before {
    inset: 14px -10px -14px 12px;
  }

  .story-note {
    bottom: -30px;
    font-size: 1.05rem;
    right: -4px;
  }

  .cta-band-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .cause-card {
    padding: 24px;
  }
}

/* WooCommerce-ready Teddy Mac apparel storefront. */
.apparel-hero {
  min-height: 620px;
  overflow: hidden;
}

.apparel-hero__layout {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  padding-block: 4.5rem 5.5rem;
  position: relative;
  z-index: 1;
}

.apparel-hero__photo {
  border: 4px solid var(--tmg-pink);
  box-shadow: 18px 18px 0 rgba(231, 37, 126, 0.28);
  position: relative;
  transform: rotate(2deg);
}

.apparel-hero__photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.apparel-hero__photo span {
  background: var(--tmg-pink);
  bottom: 1rem;
  color: #000000;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  left: -1rem;
  letter-spacing: 0.025em;
  padding: 0.55rem 1rem;
  position: absolute;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.apparel-impact {
  background: var(--tmg-pink);
  border-block: 4px solid #000000;
  color: #000000;
  padding-block: 1.6rem;
}

.apparel-impact__inner {
  align-items: center;
  display: flex;
  gap: 1.4rem;
}

.apparel-impact__inner .eyebrow,
.apparel-impact__inner p {
  color: #000000;
}

.apparel-impact__inner p {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  margin: 0.2rem 0 0;
  max-width: 900px;
}

.apparel-impact__icon {
  align-items: center;
  background: #000000;
  border-radius: 50%;
  color: var(--tmg-pink);
  display: inline-flex;
  flex: 0 0 68px;
  font-family: "Anton", Impact, sans-serif;
  font-size: 2rem;
  height: 68px;
  justify-content: center;
}

.apparel-feature-card,
.apparel-empty {
  align-items: center;
  background: var(--tmg-surface-raised);
  border: 1px solid var(--tmg-border);
  box-shadow: var(--tmg-pink-glow);
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.apparel-feature-card img {
  aspect-ratio: 1;
  border: 3px solid var(--tmg-pink);
  object-fit: cover;
  width: 100%;
}

.product-badge {
  background: var(--tmg-pink);
  color: #000000;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  padding: 0.35rem 0.65rem;
  text-transform: uppercase;
}

.apparel-life {
  background:
    repeating-linear-gradient(-55deg, rgba(231, 37, 126, 0.045) 0 10px, transparent 10px 25px),
    #050507;
}

.apparel-life__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}

.apparel-life__grid img {
  aspect-ratio: 3 / 4;
  border: 2px solid rgba(231, 37, 126, 0.5);
  object-fit: cover;
  width: 100%;
}

.apparel-life__grid img:nth-child(even) {
  transform: translateY(1.5rem);
}

/* WooCommerce catalog and product views inherit Teddy Mac branding. */
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .product_meta,
.woocommerce-tabs,
.woocommerce p {
  color: var(--tmg-muted);
}

.woocommerce ul.products {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product {
  background: var(--tmg-surface-raised);
  border: 1px solid var(--tmg-border);
  float: none;
  margin: 0;
  padding: 1rem 1rem 1.35rem;
  width: auto;
}

.woocommerce ul.products li.product:hover {
  border-color: var(--tmg-pink);
  box-shadow: var(--tmg-pink-glow);
  transform: translateY(-4px);
}

.woocommerce ul.products li.product a img {
  aspect-ratio: 1;
  margin: 0 0 1rem;
  object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .product_title,
.woocommerce-tabs h2,
.related.products > h2 {
  color: var(--tmg-white);
  font-family: "Anton", Impact, sans-serif;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--tmg-pink-hot);
  font-size: 1.2rem;
  font-weight: 700;
}

.woocommerce span.onsale {
  background: var(--tmg-pink);
  color: #000000;
  min-height: auto;
  min-width: auto;
  padding: 0.35rem 0.7rem;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--tmg-pink);
  border: 2px solid var(--tmg-pink);
  border-radius: 0;
  color: #000000;
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.woocommerce a.button:hover,
.woocommerce a.button:focus-visible,
.woocommerce button.button:hover,
.woocommerce button.button:focus-visible,
.woocommerce input.button:hover,
.woocommerce input.button:focus-visible,
.woocommerce #respond input#submit:hover {
  background: var(--tmg-white);
  border-color: var(--tmg-white);
  color: #000000;
}

.woocommerce div.product {
  color: var(--tmg-white);
}

.woocommerce div.product form.cart .variations select,
.woocommerce .quantity .qty,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  background: #0d0d10;
  border: 1px solid var(--tmg-border);
  color: var(--tmg-white);
  padding: 0.7rem;
}

.woocommerce-message,
.woocommerce-info {
  background: var(--tmg-surface-raised);
  border-top-color: var(--tmg-pink);
  color: var(--tmg-white);
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--tmg-pink);
}

@media (max-width: 820px) {
  .apparel-hero__layout,
  .apparel-feature-card,
  .apparel-empty {
    grid-template-columns: 1fr;
  }

  .apparel-hero__photo {
    margin-inline: auto;
    max-width: 460px;
  }

  .apparel-life__grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .apparel-impact__inner {
    align-items: flex-start;
  }

  .apparel-impact__icon {
    flex-basis: 54px;
    font-size: 1.5rem;
    height: 54px;
  }

  .apparel-life__grid,
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .apparel-life__grid img:nth-child(even) {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================================================================
   VERSION 2.0 — BLACK / PINK EVENT-SPORT VISUAL SYSTEM
   ================================================================ */

:root {
  --tmg-pink: #e7257e;
  --tmg-pink-hot: #ff3d91;
  --tmg-pink-deep: #9e0d50;
  --tmg-yellow: #ffd400;
  --tmg-ink: #000000;
  --tmg-ink-soft: #121214;
  --tmg-surface: #0b0b0d;
  --tmg-surface-raised: #17171b;
  --tmg-paper: #050506;
  --tmg-white: #ffffff;
  --tmg-muted: #c3c3cb;
  --tmg-border: #34343a;
  --tmg-shadow: 0 22px 64px rgba(0, 0, 0, 0.48);
  --tmg-pink-glow: 0 0 0 1px rgba(231, 37, 126, 0.32), 0 18px 50px rgba(231, 37, 126, 0.12);
  --tmg-radius: 16px;
}

body {
  background:
    radial-gradient(circle at 20% 0, rgba(231, 37, 126, 0.08), transparent 24rem),
    var(--tmg-paper);
  color: var(--tmg-white);
}

a {
  color: var(--tmg-pink-hot);
}

a:hover {
  color: var(--tmg-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--tmg-white);
  letter-spacing: 0.015em;
}

h1,
h2 {
  text-shadow: 3px 3px 0 rgba(231, 37, 126, 0.2);
}

:focus-visible {
  outline-color: var(--tmg-yellow);
}

.section,
.content-area {
  background-color: var(--tmg-paper);
  color: var(--tmg-white);
  overflow: hidden;
  position: relative;
}

.section--white {
  background:
    linear-gradient(135deg, rgba(231, 37, 126, 0.035), transparent 40%),
    var(--tmg-surface);
}

.section--dark {
  background:
    radial-gradient(circle at 82% 18%, rgba(231, 37, 126, 0.16), transparent 25rem),
    #000000;
}

.section--pink {
  background:
    repeating-linear-gradient(-55deg, rgba(0, 0, 0, 0.08) 0 10px, transparent 10px 22px),
    var(--tmg-pink);
}

.lede,
.entry-content,
.event-card p,
.feature-card p,
.cause-card p {
  color: var(--tmg-muted);
}

.eyebrow {
  color: var(--tmg-pink-hot);
  font-style: italic;
}

.eyebrow::before {
  background: var(--tmg-pink);
  border-radius: 2px;
  box-shadow: 12px 0 0 rgba(231, 37, 126, 0.42);
  height: 6px;
  transform: skewX(-22deg);
  width: 32px;
}

.section--dark .eyebrow,
.section--pink .eyebrow,
.hero .eyebrow {
  color: var(--tmg-pink-hot);
}

.section--pink .eyebrow {
  color: var(--tmg-white);
}

.button,
.wp-element-button {
  background: var(--tmg-pink);
  border-color: var(--tmg-pink);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--tmg-pink-deep);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  font-style: italic;
  min-height: 50px;
  padding-inline: 1.65rem;
}

.button:hover,
.wp-element-button:hover {
  background: var(--tmg-white);
  border-color: var(--tmg-white);
  box-shadow: 4px 4px 0 var(--tmg-pink);
  color: var(--tmg-ink);
  transform: translate(-2px, -2px);
}

.button--pink,
.button--yellow {
  background: var(--tmg-pink);
  border-color: var(--tmg-pink);
  color: var(--tmg-ink);
}

.button--pink:hover,
.button--yellow:hover {
  background: var(--tmg-white);
  border-color: var(--tmg-white);
  color: var(--tmg-ink);
}

.button--light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.18);
  color: var(--tmg-white);
}

.button--light:hover,
.button--outline:hover {
  background: var(--tmg-pink);
  border-color: var(--tmg-pink);
  color: var(--tmg-ink);
}

.button--outline {
  background: transparent;
  border-color: var(--tmg-white);
  color: var(--tmg-white);
}

.site-header {
  background: rgba(0, 0, 0, 0.97);
  border-bottom: 3px solid var(--tmg-pink);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
}

.primary-navigation a {
  border-radius: 6px;
  font-style: italic;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
  background: var(--tmg-pink);
  color: var(--tmg-ink);
  transform: skewX(-5deg);
}

.hero {
  background: #000000;
  min-height: min(790px, calc(100vh - var(--tmg-header-height)));
}

.hero::before {
  background:
    linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0.94) 40%, rgba(0, 0, 0, 0.34) 82%),
    linear-gradient(0deg, #000000 0%, transparent 38%),
    radial-gradient(circle at 72% 42%, rgba(231, 37, 126, 0.2), transparent 30%),
    var(--tmg-hero-image) 66% 42% / cover no-repeat;
  filter: saturate(1.08) contrast(1.06);
}

.hero::after {
  background:
    repeating-linear-gradient(90deg, var(--tmg-pink) 0 54px, #000000 54px 62px);
  bottom: 0;
  clip-path: polygon(0 72%, 100% 0, 100% 100%, 0 100%);
  height: 110px;
  opacity: 1;
}

.hero h1 {
  font-style: italic;
  letter-spacing: -0.01em;
  transform: skewX(-2deg);
}

.hero h1 .accent {
  color: var(--tmg-pink-hot);
  text-shadow: 4px 4px 0 rgba(255, 255, 255, 0.14);
}

.hero-badge {
  background: var(--tmg-pink);
  border: 5px solid var(--tmg-white);
  border-radius: 16px;
  box-shadow: 8px 8px 0 #000000;
  color: var(--tmg-white);
  transform: rotate(6deg) skewX(-4deg);
}

.impact-strip {
  background:
    repeating-linear-gradient(-55deg, rgba(0, 0, 0, 0.15) 0 9px, transparent 9px 20px),
    var(--tmg-pink);
  border-bottom: 4px solid #000000;
  color: var(--tmg-white);
}

.impact-item {
  border-color: rgba(0, 0, 0, 0.3);
}

.impact-item strong {
  font-style: italic;
}

.story-media::before {
  background:
    repeating-linear-gradient(-55deg, var(--tmg-pink) 0 12px, var(--tmg-pink-deep) 12px 20px);
  border-radius: 12px;
}

.story-media img {
  border: 2px solid rgba(231, 37, 126, 0.7);
  border-radius: 12px;
  box-shadow: var(--tmg-shadow);
}

.story-note {
  background: #000000;
  border: 3px solid var(--tmg-pink);
  border-radius: 8px;
  box-shadow: 7px 7px 0 var(--tmg-pink);
  font-style: italic;
}

.feature-card,
.cause-card,
.event-card,
.social-panel,
.social-journal-feed,
.faq-item,
.booking-calendar,
.empty-state,
.event-sidebar {
  background: var(--tmg-surface-raised);
  border-color: var(--tmg-border);
  color: var(--tmg-white);
}

.feature-card {
  border: 1px solid rgba(231, 37, 126, 0.32);
  border-radius: 12px;
  box-shadow: var(--tmg-pink-glow);
}

.feature-card::before {
  background: var(--tmg-pink);
  bottom: 0;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  transform: skewX(-35deg);
  transform-origin: left;
  width: 46%;
}

.feature-card::after {
  background: var(--tmg-pink);
  opacity: 0.12;
}

.feature-card:nth-child(even) {
  transform: translateY(18px);
}

.feature-card:hover,
.feature-card:nth-child(even):hover {
  border-color: var(--tmg-pink);
  box-shadow: 0 18px 48px rgba(231, 37, 126, 0.22);
  transform: translateY(-7px) rotate(-1deg);
}

.feature-number {
  color: var(--tmg-pink-hot);
  font-style: italic;
}

.event-card {
  border: 1px solid rgba(231, 37, 126, 0.3);
  border-radius: 12px;
  box-shadow: var(--tmg-pink-glow);
}

.event-card-media::after {
  background: linear-gradient(0deg, rgba(231, 37, 126, 0.6), transparent 48%);
  bottom: 0;
  content: "";
  height: 45%;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.event-date-chip {
  background: var(--tmg-pink);
  border: 2px solid var(--tmg-white);
  border-radius: 6px;
  box-shadow: 5px 5px 0 #000000;
  color: var(--tmg-ink);
  transform: rotate(-3deg);
}

.event-card-content h2 a,
.event-card-content h3 a,
.section--dark .event-card h2,
.section--dark .event-card h3 {
  color: var(--tmg-white);
}

.event-card-content h2 a:hover,
.event-card-content h3 a:hover,
.text-link {
  color: var(--tmg-pink-hot);
}

.event-meta {
  color: var(--tmg-muted);
}

.calendar-shell {
  background: var(--tmg-surface);
  border: 1px solid rgba(231, 37, 126, 0.48);
  border-radius: 12px;
  box-shadow: var(--tmg-pink-glow);
}

.calendar-toolbar {
  background:
    repeating-linear-gradient(-55deg, rgba(231, 37, 126, 0.16) 0 10px, transparent 10px 22px),
    #000000;
  border-bottom: 3px solid var(--tmg-pink);
}

.calendar-nav button {
  border-color: rgba(231, 37, 126, 0.6);
  border-radius: 6px;
}

.calendar-toolbar > [data-calendar-today] {
  background: var(--tmg-pink);
  border-radius: 6px;
  color: var(--tmg-white);
}

.calendar-toolbar > [data-calendar-today]:hover {
  background: var(--tmg-white);
  color: var(--tmg-ink);
}

.calendar-weekdays {
  background: #101013;
  border-color: var(--tmg-border);
  color: var(--tmg-pink-hot);
}

.calendar-day {
  background: var(--tmg-surface-raised);
  border-color: var(--tmg-border);
  color: var(--tmg-white);
}

.calendar-day.is-muted {
  background: #0b0b0d;
  color: #94949d;
}

.calendar-day.is-today .calendar-day-number,
.calendar-event {
  background: var(--tmg-pink);
  color: var(--tmg-ink);
}

.calendar-event:hover {
  background: var(--tmg-white);
  color: var(--tmg-ink);
}

.gallery-item {
  border: 2px solid rgba(231, 37, 126, 0.34);
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
}

.gallery-item:nth-child(3n + 1) {
  transform: rotate(-0.6deg);
}

.gallery-item:nth-child(3n + 2) {
  transform: rotate(0.6deg);
}

.gallery-item:hover {
  border-color: var(--tmg-pink);
  box-shadow: 0 18px 44px rgba(231, 37, 126, 0.2);
  transform: translateY(-4px) rotate(0);
}

.cause-card {
  border: 1px solid rgba(231, 37, 126, 0.26);
  border-radius: 10px;
  box-shadow: var(--tmg-pink-glow);
}

.cause-icon,
.social-icon {
  background: var(--tmg-pink);
  color: var(--tmg-white);
}

.social-journal-note {
  color: var(--tmg-muted);
}

.social-journal-mosaic img {
  border: 2px solid rgba(231, 37, 126, 0.4);
}

.social-panel,
.social-journal-feed {
  box-shadow: var(--tmg-pink-glow);
}

.social-placeholder {
  background: #09090b;
  color: var(--tmg-muted);
}

.faq-item {
  border-bottom-color: var(--tmg-border);
}

.faq-item summary {
  color: var(--tmg-white);
}

.faq-item summary::after {
  color: var(--tmg-pink-hot);
}

.faq-answer {
  color: var(--tmg-muted);
}

.page-hero {
  background:
    linear-gradient(90deg, #000000, rgba(0, 0, 0, 0.86)),
    #000000;
  border-bottom: 4px solid var(--tmg-pink);
  color: var(--tmg-white);
  min-height: 440px;
}

.page-hero::before {
  background:
    radial-gradient(circle at 85% 28%, rgba(231, 37, 126, 0.48), transparent 21rem),
    repeating-linear-gradient(-55deg, rgba(231, 37, 126, 0.08) 0 10px, transparent 10px 25px);
}

.page-hero::after {
  background:
    repeating-linear-gradient(90deg, var(--tmg-pink) 0 48px, #000000 48px 56px);
  height: 38px;
  opacity: 1;
}

.page-hero h1 {
  font-style: italic;
  transform: skewX(-2deg);
}

.page-hero .lede {
  color: rgba(255, 255, 255, 0.78);
}

.content-area {
  color: var(--tmg-white);
}

.entry-content blockquote {
  border-left: 5px solid var(--tmg-pink);
  color: var(--tmg-muted);
}

.event-sidebar {
  border: 1px solid rgba(231, 37, 126, 0.42);
  box-shadow: var(--tmg-pink-glow);
}

.contact-card {
  background:
    repeating-linear-gradient(-55deg, rgba(0, 0, 0, 0.1) 0 10px, transparent 10px 22px),
    linear-gradient(145deg, var(--tmg-pink), var(--tmg-pink-deep));
  border-radius: 12px;
  box-shadow: 9px 9px 0 #000000, 9px 9px 0 2px var(--tmg-pink);
}

.contact-card::after,
.cta-band::before {
  background: #000000;
}

.booking-calendar {
  box-shadow: var(--tmg-pink-glow);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: #0d0d10;
  border-color: var(--tmg-border);
  color: var(--tmg-white);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #85858d;
}

.form-field select option {
  background: #0d0d10;
  color: var(--tmg-white);
}

.empty-state {
  border-color: rgba(231, 37, 126, 0.46);
  color: var(--tmg-muted);
}

.empty-state h2,
.empty-state h3 {
  color: var(--tmg-white);
}

.cta-band {
  background:
    repeating-linear-gradient(-55deg, rgba(0, 0, 0, 0.12) 0 11px, transparent 11px 24px),
    var(--tmg-pink);
  border-block: 4px solid #000000;
}

.cta-band .button--pink,
.cta-band .button--yellow {
  background: #000000;
  border-color: #000000;
  box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.42);
  color: var(--tmg-white);
}

.cta-band .button--pink:hover,
.cta-band .button--pink:focus-visible,
.cta-band .button--yellow:hover,
.cta-band .button--yellow:focus-visible {
  background: var(--tmg-white);
  border-color: var(--tmg-white);
  color: var(--tmg-ink);
}

.site-footer {
  border-top: 3px solid var(--tmg-pink);
}

.footer-brand img {
  background: var(--tmg-pink);
}

.site-footer a:hover {
  color: var(--tmg-pink-hot);
}

.social-links a:hover {
  background: var(--tmg-pink);
  border-color: var(--tmg-pink);
  color: var(--tmg-ink);
}

/* Explicit contrast protection for pink surfaces and inherited button colors. */
.button,
.wp-element-button {
  color: var(--tmg-ink);
}

.button--light,
.button--outline {
  color: var(--tmg-white);
}

.section--pink,
.cta-band,
.contact-card {
  color: var(--tmg-white);
}

.section--pink a:not(.button),
.cta-band a:not(.button),
.contact-card a:not(.button) {
  color: var(--tmg-white);
}

.social-journal-fallback .button--outline {
  background: var(--tmg-white);
  border-color: var(--tmg-white);
  color: var(--tmg-ink);
}

.social-journal-fallback .button--outline:hover {
  background: var(--tmg-pink);
  border-color: var(--tmg-pink);
  color: var(--tmg-ink);
}

.page-numbers {
  background: var(--tmg-surface-raised);
  border-color: var(--tmg-border);
  color: var(--tmg-white);
}

@media (max-width: 820px) {
  .hero::before {
    background:
      linear-gradient(0deg, #000000 8%, rgba(0, 0, 0, 0.7) 100%),
      radial-gradient(circle at 70% 34%, rgba(231, 37, 126, 0.2), transparent 32%),
      var(--tmg-hero-image) 62% center / cover no-repeat;
  }

  .feature-card:nth-child(even) {
    transform: none;
  }

  .primary-navigation {
    border-bottom: 3px solid var(--tmg-pink);
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: clamp(2.7rem, 15vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2.1rem, 11vw, 3.25rem);
  }

  .hero {
    min-height: 700px;
  }

  .button {
    width: 100%;
  }

  .button-row {
    width: 100%;
  }

  .story-media::before {
    inset: 12px -8px -12px 10px;
  }

  .gallery-item:nth-child(3n + 1),
  .gallery-item:nth-child(3n + 2) {
    transform: none;
  }
}
