/* =============================================================================
   TCC Child Theme — Main Stylesheet
   Trinity Christian Center · Soldotna, AK
   ============================================================================= */

/* ── 1. Custom Properties ──────────────────────────────────────────────────── */
:root {
  --navy:        #1B3A5C;
  --navy-dark:   #0F2240;
  --navy-mid:    #234b74;
  --navy-light:  #2A5080;
  --gold:        #C9921A;
  --gold-dark:   #A87515;
  --gold-light:  #E8B84B;
  --gold-pale:   #FDF3DC;
  --off-white:   #F8F6F2;
  --white:       #FFFFFF;
  --text:        #1F2937;
  --text-muted:  #6B7280;
  --border:      #E5E7EB;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.12);
  --shadow-md:   0 4px 14px rgba(0,0,0,.14);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.18);
  --radius:      8px;
  --radius-lg:   16px;
  --container:   1200px;
  --gap:         2rem;
  --transition:  .25s ease;
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── 2. Base Reset / Typography ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
  margin-top: 0;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p { margin-top: 0; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; height: auto; display: block; }

/* ── 3. Container ──────────────────────────────────────────────────────────── */
.tcc-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.tcc-container--narrow { max-width: 800px; }
.tcc-container--wide   { max-width: 1400px; }

/* ── 4. Utility ────────────────────────────────────────────────────────────── */
.tcc-text-center  { text-align: center; }
.tcc-text-navy    { color: var(--navy); }
.tcc-text-gold    { color: var(--gold); }
.tcc-bg-navy      { background-color: var(--navy); }
.tcc-bg-navy-dark { background-color: var(--navy-dark); }
.tcc-bg-off-white { background-color: var(--off-white); }
.tcc-bg-gold-pale { background-color: var(--gold-pale); }
.tcc-sr-only      { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── 5. Section Layout ─────────────────────────────────────────────────────── */
.tcc-section {
  padding-block: 80px;
}

.tcc-section--sm   { padding-block: 48px; }
.tcc-section--lg   { padding-block: 120px; }
.tcc-section--snug { padding-bottom: 24px; }

.tcc-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.tcc-section-header__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .4rem;
}

.tcc-section-header h2,
.tcc-section-header h3 {
  margin: 0;
}

/* ── 6. Buttons ────────────────────────────────────────────────────────────── */
.tcc-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}

.tcc-btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.tcc-btn--gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

.tcc-btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.tcc-btn--navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
}

.tcc-btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.tcc-btn--outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.tcc-btn--outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.tcc-btn--outline-gold:hover {
  background: var(--gold);
  color: var(--white);
}

.tcc-btn--sm { padding: .5rem 1.25rem; font-size: .875rem; }
.tcc-btn--lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* ── 7. GeneratePress Header Overrides ─────────────────────────────────────── */
.site-header {
  background-color: var(--navy) !important;
  border-bottom: 3px solid var(--gold);
}

.site-title a,
.site-title a:hover {
  color: var(--white) !important;
  font-family: var(--font-head);
}

/* Primary nav links */
.main-navigation a {
  color: rgba(255,255,255,.9) !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--gold) !important;
}

/* Dropdown */
.main-navigation .sub-menu {
  background: var(--navy-dark);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
}
.main-navigation .sub-menu a {
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Mobile menu toggle */
.menu-toggle {
  color: var(--white) !important;
}

/* ── 8. Hero Section ───────────────────────────────────────────────────────── */
.tcc-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  overflow: hidden;
}

.tcc-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .35;
}

.tcc-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 55%),
    linear-gradient(135deg, rgba(15,34,64,.35) 0%, rgba(27,58,92,.15) 100%);
}

@keyframes tcc-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Wrapper provides positioning context for the radial glow and owns the fade-in */
.tcc-hero__logo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 24px;
  animation: tcc-fade-in 1s ease both;
}

/* Soft dark oval behind the logo — darkens only that area, no visible box edge */
.tcc-hero__logo-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 280px;
  background: radial-gradient(ellipse, rgba(0,0,0,.45) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Large centered logo in the homepage hero */
.tcc-hero__logo {
  display: block;
  position: relative;
  max-width: 340px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(255,255,255,.6)) drop-shadow(0 2px 8px rgba(0,0,0,.8));
}

.tcc-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 5rem 1.25rem;
  text-align: center;
}

.tcc-hero__eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.tcc-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}

