/*
Theme Name: Medio Digital
Author: Giovanni Zamudio
Version: 1.0
*/

body {
  background-color: #fcfcfc;
}

/*header*/
header img {
  transition: opacity 0.3s ease;
}

header img:hover {
  opacity: 0.8;
}

.letter-spacing {
  letter-spacing: 0.15em;
}

/* Header Glow Custom Styles */
.header-glow {
  /*border-bottom: 3px solid #000;*/
  background-color: #fcfcfc;
  /*position: sticky;*/
  top: 0;
  z-index: 1020;
  transition: all 0.3s ease;
}

.header-glow.header-scrolled {
  /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.site-wrapper {
  /*max-width: 1400px;*/
  /* Or whatever width preferred, widely standard */
  margin: 0 auto;
  /*border: 3px solid #000;*/
  /* Main box border */
  background-color: #fcfcfc;
  min-height: 100vh;
}

/* Search Form */
.search-form-glow .input-group-text,
.search-form-glow .form-control {
  border-color: #fcfcfc;
  /* Darker border like image */
}

.search-form-glow .form-control:focus {
  box-shadow: none;
  border-color: #fcfcfc;
}

.search-form-glow input::placeholder {
  color: transparent;
  /* Hide placeholder if not needed or style it */
}

/* Social List */
.social-list li {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.3rem;
  color: #555;
  font-weight: 600;
}

/* Center Section */


/* Right Menu */
.menu-editorial li {
  margin-bottom: 0.8rem;
  text-align: right;
}

/* Video Section */
.video-section-glow {
  /* Using bootstrap .container for layout */
}

.video-frame {
  background-color: #fcbd69;
  /* Peach/Orange color from image */
  padding: 15px 15px 40px 15px;
  /* Thicker bottom padding? styles vary to match image */
  position: relative;
  display: block;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  background-color: #000;
  overflow: hidden;
}

.video-wrapper img.video-cover,
.video-wrapper video,
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.play-button-overlay:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 25px solid #333;
  margin-left: 5px;
  /* Visual centering adjustment */
}

.menu-editorial ul {
  list-style: none;
}

.menu-editorial li {
  margin-bottom: 0px;

}

.menu-editorial a {
  text-decoration: none;
  color: #6c9fbf;
  letter-spacing: 0.1em;
  /* Reduced logic */
  font-size: 0.85rem;
  padding: 2px 5px;
  transition: all 0.2s ease;
  display: inline-block;
  font-family: 'Baskerville', serif;
  font-weight: 400 !important;
  /* Regular */
  color: #2b2b2b;
}

.menu-editorial a:hover {
  background-color: #dbeefc;
  /* Light blue highlight */
  color: #5a8ca8;
}

.social-list a {
  font-family: 'Baskerville', serif;
  font-weight: 400 !important;
  font-size: 0.8rem;
  /* Adjust if needed */
}

/*fin header*/

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-family: 'Baskerville', serif;
  font-weight: 500;
  /* Medium */
}

.glow-marquee-content .hero-kicker {
  font-size: 180px !important;
  line-height: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 300;
  margin: 1rem 0;
}

.hero-brand {
  letter-spacing: 0.5em;
  font-size: 0.9rem;
}

.editorial-text {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Mobile Menu Custom Styles */
#mobileMenu {
  background-color: #fcfcfc;
  color: #2b2b2b;
}

#mobileMenu .offcanvas-title {
  color: #2b2b2b;
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  letter-spacing: 0.1em;
}

#mobileMenu .offcanvas-body a {
  color: #2b2b2b !important;
  font-family: 'Baskerville', serif;
  font-size: 1.5rem;
  /* Larger for mobile */
  text-decoration: none;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  /* Subtle separator */
}

#mobileMenu .offcanvas-body a:hover {
  color: #000 !important;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Custom Editorial Row for Spacing Logic */
/* CSS Grid for Editorial Layout */
.editorial-grid-container {
  display: grid;
  grid-template-columns: 1fr;
  /* Mobile default */
  gap: 20px;
  width: 100%;
}

