  .container {
    padding-bottom: 2.5rem;
  }
@media (max-width: 600px) {

  .home-flex-row {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }

  .home-placeholder-img {
    order: -1;
  }

  .home-btn-left,
  .home-btn-right {
    flex: 1;                 /* makes them equal width */
    font-size: 1.2rem;       /* shrink text */
    padding: 0.8em 1em;      /* shrink padding */
  }

  .home-btn-row {
    display: flex;
    gap: 1rem;
    width: 100%;
    max-width: 320px;        /* controls how wide the pair can be */
  }

}
/* Homepage custom layout */
.home-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding-top: 0;
}
.home-title-top {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 3.2rem;
  letter-spacing: 0.02em;
  text-align: center;
  margin-top: 0;
}
.home-flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-grow: 1;
  margin-top: 0;
}
.home-btn-left,
.home-btn-right {
  min-width: 5px;
  font-size: 1.6rem;
  text-align: center;
  font-weight: 700;
  padding: 0.25em .75em;
  border-radius: 5px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(16,24,40,0.08);
  transition: background 0.18s, box-shadow 0.18s;
}
.home-btn-left:hover,
.home-btn-right:hover {
  background: var(--hov);
  box-shadow: 0 1px 8px rgba(16,24,40,0.13);
}
.home-placeholder-img {
  width: 220px;
  height: 220px;
  background: #e6edf8;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(16,24,40,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--muted);
}

.home .nav {
  visibility: hidden;
}

@media (max-width: 900px) {
  .home-flex-row {
    gap: 1.2rem;
  }
  .home-placeholder-img {
    width: 140px;
    height: 140px;
  }
}
@media (max-width: 600px) {
  .home-main {
    padding-top: 1.2rem;
  }
  .home-title-top {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
  }
  .home-flex-row {
    flex-direction: column;
    gap: 0.7rem;
  }
  .home-placeholder-img {
    width: 90px;
    height: 90px;
  }
}
.container-wide {
  max-width: 1500px; /* or 1300px if you want more drama */
  margin: 2rem auto;
  padding: 0 1rem 4rem 2rem;
}

/* Center the entire Video section */
.video-section {
  display: flex;
  text-align: left;
  flex-direction: column;
  align-items: center;
  text-align: left;
  justify-content: center;
  min-height: 100vh;
  margin-left: auto;
  margin-right: auto;
  width: 100vw;
}
/* Custom video grid two-row layout */
.video-grid-custom { 
  display: grid; 
  grid-template-columns: repeat(2, minmax(0, 1fr)); 
  gap: 2.5rem; 
  margin-left: -7.5px;
  margin-top: 2rem; 
  width: 100%; 
}