.tcc-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.85);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.tcc-hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero CTA buttons — pill shape, overrides global border-radius */
.tcc-hero__actions .tcc-btn {
  border-radius: 50px !important;
  padding: 12px 28px;
}

/* ── 9. Service Times Strip ────────────────────────────────────────────────── */
.tcc-service-times {
  background: var(--navy);
  padding-block: 2rem;
}

.tcc-service-times__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}

.tcc-service-times__col {
  padding: 1.25rem 2.5rem;
  border-right: 1px solid rgba(255,255,255,.15);
}

.tcc-service-times__col:last-child {
  border-right: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tcc-service-times__group {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.tcc-service-times__item {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.tcc-service-times__day {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}

.tcc-service-times__time {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

/* Gold pill button inside the navy strip */
.tcc-service-times .tcc-btn--pill {
  background: var(--gold) !important;
  color: var(--white) !important;
}
.tcc-service-times .tcc-btn--pill:hover {
  background: var(--gold-dark) !important;
}

@media (max-width: 768px) {
  .tcc-service-times__grid { grid-template-columns: 1fr; }
  .tcc-service-times__col  { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .tcc-service-times__col:last-child { border-bottom: none; padding-top: 1.5rem; }
}

/* ── 10. Cards ─────────────────────────────────────────────────────────────── */
.tcc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.tcc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tcc-card__image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--navy);
}
.tcc-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.tcc-card:hover .tcc-card__image img {
  transform: scale(1.04);
}

.tcc-card__image--square { aspect-ratio: 1/1; }

.tcc-card__body   { padding: 1.5rem; }
.tcc-card__footer { padding: 0 1.5rem 1.5rem; }

.tcc-card__eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .4rem;
}

.tcc-card__title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: .5rem;
  line-height: 1.3;
}

.tcc-card__title a {
  color: inherit;
  text-decoration: none;
}
.tcc-card__title a:hover { color: var(--gold); }

.tcc-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: .75rem;
}

.tcc-card__meta-item { display: flex; align-items: center; gap: .3rem; }

.tcc-card__excerpt {
  font-size: .9rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Play button overlay for sermon thumbnails */
.tcc-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27,58,92,.35);
  transition: background var(--transition);
}
.tcc-card:hover .tcc-play-overlay {
  background: rgba(27,58,92,.5);
}

.tcc-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.tcc-play-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
  margin-left: 3px;
}
.tcc-card:hover .tcc-play-btn {
  transform: scale(1.1);
  background: var(--gold-dark);
}

/* ── 11. Grids ─────────────────────────────────────────────────────────────── */
.tcc-grid {
  display: grid;
  gap: var(--gap);
}

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

@media (max-width: 1024px) {
  .tcc-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .tcc-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .tcc-grid--3,
  .tcc-grid--2,
  .tcc-grid--4 { grid-template-columns: 1fr; }
}

/* ── 12. Staff Cards ───────────────────────────────────────────────────────── */
.tcc-staff-card {
  text-align: center;
}

.tcc-staff-card__photo {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  background: var(--off-white);
}

.tcc-staff-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.tcc-staff-card__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  font-family: var(--font-head);
  font-size: 3rem;
  color: rgba(255,255,255,.4);
}

.tcc-staff-card__info { padding: 1.25rem 1rem; }
.tcc-staff-card__name { font-size: 1.15rem; color: var(--navy); margin-bottom: .2rem; }
.tcc-staff-card__role { font-size: .875rem; color: var(--gold); font-weight: 700; }
.tcc-staff-card__email {
  margin-top: .75rem;
  font-size: .825rem;
  color: var(--text-muted);
  word-break: break-all;
}

/* ── 13. Event Cards ───────────────────────────────────────────────────────── */
.tcc-event-card__date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--white);
  border-radius: var(--radius);
  padding: .25rem .6rem;
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
  min-width: 52px;
}

.tcc-event-card__date-badge .month { font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; }
.tcc-event-card__date-badge .day   { font-size: 1.5rem; font-family: var(--font-head); }

/* ── 14. Mission / About Section ───────────────────────────────────────────── */
.tcc-mission {
  background: #ffffff;
  color: var(--text);
  padding-top: 24px;
}

.tcc-mission h2, .tcc-mission h3, .tcc-mission h4 { color: var(--navy); }
.tcc-mission p { color: var(--text); }

