/* assets/css/smart-magazine.css */
:root {
  /* Paleta configurable según el cliente final */
  --sm-primary-color: #38bdf8;
  --sm-secondary-color: #818cf8;
  --sm-bg-dark: #0f172a;
  --sm-card-bg: #ffffff;
  --sm-card-bg-dark: #1e293b;
  --sm-text-color: #0f172a;
  --sm-text-color-muted: #64748b;
  --sm-font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ==========================================
   RESET ESPECÍFICO DEL COMPONENTE
   ========================================== */
.sm-main-header,
.sm-topbar {
  margin-top: 0 !important;
  padding-top: 0 !important;
  box-sizing: border-box;
}

body.admin-bar .sm-main-header.sm-sticky {
  top: 32px !important;
}

.sm-drawer-close, 
.sm-mobile-close,
.sm-menu-close {
  display: none !important;
}

/* Componentes de botones base */
.sm-btn-modern {
  background: var(--sm-card-bg-dark);
  color: #ffffff;
  font-family: var(--sm-font-family);
  border-radius: 30px;
}

.sm-btn-border rect {
  stroke: var(--sm-primary-color);
}

/* ==========================================
   HEADER & NAVBAR
   ========================================== */
.sm-main-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  width: 100%;
  position: relative;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sm-header-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Topbar */
.sm-topbar {
  background: var(--sm-bg-dark);
  color: #94a3b8;
  font-size: 0.8rem;
  padding: 0.4rem 0;
}

.sm-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sm-topbar-left, 
.sm-topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sm-topbar-date {
  font-weight: 500;
}

.sm-topbar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.sm-topbar-menu a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.sm-topbar-menu a:hover {
  color: #ffffff;
}

.sm-topbar-social {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  border-left: 1px solid #334155;
  padding-left: 1rem;
}

.sm-topbar-social a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sm-topbar-social a:hover {
  color: #ffffff;
}

/* Navbar Body */
.sm-header-body {
  padding: 0.8rem 0;
}

.sm-navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.sm-header-brand {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}

.sm-header-brand img {
  display: block;
  max-width: 100%;
  height: auto;
}

.sm-site-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.sm-site-title span {
  color: var(--sm-primary-color);
}

/* Main Menu Desktop */
.sm-header-navigation {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.sm-main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.sm-main-menu li {
  position: relative;
}

.sm-main-menu a {
  text-decoration: none;
  color: #334155;
  font-weight: 700;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.sm-main-menu a:hover {
  color: var(--sm-primary-color);
}

/* Submenus & GrandMenus */
.sm-main-menu ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 200px;
  display: none;
  list-style: none;
  z-index: 100;
}

.sm-main-menu li:hover > ul {
  display: block;
}

.sm-main-menu ul a {
  padding: 0.5rem 1rem;
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
}

.grandmenu-vertical .sm-main-menu ul ul {
  top: 0;
  left: 100%;
}

/* Header Actions & Ajax Search */
.sm-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 1;
  min-width: 0;
}

.sm-ajax-search-container {
  position: relative;
  flex-shrink: 1;
  min-width: 0;
  width: 100%;
}

.sm-search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.sm-ajax-search-input {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  font-size: 0.82rem;
  outline: none;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.sm-ajax-search-input:focus {
  border-color: var(--sm-primary-color);
}

.sm-search-icon {
  position: absolute;
  right: 10px;
  color: #64748b;
  pointer-events: none;
  display: flex;
}

.sm-search-results-wrapper {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 280px;
  max-width: 90vw;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 1000;
  overflow: hidden;
}

/* CTA Button */
.sm-header-cta {
  flex-shrink: 0;
}

.sm-header-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--sm-primary-color);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 30px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25);
}

.sm-header-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Mobile Toggle & Drawer Navigation */
.sm-mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 0.25rem;
  flex-shrink: 0;
}

.sm-mobile-toggle span {
  width: 22px;
  height: 2px;
  background: #0f172a;
  display: block;
  transition: all 0.3s ease;
}

.sm-mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  z-index: 10000;
  transition: right 0.3s ease-in-out;
  padding: 2rem 1.5rem;
  box-sizing: border-box;
  overflow-y: auto;
}

.sm-mobile-drawer.is-active {
  right: 0;
}

/* ==========================================
   ESTILOS COMPARTIDOS DE TARJETAS
   ========================================== */
