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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background: #ffffff;
}

a { color: #0f766e; text-decoration: none; }
a:hover { text-decoration: underline; }

.wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  border-bottom: 1px solid #e5e7eb;
  background: #ffffffee;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  transition: min-height 0.2s ease, padding 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(15,23,42,0.12);
  background: #ffffff;
}

.site-header.scrolled .site-header-inner {
  min-height: 52px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: inherit;
}

.brand-logo-img {
  height: 40px;
  width: auto;
  transition: transform 0.2s ease, height 0.2s ease;
}

.site-header.scrolled .brand-logo-img {
  height: 32px;
  transform: translateY(1px);
}

.brand-text span:first-child {
  display: block;
  font-size: 0.95rem;
}
.brand-text span:last-child {
  display: block;
  font-size: 0.75rem;
  color: #6b7280;
}

.site-header.scrolled .brand-text span:first-child {
  font-size: 0.9rem;
}

.nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
}

.nav a:hover { color: #0f766e; }

.nav-toggle {
  display: none;
  border: none;
  background: none;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #111827;
  margin: 4px 0;
}

.main { padding: 1.5rem 0 3rem; }

.hero { padding: 2.5rem 0 1.5rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin: 0 0 0.75rem;
}

.hero p {
  margin: 0 0 1rem;
  color: #4b5563;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.hero-media img {
  width: 100%;
  border-radius: 1rem;
  display: block;
  box-shadow: 0 20px 40px rgba(15,23,42,0.25);
}

.btn, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
}

.btn:hover { opacity: 0.95; text-decoration: none; }

.btn-secondary {
  background: #ecfdf5;
  color: #0f766e;
  border-color: #a7f3d0;
}

.btn-secondary:hover {
  background: #d1fae5;
  text-decoration: none;
}

.content { margin-top: 1rem; }

.page-header h1 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}

.page-header p {
  margin: 0;
  color: #4b5563;
}

.breadcrumbs {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.card {
  border-radius: 0.9rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card-media {
  display: block;
  position: relative;
}

.card-media img {
  width: 100%;
  display: block;
}

.card-body {
  padding: 0.8rem 0.9rem 1rem;
}

.card-body h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
}

.card-body p {
  margin: 0;
  font-size: 0.85rem;
  color: #4b5563;
}

.video-page {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-meta {
  margin: 0.75rem 0 0.5rem;
  font-size: 0.85rem;
  color: #4b5563;
}

.video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.video-tag {
  font-size: 0.75rem;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
}

.video-nav {
  margin: 0.9rem 0 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
}

.video-nav a {
  font-weight: 500;
}

.site-footer {
  border-top: 1px solid #e5e7eb;
  padding: 2rem 0 1.5rem;
  background: #f9fafb;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  font-size: 0.85rem;
}

.site-footer h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.site-footer h4 { margin: 0 0 0.4rem; font-size: 0.9rem; }

.site-footer p { margin: 0 0 0.5rem; color: #4b5563; }

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li { margin-bottom: 0.25rem; }

.footer-meta {
  margin-top: 1.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #6b7280;
}

.social-icons-row {
  display: flex;
  gap: 0.4rem;
}

.social-icon-link {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #374151;
}

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .video-page { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; padding: 0.75rem 0; }
  .nav-toggle { display: inline-block; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