@media (min-width: 768px) {
  .editorial-grid-container {
    grid-template-columns: repeat(4, 1fr);
    /* 4 Equal columns */
    gap: 20px;
    /* Space between them */
  }
}

@media (min-width: 992px) {
  .header-glow .search-form-glow .input-group {
    max-width: 180px;
  }
}

/*
Theme Name: Glow
Theme URI: https://revistaglow.mx
Author: Glow Team
Author URI: https://revistaglow.mx
Description: Tema para Revista Glow estilo editorial minimalista
Version: 1.0.1
*/

/* =========================================
   CUSTOM FONTS
   ========================================= */
@font-face {
  font-family: 'Baskerville';
  src: url('./assets/fonts/Baskervville/Baskervville-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'Baskerville';
  src: url('./assets/fonts/Baskervville/Baskervville-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}

@font-face {
  font-family: 'Helvetica Roman';
  src: url('./assets/fonts/helvetica-neue-lt-pro-55-cufonfonts/HelveticaNeueLTPro-Roman.otf') format('opentype');
  /* or 'truetype' if converted, but otf is opentype usually */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Helvetica Light';
  src: url('./assets/fonts/helvetica-neue-lt-pro-55-cufonfonts/HelveticaNeueLTPro-Lt.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

/* =========================================
   GLOBAL STYLES
   ========================================= */

.hero-title-2 {
  font-family: 'Helvetica Roman', sans-serif;
  font-weight: normal;
  /* Roman usually implies regular/normal weight */
  margin-bottom: 1rem;
  font-size: 38px !important;
  /* Size 38px */
  /* Adjust as needed */
  text-transform: uppercase;
  /* Often used with Helvetica titles */
  letter-spacing: 0.2em !important;
  /* Spacing 200 */
}

.hero-phrase-2 {
  font-family: 'Baskerville', serif;
  font-weight: 400 !important;
  /* Regular */
  font-size: 37px !important;
  line-height: 40px !important;
  letter-spacing: 0.05em !important;
  /* Spacing 50 */
}

.editorial-grid-item {
  width: 100%;
  min-width: 0;
  /* Critical for grid to respect 1fr with large content */
  /* No padding needed, grid handles spacing */
}

/* Editorial Card Design */
.editorial-card {
  position: relative;
  overflow: hidden;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: #fff;
  transition: transform 0.3s ease;
}

.editorial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  /* Dark overlay */
  transition: background 0.3s ease;
  z-index: 1;
}

.editorial-card:hover::before {
  background: rgba(0, 0, 0, 0.1);
}

.editorial-card-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  width: 80%;
  height: 250px;
}

.editorial-card-title {
  font-family: 'Baskerville', serif;
  font-weight: 400;
  /* Regular */
  text-transform: uppercase;
  letter-spacing: 0.2em;
  /* INTERLETRADO: 200 */
  font-size: 25px;
  /* TAMAÑO: 35 */
  margin-bottom: 1rem;
  color: #fff;
}

.editorial-card-text {
  font-size: 18px;
  /* TAMAÑO: 23 */
  /*line-height: 40px;*/
  /* INTERLINEADO: 40 */
  letter-spacing: 0.07em;
  /* INTERLETRADO: 70 */
  color: #fff;
  opacity: 0.9;
  font-weight: 300;
  font-family: 'Helvetica Light', "Helvetica Neue", Helvetica, sans-serif;
}

/* Section Title Styles */
.section-title-wrapper {
  border-bottom: 2px solid #ccc;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
}

.section-title-glow {
  /*background-color: #dbeaf6;*/
  /* Light blue background from image */
  color: #333;
  /* Darker based on image */
  font-family: 'Baskerville', serif;
  font-weight: 500;
  /* Medium */
  text-transform: uppercase;
  font-size: 60px;
  /* TAMAÑO: 60 */
  line-height: 100px;
  /* INTERLINEADO: 100 */
  padding: 0 10px;
  letter-spacing: 0.1em;
  /* INTERLETRADO: 100 */
  display: inline-block;
  margin-right: 1rem;
}

.section-subtitle-glow {
  color: #ff7f50;
  /* Orange color */
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
}

/* Footer Glow Styles */
.footer-glow {
  background-color: #fcc986;
  /* Peach/Orange from image */
  padding-bottom: 4rem;
  border-top: 1px solid transparent;
}

.footer-logo img {
  max-width: 150px;
  /* Adjust size as needed */
  display: block;
}

.footer-nav ul,
.footer-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.8rem;
}

.footer-nav a {
  font-family: 'Times New Roman', Times, serif;
  text-transform: uppercase;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #000;
  text-decoration: underline;
}

.footer-social li {
  margin-bottom: 0.5rem;
}

.footer-social a {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  color: #555;
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.footer-regular-text {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #ff5722;
  /* Deep orange color */
  font-size: 1.5rem;
  margin-top: 1rem;
}

.footer-search input.form-control {
  background-color: transparent;
  border: 1px solid #fcfcfc;
  border-radius: 20px;
  /* Rounded pill shape */
  padding-left: 1rem;
  color: #333;
}

.footer-search input.form-control::placeholder {
  color: #555;
}

.footer-search .btn-search {
  background: none;
  border: none;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #555;
}

/* Trending Module Styles */
.trending-section {
  padding: 3rem 0;
}

.trending-header {
  border-bottom: 1px solid #999;
  margin-bottom: 2rem;
  padding-bottom: 10px;
}

.trending-title {
  font-family: 'Baskerville', serif;
  font-weight: 500;
  /* Medium */
  font-size: 60px;
  /* TAMAÑO: 60 */
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  /* INTERLETRADO: 100 */
  margin: 0;
}

.trending-card {
  margin-bottom: 2rem;
}

.trending-img-wrapper {
  width: 100%;
  aspect-ratio: auto;
  /* Allow natural height */
  overflow: hidden;
  margin-bottom: 0.5rem;
  /* Reduced margin */
}

.trending-img-wrapper img {
  width: 100%;
  height: auto;
  /* Natural height */
  object-fit: contain;
  /* Behave naturally */
  transition: transform 0.3s ease;
  display: block;
  /* Remove inline gap */
}

.trending-img-wrapper:hover img {
  transform: scale(1.05);
}

.trending-card-title {
  font-family: 'Baskerville', serif;
  font-weight: 400;
  /* Regular */
  font-size: 1.4rem;
  /* TAMAÑO: 40 */
  margin-bottom: 0.5rem;
  color: #333;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-top: 15px;
  /* INTERLETRADO: 10 */
}

.trending-highlight {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #ff5722;
  font-weight: 400;
  margin-left: 0.3rem;
  display: inline-block;
}

.trending-card-excerpt {
  font-family: 'Helvetica Light', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  /* TAMAÑO: 23 */
  line-height: 20px;
  /* INTERLINEADO: 40 */
  letter-spacing: 0.07em;
  /* INTERLETRADO: 70 */
  color: #666;
  font-weight: 300;
}

.trending-card-highlight-orange {
  color: #ff5722;
  font-size: 1.5rem;
  display: block;
  margin-top: 0.5rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Subscription Module Styles */
.subscription-section {
  background-color: #fbf6ed;
  /* Cream/Beige background */
  padding: 5rem 0;
  text-align: center;
}

.subscription-title-img {
  max-width: 900px;
  width: 100%;
  margin: 0 auto 3rem auto;
  display: block;
}

.subscription-heading {
  font-family: 'Times New Roman', Times, serif;
  text-transform: uppercase;
  font-size: 2rem;
  letter-spacing: 0.15em;
  color: #333;
  margin-bottom: 0.5rem;
}

.subscription-subtext {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: #555;
  margin-bottom: 2rem;
  display: block;
}

.subscription-form {
  max-width: 600px;
  margin: 0 auto;
}

.subscription-form .form-control {
  background-color: transparent;
  border: 1px solid #777;
  border-radius: 30px;
  /* Pill shape */
  padding: 0.75rem 1.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: #333;
}

.subscription-form .form-control::placeholder {
  color: #333;
  opacity: 0.8;
}

/* Ediciones de Colección Module Styles */
.ediciones-section {
  padding: 5rem 0;
  text-align: center;
}

.ediciones-header-number {
  border: 0.5px solid #333;
  border-radius: 50%;
  width: 80px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  font-family: 'Times New Roman', Times, serif;
  font-size: 6.5rem;
  /* Larger number */
  font-weight: 500;
  color: #BF221D;
  /* Light blue number */
}

.ediciones-title {
  color: #333;
  margin-bottom: 3rem;
  line-height: 1.2;
}

.ediciones-word-1 {
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.5rem;
  /* Smaller "EDICIONES" */
  letter-spacing: 0.2em;
  font-weight: 500;
  /* Medium? */
}

.ediciones-word-2 {
  font-family: 'Times New Roman', Times, serif;
  font-size: 3rem;
  /* Larger "DE COLECCIÓN" */
  letter-spacing: 0.1em;
  font-weight: 500;
}

.ediciones-card {
  margin-bottom: 2rem;
  text-align: center;
}

/* Inner container for grid to center module more */
.ediciones-grid-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.ediciones-img-wrapper {
  width: 70%;
  /* Smaller images */
  aspect-ratio: 3/4;
  /* Vertical magazine cover */
  background-color: #fafafa;
  margin: 0 auto 1rem auto;
  /* Centered */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.ediciones-img-wrapper img {
  width: 100%;
  height: 100%;
  /*object-fit: cover;*/
  transition: transform 0.3s ease;
}

.ediciones-img-wrapper:hover img {
  transform: scale(1.03);
}

.ediciones-placeholder-icon {
  font-size: 5rem;
  color: #8daac3;
  font-family: 'Times New Roman', Times, serif;
}

.ediciones-card-title {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #333;
  margin-top: 0.8rem;
  font-weight: 600;
}

.ediciones-card-subtitle {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: #777;
  line-height: 1;
  display: block;
}

.ediciones-description {
  max-width: 800px;
  margin: 3rem auto 3rem auto;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px !important;
  /* TAMAÑO: 32 */
  line-height: 38px !important;
  /* INTERLINEADO: 58 */
  letter-spacing: 0.025em !important;
  /* INTERLETRADO: 25 */
  color: #666;
  text-align: center;
}

.ediciones-btn {
  display: inline-block;
  border: 1px solid #333;
  color: #333;
  /* Dark text */
  padding: 0.6rem 2.5rem;
  border-radius: 25px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  background: transparent;
}

.ediciones-btn:hover {
  background-color: #333;
  color: #fff;
}

/* Single Post Glow Styles (Custom) */
.single-post-glow .single-post-header {
  margin-bottom: 2rem;
}

.single-post-section {
  /* "SECCIÓN" */
  font-family: 'Baskerville', serif;
  text-transform: uppercase;
  font-size: 20px !important;
  /* Requested: 40 */
  letter-spacing: 0.1em !important;
  /* Requested: 100 */
  color: #444;
  margin-bottom: 1rem;
  font-weight: 500;
  /* Medium weight */
}

.single-post-title {
  font-family: 'Baskerville', serif;
  font-weight: 500;
  /* Medium */
  text-transform: uppercase;
  font-size: 45px !important;
  /* Requested: 60 */
  letter-spacing: 0.2em !important;
  /* Requested: 200 */
  color: #333;
  margin-bottom: 2rem;
  line-height: 1.1;
}

@media (max-width: 768px) {
  .single-post-title {
    font-size: 40px !important;
    /* Mobile optimization (reduced from 104px) */
  }
}

.single-post-meta {
  /* border-top: 1px solid #ccc; Removed as per user request */
  padding: 1rem 0;
  padding-top: 5px;
  font-family: 'Helvetica Light', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px !important;
  /* Requested: 27 */
  letter-spacing: 0.1em !important;
  /* Requested: 100 */
  color: #666;
  font-weight: 300;
  /* Light */
}

.single-post-meta .meta-label {
  /* "TEXTO DE" */
  font-weight: 300;
  /* Light */
}

.single-post-meta .meta-author {
  /* "NOMBRE DEL AUTOR" */
  font-weight: 300;
  color: #333;
}

.single-post-image img {
  border: none;
  /* Clean image */
  /*max-height: 800px;*/
  width: 100%;
  max-width: 850px;
  object-fit: cover;
}

/* Post Body Typography */
.single-post-glow .post-body {
  font-family: 'Helvetica Light', "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* "45 Light" */
  font-size: 18px;
  /* TAMAÑO: 18 */
  line-height: 42px;
  /* INTERLINEADO: 42 */
  letter-spacing: 0.07em;
  /* INTERLETRADO: 70 */
  color: #333;
  font-weight: 300;
}

.single-post-glow .post-body p {
  font-size: 18px;
  line-height: 42px;
  letter-spacing: 0.07em;
  margin-bottom: 2rem;
}

.single-post-glow .post-body h2 {
  font-size: 25px;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

/* WordPress Standard Alignment Classes */
.aligncenter,
img.aligncenter,
figure.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  clear: both;
}

.alignleft,
img.alignleft,
figure.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright,
img.alignright,
figure.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.post-body img,
.post-body figure img {
  max-width: 100%;
  height: auto;
  max-height: 600px;
  /* User requested max height */
  width: auto;
  /* Maintain aspect ratio */
  display: block;
  /* Ensure margin auto works */
  margin: 0 auto;
  /* Center if width < container */
  object-fit: contain;
  border-radius: 4px;
  /* Optional: slight polish */
}

/* Force Specificity for Post Body Alignment */
.single-post-glow .post-body .aligncenter,
.single-post-glow .post-body img.aligncenter,
.single-post-glow .post-body figure.aligncenter,
.single-post-glow .post-body .wp-caption.aligncenter {
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
  float: none !important;
  /* Critical for centering if float was previously set */
}

.single-post-glow .post-body .alignleft {
  float: left;
  margin-right: 1.5rem !important;
  margin-bottom: 1rem;
}

.single-post-glow .post-body .alignright {
  float: right;
  margin-left: 1.5rem !important;
  margin-bottom: 1rem;
}

/* Blockquote Styling */
.single-post-glow .post-body blockquote {
  border-left: 4px solid #ff5722;
  /* Use brand orange/red */
  margin: 1.5rem 0 1.5rem 1rem;
  padding-left: 1.5rem;
  font-style: italic;
  color: #555;
  background: #f9f9f9;
  padding: 1rem;
}

/* Fix for Gutenberg Figures */
figure {
  margin: 0 0 1.5rem 0;
}

/* Bajada / Intro Styles */
.single-post-bajada {
  font-family: 'Baskerville', serif;
  font-weight: 400;
  /* Regular */
  font-size: 39px;
  /* TAMAÑO: 39 */
  line-height: 63px;
  /* INTERLINEADO: 63 */
  color: #333;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.07em;
  /* INTERLETRADO: 70 */
}

/* More Inspiration Module */
.section-title-inspiration {
  font-family: 'Times New Roman', Times, serif;
  text-transform: uppercase;
  font-size: 1.8rem;
  color: #333;
  letter-spacing: 0.1em;
  border-bottom: 2px solid #ccc;
  /* Underline as seen in design */
}

.inspiration-title {
  font-family: 'Baskerville', serif;
  font-weight: 400;
  /* Regular */
  font-size: 20px;
  /* Requested: 25 */
  color: #333;
  letter-spacing: 0.01em;
  /* INTERLETRADO: 10 */
  line-height: 1.2;
}

.inspiration-excerpt {
  font-family: 'Helvetica Light', "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #666;
  font-weight: 300;
  /* Light */
  font-size: 13px;
  /* Requested: 15 */
  line-height: 20px;
  /* INTERLINEADO: 40 */
  letter-spacing: 0.07em;
  /* INTERLETRADO: 70 */
}

/* -----------------------------------------------------------
   SECTION / ARCHIVE TEMPLATE STYLES
----------------------------------------------------------- */

.section-title {
  font-weight: normal;
}

.section-description {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.02em;
}

/* Masonry JS Support */
.section-masonry-grid {
  margin-left: -1rem;
  margin-right: -1rem;
  display: block !important;
  /* Override any grid */
}

.masonry-item {
  width: 100%;
  padding: 0 1rem;
  float: left;
  /* Fallback */
}

@media (min-width: 768px) {
  .masonry-item {
    width: 50%;
  }
}

@media (min-width: 1200px) {
  .masonry-item {
    width: 33.333%;
  }
}

/* Section Card Styles */
.section-card {
  transition: opacity 0.3s ease;
}

.section-card:hover {
  opacity: 0.8;
}

.section-card-title {
  color: #333;
  line-height: 1.2;
}

.section-card-excerpt {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.5;
  color: #777;
}

/* -----------------------------------------------------------
   SUBSCRIPTION MODULE STYLES
----------------------------------------------------------- */
.subscription-section {
  padding: 4rem 0;
  text-align: center;
  background-color: #ffcccc;
}

.subscription-title-img {
  max-width: 950px;
  margin-bottom: 150px;
}

.subscription-interiores .subscription-title-img {
  max-width: 600px;
  margin-bottom: 80px;
}

.subscription-heading {
  font-family: 'Baskerville', serif;
  font-weight: 400;
  /* Regular */
  font-size: 41px;
  /* TAMAÑO: 61 */
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
  /* INTERLETRADO: 100 */
  color: #333;
}

.subscription-subtext {
  display: block;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  /* Helvetica 55 Roman */
  font-size: 21px;
  /* TAMAÑO: 21 */
  color: #333;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
  /* INTERLETRADO: 100 */
}

.subscription-subtext-m {
  display: block;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  /* Helvetica 55 Roman */
  font-size: 21px;
  /* TAMAÑO: 21 */
  color: #333;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
  display: none;
}

.subscription-form {
  max-width: 600px;
  margin: 0 auto;
}

.subscription-form .form-control {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  /* Helvetica 55 Roman */
  font-size: 14px;
  /* Standard input size or match subtext? standardized usually smaller */
  letter-spacing: 0.05em;
  border-radius: 25px;
  /* Curved corners */
  border: 1px solid #333;
  padding: 0.8rem 1rem;
}

/* -----------------------------------------------------------
   AJAX SEARCH STYLES
----------------------------------------------------------- */
#ajax-search-results {
  top: 100%;
  border-top: none;
  border-radius: 0 0 4px 4px;
  max-height: 400px;
  overflow-y: auto;
}

#ajax-search-results .list-group-item {
  border: none;
  border-bottom: 1px solid #f0f0f0;
  padding: 0.75rem 1rem;
  transition: background-color 0.2s;
}

#ajax-search-results .list-group-item:last-child {
  border-bottom: none;
}

#ajax-search-results .list-group-item:hover {
  background-color: #f9f9f9;
}

/* Pagination Styles */
.page-numbers {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0 0.2rem;
  color: #333;
  border: 1px solid #ddd;
  text-decoration: none;
  border-radius: 4px;
}

.page-numbers.current,
.page-numbers:hover {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

/* -----------------------------------------------------------
   STICKY SIDEBAR (SINGLE POST)
-----------------------------------------------------------*/
/* Sticky Sidebar for Single Post */
@media (min-width: 992px) {

  /* Remove sticky from main sidebar wrapper */
  .single-post-sidebar {
    /* valid for alignment but not sticky anymore */
  }

  /* Apply sticky to the content wrapper (Ads) */
  .sticky-sidebar-content {
    position: sticky;
    top: 130px;
    /* Adjust based on header height */
  }
}

/* Hide H1 in post body to prevent duplicate titles */
.single-post-glow .post-body h1 {
  display: none;
}

/* Front Page Background */
body.home,
.home .site-wrapper,
.home main {
  background-color: #fcfcfc;
}

/* Section Card Images (Archive/Category) */
.section-card img {
  width: 100%;
  object-fit: cover;
  min-height: 250px;
  max-height: 400px;
}

/* Marquee Effect */
.glow-marquee-container {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-y: hidden;
  white-space: nowrap;
  position: relative;
  display: block;
}

.glow-marquee-content {
  display: inline-block;
  animation: glow-marquee 180s linear infinite;
  padding-left: 100%;
  /* Start from right edge */
}

/* .glow-marquee-content:hover {
  animation-play-state: paused;
} */

@keyframes glow-marquee {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-100%, 0);
  }
}

