/* ============================================================
   Things-To-Do article template — Puerto Plata blog series
   Append-only, scoped under .tt-* to avoid collisions.
   Loaded via config.toml custom_css after bws.css.
   ============================================================ */

.tt-hero{
  padding: 4.5rem 1rem 4rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.tt-hero::after{
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
}
.tt-hero .container{position: relative; z-index: 1;}
.tt-eyebrow{
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255,255,255,0.18);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
}
.tt-title{
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.tt-lede{
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.5;
  opacity: 0.96;
}

.tt-stats{
  background: linear-gradient(180deg, #0a3a5e 0%, #0e4670 100%);
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}
.tt-stat-row{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 3.5rem;
  max-width: 920px;
  margin: 0 auto;
}
.tt-stat{display:flex; flex-direction:column;}
.tt-stat-num{
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #ffb347;
  letter-spacing: -0.01em;
  line-height: 1;
}
.tt-stat-lbl{
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 0.4rem;
  opacity: 0.85;
}

.tt-body{
  background: #fff;
  padding: 3.5rem 1rem 2.5rem;
  text-align: center;
}
.tt-container-narrow{
  max-width: 720px;
  margin: 0 auto;
}
.tt-body p, .tt-body .tt-lead{
  text-align: center;
  line-height: 1.75;
  margin: 0 0 1.4rem;
  color: #2c3e50;
  font-size: 1.05rem;
}
.tt-lead{
  font-size: 1.2rem !important;
  font-weight: 600;
  color: #0a3a5e !important;
  margin-bottom: 1.8rem !important;
}
.tt-h2{
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 800;
  text-align: center;
  margin: 2.4rem 0 1.2rem;
  color: #0a3a5e;
  position: relative;
  padding-bottom: 0.7rem;
}
.tt-h2::after{
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 3px;
  background: #ff6b35;
  border-radius: 2px;
}

.tt-videos{
  background: linear-gradient(180deg, #0a3a5e 0%, #061f33 100%);
  padding: 3.5rem 1rem;
  color: #fff;
  text-align: center;
}
.tt-videos .tt-h2{color: #fff;}
.tt-video-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  max-width: 1100px;
  margin: 1.5rem auto 0;
}
.tt-video{
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.tt-video iframe{
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  display: block;
}
.tt-video-cap{
  font-size: 0.88rem;
  padding: 0.7rem 0.9rem;
  text-align: center;
  color: rgba(255,255,255,0.86);
  letter-spacing: 0.02em;
}

.tt-callout{
  background: linear-gradient(180deg, #fff8ed 0%, #fff2da 100%);
  padding: 3rem 1rem;
  text-align: center;
  border-top: 4px solid #ff6b35;
  border-bottom: 4px solid #ff6b35;
}
.tt-bring{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.9rem;
  max-width: 880px;
  margin: 1.4rem auto 0;
  text-align: left;
}
.tt-bring-item{
  background: #fff;
  padding: 0.95rem 1.1rem;
  border-radius: 8px;
  font-size: 0.97rem;
  line-height: 1.55;
  border-left: 3px solid #ff6b35;
  box-shadow: 0 1px 4px rgba(10,58,94,0.06);
}

.tt-photos{
  background: #f4f7fa;
  padding: 3rem 1rem 2.4rem;
  text-align: center;
}
.tt-photo-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 1.4rem auto 0;
}
.tt-photo-stub{
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #cfd8dc 0%, #b0bec5 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #455a64;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 1rem;
}
.tt-photo-note{
  font-size: 0.85rem;
  color: #78909c;
  font-style: italic;
  margin-top: 1rem;
}

.tt-final-cta{
  background: linear-gradient(135deg, #0e7c66 0%, #16a085 100%);
  padding: 3.5rem 1rem;
  text-align: center;
  color: #fff;
}
.tt-final-cta h2{
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 1rem;
  color: #fff;
}
.tt-final-cta p{
  max-width: 620px;
  margin: 0 auto 1.7rem;
  line-height: 1.6;
  opacity: 0.95;
}
.tt-final-cta .btn{
  display: inline-block;
  padding: 0.95rem 2.2rem;
  background: #ff6b35;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.2s, box-shadow 0.2s;
}
.tt-final-cta .btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

.tt-back{
  text-align: center;
  padding: 2rem 1rem;
  background: #fff;
  margin: 0;
}
.tt-back a{
  color: #0a3a5e;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.tt-back a:hover{text-decoration: underline;}

/* ============================================================
   Hub page — grid of all 25 things to do
   ============================================================ */
.tt-hub-hero{
  background: linear-gradient(135deg, #0a3a5e 0%, #1a5276 50%, #ff6b35 130%);
  padding: 5rem 1rem 4rem;
  text-align: center;
  color: #fff;
}
.tt-hub-hero h1{
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.1;
}
.tt-hub-hero p{
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.95;
}

.tt-hub-grid-section{
  background: #f4f7fa;
  padding: 3rem 1rem;
}
.tt-hub-grid-section.alt{background: #fff;}
.tt-hub-section-title{
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0a3a5e;
  margin: 0 0 2rem;
  padding-bottom: 0.8rem;
  position: relative;
}
.tt-hub-section-title::after{
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 3px;
  background: #ff6b35;
  border-radius: 2px;
}
.tt-hub-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.1rem;
  max-width: 1180px;
  margin: 0 auto;
}
.tt-hub-card{
  background: #fff;
  border-radius: 10px;
  padding: 1.4rem 1.3rem;
  box-shadow: 0 2px 8px rgba(10,58,94,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  border-top: 3px solid #1a5276;
}
.tt-hub-grid-section.alt .tt-hub-card{background: #f4f7fa;}
.tt-hub-card.is-soon{
  opacity: 0.65;
  border-top-color: #b0bec5;
  cursor: default;
  pointer-events: none;
}
.tt-hub-card:not(.is-soon):hover{
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(10,58,94,0.14);
}
.tt-hub-card-num{
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: #ff6b35;
  text-transform: uppercase;
}
.tt-hub-card.is-soon .tt-hub-card-num{color: #90a4ae;}
.tt-hub-card-title{
  font-size: 1.08rem;
  font-weight: 800;
  color: #0a3a5e;
  line-height: 1.25;
}
.tt-hub-card-desc{
  font-size: 0.92rem;
  line-height: 1.5;
  color: #506578;
}
.tt-hub-card-pill{
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #ff6b35;
  color: #fff;
}
.tt-hub-card.is-soon .tt-hub-card-pill{
  background: #cfd8dc;
  color: #546e7a;
}

/* ============================================================
   Blog list (/blog/ index) — card grid, NOT full content dump
   Overrides Ananke's default list.html via /layouts/blog/list.html
   ============================================================ */

.blog-list-hero {
  background: linear-gradient(135deg, #0a3a5e 0%, #1a5276 100%);
  color: #fff;
  padding: 4.5rem 1rem 3.5rem;
  text-align: center;
}
.blog-list-hero-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  margin: 0 0 1rem;
  color: #fff;
  line-height: 1.1;
}
.blog-list-hero-desc {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.95;
}
.blog-list-hero-body {
  max-width: 720px;
  margin: 1.5rem auto 0;
  font-size: 1.02rem;
  line-height: 1.6;
  opacity: 0.92;
}
.blog-list-hero-body p { margin: 0 0 0.8rem; }
.blog-list-hero-body h2 {
  display: none; /* hide markdown H2 - title already rendered */
}

.blog-list-grid-section {
  background: #f4f7fa;
  padding: 3.5rem 1rem 4rem;
}
.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.blog-list-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(10,58,94,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  border-top: 3px solid #ff6b35;
}
.blog-list-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(10,58,94,0.14);
}
.blog-list-card-link {
  display: block;
  padding: 1.6rem 1.5rem 1.5rem;
  text-decoration: none;
  color: inherit;
}
.blog-list-card-meta {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff6b35;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.blog-list-card-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0a3a5e;
  line-height: 1.3;
  margin: 0 0 0.7rem;
}
.blog-list-card-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #506578;
  margin: 0 0 1.2rem;
}
.blog-list-card-cta {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0a3a5e;
  letter-spacing: 0.04em;
  display: inline-block;
}
.blog-list-card:hover .blog-list-card-cta {
  color: #ff6b35;
}
