:root {
  --primary-color: #d90404;
  --primary-dark: #8f0303;
  --secondary-color: #f25a1d;
  --accent-color: #f6c453;
  --dark-color: #090d1f;
  --light-color: #f7f8fb;
  --text-color: #1f2937;
  --muted-color: #687385;
  --border-color: #e6e9ef;
  --white-color: #ffffff;
  --shadow-soft: 0 18px 45px rgba(9, 13, 31, .12);
  --shadow-hover: 0 22px 55px rgba(217, 4, 4, .18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-color);
  background: var(--white-color);
  font-family: "Be Vietnam Pro", "Inter", Arial, sans-serif;
  line-height: 1.7;
  overflow-x: clip;
}

.hero > .container,
.page-hero > .container,
.section-padding > .container,
.site-footer > .container {
  overflow-x: clip;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

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

.section-padding {
  padding: 92px 0;
}

.section-soft {
  background: var(--light-color);
}

.section-dark {
  color: #fff;
  background: radial-gradient(circle at 20% 20%, rgba(246, 196, 83, .18), transparent 30%),
    linear-gradient(135deg, #090d1f 0%, #200b16 52%, #5b0303 100%);
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--primary-color);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-title {
  color: var(--dark-color);
  font-weight: 900;
  line-height: 1.24;
  margin-bottom: 16px;
}

.section-dark .section-title,
.section-dark .eyebrow {
  color: #fff;
}

.section-lead {
  color: var(--muted-color);
  max-width: 760px;
  margin-bottom: 36px;
}

.section-dark .section-lead {
  color: rgba(255,255,255,.76);
}

.btn {
  border-radius: var(--radius);
  font-weight: 800;
  min-height: 44px;
  padding: .68rem 1.05rem;
}

.btn-primary {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 12px 28px rgba(217, 4, 4, .25);
}

.btn-primary:hover,
.btn-primary:focus {
  border-color: var(--primary-dark);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: rgba(217, 4, 4, .35);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: #ffffff !important;
}

.btn-light {
  color: var(--dark-color);
}

.focus-ring,
.form-control:focus,
.form-select:focus,
.btn:focus-visible,
.nav-link:focus-visible {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 .2rem rgba(246, 196, 83, .35);
}

.topbar {
  background: var(--dark-color);
  color: rgba(255,255,255,.86);
  font-size: .88rem;
}

.topbar a {
  color: rgba(255,255,255,.86);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(230,233,239,.9);
  backdrop-filter: blur(16px);
  transition: box-shadow .25s ease, transform .25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(9, 13, 31, .08);
}

.navbar-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-text {
  color: var(--dark-color);
  font-weight: 900;
  line-height: 1.05;
}

.brand-subtitle {
  display: block;
  color: var(--muted-color);
  font-size: .74rem;
  font-weight: 600;
}

.navbar-nav .nav-link {
  color: var(--dark-color);
  font-size: .94rem;
  font-weight: 750;
  padding: .75rem .7rem;
  border-radius: var(--radius);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
  background: rgba(217, 4, 4, .07);
}

.offcanvas {
  max-width: 340px;
}

.offcanvas:not(.show):not(.showing) {
  display: none;
}

.hero {
  position: relative;
  color: #fff;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(246,196,83,.24), transparent 26%),
    radial-gradient(circle at 12% 78%, rgba(242,90,29,.25), transparent 30%),
    linear-gradient(135deg, #070b18 0%, #190916 48%, #780404 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.88), transparent 88%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -130px;
  top: 110px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(246,196,83,.32);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(246,196,83,.2);
}

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

.hero-title {
  max-width: 900px;
  font-size: clamp(2.65rem, 4.7vw, 5.15rem);
  font-weight: 950;
  line-height: 1.14;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.hero-title-main,
.hero-title-accent {
  display: block;
}

.hero-title-accent {
  color: var(--accent-color);
  margin-top: .04em;
}

.hero-copy {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  max-width: 680px;
}

.hero-media {
  position: relative;
  max-width: 465px;
  margin-left: auto;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 11% -8% -4% 8%;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(246,196,83,.95), rgba(217,4,4,.78));
  filter: blur(20px);
  opacity: .48;
}

.hero-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 28px 70px rgba(0,0,0,.42);
}

.hero-badge {
  position: absolute;
  left: -20px;
  bottom: 28px;
  z-index: 2;
  padding: 16px 18px;
  color: var(--dark-color);
  background: var(--accent-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  font-weight: 850;
}

.page-hero {
  position: relative;
  padding: 82px 0 72px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 25%, rgba(246,196,83,.25), transparent 26%),
    linear-gradient(135deg, #090d1f, #3a0710 58%, #d90404);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .52;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-weight: 950;
  line-height: 1.08;
}

.breadcrumb {
  margin-bottom: 0;
}

.breadcrumb-item,
.breadcrumb-item a {
  color: rgba(255,255,255,.82);
}

.breadcrumb-item.active,
.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,.58);
}

.phoenix-card {
  position: relative;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(9,13,31,.06);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.phoenix-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217,4,4,.28);
  box-shadow: var(--shadow-hover);
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--light-color);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.phoenix-card:hover .card-img-wrap img {
  transform: scale(1.04);
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-color);
  background: rgba(217, 4, 4, .08);
  border: 1px solid rgba(217, 4, 4, .14);
  border-radius: 999px;
  padding: .34rem .65rem;
  font-size: .78rem;
  font-weight: 800;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--muted-color);
  font-size: .9rem;
}