.tcc-mission__verse {
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--navy);
  margin-block: 2rem;
}

.tcc-doctrine {
  background: var(--navy);
  color: var(--white);
}

.tcc-doctrine h2 { color: var(--white); }

.tcc-doctrine__card {
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,.1);
}

.tcc-doctrine__card h4 {
  color: var(--gold-light);
  margin-bottom: .5rem;
}

.tcc-doctrine__card p {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  margin: 0;
  line-height: 1.65;
}

.tcc-mission__cite {
  display: block;
  font-size: .875rem;
  font-style: normal;
  color: var(--gold);
  margin-top: .5rem;
  font-family: var(--font-body);
  font-weight: 700;
}

/* Values grid */
.tcc-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .tcc-values { grid-template-columns: 1fr; }
}

.tcc-value {
  padding: 1.75rem;
  background: #f0f3f8;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  text-align: center;
}

.tcc-value__icon {
  display: block;
  margin-bottom: 1rem;
  color: var(--gold);
  line-height: 1;
}

.tcc-value h4 { color: var(--gold); margin-bottom: .5rem; }
.tcc-value p  { color: var(--text-muted); font-size: .9rem; }

/* ── 14b. Pastor Welcome ────────────────────────────────────────────────────── */
.tcc-pastor-welcome {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .tcc-pastor-welcome { grid-template-columns: 1fr; gap: 2rem; }
}

.tcc-pastor-welcome__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

.tcc-pastor-welcome__placeholder {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  min-height: 280px;
}

.tcc-pastor-welcome__quote {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--navy);
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
  margin-block: 1.5rem;
  line-height: 1.65;
}

.tcc-pastor-welcome__sig {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.tcc-pastor-welcome__sig strong { color: var(--navy); font-size: 1.05rem; }
.tcc-pastor-welcome__sig span   { color: var(--text-muted); font-size: .875rem; }

/* ── 14c. Scripture Quote ───────────────────────────────────────────────────── */
.tcc-scripture-quote {
  background: #ffffff;
  text-align: center;
}

.tcc-scripture-quote__block {
  max-width: 720px;
  margin: 0 auto;
}

.tcc-scripture-quote__text {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.75;
  margin: 0 0 1.25rem;
}

.tcc-scripture-quote__ref {
  display: block;
  font-size: .95rem;
  font-style: normal;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .05em;
}

/* ── 14d. Resource Cards ────────────────────────────────────────────────────── */
.tcc-resource-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.tcc-resource-card__image {
  width: 100%;
  height: 160px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.3);
  flex-shrink: 0;
}

.tcc-resource-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .75rem;
  flex: 1;
}

.tcc-resource-card h3 { color: var(--navy); margin: 0; font-size: 1.2rem; }
.tcc-resource-card p  { color: var(--text-muted); font-size: .95rem; margin: 0; flex: 1; }

.tcc-resources { background: #f0f3f8; }

/* ── 15. YouTube Embed ─────────────────────────────────────────────────────── */
.tcc-video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-dark);
  box-shadow: var(--shadow-lg);
}

.tcc-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── 16. Single Sermon Page ────────────────────────────────────────────────── */
.tcc-single-sermon {
  padding-block: 60px;
}

.tcc-sermon-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--off-white);
  border-radius: var(--radius);
  margin-block: 1.5rem;
  font-size: .9rem;
  color: var(--text-muted);
  border-left: 4px solid var(--gold);
}

.tcc-sermon-meta-bar strong { color: var(--navy); }

.tcc-sermon-content { margin-top: 2rem; }

/* ── 17. Single Event Page ─────────────────────────────────────────────────── */
.tcc-single-event {
  padding-block: 60px;
}

.tcc-event-details-box {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border-left: 5px solid var(--gold);
}

.tcc-event-details-box h4 {
  color: var(--gold);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.tcc-event-details-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tcc-event-details-box li {
  padding: .4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
  display: flex;
  gap: .75rem;
}

.tcc-event-details-box li:last-child { border-bottom: none; }
.tcc-event-details-box li span:first-child { font-weight: 700; color: var(--navy); min-width: 90px; }

/* ── 18. Single Staff Page ─────────────────────────────────────────────────── */
.tcc-single-staff {
  padding-block: 60px;
}

.tcc-staff-profile {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .tcc-staff-profile { grid-template-columns: 1fr; }
}

.tcc-staff-profile__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1/1;
  background: var(--off-white);
}

