/*
Theme Name: Jake Pelfrey
Author: Jake Pel
Version: 1.0
*/

/* ===================================
   Jake Pelfrey - Personal Blog
   Pure CSS Stylesheet
=================================== */

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Editorial Color Palette */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(222, 47%, 11%);
  
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(222, 47%, 11%);
  
  /* Deep Navy Primary */
  --primary: hsl(222, 47%, 11%);
  --primary-foreground: hsl(0, 0%, 100%);
  
  /* Light Gray Secondary */
  --secondary: hsl(220, 14%, 96%);
  --secondary-foreground: hsl(222, 47%, 11%);
  
  /* Muted Tones */
  --muted: hsl(220, 14%, 96%);
  --muted-foreground: hsl(220, 9%, 46%);
  
  /* Gold Accent */
  --accent: hsl(38, 70%, 50%);
  --accent-foreground: hsl(0, 0%, 100%);
  
  --border: hsl(220, 13%, 91%);
  
  /* Design Tokens */
  --navy: hsl(222, 47%, 11%);
  --navy-light: hsl(222, 30%, 20%);
  --cream: hsl(40, 33%, 98%);
  --stone: hsl(30, 10%, 94%);
  
  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Shadows */
  --shadow-subtle: 0 1px 3px 0 rgba(23, 27, 42, 0.05);
  --shadow-card: 0 4px 6px -1px rgba(23, 27, 42, 0.05), 0 2px 4px -2px rgba(23, 27, 42, 0.05);
  --shadow-elevated: 0 10px 15px -3px rgba(23, 27, 42, 0.08), 0 4px 6px -4px rgba(23, 27, 42, 0.05);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* Layout */
.editorial-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .editorial-container {
    padding: 0 2rem;
  }
}

.section-padding {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 6rem 0;
  }

}

@media (min-width: 1024px) {
  .section-padding {
    padding: 8rem 0;
  }
}

/* Grid Utilities */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1023px) {
  .lg-grid-cols-2,
  .lg-grid-cols-3,
  .lg-grid-cols-4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .lg-grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .lg-grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .lg-grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .md-grid-cols-2,
  .md-grid-cols-3 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .md-grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .md-grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.header-logo {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.2s;
}

.header-logo:hover {
  color: var(--accent);
}

.header-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .header-links {
    display: flex;
  }
}

.header-link {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.2s;
  position: relative;
}

.header-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: width 0.3s;
}

.header-link:hover::after,
.header-link.active::after {
  width: 100%;
}

.header-link.active,
.header-link:hover {
  color: var(--accent);
}

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: block;
  }
}

.mobile-menu-btn {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  padding-bottom: 1.5rem;
  animation: fadeIn 0.2s ease;
}

.mobile-menu.open {
  display: block;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu-link {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  padding: 0.75rem 0;
  color: var(--foreground);
  transition: color 0.2s;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-sm {
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 1.25rem 2.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: var(--navy-light);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.btn-accent:hover {
  opacity: 0.9;
}

/* Form Elements */
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  border: 1px solid var(--border);
  background-color: var(--background);
  color: var(--foreground);
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-foreground);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.form-label .required {
  color: var(--accent);
}

/* Cards */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: var(--shadow-elevated);
}



.article-card {
  display: block;
}

.article-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.article-card:hover .article-card-image img {
  transform: scale(1.05);
}

.article-card-content {
  padding: 1.5rem;
}

.article-card-horizontal {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.article-card-horizontal:last-child {
  border-bottom: none;
}

.article-card-horizontal .article-card-image {
  flex-shrink: 0;
  width: 200px;
  aspect-ratio: 16/10;
}

@media (max-width: 767px) {
  .article-card-horizontal {
    flex-direction: column;
  }
  .article-card-horizontal .article-card-image {
    width: 100%;
  }
}

/* Tags & Meta */
.category-tag {
  display: inline-block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
  font-weight: 500;
}

.meta-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Background utilities */
.bg-background { background-color: var(--background); }
.bg-secondary { background-color: var(--secondary); }
.bg-primary { background-color: var(--primary); }
.bg-cream { background-color: var(--cream); }

/* Text utilities */
.text-foreground { color: var(--foreground); }
.text-muted { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-primary-foreground { color: var(--primary-foreground); }
.text-accent { color: var(--accent); }

.text-center { text-align: center; }
.text-left { text-align: left; }

.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }

.italic { font-style: italic; }

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--primary-foreground);
}

.footer-newsletter {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 28rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .footer-newsletter-form {
    flex-direction: row;
  }
}

.footer-newsletter .form-input {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--primary-foreground);
}

.footer-newsletter .form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-main {
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
  max-width: 24rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s;
}

.footer-social a:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.1);
}

.footer-links h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--primary-foreground);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-copyright {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* Modal / Dialog */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background-color: var(--background);
  border: 1px solid var(--border);
  max-width: 44rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

.modal-header {
  background-color: var(--primary);
  padding: 1.5rem 2rem;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--primary-foreground);
  margin-bottom: 0.5rem;
}