.meta-line span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.price {
  color: var(--primary-color);
  font-weight: 900;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: var(--radius);
  font-size: 1.35rem;
  box-shadow: 0 14px 28px rgba(217,4,4,.22);
}

.stat-box {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(9,13,31,.05);
}

.stat-box p {
  min-height: 58px;
}

.stat-number {
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.timeline {
  position: relative;
  display: grid;
  gap: 22px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--primary-color), var(--accent-color));
}

.timeline-item {
  position: relative;
  padding-left: 56px;
}

.timeline-dot {
  position: absolute;
  left: 8px;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-color);
  border: 5px solid var(--primary-color);
  box-shadow: 0 0 0 6px rgba(217,4,4,.12);
}

.filter-bar {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(9,13,31,.06);
}

.empty-state {
  padding: 46px 20px;
  text-align: center;
  color: var(--muted-color);
  background: var(--light-color);
  border: 1px dashed #cbd2df;
  border-radius: var(--radius);
}

.video-thumb {
  position: relative;
  cursor: pointer;
}

.video-feature-copy {
  padding: 34px;
  background:
    radial-gradient(circle at 100% 0, rgba(246, 196, 83, .22), transparent 34%),
    var(--white-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(9,13,31,.06);
}

.video-side-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(246, 196, 83, .22), transparent 32%),
    var(--white-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(9,13,31,.06);
}

.video-list-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  padding: 12px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.video-list-item:hover,
.video-list-item:focus {
  transform: translateY(-3px);
  border-color: rgba(217,4,4,.28);
  box-shadow: 0 14px 26px rgba(9,13,31,.08);
}

.video-list-thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--light-color);
}

.video-list-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.video-list-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-list-category {
  color: var(--primary-color);
  font-size: .76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.video-list-content strong {
  color: var(--dark-color);
  font-size: 1rem;
  line-height: 1.3;
}

.video-list-content small {
  display: -webkit-box;
  margin-top: 4px;
  color: var(--muted-color);
  line-height: 1.45;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.play-button-sm {
  width: 36px;
  height: 36px;
  box-shadow: 0 0 0 6px rgba(255,255,255,.22);
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62px;
  height: 62px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(217,4,4,.95);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(255,255,255,.22);
}

/* Shorts Section & Cards (Full-bleed 9:16 vertical image with text overlay like Shorts/TikTok) */
.short-card {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 9 / 16 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #000 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform .25s ease, box-shadow .25s ease;
  display: block !important;
  cursor: pointer !important;
}

.short-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.short-card .short-bg-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 1 !important;
  transition: transform .35s ease;
}

.short-card:hover .short-bg-img {
  transform: scale(1.06);
}

.short-card .short-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.05) 100%) !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

