/*
Theme Name: Teach Hockey
Theme URI: https://teachockey.com
Author: Teach Hockey · Maxi Díaz
Author URI: https://teachockey.com
Description: Tema oficial de Teach Hockey — formación, comunidad y herramientas para entrenadores de hockey sobre césped en Latinoamérica. Diseño limpio, mobile-first, sin constructor visual. Carga rápida en HostGator.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: teach-hockey
Tags: education, blog, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Mulish:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================================
   DESIGN TOKENS — Teach Hockey
   ============================================================ */
:root {
  --th-green:        #2DB14A;
  --th-green-600:    #229039;
  --th-green-400:    #5BC470;
  --th-green-100:    #DCF3E1;
  --th-green-deep:   #005F30;
  --th-green-deep-700: #084B2A;
  --th-green-deep-900: #032B17;
  --th-navy:         #1F2E3D;
  --th-navy-700:     #2B404E;
  --th-navy-400:     #5B6B7B;
  --th-navy-100:     #E2E6EA;
  --th-cream:        #F5F2DD;
  --th-paper:        #F7F5EC;
  --th-white:        #FFFFFF;
  --th-line:         #E2E6EA;
  --th-line-strong:  #C8D0D7;
  --th-warn:         #E8A93B;
  --th-danger:       #C8442B;

  --th-font-display: 'Sora', system-ui, -apple-system, sans-serif;
  --th-font-body:    'Mulish', system-ui, -apple-system, sans-serif;
  --th-font-mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;

  --th-shadow-sm: 0 1px 2px rgba(31,46,61,.06), 0 1px 1px rgba(31,46,61,.04);
  --th-shadow-md: 0 6px 18px rgba(31,46,61,.08), 0 2px 4px rgba(31,46,61,.04);
  --th-shadow-lg: 0 24px 48px -16px rgba(31,46,61,.18), 0 6px 12px rgba(31,46,61,.06);
  --th-shadow-green: 0 12px 28px -8px rgba(45,177,74,.35);

  --th-ease:        cubic-bezier(.2,.7,.2,1);
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--th-font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--th-navy-700);
  background: var(--th-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--th-green-deep); text-decoration: none; transition: color 180ms var(--th-ease); }
a:hover { color: var(--th-green); }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--th-font-display);
  color: var(--th-navy);
  letter-spacing: -.02em;
  line-height: 1.1;
  text-wrap: balance;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; }
h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; }
h4 { font-size: 20px; font-weight: 800; font-family: var(--th-font-body); }
p  { margin: 0 0 1em; text-wrap: pretty; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }
.eyebrow {
  font: 700 12px/1 var(--th-font-body);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--th-green-deep);
  display: inline-block;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font: 700 15px/1 var(--th-font-body);
  padding: 13px 22px; border-radius: 999px; border: 0;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 200ms var(--th-ease);
  text-decoration: none;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--th-green-deep); color: var(--th-cream); }
.btn-primary:hover { background: var(--th-green-deep-700); box-shadow: var(--th-shadow-green); color: var(--th-cream); transform: translateY(-1px); }
.btn-leaf    { background: var(--th-green); color: #fff; }
.btn-leaf:hover { background: var(--th-green-600); color: #fff; }
.btn-outline { background: transparent; color: var(--th-navy); border: 1.5px solid var(--th-navy); }
.btn-outline:hover { background: var(--th-navy); color: var(--th-cream); }
.btn-ghost   { background: transparent; color: var(--th-navy); padding: 10px 4px; border-radius:0; }
.btn-ghost:hover { color: var(--th-green-deep); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.arrow { display: inline-block; transition: transform 200ms var(--th-ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   HEADER
   ============================================================ */
.th-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,245,236,.85);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(31,46,61,.06);
}
.th-header .row { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 28px; }
.th-header .brand img { height: 40px; }
.th-header nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 28px; }
.th-header nav a { font: 600 14px/1 var(--th-font-body); color: var(--th-navy); padding: 10px 0; border-bottom: 2px solid transparent; }
.th-header nav a:hover, .th-header nav .current-menu-item > a { color: var(--th-green-deep); border-bottom-color: var(--th-green); }
.th-header .actions { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; color: var(--th-navy); }
@media (max-width: 880px) {
  .th-header nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--th-paper); border-bottom: 1px solid var(--th-line); padding: 16px 20px; }
  .th-header nav.open { display: block; }
  .th-header nav ul { flex-direction: column; gap: 8px; }
  .menu-toggle { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 80px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .hero { padding: 56px 0 64px; } .hero .wrap { grid-template-columns: 1fr; gap: 36px; } }
.hero h1 { margin: 14px 0 22px; }
.hero h1 em { font-style: normal; color: var(--th-green-deep); }
.hero .lead { margin: 0 0 32px; font-size: 19px; line-height: 1.5; color: var(--th-navy-700); max-width: 520px; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .visual { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--th-shadow-lg); background: var(--th-green-deep); }
.hero .visual img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.hero .visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,95,48,.1), rgba(0,95,48,.55)); }
.hero .visual .quote { position: absolute; left: 26px; right: 26px; bottom: 56px; color: var(--th-cream); font-family: var(--th-font-display); font-weight: 700; font-size: 26px; line-height: 1.15; z-index: 2; }
.hero .visual .author { position: absolute; left: 26px; bottom: 14px; color: rgba(245,242,221,.8); font: 600 12px/1 var(--th-font-body); letter-spacing: .14em; text-transform: uppercase; z-index: 2; }