.tcc-staff-profile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.tcc-staff-profile__role {
  font-size: 1rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

.tcc-staff-profile__contact { margin-top: 1.5rem; }
.tcc-staff-profile__contact a {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: .4rem;
}
.tcc-staff-profile__contact a:hover { color: var(--gold); }

/* ── 19. Standard Single Post Layout (GeneratePress fallback) ───────────────── */

/* Constrain the GeneratePress inside-article wrapper so text never runs edge-to-edge */
body.single-post .inside-article {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: 1.25rem;
  padding-block: 60px;
}

body.single-post .entry-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
}

body.single-post .entry-content p,
body.single-post .entry-content ul,
body.single-post .entry-content ol {
  margin-bottom: 1.25rem;
}

body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4 {
  font-family: var(--font-head);
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: .75rem;
}

body.single-post .entry-content blockquote {
  border-left: 4px solid var(--gold);
  margin: 1.5rem 0;
  padding: .75rem 1.25rem;
  font-style: italic;
  color: var(--text-muted);
}

body.single-post .entry-title {
  font-family: var(--font-head);
  color: var(--navy);
  margin-bottom: .5rem;
}

body.single-post .entry-meta {
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Comments section — match inside-article max-width and padding */
body.single-post .comments-area {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: 1.25rem;
  padding-bottom: 60px;
}

/* ── 20. Sermons Archive / Page ────────────────────────────────────────────── */
.tcc-sermon-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: var(--off-white);
  border-radius: var(--radius);
}

.tcc-sermon-filters select {
  padding: .5rem .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
}

/* ── 20. Contact Page ──────────────────────────────────────────────────────── */
.tcc-contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .tcc-contact-layout { grid-template-columns: 1fr; }
}

.tcc-contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.tcc-contact-info-card h3 { color: var(--white); margin-bottom: 1.5rem; }

.tcc-contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: .95rem;
  color: rgba(255,255,255,.85);
}

.tcc-contact-info-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.tcc-contact-info-item a { color: var(--gold-light); }
.tcc-contact-info-item a:hover { color: var(--white); }

/* ── 21. Give / Donate Page ────────────────────────────────────────────────── */
.tcc-give-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.tcc-give-hero h1 { color: var(--white); }
.tcc-give-hero p  { color: rgba(255,255,255,.85); max-width: 600px; margin-inline: auto; }

.tcc-give-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 720px;
  margin-inline: auto;
  margin-top: 2.5rem;
}

@media (max-width: 768px) {
  .tcc-give-options { grid-template-columns: 1fr; }
}

.tcc-give-option {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
}

.tcc-give-option:hover { transform: translateY(-4px); }

.tcc-give-option__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  height: 48px;
}

.tcc-give-option h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: .5rem; }
.tcc-give-option p  { font-size: .875rem; color: var(--text-muted); margin-bottom: 1.25rem; }

/* ── 22. CTA Banner ────────────────────────────────────────────────────────── */
.tcc-cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.tcc-cta-banner h2 { color: var(--white); margin-bottom: .75rem; }
.tcc-cta-banner p  { color: rgba(255,255,255,.8); max-width: 600px; margin: 0 auto 2rem; }

/* ── 23. Page Hero (inner pages) ───────────────────────────────────────────── */
.tcc-page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.tcc-page-hero h1 { color: var(--white); margin: 0; }
.tcc-page-hero p  { color: rgba(255,255,255,.75); margin-top: .5rem; font-size: 1.1rem; }

.tcc-breadcrumb {
  display: flex;
  justify-content: center;
  gap: .4rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.tcc-breadcrumb a { color: rgba(255,255,255,.6); }
.tcc-breadcrumb a:hover { color: var(--gold-light); }
.tcc-breadcrumb .sep { opacity: .4; }

/* ── 24. Footer ────────────────────────────────────────────────────────────── */
.tcc-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.8);
}

.tcc-footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 64px 0 48px;
}

@media (max-width: 1024px) {
  .tcc-footer__main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .tcc-footer__main { grid-template-columns: 1fr; }
}

.tcc-footer__brand .site-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 700;
  display: block;
  margin-bottom: .25rem;
}

.tcc-footer__tagline {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.25rem;
}

.tcc-footer__social {
  display: flex;
  gap: .75rem;
}