.short-card .short-badge {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  z-index: 4 !important;
  background: linear-gradient(135deg, #ff0000, #d90404) !important;
  color: #fff !important;
  font-size: .72rem !important;
  font-weight: 800 !important;
  padding: 3px 10px !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px;
}

.short-card .play-button {
  z-index: 4 !important;
  opacity: 0.9;
  transition: transform .25s ease, opacity .25s ease;
}

.short-card:hover .play-button {
  transform: translate(-50%, -50%) scale(1.15);
  opacity: 1;
}

.short-card .short-info {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 4 !important;
  padding: 12px 14px !important;
  background: transparent !important;
}

.short-card .short-title {
  margin: 0 !important;
  font-size: .88rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #ffffff !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.short-card .short-title a,
.short-card a.stretched-link,
article.short-card a {
  color: #ffffff !important;
  text-decoration: none !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9) !important;
}

.short-card .short-title a:hover,
.short-card a.stretched-link:hover {
  color: #f6c453 !important;
}

.ratio-9x16 {
  --bs-aspect-ratio: 177.77777778%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* ================= YOUTUBE SHORTS STYLE WEB FEED & PLAYER (OFF-WHITE THEME) ================= */
.shorts-wrapper {
  background-color: #f4f5f7;
  color: #212529;
  width: 100%;
  min-height: calc(100vh - 70px);
  padding: 24px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shorts-container {
  display: flex;
  flex-direction: row;
  gap: 24px;
  width: 100%;
  max-width: 1400px;
  max-height: 85vh;
  height: 720px;
  align-items: stretch;
}

/* Main Display Area (Player + Nav + Info) */
.shorts-main-stage {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* 1. Video Player Container */
.shorts-player-container {
  position: relative;
  height: 100%;
  aspect-ratio: 9 / 16;
  max-width: 380px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.shorts-player-box {
  width: 100%;
  height: 100%;
}

.shorts-player-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* 2. Navigation Up/Down Controls Fixed in Middle */
.shorts-nav-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-shrink: 0;
  user-select: none;
}

.shorts-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f0f2f5;
  color: #212529;
  border: 1px solid #dee2e6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.shorts-nav-btn:hover:not(:disabled) {
  background: #ff0000;
  color: #ffffff;
  border-color: #ff0000;
  transform: scale(1.1);
}

.shorts-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.shorts-nav-counter {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6c757d;
  letter-spacing: 0.5px;
}

/* 3. Text Information Panel (Separated block) */
.shorts-info-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  padding-right: 8px;
}

.shorts-info-panel::-webkit-scrollbar {
  width: 6px;
}
.shorts-info-panel::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

.shorts-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.shorts-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ff0000;
}

.shorts-author-meta {
  display: flex;
  flex-direction: column;
}

.shorts-author-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111111;
}

.shorts-author-badge {
  font-size: 0.8rem;
  color: #0d6efd;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.shorts-title {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #111111 !important;
  line-height: 1.4 !important;
  margin-bottom: 16px !important;
}

.shorts-description-box {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333333;
  background: #f8f9fa;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  margin-bottom: 20px;
}

.short-hashtag {
  color: #0d6efd;
  font-weight: 600;
  background: rgba(13, 110, 253, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 4px;
  display: inline-block;
  margin-top: 4px;
}

.shorts-actions-row {
  margin-top: auto;
  display: flex;
  gap: 12px;
}

.shorts-action-btn {
  background: #f0f2f5;
  color: #212529;
  border: 1px solid #dee2e6;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.shorts-action-btn:hover {
  background: #e2e6ea;
  color: #000;
}

/* 4. Related Shorts Sidebar */
.shorts-sidebar {
  width: 360px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.shorts-sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.shorts-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  flex: 1;
  padding-right: 4px;
}

.shorts-sidebar-list::-webkit-scrollbar {
  width: 6px;
}
.shorts-sidebar-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

.shorts-sidebar-item {
  display: flex;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  cursor: pointer;
  background: #f8f9fa;
  border: 1px solid #f0f0f0;
  transition: all 0.2s ease;
}

.shorts-sidebar-item:hover {
  background: #e9ecef;
  transform: translateX(2px);
}

.shorts-sidebar-item.is-active {
  background: #fff0f0;
  border-color: #ff0000;
}

.shorts-sidebar-thumb {
  position: relative;
  width: 80px;
  height: 110px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.shorts-sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shorts-sidebar-thumb .play-badge {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.shorts-sidebar-item:hover .play-badge,
.shorts-sidebar-item.is-active .play-badge {
  opacity: 1;
}

.shorts-sidebar-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  flex: 1;
}

.shorts-sidebar-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111111;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shorts-sidebar-item-author {
  font-size: 0.8rem;
  color: #6c757d;
}

.shorts-sidebar-item .now-playing-badge {
  font-size: 0.7rem;
  background: #ff0000;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  margin-top: 6px;
  display: inline-block;
  width: fit-content;
}

/* Mobile & Tablet Responsive */
@media (max-width: 1200px) {
  .shorts-container {
    max-height: none;
    height: auto;
    flex-direction: column;
  }
  .shorts-sidebar {
    width: 100%;
    max-height: 400px;
  }
}

@media (max-width: 992px) {
  .shorts-main-stage {
    flex-direction: column;
    align-items: center;
  }
  .shorts-player-container {
    max-width: 100%;
    width: 320px;
    height: 568px;
  }
  .shorts-nav-controls {
    flex-direction: row;
  }
}

.flip-x {
  transform: scaleX(-1);
}

.gallery-photo {
  position: relative;
  border: 0;
  padding: 0;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--light-color);
}

.gallery-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .25s ease;
}