/* ============================================================
   STAT BAND
   ============================================================ */
.stat-band { background: var(--th-navy); color: var(--th-cream); padding: 36px 0; }
.stat-band .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat-band .stat .n { font-family: var(--th-font-display); font-weight: 800; font-size: 48px; line-height: 1; color: var(--th-green); }
.stat-band .stat .l { margin-top: 6px; font: 600 14px/1.3 var(--th-font-body); color: rgba(245,242,221,.78); }
@media (max-width: 720px) { .stat-band .row { grid-template-columns: 1fr 1fr; gap: 20px; } .stat-band .stat .n { font-size: 36px; } }

/* ============================================================
   SECTION / HEAD
   ============================================================ */
.section { padding: 96px 0; }
@media (max-width: 720px) { .section { padding: 64px 0; } }
.section.alt { background: var(--th-white); }
.section.dark { background: var(--th-green-deep); color: var(--th-cream); }
.section.dark h2, .section.dark h3 { color: var(--th-cream); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .rule { width: 64px; height: 3px; background: var(--th-green); border-radius: 3px; margin: 0 auto 18px; }
.section-head h2 { margin: 12px auto 14px; max-width: 720px; }
.section-head p { margin: 0 auto; font-size: 18px; line-height: 1.5; max-width: 580px; color: var(--th-navy-700); }
.section.dark .section-head p { color: rgba(245,242,221,.85); }

/* ============================================================
   PROGRAM CARDS
   ============================================================ */
.programs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .programs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .programs { grid-template-columns: 1fr; } }
.program {
  background: var(--th-white); border-radius: 20px; padding: 26px 24px 22px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--th-shadow-sm); border: 1px solid var(--th-line);
  transition: all 220ms var(--th-ease); text-decoration: none;
  min-height: 320px;
}
.program:hover { transform: translateY(-3px); box-shadow: var(--th-shadow-md); border-color: var(--th-green); }
.program .lvl { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font: 800 12px/1 var(--th-font-body); align-self: flex-start; }
.program .lvl .dot { width: 7px; height: 7px; border-radius: 999px; background: currentColor; }
.program .icn img { width: 56px; height: 56px; object-fit: contain; }
.program h3 { margin: 6px 0 4px; font-size: 22px; }
.program p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--th-navy-700); flex: 1; }
.program .more { margin-top: auto; font: 700 13px/1 var(--th-font-body); color: var(--th-green-deep); display: inline-flex; align-items: center; gap: 6px; }
.program:hover .more { gap: 10px; }
.lvl-1 { background: var(--th-green-100); color: var(--th-green-deep); }
.lvl-2 { background: #FFF4D6; color: #8A6A14; }
.lvl-3 { background: #FFE0D9; color: #8E3320; }
.lvl-4 { background: var(--th-navy); color: var(--th-cream); }

/* ============================================================
   QUOTE BAND
   ============================================================ */
.quote-band { background: var(--th-green-deep); color: var(--th-cream); padding: 88px 0; text-align: center; }
.quote-band .wrap { max-width: 880px; margin: 0 auto; }
.quote-band .mark { font-family: var(--th-font-display); font-size: 80px; line-height: 1; color: var(--th-green); }
.quote-band blockquote { margin: 0; font-family: var(--th-font-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; color: var(--th-cream); letter-spacing: -.015em; }
.quote-band cite { display: block; margin-top: 28px; font: 700 13px/1 var(--th-font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--th-green-400); font-style: normal; }

/* ============================================================
   BOOK SECTION
   ============================================================ */
.book .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .book .wrap { grid-template-columns: 1fr; } }
.book .cover {
  position: relative; aspect-ratio: 3/4; border-radius: 12px; padding: 28px;
  background: linear-gradient(160deg, #0E5238, #032B17);
  box-shadow: var(--th-shadow-lg);
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--th-cream); max-width: 360px; margin: 0 auto;
}
.book .cover::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 14px; background: rgba(0,0,0,.18); border-radius: 12px 0 0 12px; }
.book .cover .lbl { font: 700 11px/1 var(--th-font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--th-green-400); }
.book .cover .ttl { font-family: var(--th-font-display); font-weight: 800; font-size: 40px; line-height: .95; letter-spacing: -.02em; margin: 12px 0 0; }
.book .cover .ttl em { font-style: normal; color: var(--th-green-400); display: block; }
.book .cover .auth { font: 600 13px/1 var(--th-font-body); letter-spacing: .14em; text-transform: uppercase; color: rgba(245,242,221,.7); }
.book .meta { display: flex; gap: 24px; margin: 20px 0 28px; }
.book .meta .n { font-family: var(--th-font-display); font-weight: 800; font-size: 28px; color: var(--th-green-deep); line-height: 1; }
.book .meta .l { font: 600 12px/1.3 var(--th-font-body); color: var(--th-navy-400); margin-top: 4px; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { padding: 80px 0; }
.cta-band .wrap {
  background: var(--th-green); color: #fff;
  border-radius: 28px; padding: 56px 48px;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: center;
  box-shadow: var(--th-shadow-lg);
}
@media (max-width: 720px) { .cta-band .wrap { grid-template-columns: 1fr; padding: 36px 28px; } }
.cta-band h2 { color: #fff; margin: 0; font-size: clamp(28px, 3.4vw, 40px); }
.cta-band p { margin: 10px 0 0; color: rgba(255,255,255,.92); max-width: 520px; }
.cta-band .actions { display: flex; flex-direction: column; gap: 10px; }
.cta-band .btn-primary { background: var(--th-navy); color: var(--th-cream); }
.cta-band .btn-primary:hover { background: #16222D; }
.cta-band .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.cta-band .btn-outline:hover { background: #fff; color: var(--th-green-deep); border-color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.th-footer { background: var(--th-navy); color: var(--th-cream); padding: 56px 0 36px; margin-top: 0; }
.th-footer .row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 720px) { .th-footer .row { grid-template-columns: 1fr 1fr; gap: 24px; } }
.th-footer .brand img { height: 44px; filter: brightness(0) invert(1); opacity: .96; }
.th-footer h5 { color: var(--th-green-400); margin: 0 0 14px; font: 800 12px/1 var(--th-font-body); letter-spacing: .16em; text-transform: uppercase; }
.th-footer ul { list-style: none; padding: 0; margin: 0; }
.th-footer a { display: block; padding: 5px 0; font: 500 14px/1.4 var(--th-font-body); color: rgba(245,242,221,.78); }
.th-footer a:hover { color: var(--th-green-400); }
.th-footer .bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(245,242,221,.12); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font: 500 12px/1 var(--th-font-body); color: rgba(245,242,221,.5); }
.th-footer .tagline { margin-top: 14px; max-width: 320px; font: 500 14px/1.5 var(--th-font-body); color: rgba(245,242,221,.7); }

/* ============================================================
   PAGE CONTENT (generic)
   ============================================================ */
.page-hero { background: var(--th-green-deep); color: var(--th-cream); padding: 80px 0 60px; }
.page-hero .eyebrow { color: var(--th-green-400); }
.page-hero h1 { color: var(--th-cream); margin: 14px 0 16px; }
.page-hero p { color: rgba(245,242,221,.85); max-width: 640px; font-size: 18px; line-height: 1.5; }

.content-area { padding: 72px 0; }
.content { max-width: 740px; margin: 0 auto; font-size: 17px; line-height: 1.65; }
.content h2 { margin-top: 1.6em; }
.content h3 { margin-top: 1.4em; }
.content ul, .content ol { padding-left: 22px; }
.content li { margin-bottom: .4em; }
.content img { border-radius: 16px; margin: 28px 0; box-shadow: var(--th-shadow-md); }
.content blockquote {
  margin: 28px 0; padding: 20px 24px;
  border-left: 4px solid var(--th-green);
  background: var(--th-white); border-radius: 0 12px 12px 0;
  font-family: var(--th-font-display); font-weight: 600; font-size: 22px;
  color: var(--th-navy); line-height: 1.3;
}
.content blockquote p:last-child { margin-bottom: 0; }
.content a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--th-green); }
.content code { background: var(--th-navy-100); padding: 2px 6px; border-radius: 4px; font: 500 14px var(--th-font-mono); color: var(--th-navy); }

/* ============================================================
   BLOG LIST + CARD
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 880px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.post-card {
  background: var(--th-white); border-radius: 20px; overflow: hidden;
  border: 1px solid var(--th-line); display: flex; flex-direction: column;
  transition: all 220ms var(--th-ease); text-decoration: none; color: inherit;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--th-shadow-md); }
.post-card .thumb { aspect-ratio: 16/10; background: var(--th-green-100); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--th-ease); }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.post-card .cat { font: 700 11px/1 var(--th-font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--th-green-deep); }
.post-card h3 { margin: 0; font-size: 20px; line-height: 1.2; color: var(--th-navy); }
.post-card .excerpt { margin: 0; font-size: 14px; line-height: 1.5; color: var(--th-navy-700); flex: 1; }
.post-card .meta { font: 600 12px/1 var(--th-font-body); color: var(--th-navy-400); margin-top: 4px; }

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-hero { background: var(--th-paper); padding: 72px 0 32px; }
.single-hero .meta { font: 600 13px/1 var(--th-font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--th-green-deep); margin-bottom: 16px; }
.single-hero h1 { max-width: 880px; margin: 0 0 20px; }
.single-hero .author { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.single-hero .author .avatar { width: 44px; height: 44px; border-radius: 999px; background: var(--th-green-deep); color: var(--th-cream); display: grid; place-items: center; font: 800 16px/1 var(--th-font-display); }
.single-hero .author .name { font: 700 14px/1.2 var(--th-font-body); color: var(--th-navy); }
.single-hero .author .when { font: 500 12px/1.2 var(--th-font-body); color: var(--th-navy-400); }
.single-feat { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.single-feat img { width: 100%; border-radius: 24px; aspect-ratio: 21/9; object-fit: cover; box-shadow: var(--th-shadow-lg); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 56px; }
.pagination .page-numbers {
  padding: 10px 14px; border-radius: 8px; background: var(--th-white); border: 1px solid var(--th-line);
  color: var(--th-navy); font: 700 14px/1 var(--th-font-body); text-decoration: none;
}
.pagination .page-numbers:hover { border-color: var(--th-green); color: var(--th-green-deep); }
.pagination .page-numbers.current { background: var(--th-green-deep); color: var(--th-cream); border-color: var(--th-green-deep); }

/* ============================================================
   FORMS (contact, newsletter, comments)
   ============================================================ */
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="search"],
input[type="number"], textarea, select {
  width: 100%; box-sizing: border-box; font-family: var(--th-font-body); font-size: 15px;
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--th-line-strong);
  background: var(--th-white); color: var(--th-navy); transition: all 180ms var(--th-ease);
}
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--th-green-deep); box-shadow: 0 0 0 4px rgba(45,177,74,.15); }
label { display: block; font: 700 13px/1 var(--th-font-body); color: var(--th-navy); margin-bottom: 6px; }
.form-row { margin-bottom: 16px; }
.form-row.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 540px) { .form-row.split { grid-template-columns: 1fr; } }