.tcc-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: .9rem;
  transition: background var(--transition), color var(--transition);
}

.tcc-footer__social a:hover { background: var(--gold); color: var(--white); }

.footer-widget__title {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.tcc-footer nav ul,
.tcc-footer__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tcc-footer nav ul li,
.tcc-footer__links li { margin-bottom: .5rem; }

.tcc-footer nav ul a,
.tcc-footer__links a {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  transition: color var(--transition);
}

.tcc-footer nav ul a:hover,
.tcc-footer__links a:hover { color: var(--gold-light); }

.tcc-footer__contact-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .75rem;
}

.tcc-footer__contact-item span:first-child {
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: .1rem;
}

.tcc-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

/* ── 25. Pagination ────────────────────────────────────────────────────────── */
.tcc-pagination {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.tcc-pagination a,
.tcc-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 700;
  border: 1px solid var(--border);
  color: var(--navy);
  transition: all var(--transition);
}

.tcc-pagination a:hover,
.tcc-pagination .current {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ── 26. Forms (Contact / Newsletter) ─────────────────────────────────────── */
.tcc-form .form-group { margin-bottom: 1.25rem; }

.tcc-form label {
  display: block;
  font-weight: 700;
  font-size: .875rem;
  color: var(--navy);
  margin-bottom: .4rem;
}

.tcc-form input[type="text"],
.tcc-form input[type="email"],
.tcc-form input[type="tel"],
.tcc-form textarea,
.tcc-form select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.tcc-form input:focus,
.tcc-form textarea:focus,
.tcc-form select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,146,26,.15);
}

.tcc-form textarea { min-height: 140px; resize: vertical; }

/* ── 27. No Results / Empty State ──────────────────────────────────────────── */
.tcc-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.tcc-empty-state h3 { color: var(--navy); }

/* ── 28. Responsive Tweaks ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .tcc-section { padding-block: 56px; }
  .tcc-hero { min-height: 70vh; }
  .tcc-hero__title { font-size: 2rem; }
  .tcc-hero__actions { flex-direction: column; align-items: center; }
  .tcc-service-times__inner { gap: 1rem; }
  .tcc-contact-info-card { margin-top: 2rem; }
}

@media (max-width: 480px) {
  .tcc-section { padding-block: 40px; }
  .tcc-btn--lg { padding: .875rem 1.5rem; font-size: 1rem; }
}

/* =============================================================================
   COMPONENT ADDITIONS — Header · Footer · Video Hero · Anniversary Banner
   ============================================================================= */

/* ── Skip link ─────────────────────────────────────────────────────────────── */
.tcc-skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
  padding: .6rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
  transition: top .15s;
}
.tcc-skip-link:focus { top: 0; }

/* ── Custom Header ─────────────────────────────────────────────────────────── */
.tcc-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #ffffff;
  border-bottom: 3px solid #C9921A;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: box-shadow .25s ease;
}

.tcc-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.13);
}

/* Fixed 76px bar — total visible height = 76px + 3px border = 79px */
#tcc-header .tcc-header__bar {
  display: flex !important;
  align-items: center !important;
  height: 76px;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  gap: 1.25rem;
}

/* ── Logo ── */
.tcc-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-right: auto;       /* pushes nav + actions to the right */
}

.tcc-header__logo .custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
}

/* Constrain logo: max 160px wide, max 44px tall — scales down proportionally */
.tcc-header__logo .custom-logo {
  max-width: 160px !important;
  max-height: 44px !important;
  width: auto !important;
  height: auto !important;
  display: block;
}

/* Text fallback when no custom logo is uploaded */
.tcc-site-name {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
  max-width: 160px;
}

.tcc-site-name__main {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1B3A5C;
  white-space: nowrap;
}

.tcc-site-name__tagline {
  font-family: 'Nunito Sans', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #C9921A;
}

/* ── Desktop Nav ──
   Use ID + class for specificity high enough to override GeneratePress base ul styles */
#tcc-primary-nav.tcc-nav {
  display: flex !important;
  align-items: center !important;
  flex: 1 !important;
  justify-content: flex-end !important;
}

#tcc-header .tcc-nav__list {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
}

#tcc-header .tcc-nav__list > li {
  position: relative;
  display: block !important;
  float: none !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#tcc-header .tcc-nav__list > li > a {
  display: block !important;
  padding: .45rem .875rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #1B3A5C;
  text-decoration: none !important;
  border-radius: 6px;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
  line-height: 1.4;
}