.gallery-photo:hover img,
.gallery-photo:focus img {
  transform: scale(1.04);
}

.article-content {
  max-width: 780px;
  font-size: 1.03rem;
}

.article-content h2,
.article-content h3 {
  margin-top: 2rem;
  color: var(--dark-color);
  font-weight: 900;
  line-height: 1.25;
}

.article-content p {
  margin-bottom: 1.15rem;
}

.article-content blockquote {
  margin: 28px 0;
  padding: 24px;
  color: var(--dark-color);
  background: #fff7df;
  border-left: 5px solid var(--accent-color);
  border-radius: var(--radius);
  font-weight: 700;
}

.toc-box,
.sidebar-box {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(9,13,31,.05);
}

.toc-box a,
.sidebar-box a {
  color: var(--text-color);
}

.toc-box a:hover,
.sidebar-box a:hover {
  color: var(--primary-color);
}

.testimonial-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: stretch;
  max-width: 980px;
  text-align: left;
}

.testimonial-avatar-wrap {
  position: relative;
  min-height: 360px;
  background:
    radial-gradient(circle at 70% 20%, rgba(246, 196, 83, .26), transparent 28%),
    linear-gradient(135deg, var(--dark-color), var(--primary-color));
}

.testimonial-avatar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 168px;
  height: 168px;
  transform: translate(-50%, -50%);
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid rgba(255,255,255,.9);
  box-shadow: 0 18px 38px rgba(0,0,0,.22);
}

.testimonial-content {
  padding: 46px 54px;
}

.home-testimonial-title {
  font-size: clamp(2.25rem, 4vw, 4.35rem);
  line-height: 1.14;
}

.testimonial-mini-card {
  padding: 24px;
}

.testimonial-mini-avatar {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(246,196,83,.45);
  box-shadow: 0 10px 22px rgba(9,13,31,.1);
}

.testimonial-mini-text {
  margin: 8px 0 0;
  color: var(--text-color);
  font-size: .98rem;
  line-height: 1.65;
}

.form-error {
  display: block;
  min-height: 20px;
  color: var(--primary-color);
  font-size: .82rem;
  margin-top: 4px;
}

.site-footer {
  color: rgba(255,255,255,.78);
  background: #070b18;
}

.site-footer a {
  color: rgba(255,255,255,.78);
}

.site-footer a:hover {
  color: var(--accent-color);
}

.footer-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.back-to-top,
.mobile-float {
  position: fixed;
  z-index: 1030;
}

.back-to-top {
  right: 18px;
  bottom: 88px;
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  padding: 0;
}

.mobile-float {
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: none;
  gap: 10px;
}

.mobile-float .btn {
  flex: 1;
}

.toast-container {
  z-index: 1080;
}

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

.ratio-hero {
  aspect-ratio: 16 / 11;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ── Quick Contact Form (CTA section) ── */
.quick-contact-form .form-control {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.quick-contact-form .form-control::placeholder {
  color: rgba(255,255,255,.5);
}
.quick-contact-form .form-control:focus {
  background: rgba(255,255,255,.15);
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(246,196,83,.25);
  color: #fff;
}