.video-row {
  display: contents;
}
@media (max-width: 900px) {
  .video-row {
    gap: 1.2rem;
  }
  .video-grid-custom {
    gap: 1.2rem;
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .video-row {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
}
/* Video page image buttons */
.video-btn-img {
  display: block;
  width: 100%;
  max-width: min(700px, 48vw);
  min-width: 180px;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: none;
  background: none;
  object-fit: contain;
  transition: box-shadow 0.18s;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .video-btn-img {
    max-width: 700px;
  }
}
.tile:hover .video-btn-img {
  filter: blur(0.5px);
}
/* Home image rotator styles */
.home-image-rotator {
  display: block;
  width: 100%;
  max-width: 45%;
  min-width: 180px;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: none;
  background: none;
  object-fit: contain;
  transition: box-shadow 0.18s;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(16,24,40,0.10);
  background: #f8fafc;
  object-fit: contain;
  transition:  0.4s;
}
/* Home row layout for buttons beside name */
.home-row {
  display: block;
  width: 100%;
  max-width: 700px;
  min-width: 180px;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: none;
  background: none;
  object-fit: contain;
  transition: box-shadow 0.18s;
}
@media (max-width: 600px) {
  .home-row {
    flex-direction: column;
    gap: 0.7rem;
  }
  .home-title {
    font-size: 1.3rem;
  }
}
.resume-btn-row {
  flex: 1 1 55%;
  display: flex;
  justify-content: flex-end;
  max-width: 980px;
  margin: 0 auto;
  margin-top: 0.5rem;
  margin-bottom: 20px;
}
@media (max-width: 700px) {
  .resume-btn-row {
    justify-content: center;
  }
}
.about-grid {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin-top: 2.5rem;
}
.about-left {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-video {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(16,24,40,0.09);

}
.about-right {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
 .resume-btn {
  width: 200px;
  display: inline-block; 
  margin-top: 1.2rem;
  text-align: center;
  padding: 0.32em 0.38em;
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(16,24,40,0.08);
  transition: background 0.18s, box-shadow 0.18s;
}
.resume-btn:hover {
  background: var(--hov);
  box-shadow: 0 1px 8px rgba(16,24,40,0.13);
}
.playlist-btn {
  width: 280px;
  display: inline-block; 
  margin-top: 1.2rem;
  text-align: center;
  padding: 0.32em 0.38em;
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(16,24,40,0.08);
  transition: background 0.18s, box-shadow 0.18s;
}
.playlist-btn:hover {
  background: var(--hov);
  box-shadow: 0 1px 8px rgba(16,24,40,0.13);
}
@media (max-width: 700px) {
  .about-grid {
    flex-direction: column-reverse;
    gap: 1.5rem;
  }
  .about-left, .about-right {
    width: 100%;
    max-width: none;
  }
  .about-video {
    max-width: none;
  }
}

:root{
  --bg:#fcfcfc;
  --fg:#111827;
  --accent:#e26402;
  --muted:#6b7280;
  --hov: #a35b17;
}
*{box-sizing:border-box}
html,body{height:100%}
body{font-family:Inter, system-ui, -apple-system, Roboto, "Helvetica Neue", Arial;margin:0;color:var(--fg);background:var(--bg)}
.container{max-width:980px;margin:2rem auto;padding:0 1rem}
.center{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:2rem}
.site-header{border-bottom:1px solid #eef2ff;background:transparent}
.nav{display:flex;gap:1rem;padding:0.75rem 1rem;align-items:center}
.nav a{color:var(--fg);text-decoration:none;padding:0.35rem 0.5rem;border-radius:6px}
.nav a.active{background:var(--accent);color:#fff}
h1{margin:0 0 0.5rem}
.video-h1{margin:0 0 -10rem}
p{color:var(--muted)}
/* Video grid */
.video-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-top:1.25rem}
.tile {
  display: block;
  padding: 0;
  border-radius: 10px;
  background: none;
  border: none;
  text-decoration: none;
  color: var(--fg);
  font-weight: 600;
  transition: transform .12s ease;
}
.tile:hover {
  transform: scale(0.96);
}
/* Back button */
.back-btn{display:inline-block;margin-bottom:1rem;color:var(--muted);text-decoration:none;padding:0.35rem 0.5rem;border-radius:6px}
.back-btn:hover{color:var(--fg)}
/* Pager (bottom arrows) */
.pager{position:fixed;left:0;right:0;bottom:18px;display:flex;justify-content:center;gap:2rem;pointer-events:auto}
.pager a{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .9rem;border-radius:8px;background:rgba(255,255,255,0.95);border:1px solid #e6edf8;color:var(--fg);text-decoration:none;font-weight:600;box-shadow:0 6px 14px rgba(16,24,40,0.06)}
.pager a:hover{transform:translateY(-3px)}
/* Adjust pager layout on narrow screens */
@media (max-width:520px){
  .pager{gap:1rem;bottom:12px}
  .nav{padding:0.5rem}
}

/* Center site title in top bar */
.top-bar { position: relative; }

.top-bar .site-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  margin: 0;
  pointer-events: none;
}


.site-header {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eef2ff;
}

.header-left,
.header-right {
  flex: 1;
  display: flex;
}

.header-left {
  justify-content: flex-start;
}

.header-right {
  justify-content: flex-end;
}

/* Title centers across full page */
.site-title {
  flex: 1;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  margin: 0;
  white-space: nowrap;
  padding:1.1rem 0.5rem;
}

body[data-page="authorized-account.html"] h1 {
  margin:0 0 -2.5rem;
}
body[data-page="how-crime-works.html"] h1 {
  margin:0 0 -2.5rem;
}
body[data-page="business-insider.html"] h1 {
  margin:0 0 -2.5rem;
}
body[data-page="short-form-video.html"] h1 {
  margin:0 0 -2.5rem;
}