.modal-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.modal-body {
  padding: 1.5rem 2rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--primary-foreground);
  cursor: pointer;
  padding: 0.5rem;
}

/* Accordion */
.accordion-item {
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--foreground);
  transition: color 0.2s;
}

.accordion-trigger:hover {
  color: var(--accent);
}

.accordion-trigger svg {
  transition: transform 0.2s;
}

.accordion-item.open .accordion-trigger svg {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding: 0 1.5rem 1.5rem;
  color: var(--muted-foreground);
}

.accordion-item.open .accordion-content {
  display: block;
}

/* Filter buttons */
.filter-btn {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  background: var(--muted);
}

.filter-btn.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

/* Aspect ratios */
.aspect-4-3 {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.aspect-4-5 {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.aspect-16-10 {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.object-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Sticky elements */
.sticky {
  position: sticky;
  top: 5rem;
}

/* Border utilities */
.border-b {
  border-bottom: 1px solid var(--border);
}

.border-t {
  border-top: 1px solid var(--border);
}

.border-y {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Spacing utilities */
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }

.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

/* Max widths */
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }

/* Icon wrapper */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: rgba(23, 27, 42, 0.1);
  border-radius: 0.5rem;
}

@media (min-width: 768px) {
  .icon-box {
    width: 5rem;
    height: 5rem;
  }
}

/* Play button */
.play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: var(--accent);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.play-btn:hover {
  opacity: 0.9;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* Dot indicator */
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
  flex-shrink: 0;
}

/* Divider line */
.divider {
  width: 5rem!important;
  height: 1px;
  background-color: var(--border);
}

/* Selection */
::selection {
  background-color: rgba(200, 140, 50, 0.2);
  color: var(--foreground);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--secondary);
}

::-webkit-scrollbar-thumb {
  background: rgba(105, 115, 135, 0.3);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(105, 115, 135, 0.5);
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 0.25rem;
  box-shadow: var(--shadow-elevated);
  z-index: 200;
  animation: slideUp 0.3s ease;
  display: none;
}

.toast.show {
  display: block;
}

.toast.error {
  background-color: hsl(0, 84%, 60%);
}

/* Sidebar */
.sidebar {
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .sidebar {
    width: 20rem;
  }
}

.sidebar-content {
  position: sticky;
  top: 9rem;
  background-color: var(--secondary);
  border: 1px solid var(--border);
  padding: 1.5rem;
}

.sidebar-list li {
  margin-bottom: 1rem;
}

.sidebar-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.2s;
}

.sidebar-list a:hover {
  color: var(--accent);
}

/* Hero with overlay */
.hero-overlay {
  position: relative;
  overflow: hidden;
}

.hero-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.hero-overlay img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-overlay-content {
  position: relative;
  z-index: 1;
}

/* Quote block */
.quote-icon {
  width: 4rem;
  height: 4rem;
  color: var(--accent);
  margin: 0 auto 2rem;
}

blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.4;
}

cite {
  font-style: normal;
  display: block;
  margin-top: 1rem;
}

/* Hidden utility */
.hidden {
  display: none !important;
}

@media (max-width: 767px) {
  .md-hidden {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .lg-hidden {
    display: none !important;
  }
}

/* Prose styles */
.prose p {
  margin-bottom: 1.5rem;
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.8;
}

.prose h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.prose h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose ol,
.prose ul {
  margin: 2rem 0;
  padding-left: 0;
}

.prose ol li,
.prose ul li {
  margin-bottom: 1rem;
  color: var(--foreground);
}

.prose strong {
  font-weight: 600;
}

/* Bullet list with dots */
.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--muted-foreground);
}

.bullet-list .dot {
  margin-top: 0.625rem;
}


.testimonial-slider .ts-viewport {
    overflow: hidden;
  }
  .testimonial-slider .ts-track {
    display: flex;
    transition: transform 450ms ease;
  }
  .testimonial-slider .ts-slide {
    flex: 0 0 100%;
    padding: 0 3rem;
    box-sizing: border-box;
  }

  .testimonial-slider .ts-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.9);
    border: 0;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 22px;
    display: grid;
    place-items: center;
    z-index: 5;
  }
  .ts-arrow-left { left: 0.25rem; }
  .ts-arrow-right { right: 0.25rem; }

  .testimonial-slider .ts-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1.75rem;
  }
  .testimonial-slider .ts-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
  }
  .testimonial-slider .ts-dot.is-active {
    background: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.9);
  }

  /* Style for the container */
        .post-container {
            display: flex;
            justify-content: space-between; 
            padding: 20px;
        }

        /* Style for the left and right columns */
        .left, .right {
            width: 10%; /* Adjust the width as needed */
        }
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 2rem;
}

.video-modal.open {
  display: flex;
}

.video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 1200px; /* BIGGER */
}

.video-ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
}

.video-frame {
  position: absolute;
  inset: 0;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-close {
  position: absolute;
  top: -3rem;
  right: 0;
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}