.sm-card, 
.sm-hero-card {
  background: var(--sm-card-bg);
  color: var(--sm-text-color);
  font-family: var(--sm-font-family);
  border-radius: 8px;
  padding: 0;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.sm-hero-card {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.sm-card-img {
  margin-bottom: 0;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
}

.sm-card-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sm-card:hover .sm-card-img img,
.sm-hero-card:hover .sm-hero-img {
  transform: scale(1.04);
}

.sm-badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 0.72rem;
  background: var(--sm-primary-color);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.sm-badge-secondary {
  background: var(--sm-secondary-color);
  color: #ffffff;
}

.sm-time {
  opacity: 0.7;
  font-size: 0.75rem;
  display: inline-block;
  margin-top: 0.3rem;
  color: var(--sm-text-color-muted);
}

.sm-no-posts {
  opacity: 0.6;
  font-size: 0.9rem;
}

/* ==========================================
   LAYOUT 1 (Ajustado: Más Ancha y Menos Larga)
   ========================================== */
.sm-section-layout-1 {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Columna Izquierda: Sticky Hero */
.sm-section-layout-1 .sm-sticky-col {
  width: 100%;
}

.sm-section-layout-1 .sm-hero-card {
  display: flex;
  flex-direction: column;
  height: auto;
}

.sm-section-layout-1 .sm-hero-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--sm-bg-dark);
}

.sm-section-layout-1 .sm-hero-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.sm-section-layout-1 .sm-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.sm-section-layout-1 .sm-hero-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.sm-section-layout-1 .sm-hero-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 10px 0;
}

.sm-section-layout-1 .sm-hero-title a {
  color: var(--sm-text-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sm-section-layout-1 .sm-hero-title a:hover {
  color: var(--sm-primary-color);
}

.sm-section-layout-1 .sm-hero-excerpt {
  font-size: 0.9rem;
  color: var(--sm-text-color-muted);
  line-height: 1.5;
  margin: 0 0 12px 0;
}

/* Columna Derecha: Grid Secundario */
.sm-section-layout-1 .sm-secondary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  flex: 1;
}

.sm-section-layout-1 .sm-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sm-section-layout-1 .sm-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.sm-section-layout-1 .sm-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--sm-bg-dark);
}

.sm-section-layout-1 .sm-card-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.sm-section-layout-1 .sm-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.sm-section-layout-1 .sm-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sm-section-layout-1 .sm-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 6px 0;
}