#tcc-header .tcc-nav__list > li > a:hover,
#tcc-header .tcc-nav__list > .current-menu-item > a,
#tcc-header .tcc-nav__list > .current-menu-ancestor > a,
#tcc-header .tcc-nav__list > .current-page-ancestor > a {
  color: #C9921A !important;
  background: rgba(201,146,26,.09);
}

/* ── Dropdown sub-menus ── */
#tcc-header .tcc-nav__list .sub-menu {
  display: none !important;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 210px;
  background: #ffffff;
  border-top: 3px solid #C9921A;
  border-radius: 0 8px 8px 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,.18);
  list-style: none !important;
  padding: .5rem 0 !important;
  margin: 0 !important;
  z-index: 200;
  flex-direction: column !important;
}

#tcc-header .tcc-nav__list .menu-item-has-children:hover > .sub-menu,
#tcc-header .tcc-nav__list .menu-item-has-children:focus-within > .sub-menu {
  display: block !important;
}

#tcc-header .tcc-nav__list .sub-menu li {
  display: block !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#tcc-header .tcc-nav__list .sub-menu a {
  display: block !important;
  padding: .55rem 1.25rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: .875rem;
  font-weight: 600;
  color: #1B3A5C;
  text-decoration: none !important;
  transition: color .2s ease, background .2s ease;
}

#tcc-header .tcc-nav__list .sub-menu a:hover {
  color: #C9921A !important;
  background: #F8F6F2;
}

/* ── Header actions wrapper ── */
.tcc-header__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

/* ── Social icons in header ── */
.tcc-header__social {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.tcc-header__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #1B3A5C;
  background: transparent;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
  flex-shrink: 0;
}

.tcc-header__social-link:hover {
  color: #C9921A;
  background: rgba(201,146,26,.1);
}

/* Thin divider between social icons and pill button */
.tcc-header__social + .tcc-btn--pill {
  margin-left: .375rem;
}

/* ── Plan a Visit pill button ── */
.tcc-btn--pill {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50px !important;
  padding: 10px 24px !important;
  background: #C9921A !important;
  color: #ffffff !important;
  font-family: 'Nunito Sans', sans-serif;
  font-size: .875rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border: none !important;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
  line-height: 1;
  letter-spacing: .01em;
}

.tcc-btn--pill:hover {
  background: #A87515 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* ── Hamburger (mobile only) ── */
.tcc-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1.5px solid #E5E7EB;
  border-radius: 6px;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .2s ease, background .2s ease;
}

.tcc-hamburger:hover {
  background: #F8F6F2;
  border-color: #C9921A;
}

.tcc-hamburger__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #1B3A5C;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  pointer-events: none;
}

.tcc-hamburger[aria-expanded="true"] .tcc-hamburger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.tcc-hamburger[aria-expanded="true"] .tcc-hamburger__bar:nth-child(2) {
  opacity: 0;
}
.tcc-hamburger[aria-expanded="true"] .tcc-hamburger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile nav panel ── */
.tcc-mobile-nav {
  background: #ffffff;
  border-top: 1px solid #E5E7EB;
  padding-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.tcc-mobile-nav__list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tcc-mobile-nav__list > li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.tcc-mobile-nav__list > li > a {
  display: block;
  padding: .875rem 1.5rem;
  color: #1B3A5C;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid #E5E7EB;
  transition: color .2s ease, background .2s ease;
}

.tcc-mobile-nav__list > li > a:hover,
.tcc-mobile-nav__list > .current-menu-item > a {
  color: #C9921A;
  background: rgba(201,146,26,.05);
}

.tcc-mobile-nav__list .sub-menu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #F8F6F2;
}

.tcc-mobile-nav__list .sub-menu li {
  list-style: none !important;
  display: block !important;
}

.tcc-mobile-nav__list .sub-menu a {
  display: block;
  padding: .65rem 2.25rem;
  color: #1F2937;
  font-size: .9rem;
  text-decoration: none;
  border-bottom: 1px solid #E5E7EB;
  transition: color .2s ease;
}

