/* CSS Overrides Top Start */
@import url('/Styles/styles-v2/icons/fontawesome-icon.css?v=4232385967');
@import url('/Styles/styles-v2/icons/fontawesome-solid.css?v=4137481333');
@import url('/Styles/styles-v2/icons/tabler-icon.css?v=116410291');
/* CSS Overrides Top End */

/* ============================================================
   Highlands Thrift Store — Component Styles
   ============================================================
   Brand palette + one-page site components. Everything is
   scoped under the `.ts-` prefix so it never collides with the
   Rock NextGen framework (theme.css) or other blocks.

   Loaded by Layouts/Site.Master AFTER theme.css. The one-page
   site (standalone HTML and the Rock HTML-block version) both
   rely on these classes.

   Palette (from branding.hf.church):
     navy #0d1d41 · teal #56b6b2 · gold #f4b334 · cream #f2dab2
     orange #da5e14 · olive #77843c
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ---------- Tokens ---------- */
.ts-root {
  --ts-navy:        #0d1d41;
  --ts-navy-deep:   #091533;
  --ts-teal:        #56b6b2;
  --ts-teal-dark:   #3f8f8b;
  --ts-gold:        #f4b334;
  --ts-cream:       #f2dab2;
  --ts-orange:      #da5e14;
  --ts-olive:       #77843c;

  --ts-bg:          #ffffff;
  --ts-bg-alt:      #f6f4ef;   /* warm off-white */
  --ts-surface:     #ffffff;
  --ts-border:      #e6e1d6;
  --ts-text:        #2c2f38;
  --ts-text-muted:  #6b6f7a;
  --ts-heading:     var(--ts-navy);

  --ts-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --ts-radius:      14px;
  --ts-radius-sm:   8px;
  --ts-shadow:      0 10px 30px rgba(13, 29, 65, 0.10);
  --ts-shadow-lg:   0 24px 60px rgba(13, 29, 65, 0.18);
  --ts-maxw:        1180px;

  font-family: var(--ts-font);
  color: var(--ts-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.ts-root h1, .ts-root h2, .ts-root h3, .ts-root h4 {
  font-family: var(--ts-font);
  color: var(--ts-heading);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
.ts-root p { margin: 0 0 1rem; }
.ts-root p:last-child { margin-bottom: 0; }
.ts-root img { max-width: 100%; height: auto; display: block; }

/* ---------- Layout helpers ---------- */
.ts-container {
  width: 100%;
  max-width: var(--ts-maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.ts-section { padding: clamp(56px, 8vw, 112px) 0; }
.ts-section--alt { background: var(--ts-bg-alt); }
.ts-section--navy { background: var(--ts-navy); color: #e9ecf3; }
.ts-section--navy h2,
.ts-section--navy h3 { color: #ffffff; }

.ts-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ts-teal-dark);
  margin-bottom: 14px;
}
.ts-section--navy .ts-eyebrow { color: var(--ts-teal); }
.ts-eyebrow::before,
.ts-eyebrow::after {
  content: "★";
  color: var(--ts-gold);
  font-size: 12px;
  line-height: 1;
}
.ts-eyebrow--solo::after { display: none; }

.ts-h2 { font-size: clamp(28px, 4vw, 42px); }
.ts-lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ts-text-muted);
  max-width: 60ch;
}
.ts-section--navy .ts-lead { color: #c4cad8; }
.ts-center { text-align: center; }
.ts-center .ts-lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.ts-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ts-font);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding: 16px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.ts-btn:hover { transform: translateY(-2px); }
.ts-btn--primary { background: var(--ts-teal); color: #fff; box-shadow: 0 8px 20px rgba(86,182,178,0.35); }
.ts-btn--primary:hover { background: var(--ts-teal-dark); color: #fff; }
.ts-btn--gold { background: var(--ts-gold); color: var(--ts-navy); }
.ts-btn--gold:hover { background: #e7a423; color: var(--ts-navy); }
.ts-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.ts-btn--ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.ts-btn--navy { background: var(--ts-navy); color: #fff; }
.ts-btn--navy:hover { background: var(--ts-navy-deep); color: #fff; }
.ts-btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Hero ---------- */
.ts-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-start;
  color: #fff;
  overflow: hidden;
  background: var(--ts-navy);
}
.ts-hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  will-change: transform;
}
.ts-hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(9,21,51,0.55) 0%, rgba(9,21,51,0.78) 100%),
    radial-gradient(120% 120% at 20% 10%, rgba(86,182,178,0.30), transparent 55%);
}
.ts-hero__inner { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 90px; }
.ts-hero__logo { width: clamp(220px, 32vw, 340px); margin-bottom: 28px; }
.ts-hero h1 {
  color: #fff;
  font-size: clamp(38px, 6.5vw, 76px);
  line-height: 1.02;
  max-width: 16ch;
}
.ts-hero h1 em { color: var(--ts-gold); font-style: normal; }
.ts-hero__sub {
  font-size: clamp(18px, 2.4vw, 23px);
  color: #d8dde9;
  max-width: 46ch;
  margin: 22px 0 34px;
}
.ts-hero__meta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  font-size: 15px;
  color: #c4cad8;
}
.ts-hero__meta strong { color: #fff; display: block; font-size: 16px; }
.ts-hero__meta i { color: var(--ts-teal); margin-right: 8px; }

/* ---------- Star divider ---------- */
.ts-stars {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  color: var(--ts-gold); font-size: 16px; margin: 0 0 18px;
}
.ts-stars::before, .ts-stars::after {
  content: ""; height: 2px; width: 48px; background: currentColor; opacity: 0.5; border-radius: 2px;
}

/* ---------- About / story ---------- */
.ts-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.ts-split--reverse .ts-split__media { order: 2; }
.ts-split__media img {
  width: 100%;
  border-radius: var(--ts-radius);
  box-shadow: var(--ts-shadow-lg);
  object-fit: cover;
}
.ts-badge-note {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(86,182,178,0.12);
  color: var(--ts-teal-dark);
  font-weight: 600; font-size: 14px;
  padding: 8px 16px; border-radius: 999px; margin-top: 18px;
}

/* ---------- What we sell (cards) ---------- */
.ts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.ts-card {
  background: var(--ts-surface);
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius);
  padding: 32px 26px;
  box-shadow: var(--ts-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ts-card:hover { transform: translateY(-6px); box-shadow: var(--ts-shadow-lg); }
.ts-card__icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: var(--ts-navy);
  color: var(--ts-gold);
  font-size: 26px;
  margin-bottom: 18px;
}
.ts-card h3 { font-size: 20px; margin-bottom: 8px; }
.ts-card p { font-size: 15px; color: var(--ts-text-muted); margin: 0; }

/* ---------- Donate (accepted / not accepted) ---------- */
.ts-donate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.ts-panel {
  background: var(--ts-surface);
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius);
  padding: 36px;
  box-shadow: var(--ts-shadow);
}
.ts-panel--yes { border-top: 5px solid var(--ts-olive); }
.ts-panel--no  { border-top: 5px solid var(--ts-orange); }
.ts-panel h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; margin-bottom: 6px; }
.ts-panel h3 i { font-size: 24px; }
.ts-panel--yes h3 i { color: var(--ts-olive); }
.ts-panel--no h3 i  { color: var(--ts-orange); }
.ts-list { list-style: none; padding: 0; margin: 18px 0 0; }
.ts-list li {
  position: relative;
  padding: 9px 0 9px 30px;
  font-size: 15.5px;
  border-bottom: 1px solid var(--ts-border);
}
.ts-list li:last-child { border-bottom: 0; }
.ts-list li::before {
  position: absolute; left: 0; top: 9px;
  font-family: 'tabler-icons';
  font-size: 17px;
}
.ts-list--yes li::before { content: "\ea5e"; color: var(--ts-olive); }  /* check */
.ts-list--no  li::before { content: "\eb55"; color: var(--ts-orange); } /* x */
.ts-donate-note {
  margin-top: 26px;
  background: rgba(244,179,52,0.14);
  border-left: 4px solid var(--ts-gold);
  border-radius: var(--ts-radius-sm);
  padding: 16px 20px;
  font-size: 15px;
}

/* ---------- Hours & location ---------- */
.ts-locate {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  border-radius: var(--ts-radius);
  overflow: hidden;
  box-shadow: var(--ts-shadow-lg);
  background: var(--ts-navy);
}
.ts-locate__info { padding: clamp(32px, 4vw, 56px); color: #e9ecf3; }
.ts-locate__info h3 { color: #fff; font-size: 26px; }
.ts-hours { list-style: none; padding: 0; margin: 22px 0; }
.ts-hours li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 16px;
}
.ts-hours .ts-day { color: #c4cad8; }
.ts-hours .ts-time { color: #fff; font-weight: 600; }
.ts-hours li.is-closed .ts-time { color: var(--ts-gold); }
.ts-addr { font-size: 16px; line-height: 1.7; color: #d8dde9; margin-bottom: 18px; }
.ts-addr i { color: var(--ts-teal); width: 22px; }
.ts-map { min-height: 380px; height: 100%; }
.ts-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.ts-footer { background: var(--ts-navy-deep); color: #aab2c5; padding: 64px 0 32px; }
.ts-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.ts-footer__logo { width: 220px; margin-bottom: 16px; }
.ts-footer__tag { max-width: 36ch; font-size: 15px; }
.ts-footer__social { display: flex; gap: 12px; }
.ts-footer__social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); color: #fff; font-size: 19px;
  text-decoration: none; transition: background 0.18s ease, transform 0.18s ease;
}
.ts-footer__social a:hover { background: var(--ts-teal); transform: translateY(-3px); }
.ts-footer__cols { display: flex; flex-wrap: wrap; gap: 48px; }
.ts-footer__cols h4 { color: #fff; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.ts-footer__cols a { color: #aab2c5; text-decoration: none; display: block; padding: 4px 0; font-size: 15px; }
.ts-footer__cols a:hover { color: var(--ts-teal); }
.ts-footer__bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 13.5px; color: #7c8499;
}

/* ---------- GSAP reveal (no-FOUC) ----------
   thrift.js adds `.ts-js` to <html> immediately. Only then do we
   hide reveal targets, so a no-JS visitor still sees everything. */
.ts-js [data-ts-reveal] { opacity: 0; }
.ts-js [data-ts-reveal="up"]    { transform: translateY(40px); }
.ts-js [data-ts-reveal="left"]  { transform: translateX(-40px); }
.ts-js [data-ts-reveal="right"] { transform: translateX(40px); }
.ts-js [data-ts-reveal="scale"] { transform: scale(0.94); }
/* staggered children are hidden until GSAP reveals them */
.ts-js [data-ts-stagger] > * { opacity: 0; transform: translateY(30px); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .ts-grid { grid-template-columns: repeat(2, 1fr); }
  .ts-donate { grid-template-columns: 1fr; }
  .ts-split { grid-template-columns: 1fr; }
  .ts-split--reverse .ts-split__media { order: 0; }
  .ts-locate { grid-template-columns: 1fr; }
  .ts-map iframe { min-height: 320px; }
}
@media (max-width: 560px) {
  .ts-root { font-size: 16px; }
  .ts-grid { grid-template-columns: 1fr; }
  .ts-hero { min-height: 92vh; }
  .ts-btn { width: 100%; justify-content: center; }
  .ts-footer__top { flex-direction: column; }
}

/* ---------- Clean landing-page mode ----------
   Opt in by setting the page's "Body CSS Class" to "onepage" (Rock page
   Advanced Settings). The OnePage layout already drops the container
   wrapper for full-bleed; these rules additionally:
     1. zero any residual padding Rock adds around zones/blocks, and
     2. hide the theme's default top nav + footer chrome, since the
        one-pager brings its own hero header and .ts-footer.
   All scoped to body.onepage so other pages/layouts are untouched. */
body.onepage,
body.onepage .zone-instance,
body.onepage .zone-content,
body.onepage .block-instance,
body.onepage .block-content {
  margin: 0 !important;
  padding: 0 !important;
}
body.onepage { overflow-x: hidden; }

/* Hide the Site.Master chrome. Direct children of the form only, so the
   page's own <footer class="ts-footer"> (nested in the zone) is NOT hit. */
body.onepage > form > header,
body.onepage > form > footer {
  display: none !important;
}

/* ---------- Rock admin ACE editor fix ---------- */
/* theme.css applies global pre { padding; border; overflow:auto;
   word-break:break-all } to every <pre>. Rock's HTML block editor uses
   <pre class="ace_editor"> as the ACE container. Those styles break ACE's
   height calculation two ways: (1) padding/border give the <pre> a ~48px
   natural height so ACE initialises to 48px; (2) without height:100% the
   <pre> collapses to 0 once the extra box-model is removed because ACE's
   own children are absolutely-positioned and don't contribute to flow height.
   The parent div.code-editor-container always has height:380px (inline style
   set by Rock JS), so height:100% fills it correctly. */
.ace_editor {
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  word-break: normal !important;
  word-wrap: normal !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  height: 100% !important;
}

/* ---------- Bootstrap .row clearfix fix ---------- */
/* theme.css defines the Bootstrap 3 grid with floated columns
   (.col-md-*, etc. use float:left) but never clears those floats on
   .row itself. Any Rock block that renders its markup as
   <div class="row"><div class="col-md-*">...</div></div> — e.g. the
   Workflow/Contact Form Entry block — collapses to 0 height as a
   result, so the NEXT block in the zone renders at the same vertical
   position and visually overlaps it instead of stacking below. */
.row::before,
.row::after {
  display: table;
  content: "";
}
.row::after {
  clear: both;
}

/* CSS Overrides Bottom Start */
:root {
    --base-primary: #56b6b2;
    --logo-image: url('/Assets/Images/rock-logo-circle-white.svg');
    --base-link: #0d1d41;
    --base-secondary: #0d1d41;
    --base-critical: #da5e14;
    --base-danger: #e74e40;
    --base-info: #005DD7;
    --base-success: #77843c;
    --base-warning: #f4b334;
    --base-interface-strongest: #0a0a0a;
    --base-interface-stronger: #0d1d41;
    --base-interface-strong: #3d444d;
    --base-interface-medium: #8B8BA7;
    --base-interface-soft: #D9D9E3;
    --base-interface-softer: #f8f8fc;
    --base-interface-softest: #fdfdfd;
    --font-size-xsmall: 12px;
    --font-size-small: 14px;
    --font-size-regular: 16px;
    --font-size-h1: 44px;
    --font-size-h2: 36px;
    --font-size-h3: 28px;
    --font-size-h4: 22px;
    --font-size-h5: 18px;
    --font-size-h6: 16px;
    --font-family-title: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --font-family-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --spacing-tiny: 4px;
    --spacing-xsmall: 8px;
    --spacing-small: 12px;
    --spacing-medium: 16px;
    --spacing-large: 24px;
    --spacing-xlarge: 48px;
    --spacing-huge: 80px;
}
/* CSS Overrides Bottom End */