.sm-section-layout-1 .sm-card-title a {
  color: var(--sm-text-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sm-section-layout-1 .sm-card-title a:hover {
  color: var(--sm-primary-color);
}

.sm-section-layout-1 .sm-card-excerpt {
  font-size: 0.82rem;
  color: var(--sm-text-color-muted);
  line-height: 1.4;
  margin: 0 0 10px 0;
}

/* ==========================================
   LAYOUT 2
   ========================================== */
.sm-section-layout-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.sm-featured-box {
  margin-bottom: 2rem;
}

.sm-featured-box .sm-card-img img {
  height: 320px;
}

.sm-carousel-loop {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.sm-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sm-ad-space {
  background: var(--sm-card-bg-dark);
  color: #ffffff;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 600;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.sm-newsletter-box {
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: var(--sm-card-bg);
}

.sm-newsletter-box h4 {
  margin-top: 0;
  font-size: 1.1rem;
}

.sm-newsletter-box p {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.sm-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sm-input-email {
  padding: 0.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  color: inherit;
}

.sm-btn-submit {
  padding: 0.5rem;
  background: var(--sm-primary-color);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

/* ==========================================
   LAYOUT 3
   ========================================== */
.sm-section-layout-3 {
  background: var(--sm-bg-dark);
  color: #ffffff;
  padding: 3rem 1.5rem;
  border-radius: 12px;
}

.sm-vertical-rotator {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.sm-slide-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 10px;
  align-items: center;
}

.sm-slide-item .sm-card-img {
  width: 100%;
  height: 220px;
  margin-bottom: 0;
}

.sm-slide-item .sm-card-img img {
  height: 100%;
}

.sm-no-img-placeholder {
  width: 100%;
  height: 100%;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 0.85rem;
}

.sm-badge-floating {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--sm-primary-color);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  z-index: 2;
}

.sm-slide-item .sm-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sm-slide-item .sm-card-title {
  margin: 0 0 0.8rem 0;
  font-size: 1.3rem;
  line-height: 1.3;
}

.sm-slide-item .sm-card-title a {
  text-decoration: none;
  color: inherit;
}

.sm-slide-item .sm-card-excerpt {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #ccc;
  margin-bottom: 1rem;
}

.sm-slide-item .sm-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.8rem;
  opacity: 0.8;
}

.sm-video-badge {
  color: #ef4444;
  font-weight: bold;
}

/* ==========================================
   LAYOUT 4 (Card Principal al 100% de Ancho)
   ========================================== */
.sm-section-layout-4 {
  padding: 2rem 0;
  width: 100%;
}

.sm-focus-article {
  text-align: center;
  width: 100%;
  max-width: 100%; /* Elimina la restricción previa de 800px */
  margin: 0 0 2.5rem 0;
}

.sm-focus-article .sm-hero-card {
  padding: 2.5rem 1.5rem;
  border-radius: 12px;
  background: var(--sm-card-bg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  width: 100%;
  box-sizing: border-box;
}

.sm-focus-title {
  font-size: 2.2rem;
  margin: 0.8rem 0 1.2rem 0;
  line-height: 1.2;
}

.sm-focus-article .sm-card-img {
  margin: 1.5rem 0;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.sm-focus-article .sm-card-img img {
  width: 100%;
  max-height: 520px; /* Controla la altura máxima proporcional */
  object-fit: cover;
  display: block;
}

.sm-focus-excerpt {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 900px; /* Ancho de lectura óptimo y centrado */
  margin: 0 auto 1.2rem auto;
  opacity: 0.9;
}

.sm-related-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.sm-related-cards .sm-card {
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.sm-related-cards .sm-card-img img {
  height: 160px;
}

.sm-related-cards .sm-card-title {
  margin: 0.3rem 0 0.5rem 0;
  font-size: 1rem;
  line-height: 1.3;
}

.sm-no-posts-full {
  grid-column: 1 / -1;
  text-align: center;
  opacity: 0.6;
}

/* ==========================================
   LAYOUT 5
   ========================================== */
.sm-section-layout-5 {
  padding: 1.5rem 0;
}

.sm-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.sm-video-card {
  background: var(--sm-bg-dark);
  color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.sm-video-card .sm-card-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.sm-video-thumb-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #000000;
}

.sm-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

.sm-video-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sm-video-card:hover .sm-video-img {
  transform: scale(1.05);
  opacity: 1;
}

.sm-no-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666666;
  font-size: 0.85rem;
}

.sm-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(239, 68, 68, 0.9);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  z-index: 2;
  transition: background 0.3s ease, transform 0.3s ease;
}

.sm-play-btn:hover {
  background: #ef4444;
  transform: translate(-50%, -50%) scale(1.1);
  color: #ffffff;
}

.sm-video-card .sm-card-body {
  padding: 1rem;
}

.sm-video-card .sm-card-title {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  line-height: 1.3;
}

.sm-video-card .sm-card-title a {
  text-decoration: none;
  color: #ffffff;
  transition: color 0.2s ease;
}

.sm-video-card .sm-card-title a:hover {
  color: var(--sm-primary-color);
}

.sm-video-card .sm-card-excerpt {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

/* ==========================================
   LAYOUT 6 (Listado Compacto)
   ========================================== */
.sm-section-layout-6 {
  padding: 1.5rem 0;
}

.sm-compact-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

.sm-card.sm-list-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.2rem;
  align-items: center;
  padding: 0.8rem;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.sm-card.sm-list-item .sm-card-img {
  width: 120px;
  height: 85px;
  margin-bottom: 0;
}

.sm-card.sm-list-item .sm-card-img img {
  height: 100%;
}

.sm-card.sm-list-item .sm-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sm-card.sm-list-item .sm-card-meta-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.sm-card.sm-list-item .sm-card-title {
  margin: 0 0 0.3rem 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.sm-card.sm-list-item .sm-card-title a {
  text-decoration: none;
  color: #0f172a;
  transition: color 0.2s ease;
}

.sm-card.sm-list-item .sm-card-title a:hover {
  color: var(--sm-primary-color);
}

.sm-card.sm-list-item .sm-card-excerpt {
  margin: 0;
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.4;
}

/* ==========================================
   MEDIA QUERIES (RESPONSIVE CENTRALIZADO)
   ========================================== */

/* Móvil Pequeño */
@media (max-width: 480px) {
  .sm-card.sm-list-item {
    grid-template-columns: 90px 1fr;
    gap: 0.8rem;
  }
  .sm-card.sm-list-item .sm-card-img {
    width: 90px;
    height: 70px;
  }
  .sm-card.sm-list-item .sm-card-title {
    font-size: 0.95rem;
  }
}

/* Responsive Navbar / Mobile */
@media (max-width: 991px) {
  .sm-desktop-nav, 
  .sm-topbar-navigation { 
    display: none !important; 
  }
  
  .sm-navbar-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .sm-header-brand {
    order: 1;
    max-width: 140px;
  }

  .sm-mobile-toggle {
    display: flex;
    order: 2;
  }

  .sm-header-actions {
    order: 3;
    width: 100%;
    margin-top: 0.5rem;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .sm-ajax-search-container {
    flex-grow: 1;
  }

  .sm-ajax-search-input {
    font-size: 0.75rem;
    padding: 0.4rem 1.8rem 0.4rem 0.6rem;
  }
}

@media (max-width: 576px) {
  .sm-topbar-inner {
    justify-content: center;
  }
  
  .sm-header-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
  }
}

/* Tablets (min-width: 640px) */
@media (min-width: 640px) {
  .sm-section-layout-1 .sm-secondary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sm-slide-item {
    grid-template-columns: 1fr 1.5fr;
  }

  .sm-related-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .sm-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sm-focus-title {
    font-size: 2.2rem;
  }
}

/* Desktop (min-width: 1024px) */
@media (min-width: 1024px) {
  /* Layout 1: Hero Fijo Más Ancho y Menos Largo + Grid */
  .sm-section-layout-1 {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }

  .sm-section-layout-1 .sm-sticky-col {
    width: 40%;
    position: sticky;
    top: 20px;
    flex-shrink: 0;
  }

  .sm-section-layout-1 .sm-hero-img-wrap {
    aspect-ratio: 9 / 10;
  }

  .sm-related-cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .sm-video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}