.tcc-mobile-nav__list .sub-menu a:hover { color: #C9921A; }

.tcc-mobile-nav__cta {
  padding: 1.25rem 1.5rem 0;
}

/* ── Responsive: show hamburger below 960px ── */
@media (max-width: 960px) {
  #tcc-primary-nav.tcc-nav { display: none !important; }
  .tcc-hamburger { display: flex; }
  .tcc-header__actions .tcc-btn--pill { display: none !important; }
  .tcc-header__social { display: none; }
}

@media (max-width: 640px) {
  #tcc-header .tcc-header__bar { height: 64px; padding-inline: 1rem; }
}

/* ── Video Hero ─────────────────────────────────────────────────────────────── */
.tcc-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

/* Static image layer — always visible as the base */
.tcc-hero__bg-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  transition: opacity .6s ease;
}

/* Video layer — sits above image; JS fades image out once playing */
.tcc-hero__video {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Overlay and content sit above both media layers */
.tcc-hero .tcc-hero__overlay { z-index: 3; }
.tcc-hero .tcc-hero__content { z-index: 4; }

/* Respect reduced-motion preference — hide video, show image */
@media (prefers-reduced-motion: reduce) {
  .tcc-hero__video { display: none; }
}

/* ── 40th Anniversary Banner ───────────────────────────────────────────────── */
.tcc-anniversary-banner {
  background: var(--gold);
  padding-block: 1.125rem;
}

.tcc-anniversary-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.tcc-anniversary-banner__emblem {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  border: 2px solid rgba(255,255,255,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tcc-anniversary-banner__number {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.tcc-anniversary-banner__text {
  text-align: center;
}

.tcc-anniversary-banner__title {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(.95rem, 2.5vw, 1.2rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

.tcc-anniversary-banner__sub {
  display: block;
  font-family: var(--font-body);
  font-size: .775rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(27,58,92,.65);
  margin-top: .2rem;
}

.tcc-anniversary-banner__cta {
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .tcc-anniversary-banner__emblem { display: none; }
  .tcc-anniversary-banner__cta { margin-top: .25rem; width: 100%; justify-content: center; }
}

/* ── Footer — additional rules for new footer.php markup ───────────────────── */
.tcc-footer__site-name {
  display: block;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .35rem;
}

.tcc-footer__logo {
  display: block;
  margin-bottom: .75rem;
}

.tcc-footer__logo .custom-logo {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.tcc-footer__col-heading {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

/* Footer link lists generated by wp_nav_menu */
.tcc-footer__links,
.tcc-footer__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tcc-footer__links li { margin-bottom: .5rem; }

.tcc-footer__links a {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  text-decoration: none;
  transition: color var(--transition);
}

.tcc-footer__links a:hover { color: var(--gold-light); }

/* Service times in footer */
.tcc-footer__service-times {
  margin-top: 1.25rem;
}

.tcc-footer__service-label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
}

.tcc-footer__service-item {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  padding: .3rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.tcc-footer__service-item span:first-child {
  font-weight: 600;
  color: rgba(255,255,255,.8);
}

/* Contact item — SVG icon version */
.tcc-footer__contact-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .9rem;
}

.tcc-footer__contact-item > span {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: .1rem;
  line-height: 0;
}

.tcc-footer__contact-item a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color var(--transition);
}

.tcc-footer__contact-item a:hover { color: var(--gold-light); }

/* Footer bottom bar — inner flex container */
.tcc-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.125rem;
}

.tcc-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

.tcc-footer__bottom-inner a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color var(--transition);
}

.tcc-footer__bottom-inner a:hover { color: var(--gold-light); }

/* Social icons — SVG variant */
.tcc-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--white);
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.tcc-footer__social a:hover {
  background: var(--gold);
  color: var(--white);
}

/* Footer responsive */
@media (max-width: 1024px) {
  .tcc-footer__main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .tcc-footer__main { grid-template-columns: 1fr; }
  .tcc-footer__bottom-inner { flex-direction: column; text-align: center; }
}

/* =============================================================================
   Inner-Page Template Styles
   ============================================================================= */

/* ── Page hero eyebrow ─────────────────────────────────────────────────────── */
.tcc-page-hero__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: .6rem;
}

/* ── 25. Devotional Cards ──────────────────────────────────────────────────── */
.tcc-devotional-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.tcc-devotional-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.tcc-devotional-card__label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}
.tcc-devotional-card h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin: 0;
  line-height: 1.3;
}
.tcc-devotional-card p {
  color: var(--text-muted);
  font-size: .95rem;
  margin: 0;
  flex: 1;
}