/* -----------------------------------------------------------
   FOOTER STYLES
----------------------------------------------------------- */
.footer-glow {
  background-color: #BF221D;
  /* Peach/Orange from design */
  padding-bottom: 4rem;
  border-top: 1px solid #BF221D;
  /* margin-top: 150px; */
  /* Slightly darker border if needed */
}

.footer-nav ul li,
.footer-social ul li {
  margin-bottom: 0.8rem;
}

.footer-nav a,
.footer-social a {
  font-family: 'Times New Roman', Times, serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
  color: #fcfcfc !important;
  font-weight: 500;
  transition: opacity 0.3s;
}

.footer-nav a:hover,
.footer-social a:hover {
  text-decoration: underline !important;
  opacity: 0.7;
}

/* Social Alignment */
.footer-social li a {
  /* Ensure icons align */
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Footer Search */
.footer-search {
  max-width: 200px;
  margin-left: auto;
  /* Push to right */
}

.footer-search input {
  background: transparent;
  border: 1px solid #fcfcfc;
  border-radius: 50px;
  /* Pill shape */
  padding: 0.5rem 1rem;
  width: 200px;
  /* Fixed width as requested */
  color: #fcfcfc;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.05em;
}

.footer-search input::placeholder {
  color: #fcfcfc;
  opacity: 0.7;
}

.footer-search .btn-search {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fcfcfc;
  padding: 0;
}

/* Mobile Footer Centering */
@media (max-width: 768px) {
  .div-search {
    display: none;
  }

  .footer-glow {
    text-align: center;
  }

  .footer-nav ul,
  .footer-social ul {
    padding-left: 0;
  }

  .footer-nav li,
  .footer-social li {
    display: flex;
    justify-content: center;
  }

  .footer-social li a {
    justify-content: center;
  }

  .footer-search {
    margin: 0 auto;
    /* Center the search box */
  }

  /* Reset logo alignment if needed */
  .footer-logo img {
    margin: 0 auto;
  }
}

/* Spinning Star Separator */
.star-separator-wrapper {
  position: relative;
  height: 0;
  z-index: 99;
  /* High enough to be on top */
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  /* Don't block interaction */
}

.star-separator {
  width: 120px;
  height: 120px;
  animation: spin-slow 10s linear infinite;
  color: #ed7272;
  /* Updated Star Color */
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.1));
  /* Optional popup */
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Trending Module Images (Home) */
.trending-img-wrapper img {
  width: 100%;
  min-height: 250px;
  max-height: 400px;
  object-fit: cover !important;
}