/* ============================================================
   NEWSLETTER BLOCK
   ============================================================ */
.newsletter-block {
  background: var(--th-green-deep); color: var(--th-cream);
  border-radius: 24px; padding: 40px 44px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
}
@media (max-width: 720px) { .newsletter-block { grid-template-columns: 1fr; padding: 28px; } }
.newsletter-block h3 { color: var(--th-cream); margin: 0 0 8px; font-size: 28px; }
.newsletter-block p { margin: 0; color: rgba(245,242,221,.85); }
.newsletter-block form { display: flex; gap: 8px; }
.newsletter-block input[type="email"] { flex: 1; background: rgba(255,255,255,.92); border: 0; }
.newsletter-block .btn { white-space: nowrap; }

/* ============================================================
   SIDEBAR / WIDGETS
   ============================================================ */
.layout-with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 56px; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 900px) { .layout-with-sidebar { grid-template-columns: 1fr; } }
.sidebar .widget { background: var(--th-white); border: 1px solid var(--th-line); border-radius: 16px; padding: 22px; margin-bottom: 18px; }
.sidebar .widget h3, .sidebar .widget .widget-title { font-size: 14px; font-family: var(--th-font-body); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--th-green-deep); margin: 0 0 14px; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li { padding: 6px 0; border-bottom: 1px solid var(--th-line); }
.sidebar li:last-child { border-bottom: 0; }
.sidebar a { color: var(--th-navy); font-size: 14px; }

/* ============================================================
   404 / SEARCH
   ============================================================ */
.center-card { max-width: 560px; margin: 80px auto; text-align: center; padding: 0 28px; }
.center-card h1 { font-size: clamp(48px, 8vw, 80px); }
.center-card p { font-size: 18px; color: var(--th-navy-700); margin-bottom: 28px; }

/* ============================================================
   WP CORE OVERRIDES
   ============================================================ */
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; }
.aligncenter { text-align: center; margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 13px; color: var(--th-navy-400); text-align: center; margin-top: 8px; }
.sticky { position: relative; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.gallery img { border-radius: 12px; }
.screen-reader-text { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* admin bar */
body.admin-bar .th-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .th-header { top: 46px; } }