/* ── 26. New-Believer Step Cards ───────────────────────────────────────────── */
.tcc-step-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 768px) {
  .tcc-step-cards { grid-template-columns: 1fr; }
}

.tcc-step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.tcc-step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}
.tcc-step-card h3 { color: var(--navy); margin: 0; font-size: 1.2rem; }
.tcc-step-card p  { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* ── 27. Partner Cards (Missions) ──────────────────────────────────────────── */
.tcc-partner-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .9rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.tcc-partner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.tcc-partner-card__logo {
  width: 100%;
  height: 90px;
  background: #f0f3f8;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  border: 1px solid var(--border);
}
.tcc-partner-card h3 { color: var(--navy); font-size: 1.05rem; margin: 0; }
.tcc-partner-card p  { color: var(--text-muted); font-size: .875rem; margin: 0; flex: 1; }
.tcc-partner-card a  { font-size: .875rem; font-weight: 700; color: var(--gold); text-decoration: none; }
.tcc-partner-card a:hover { color: var(--gold-dark); text-decoration: underline; }

/* Placeholder partner card */
.tcc-partner-card--placeholder {
  border-style: dashed;
  background: #f8f9fb;
}
.tcc-partner-card--placeholder .tcc-partner-card__logo {
  background: transparent;
  border-style: dashed;
}

/* ── 28. Volunteer Cards ───────────────────────────────────────────────────── */
.tcc-volunteer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .tcc-volunteer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .tcc-volunteer-grid { grid-template-columns: 1fr; }
}

.tcc-volunteer-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .6rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.tcc-volunteer-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.tcc-volunteer-card__icon { color: var(--gold); line-height: 1; }
.tcc-volunteer-card h3    { color: var(--navy); font-size: 1rem; margin: 0; }
.tcc-volunteer-card p     { color: var(--text-muted); font-size: .875rem; margin: 0; }

/* ── 29. Member Portal ─────────────────────────────────────────────────────── */
.tcc-coming-soon-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.tcc-coming-soon-card__icon {
  color: var(--navy);
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
}
.tcc-coming-soon-card h2 { color: var(--navy); font-size: 1.4rem; margin-bottom: .75rem; }
.tcc-coming-soon-card p  { color: var(--text-muted); margin-bottom: 1.75rem; line-height: 1.7; }

.tcc-login-prompt {
  max-width: 440px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.tcc-login-prompt h2 { color: var(--navy); margin-bottom: .5rem; font-size: 1.4rem; }
.tcc-login-prompt p  { color: var(--text-muted); margin-bottom: 1.75rem; font-size: .95rem; }

/* Style the WP default login form inside the prompt */
.tcc-login-prompt .login-username label,
.tcc-login-prompt .login-password label {
  display: block;
  text-align: left;
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .3rem;
}
.tcc-login-prompt .login-username input,
.tcc-login-prompt .login-password input {
  width: 100%;
  padding: .6rem .875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  margin-bottom: 1rem;
}
.tcc-login-prompt .login-submit input {
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: .65rem 2rem;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.tcc-login-prompt .login-submit input:hover { background: var(--gold-dark); }

/* ── 30. Prayer Page ───────────────────────────────────────────────────────── */
.tcc-prayer-form-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.tcc-prayer-encouragement {
  max-width: 600px;
  margin: 2.5rem auto 0;
  text-align: center;
  padding: 1.5rem 2rem;
  background: #f0f3f8;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold);
  text-align: left;
}
.tcc-prayer-encouragement p {
  color: var(--text-muted);
  font-size: .95rem;
  margin: 0;
  font-style: italic;
  line-height: 1.7;
}
}

/* ── 31. WPForms Brand Overrides ────────────────────────────────────────────── */
button.wpforms-submit,
.wpforms-form button[type=submit],
.wpforms-container button.wpforms-submit,
#wpforms-form button.wpforms-submit,
.wpforms-form .wpforms-submit-container button {
  background-color: #C9921A !important;
  background:       #C9921A !important;
  border-color:     #C9921A !important;
  color:            #ffffff !important;
  border-radius:    50px    !important;
  padding:          12px 32px !important;
  font-family:      'Nunito Sans', sans-serif !important;
  font-weight:      600 !important;
}

button.wpforms-submit:hover,
.wpforms-form button[type=submit]:hover {
  background-color: #b8820f !important;
  background:       #b8820f !important;
  border-color:     #b8820f !important;
}