/* Home Video Custom Styles for Mobile Responsiveness */
.home-video-container-mp4 {
  width: 100%;
}

.home-video-ratio-mp4 {
  border: 10px solid #BF221D;
}

.home-video-player {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  left: 0% !important;
  top: 0% !important;
}

.home-video-container-yt {
  width: 90%;
}

.home-video-ratio-yt {
  border: 10px solid #fec984;
}

@media (max-width: 768px) {

  .home-video-container-mp4,
  .home-video-container-yt {
    width: 100% !important;
  }

  .home-video-ratio-mp4,
  .home-video-ratio-yt {
    border: 5px solid #BF221D !important;
  }

  .home-video-player {
    width: 100% !important;
    height: 100% !important;
    left: 0 !important;
    top: 0 !important;
  }

  /* Marquee overrides */
  .glow-marquee-container {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
  }

  .glow-marquee-content .hero-kicker {
    font-size: 60px !important;
  }

  .hero-title-2 {
    font-size: 17px !important;
  }

  .hero-phrase-2 {
    font-size: 17px !important;
    line-height: 22px !important;
  }

  #hero-editorial-2 {
    padding-top: 100px !important;
    padding-bottom: 50px !important;
  }

  .section-title-wrapper {
    display: inline-block !important;
    text-align: center;
    padding-bottom: 0px !important;
  }

  .editorial-card {
    height: 500px !important;

  }

  .not-for-link {
    background-size: 100% auto !important;
    background-repeat: no-repeat !important;
    background-position: center 70% !important;
    background-color: #000 !important;
  }

  #grid-de-notas {
    padding-top: 50px !important;
    padding-bottom: 0 !important;
  }

  .section-title-glow,
  .trending-title {
    font-size: 25px !important;
  }

  #trending-module,
  #subscribe-module {
    padding-top: 80px !important;
    padding-bottom: 50px !important;
  }

  .trending-header {
    text-align: center !important;
  }

  .trending-card-title {
    text-align: center !important;
  }

  .trending-card-excerpt {
    text-align: center !important;
  }

  .subscription-title-img {
    margin-bottom: 50px !important;
  }

  .subscription-heading {
    font-size: 18px !important;
  }

  .subscription-subtext {
    display: none;
    font-size: 14px !important;
  }

  .subscription-subtext-m {
    display: block !important;
    font-size: 14px !important;
  }

  .ediciones-word-2 {
    font-size: 2rem;
  }

  .ediciones-card-title {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 50px;
  }

  .ediciones-description {
    font-size: 18px !important;
    line-height: 28px !important;
  }

  .footer-logo img {
    max-width: 60% !important;
  }

  /* Mobile Search Bar Expand Animation */
  .mobile-search-form .input-group {
    flex-wrap: nowrap !important;
  }

  .mobile-search-form .form-control {
    width: 0 !important;
    max-width: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border: none !important;
    opacity: 0;
    transition: all 0.4s ease;
    flex: 0 0 auto !important;
  }

  .mobile-search-form.active .form-control {
    width: 100% !important;
    max-width: 100%;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    border: 1px solid #333 !important;
    border-left: none !important;
    opacity: 1;
    flex: 1 1 auto !important;
  }

  .mobile-search-form:not(.active) .input-group-text {
    border-radius: 50rem !important;
    border-right: 1px solid #333 !important;
  }

  .mobile-search-trigger {
    position: relative;
    z-index: 10;
  }

  .mobile-search-trigger svg {
    pointer-events: none;
    /* Ensure the span receives the click, not the SVG path */
  }

  .mobile-search-form.active .input-group-text {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right: none !important;
  }

  .mobile-search-form {
    width: auto;
    display: inline-block;
  }

  .mobile-search-form.active {
    width: 100%;
    display: flex;
    /* keep input group aligned */
  }

  .section-title {
    font-size: 30px !important;
  }

  .section-description {
    font-size: 18px !important;
    line-height: 30px !important;
  }

  .instagram-category {
    margin-top: 50px !important;
    width: 100% !important;
  }
}

