/*
Theme Name: TomTreyco Understrap Child Modern v59 (Community + RMHC Slider Cleanup)
Theme URI: https://tomtreyco.com
Description: UnderStrap child theme with stable header, Digital Fundraisers template, and guaranteed mobile nav toggler.
Author: ChatGPT
Template: understrap
Version: 59.0.0
Text Domain: tomtreyco-understrap-child
*/

:root{
  --tt-red:#D52B1E;
  --tt-yellow:#F8C51B;
  --tt-ink:#0f172a;
  --tt-muted:#475569;
  --tt-border:#e5e7eb;
  --tt-bg:#ffffff;
  --tt-soft:#f8fafc;
  --tt-cream:#fff7df;
  --tt-radius:18px;
  --tt-shadow:0 10px 26px rgba(2,6,23,.06);
}

body{background:var(--tt-bg);color:var(--tt-ink);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}
a{color:var(--tt-red);} a:hover{color:#b92318;}
body.tt-hide-page-title .entry-title, body.tt-hide-page-title .page-title{display:none!important;}

/* Header / Nav base */
#main-nav, .navbar{background:#fff!important;border-bottom:1px solid rgba(15,23,42,.08);}
.navbar{padding-top:.55rem;padding-bottom:.55rem;}
.navbar .navbar-brand img{display:block;height:44px;width:auto;object-fit:contain;}
@media (max-width:991px){.navbar .navbar-brand img{height:40px;}}

.navbar-nav .nav-link{color:var(--tt-ink)!important;font-weight:800;padding:.55rem .75rem;}
.navbar-nav .nav-link:hover,.navbar-nav .nav-link:focus{color:var(--tt-red)!important;}

/* Mobile nav toggler (show only <992px) */
.navbar-toggler{
  display:none;
  align-items:center;
  justify-content:center;
  width:44px;
  height:40px;
  padding:0;
  border-radius:12px;
  border:1px solid rgba(15,23,42,.16)!important;
  background:rgba(15,23,42,.03)!important;
}
@media (max-width:991px){.navbar-toggler{display:inline-flex;}}
.navbar-toggler:focus{box-shadow:0 0 0 4px rgba(213,43,30,.15)!important;}
.navbar-toggler-icon{
  width:22px;height:22px;display:block;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%230f172a' d='M4 6.5h16a.75.75 0 1 0 0-1.5H4a.75.75 0 1 0 0 1.5Zm16 5H4a.75.75 0 1 0 0 1.5h16a.75.75 0 1 0 0-1.5Zm0 6H4a.75.75 0 1 0 0 1.5h16a.75.75 0 1 0 0-1.5Z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:center;
  background-size:22px 22px;
}

/* Header CTA buttons */
.tt-header-actions{display:flex;gap:10px;align-items:center;}
.tt-btn{
  display:inline-flex;align-items:center;justify-content:center;
  height:38px;padding:0 14px;border-radius:999px;
  font-weight:900;border:2px solid transparent;text-decoration:none!important;white-space:nowrap;line-height:1;
}
.tt-btn--red{background:var(--tt-red);color:#fff;}
.tt-btn--red:hover{filter:brightness(.95);color:#fff;}
.tt-btn--yellow{background:var(--tt-yellow);color:#111827;}
.tt-btn--yellow:hover{filter:brightness(.98);color:#111827;}

/* Cards */
.tt-card{background:#fff;border:1px solid rgba(15,23,42,.10);border-radius:var(--tt-radius);box-shadow:var(--tt-shadow);}
.btn,button,input[type="submit"]{border-radius:999px;font-weight:900;}
.btn-primary{background:var(--tt-red)!important;border-color:var(--tt-red)!important;}
.btn-warning{background:var(--tt-yellow)!important;border-color:var(--tt-yellow)!important;color:#111827!important;}

/* ===== Digital Fundraisers (same as v30) ===== */
.tt-df-hero{border:1px solid rgba(15,23,42,.10);border-radius:22px;background:linear-gradient(135deg, rgba(255,199,44,.16), rgba(213,43,30,.06) 45%, rgba(15,23,42,.02));box-shadow:var(--tt-shadow);overflow:hidden;}
.tt-df-pill{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  background:rgba(248,197,27,.95);
  color:#111827;
  font-weight:800;
  /* Bigger + more “section-title” presence */
  font-size:clamp(1.15rem, 1vw + 1rem, 1.6rem) !important;
  line-height:1 !important;
  padding:clamp(.5rem, .45vw + .45rem, .75rem) clamp(1.1rem, .8vw + 1rem, 1.6rem) !important;
  border-radius:999px !important;
  box-shadow:0 6px 18px rgba(2,6,23,.08);
}
@media (min-width:992px){.tt-df-pill{font-size:1.4rem;padding:14px 24px;}}
.tt-df-h1{font-size:clamp(2.1rem, 3.7vw, 3.25rem);line-height:1.06;letter-spacing:-.02em;margin:.5rem 0 1rem;}
.tt-df-sub{color:var(--tt-muted);font-size:1.05rem;max-width:52ch;}
.tt-df-actions{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-top:18px;}
.tt-df-img{border-radius:18px;box-shadow:0 16px 36px rgba(2,6,23,.14);width:100%;height:auto;object-fit:cover;}

/* Mobile spacing: keep hero buttons from touching the image */
@media (max-width: 991px){
  .tt-df-actions{margin-bottom:14px;}
  .tt-df-img{margin-top:8px;}
}
.tt-section-title{font-size:2rem;font-weight:950;letter-spacing:-.02em;margin:36px 0 14px;}
.tt-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
@media (max-width:991px){.tt-steps{grid-template-columns:1fr;}}
.tt-step{padding:18px;}
.tt-step h4{font-size:1.25rem;font-weight:950;margin:0 0 6px;}
.tt-step p{margin:0;color:var(--tt-muted);}
.tt-df-form-wrap{display:grid;grid-template-columns:1.6fr .9fr;gap:18px;align-items:start;margin-top:16px;}
@media (max-width:991px){.tt-df-form-wrap{grid-template-columns:1fr;}}
.tt-side-stack{display:flex;flex-direction:column;gap:14px;}
.tt-side-box{padding:16px;}
.tt-side-box h4{margin:0 0 6px;font-size:1.05rem;font-weight:950;}
.tt-side-box p{margin:0 0 10px;color:var(--tt-muted);}
.tt-side-box ol{margin:0;padding-left:18px;}
.tt-bubble-btn{display:flex;align-items:center;justify-content:center;height:42px;border-radius:999px;font-weight:950;background:var(--tt-yellow);color:#111827;text-decoration:none!important;border:2px solid rgba(17,24,39,.08);}
.tt-bubble-btn:hover{filter:brightness(.98);color:#111827;}

/* Details (micro-polish) */
.tt-df-details{margin-top:20px;padding:18px 18px 16px;border-radius:20px;background:var(--tt-cream);border:1px solid rgba(15,23,42,.10);position:relative;overflow:hidden;}
.tt-df-details:before{content:"";position:absolute;left:0;right:0;top:0;height:6px;background:var(--tt-red);}
.tt-df-details h2{margin:0 0 8px;font-size:2rem;font-weight:950;letter-spacing:-.02em;}
.tt-df-details .tt-df-donate{margin:0 0 14px;font-size:1.15rem;line-height:1.15;font-weight:900;color:#111827;}
.tt-df-details .tt-df-donate strong{color:var(--tt-red);font-weight:950;}
.tt-df-details__grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:stretch;}
@media (max-width:991px){.tt-df-details__grid{grid-template-columns:1fr;}}
@media (min-width:992px){
  .tt-df-details__grid > :first-child{position:relative;}
  .tt-df-details__grid > :first-child::after{content:"";position:absolute;top:10px;bottom:10px;right:-7px;width:1px;background:rgba(15,23,42,.10);}
}
.tt-df-mini{background:rgba(255,255,255,.75);border:1px solid rgba(0,0,0,.08);border-radius:16px;padding:14px 14px 12px;}
.tt-df-mini h4{margin:0 0 10px;font-size:14px;font-weight:950;color:#111827;display:flex;align-items:center;gap:8px;}
.tt-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-weight:900;font-size:12px;background:rgba(15,23,42,.06);border:1px solid rgba(15,23,42,.10);white-space:nowrap;}
.tt-df-mini ul{margin:0;padding:0;list-style:none;display:grid;gap:6px;}
.tt-df-mini li{display:flex;gap:8px;align-items:flex-start;font-weight:650;line-height:1.25;color:#111827;}
.tt-df-mini li::before{content:"";width:8px;height:8px;border-radius:999px;margin-top:4px;background:rgba(213,43,30,.95);flex:0 0 8px;box-shadow:0 0 0 3px rgba(213,43,30,.12);}

/* === Gravity Forms submit button: force TomTreyco red on all views === */
.gform_wrapper input[type="submit"],
.gform_wrapper .gform_button,
.gform_wrapper button[type="submit"]{
  background: var(--tt-red) !important;
  border-color: var(--tt-red) !important;
  color:#fff !important;
  font-weight:900;
  border-radius:999px;
}
.gform_wrapper input[type="submit"]:hover,
.gform_wrapper .gform_button:hover,
.gform_wrapper button[type="submit"]:hover{
  filter: brightness(.95);
}

/* === Digital Fundraisers hero label + pill size increase === */
.df-hero .df-eyebrow,
.df-hero .badge,
.df-hero .pill,
.df-hero .section-label {
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

@media (min-width: 768px) {
  .df-hero .df-eyebrow,
  .df-hero .badge,
  .df-hero .pill,
  .df-hero .section-label {
    font-size: 1.05rem;
    padding: 0.6rem 1.25rem;
  }
}

/* ===== Locations (CPT) ===== */
.tt-locations-hero{
  border:1px solid rgba(15,23,42,.10);
  border-radius:22px;
  background:linear-gradient(135deg, rgba(255,199,44,.14), rgba(213,43,30,.05) 52%, rgba(15,23,42,.02));
  box-shadow: var(--tt-shadow);
  overflow:hidden;
}
.tt-locations-hero h1{margin:0;font-weight:950;letter-spacing:-.02em;font-size:clamp(2rem,3.4vw,3rem);}
.tt-locations-hero p{margin:.5rem 0 0;color:var(--tt-muted);max-width:70ch;}

.tt-loc-toolbar{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  margin:18px 0 14px;
}
.tt-loc-search{
  flex: 1 1 320px;
  max-width: 520px;
}
.tt-loc-search input{
  width:100%;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.16);
  padding:0 14px;
  font-weight:700;
}
.tt-loc-filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.tt-chip-btn{
  height:38px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.16);
  background:#fff;
  font-weight:900;
  cursor:pointer;
}
.tt-chip-btn.is-active{
  border-color: rgba(213,43,30,.45);
  background: rgba(213,43,30,.08);
  color: var(--tt-red);
}

.tt-loc-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
@media (max-width: 991px){ .tt-loc-grid{grid-template-columns: 1fr;} }
@media (min-width: 992px) and (max-width: 1199px){ .tt-loc-grid{grid-template-columns: repeat(2, 1fr);} }

.tt-loc-card{
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  box-shadow: var(--tt-shadow);
  display:flex;
  flex-direction:column;
  min-height: 100%;
}
.tt-loc-thumb{
  aspect-ratio: 16 / 9;
  width:100%;
  background: rgba(15,23,42,.04);
  display:block;
  object-fit: cover;
}
.tt-loc-body{padding:14px 14px 12px;display:flex;flex-direction:column;gap:10px;flex:1;}
.tt-loc-title{
  margin:0;
  font-size:1.05rem;
  font-weight:950;
  line-height:1.15;
}
.tt-loc-meta{
  margin:0;
  color: var(--tt-muted);
  font-weight:650;
  font-size:.95rem;
  line-height:1.25;
}
.tt-loc-actions{margin-top:auto;display:flex;gap:10px;flex-wrap:wrap;}
.tt-loc-actions a{flex:0 0 auto;}
.tt-loc-badge{
  display:inline-flex;align-items:center;gap:6px;
  font-size:12px;font-weight:950;
  padding:5px 10px;border-radius:999px;
  background: rgba(255,199,44,.40);
  border:1px solid rgba(15,23,42,.10);
  color:#111827;
}

.tt-loc-single{
  border:1px solid rgba(15,23,42,.10);
  border-radius:22px;
  background:#fff;
  box-shadow: var(--tt-shadow);
  overflow:hidden;
}
.tt-loc-single__grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap:0;
}
@media (max-width: 991px){ .tt-loc-single__grid{grid-template-columns:1fr;} }
.tt-loc-single__media{
  background: rgba(15,23,42,.04);
  min-height: 260px;
}
.tt-loc-single__media img{width:100%;height:100%;object-fit:cover;display:block;}
.tt-loc-single__content{padding:18px 18px 16px;}
.tt-loc-single__h1{margin:0 0 6px;font-size:2rem;font-weight:950;letter-spacing:-.02em;}
.tt-loc-single__sub{margin:0 0 14px;color:var(--tt-muted);font-weight:650;}
.tt-kv{display:grid;grid-template-columns: 140px 1fr;gap:8px 12px;margin:0;}
@media (max-width: 480px){ .tt-kv{grid-template-columns: 1fr; gap:6px;} }
.tt-kv dt{font-weight:950;color:#111827;}
.tt-kv dd{margin:0;color:var(--tt-muted);font-weight:650;}
.tt-divider{height:1px;background:rgba(15,23,42,.10);margin:14px 0;}
.tt-note{background:rgba(255,199,44,.25);border:1px solid rgba(15,23,42,.10);border-radius:16px;padding:12px 12px;font-weight:700;color:#111827;}

/* ===== Locations Modal (best-of-both) ===== */
.tt-modal-backdrop{position:fixed; inset:0; background:rgba(2,6,23,.55); display:none; z-index:9998;}
.tt-modal{position:fixed; inset:0; display:none; z-index:9999; padding:18px; overflow:auto;}
.tt-modal.is-open, .tt-modal-backdrop.is-open{display:block;}
.tt-modal__panel{max-width:980px; margin:36px auto; background:#fff; border-radius:22px; border:1px solid rgba(15,23,42,.12);
  box-shadow:0 30px 70px rgba(2,6,23,.22); overflow:hidden;}
.tt-modal__grid{display:grid; grid-template-columns:1.15fr 1fr;}
@media (max-width:991px){.tt-modal__grid{grid-template-columns:1fr;} .tt-modal__panel{margin:18px auto;}}
.tt-modal__media{background:rgba(15,23,42,.04); min-height:240px;}
.tt-modal__media img{width:100%;height:100%;object-fit:cover;display:block;}
.tt-modal__body{padding:16px 16px 14px;}
.tt-modal__top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;}
.tt-modal__title{margin:0;font-size:1.65rem;font-weight:950;letter-spacing:-.02em;line-height:1.1;}
.tt-modal__close{width:42px;height:42px;border-radius:12px;border:1px solid rgba(15,23,42,.16);background:rgba(15,23,42,.03);
  cursor:pointer;display:inline-flex;align-items:center;justify-content:center;}
.tt-modal__close:focus{outline:none;box-shadow:0 0 0 4px rgba(213,43,30,.15);}
.tt-modal__sub{margin:6px 0 12px;color:var(--tt-muted);font-weight:650;}
.tt-modal__kv{display:grid;grid-template-columns:120px 1fr;gap:8px 12px;margin:0;}
@media (max-width:480px){.tt-modal__kv{grid-template-columns:1fr;gap:6px;}}
.tt-modal__kv dt{font-weight:950;}
.tt-modal__kv dd{margin:0;color:var(--tt-muted);font-weight:650;}
.tt-modal__actions{margin-top:14px;display:flex;gap:10px;flex-wrap:wrap;}
.tt-modal__actions a{height:40px;}
.tt-loc-card a.tt-loc-open{text-decoration:none;color:inherit;}
.tt-loc-card a.tt-loc-open:focus{outline:none;box-shadow:0 0 0 4px rgba(213,43,30,.15);border-radius:14px;}


/* Locations card two-line address */
.tt-loc-addr span{display:block; line-height:1.25;}

/* ===== Homepage ===== */
.tt-btn--outline{background:#fff;color:var(--tt-red);border-color:rgba(213,43,30,.18);} 
.tt-btn--outline:hover{background:rgba(213,43,30,.04);color:var(--tt-red);} 
.tt-home-hero{
  border-radius:24px;
  background:linear-gradient(135deg, rgba(255,199,44,.16), rgba(213,43,30,.06) 48%, rgba(15,23,42,.02));
}
.tt-home-eyebrow,.tt-home-section-label{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.45rem .9rem;border-radius:999px;
  background:rgba(248,197,27,.95);color:#111827;font-weight:900;
  box-shadow:0 6px 18px rgba(2,6,23,.08);
}

.tt-home-quicklinks{margin-top:-2px;}
.tt-home-feature{border-radius:24px;}
.tt-home-feature .tt-home-actions{margin-top:20px;}
.tt-home-hero .tt-home-eyebrow{margin-bottom:2px;}
.tt-home-title{font-size:clamp(2.35rem,4.6vw,4rem);line-height:1.02;letter-spacing:-.03em;font-weight:950;margin:.8rem 0 1rem;}
.tt-home-sub{font-size:1.08rem;line-height:1.65;color:var(--tt-muted);max-width:56ch;margin:0;}
.tt-home-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:18px;}
.tt-home-highlight-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.tt-home-highlight{padding:16px 18px;text-decoration:none!important;color:var(--tt-ink);border-radius:20px;transition:transform .18s ease, box-shadow .18s ease;display:flex;flex-direction:column;gap:5px;min-height:118px;justify-content:center;}
.tt-home-highlight:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(2,6,23,.10);} 
.tt-home-highlight__kicker{font-size:.8rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase;color:var(--tt-red);} 
.tt-home-highlight strong{font-size:1.08rem;line-height:1.18;} 
.tt-home-highlight span:last-child{color:var(--tt-muted);line-height:1.4;font-size:.96rem;} 
.tt-home-section-head{display:flex;gap:18px;justify-content:space-between;align-items:end;margin-bottom:16px;flex-wrap:wrap;} 
.tt-home-section h2,.tt-home-feature h2{font-size:clamp(1.7rem,3vw,2.35rem);line-height:1.08;letter-spacing:-.02em;font-weight:950;margin:.8rem 0 .75rem;} 
.tt-home-feature p{color:var(--tt-muted);line-height:1.65;max-width:50ch;margin:0;} 
.tt-home-gallery{columns:3 260px;column-gap:16px;} 
.tt-home-gallery__item{display:inline-block;width:100%;margin:0 0 16px;overflow:hidden;border-radius:20px;} 
.tt-home-gallery__item img{display:block;width:100%;height:auto;} 
.tt-home-content__body{margin-top:18px;color:var(--tt-ink);} 
.tt-home-content__body > *:first-child{margin-top:0;} 
.tt-home-content__body p{line-height:1.75;color:var(--tt-muted);} 
@media (max-width:991px){
  .tt-home-highlight-grid{grid-template-columns:1fr;}
  .tt-home-gallery{columns:2 160px;}
}
@media (max-width:575px){
  .tt-home-gallery{columns:1;}
}


.tt-home-highlight-grid--wide{grid-template-columns:repeat(4,minmax(0,1fr));}
.tt-home-media{overflow:hidden;border-radius:28px;min-height:420px;background:linear-gradient(135deg,#fff7e8 0%,#fff 100%);box-shadow:0 20px 50px rgba(15,23,42,.08);}
.tt-home-media__slider,.tt-home-media__slider > div,.tt-home-media__slider .n2-ss-slider{height:100%;}
.tt-home-media__slider iframe,.tt-home-media__slider img{max-width:100%;}
.tt-home-media__empty{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-height:420px;padding:32px;}
.tt-home-media__empty h2{font-size:clamp(1.7rem,3vw,2.4rem);line-height:1.08;letter-spacing:-.02em;font-weight:950;margin:.8rem 0;}
.tt-home-media__empty p{max-width:42ch;color:var(--tt-muted);margin:0;}
.tt-home-media__fallback-grid{display:grid;grid-template-columns:1.2fr .8fr;grid-template-rows:repeat(2,210px);gap:12px;padding:12px;height:100%;min-height:420px;}
.tt-home-media__fallback-item:first-child{grid-row:1 / span 2;}
.tt-home-media__fallback-item{overflow:hidden;border-radius:22px;}
.tt-home-media__fallback-item img{display:block;width:100%;height:100%;object-fit:cover;}
@media (max-width: 991.98px){
  .tt-home-highlight-grid--wide{grid-template-columns:repeat(2,minmax(0,1fr));}
  .tt-home-media{min-height:320px;}
  .tt-home-media__empty{min-height:320px;}
}
@media (max-width: 575.98px){
  .tt-home-highlight-grid--wide{grid-template-columns:1fr;}
  .tt-home-media__fallback-grid{grid-template-columns:1fr;grid-template-rows:repeat(3,180px);}
  .tt-home-media__fallback-item:first-child{grid-row:auto;}
}


/* ===== Community + RMHC page refresh ===== */
.tt-story-page{max-width:1120px;}
.tt-story-hero{border:1px solid rgba(15,23,42,.10);border-radius:22px;background:linear-gradient(135deg, rgba(255,199,44,.14), rgba(213,43,30,.05) 52%, rgba(15,23,42,.02));box-shadow:var(--tt-shadow);overflow:hidden;}
.tt-story-pill{display:inline-flex;align-items:center;background:rgba(248,197,27,.95);color:#111827;font-weight:900;font-size:.95rem;line-height:1;padding:.55rem 1rem;border-radius:999px;box-shadow:0 6px 18px rgba(2,6,23,.08);}
.tt-story-title{font-size:clamp(2.2rem, 4vw, 3.35rem);line-height:1.04;letter-spacing:-.03em;margin:.75rem 0 1rem;font-weight:950;}
.tt-story-sub{color:var(--tt-muted);font-size:1.05rem;max-width:56ch;}
.tt-story-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px;}
.tt-story-hero-media img,.tt-story-hero-media .tt-card img{display:block;width:100%;height:100%;object-fit:cover;border-radius:18px;box-shadow:0 16px 36px rgba(2,6,23,.14);}
.tt-story-richtext{color:var(--tt-muted);font-size:1.02rem;}
.tt-story-richtext p:last-child{margin-bottom:0;}
.tt-story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
@media (max-width:991px){.tt-story-grid{grid-template-columns:1fr;}}
.tt-story-stat{padding:18px;}
.tt-story-stat strong{display:block;font-size:1.2rem;line-height:1.15;margin:.35rem 0 .4rem;}
.tt-story-stat span{display:block;color:var(--tt-muted);line-height:1.45;}
.tt-story-section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:16px;}
@media (max-width:991px){.tt-story-section-head{flex-direction:column;align-items:flex-start;}}
.tt-story-section-head h2{margin:.35rem 0 0;font-size:clamp(1.8rem,3vw,2.5rem);font-weight:950;letter-spacing:-.02em;}
.tt-masonry{column-count:3;column-gap:16px;}
@media (max-width:991px){.tt-masonry{column-count:2;}}
@media (max-width:640px){.tt-masonry{column-count:1;}}
.tt-masonry__item{break-inside:avoid;margin:0 0 16px;overflow:hidden;}
.tt-masonry__item img{display:block;width:100%;height:auto;border-radius:18px;}
.tt-story-cta{padding:24px;background:linear-gradient(135deg, rgba(248,197,27,.18), rgba(213,43,30,.05));}
.tt-story-cta h3{margin:0 0 8px;font-size:clamp(1.6rem,2.6vw,2.2rem);font-weight:950;letter-spacing:-.02em;}
.tt-story-cta p{margin:0;color:var(--tt-muted);max-width:58ch;}
.tt-rmhc-links{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;}
@media (max-width:991px){.tt-rmhc-links{grid-template-columns:1fr;}}
.tt-rmhc-links ul{margin:0;padding-left:18px;}
.tt-rmhc-links li+li{margin-top:8px;}
.tt-rmhc-links a{text-decoration:none;font-weight:800;}


/* ===== v58 stronger Community + RMHC layouts ===== */
.tt-story-section-head--tight{margin-bottom:12px;}
.tt-story-grid--comfort{gap:18px;}
.tt-story-stat--featured{background:linear-gradient(135deg, rgba(248,197,27,.16), rgba(213,43,30,.04));}
.tt-community-page .tt-ribbon-gallery{display:grid;grid-template-columns:1.2fr .9fr .9fr;gap:16px;}
.tt-community-page .tt-ribbon-gallery__item{overflow:hidden;min-height:220px;}
.tt-community-page .tt-ribbon-gallery__item img{display:block;width:100%;height:100%;object-fit:cover;border-radius:18px;}
.tt-masonry--balanced{column-gap:18px;}
.tt-rmhc-primary{background:linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,197,27,.08));}
.tt-rmhc-primary__grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:22px;align-items:start;}
.tt-rmhc-primary__media{display:flex;flex-direction:column;gap:14px;}
.tt-embed-frame{position:relative;padding-top:56.25%;overflow:hidden;border-radius:18px;box-shadow:0 18px 40px rgba(2,6,23,.14);background:#000;}
.tt-embed-frame iframe,.tt-embed-frame video{position:absolute;inset:0;width:100%;height:100%;border:0;}
.tt-rmhc-checklist{padding:18px;background:rgba(248,197,27,.11);}
.tt-rmhc-checklist ul{margin:14px 0 0;padding:0;list-style:none;display:grid;gap:10px;}
.tt-rmhc-checklist li{display:flex;gap:10px;align-items:flex-start;color:#111827;font-weight:700;line-height:1.35;}
.tt-rmhc-checklist li:before{content:"";width:10px;height:10px;border-radius:999px;background:var(--tt-red);margin-top:.4rem;flex:0 0 10px;box-shadow:0 0 0 4px rgba(213,43,30,.12);}
.tt-rmhc-primary__content .tt-story-richtext{padding:2px 2px 0 2px;}
.tt-rmhc-primary__content .tt-story-richtext h2,
.tt-rmhc-primary__content .tt-story-richtext h3{font-size:clamp(1.35rem,2vw,1.8rem);line-height:1.15;font-weight:950;color:var(--tt-ink);margin:0 0 .6rem;}
.tt-rmhc-primary__content .tt-story-richtext p{margin:0 0 1rem;line-height:1.7;}
.tt-rmhc-primary__content .tt-story-richtext > *:last-child{margin-bottom:0;}
.tt-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.tt-resource-card{padding:22px;display:flex;flex-direction:column;gap:14px;}
.tt-resource-card h3{margin:0;font-size:clamp(1.35rem,2.2vw,1.9rem);line-height:1.08;font-weight:950;letter-spacing:-.02em;}
.tt-resource-list{display:grid;gap:10px;}
.tt-resource-link{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;border-radius:16px;text-decoration:none!important;background:rgba(15,23,42,.03);border:1px solid rgba(15,23,42,.08);font-weight:850;color:var(--tt-ink);transition:transform .18s ease, box-shadow .18s ease, background .18s ease;}
.tt-resource-link:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(2,6,23,.08);background:#fff;}
.tt-rmhc-gallery-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
.tt-rmhc-gallery-row__item{overflow:hidden;min-height:180px;}
.tt-rmhc-gallery-row__item img{display:block;width:100%;height:100%;object-fit:cover;border-radius:18px;}
.tt-rmhc-photo-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.tt-rmhc-photo-strip__item{overflow:hidden;min-height:150px;border-radius:18px;}
.tt-rmhc-photo-strip__item img{display:block;width:100%;height:100%;object-fit:cover;}
@media (max-width:991px){
  .tt-community-page .tt-ribbon-gallery{grid-template-columns:1fr;}
  .tt-rmhc-primary__grid,.tt-resource-grid,.tt-rmhc-gallery-row{grid-template-columns:1fr;}
  .tt-rmhc-photo-strip{grid-template-columns:1fr 1fr;}
}
@media (max-width:640px){
  .tt-rmhc-photo-strip{grid-template-columns:1fr;}
}


/* ===== v59 Community slider + RMHC cleanup ===== */
.tt-simple-slider{position:relative;overflow:hidden;border-radius:24px;background:linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,197,27,.08));border:1px solid rgba(15,23,42,.08);box-shadow:var(--tt-shadow);padding:14px;}
.tt-simple-slider__track{position:relative;min-height:420px;}
.tt-simple-slider__slide{display:none;}
.tt-simple-slider__slide.is-active{display:block;animation:ttFade .35s ease;}
.tt-simple-slider__media{overflow:hidden;min-height:420px;}
.tt-simple-slider__media img{display:block;width:100%;height:420px;object-fit:cover;border-radius:20px;}
.tt-simple-slider__nav{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border:none;border-radius:999px;background:rgba(15,23,42,.72);color:#fff;font-size:1.8rem;line-height:1;display:flex;align-items:center;justify-content:center;box-shadow:0 14px 28px rgba(2,6,23,.18);z-index:2;}
.tt-simple-slider__nav--prev{left:24px;}
.tt-simple-slider__nav--next{right:24px;}
.tt-simple-slider__dots{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);display:flex;gap:8px;z-index:2;}
.tt-simple-slider__dot{width:10px;height:10px;border:none;border-radius:999px;background:rgba(255,255,255,.55);box-shadow:0 4px 10px rgba(2,6,23,.16);}
.tt-simple-slider__dot.is-active{background:#fff;transform:scale(1.18);}
@keyframes ttFade{from{opacity:.55;transform:scale(.992);}to{opacity:1;transform:none;}}

.tt-community-page .tt-story-richtext{max-width:70ch;}

.tt-rmhc-feature-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:22px;align-items:start;}
.tt-rmhc-feature-grid__media{min-width:0;}
.tt-rmhc-feature-grid__aside{display:grid;gap:16px;}
.tt-rmhc-feature-grid__body{grid-column:1 / -1;padding-top:8px;max-width:none;}
.tt-rmhc-feature-grid__body p{max-width:78ch;}
.tt-rmhc-mini-card{padding:18px;background:rgba(255,255,255,.82);}
.tt-rmhc-mini-card h3{margin:.55rem 0 .55rem;font-size:1.45rem;line-height:1.12;font-weight:950;letter-spacing:-.02em;color:var(--tt-ink);}
.tt-rmhc-mini-card p{margin:0;color:var(--tt-muted);line-height:1.65;}
@media (max-width:991px){
  .tt-simple-slider__track,.tt-simple-slider__media{min-height:280px;}
  .tt-simple-slider__media img{height:280px;}
  .tt-simple-slider__nav--prev{left:14px;}.tt-simple-slider__nav--next{right:14px;}
  .tt-rmhc-feature-grid{grid-template-columns:1fr;}
  .tt-rmhc-feature-grid__body{grid-column:auto;}
}

/* ===== v60 community + RMHC layout fixes ===== */
.tt-community-overview-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:20px;align-items:start;}
.tt-community-sidecard{padding:20px;background:linear-gradient(135deg, rgba(248,197,27,.12), rgba(255,255,255,.96));}
.tt-community-sidecard h3{margin:.55rem 0 .7rem;font-size:1.5rem;line-height:1.12;font-weight:950;letter-spacing:-.02em;color:var(--tt-ink);}
.tt-community-sidecard p{margin:0;color:var(--tt-muted);line-height:1.7;}
.tt-community-page .tt-story-richtext{max-width:none;}
.tt-community-page .tt-story-richtext .tt-simple-slider,
.tt-community-page .tt-story-richtext figure,
.tt-community-page .tt-story-richtext img,
.tt-community-page .tt-story-richtext iframe{display:none!important;}

.tt-rmhc-copy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:22px;align-items:start;}
.tt-rmhc-copy-card{padding:22px;background:rgba(255,255,255,.84);}
.tt-rmhc-copy-card h3{margin:0 0 .75rem;font-size:1.45rem;line-height:1.12;font-weight:950;letter-spacing:-.02em;color:var(--tt-ink);}
.tt-rmhc-copy-card .tt-story-richtext{font-size:1rem;}
.tt-rmhc-copy-card .tt-story-richtext p{margin:0 0 .95rem;line-height:1.72;max-width:none;}
.tt-rmhc-copy-card .tt-story-richtext p:last-child{margin-bottom:0;}

@media (max-width:991px){
  .tt-community-overview-grid,.tt-rmhc-copy-grid{grid-template-columns:1fr;}
}

/* ===== v61 community + RMHC final polish ===== */
.tt-simple-slider--community .tt-simple-slider__track,.tt-simple-slider--community .tt-simple-slider__media{min-height:520px;}
.tt-simple-slider--community .tt-simple-slider__media{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,197,27,.08));padding:12px;}
.tt-simple-slider--community .tt-simple-slider__media img{width:100%;height:520px;object-fit:contain;background:#fff;border-radius:20px;}
.tt-community-page .tt-story-richtext *[class*="arrow"],
.tt-community-page .tt-story-richtext .n2-ss-slider,
.tt-community-page .tt-story-richtext .n2-section-smartslider,
.tt-community-page .tt-story-richtext .wp-block-shortcode,
.tt-community-page .tt-story-richtext button{display:none!important;}
.tt-rmhc-copy-grid{column-count:2;column-gap:18px;display:block;}
.tt-rmhc-copy-card{display:inline-block;width:100%;margin:0 0 18px;vertical-align:top;}
.tt-rmhc-primary{overflow:hidden;}
@media (max-width:991px){
  .tt-simple-slider--community .tt-simple-slider__track,.tt-simple-slider--community .tt-simple-slider__media{min-height:360px;}
  .tt-simple-slider--community .tt-simple-slider__media img{height:360px;}
  .tt-rmhc-copy-grid{column-count:1;}
}