/* Post Generated Subtitles & Native H2 */
.post-body h2,
.post-subtitle {
  font-family: 'Baskerville', serif;
  font-weight: 400 !important;
  font-size: 25px;
  /* Size inspired by other Baskerville titles in the theme */
  line-height: 1.2;
}

/* Ocultar sección de posts relacionados YARPP de notas antiguas */
.yarpp,
.yarpp-related,
.yarpp-related-website,
.yarpp-template-thumbnails {
  display: none !important;
}

/* Forzar que el feed de Smash Balloon ocupe el 100% del ancho en la barra lateral */
.instagram-feed-container #sb_instagram {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Ajustes móviles para la bajada y el cuerpo del post */
@media (max-width: 768px) {

  .instagramNota {
    width: 100% !important;
    margin-top: 100px;
  }

  .single-post-bajada {
    font-size: 26px !important;
    line-height: 30px !important;
    text-align: left !important;
  }

  .post-body,
  .post-body p {
    text-align: left !important;
    font-size: 14px !important;
    line-height: 18px !important;
  }

  /* Post Generated Subtitles & Native H2 */
  .post-body h2,
  .post-subtitle {
    font-family: 'Baskerville', serif;
    font-weight: 400 !important;
    font-size: 24px !important;
    /* Size inspired by other Baskerville titles in the theme */
    line-height: 1.2;
  }

  .editorial-card-content {
    width: 95% !important;
    padding: 1rem !important;
  }
}