/*
Theme Name: Mad Dragon Theme
Theme URI: https://yourwebsite.com
Author: Rocky Arcaro
Author URI: https://yourportfolio.com
Description: A custom WordPress theme for Mad Dragon Music Group.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mad-dragon-theme
*/


.nav-spacer {
    height: 80px; /* or however tall your nav is */
  }


/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Import custom font */
@font-face {
    font-family: 'Antipol_VF';
    src: url('Antipol_VF.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Prevent horizontal scrolling */
html, body {
    overflow-x: hidden;
    width: 100%;
    background-color: #C7C8E7;
    font-family: 'Antipol_VF', sans-serif;
}

/* Header Styling */
.site-header {
    background: #3C4967;
    color: #fff;
    padding: 15px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}
.section-heading{
    font-family:  'Antipol_VF';
}

/* Container */
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

/* Logo */
.logo img {
    height: 50px;
    max-width: 100%;
}

/* Desktop Navigation */
.main-nav {
    flex-grow: 1;
    
    display: flex;
    justify-content: flex-end;
}

.main-nav .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-nav .nav-links li {
    display: inline-block;
}

.main-nav .nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 15px;
    white-space: nowrap;
}

/* Hamburger Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    position: relative;
}

.hamburger-menu span {
    display: block;
    width: 30px;
    height: 3px;
    background: #fff;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%; /* No gap between navbar and dropdown */
    left: 0;
    width: 100%; /* Stretches across full width */
    background: #3C4967; /* Same as nav background */
    text-align: center;
    padding: 15px 0;
}

/* Show menu when toggled */
.mobile-menu.show-menu {
    display: block;
}

/* Mobile Nav Links */
.mobile-menu .mobile-nav-links {
    list-style: none;
    padding: 0;
}

.mobile-menu .mobile-nav-links li {
    padding: 10px 0;
}

.mobile-menu .mobile-nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-family: 'Antipol-VF.', sans-serif;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }
}

/* Hide mobile menu when resizing back to desktop */
@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
}


/* //// Home Page Styles ///// */

/* ===== Info Cards Section ===== */
.info-cards {
    
    padding: 4rem 0rem;
    text-align: center;
  }
  
  .card-grid {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .card {
    background: #3C4967;
    color: white;
    text-decoration: none;
    width: 329px;
    height: 505px;
    box-shadow: 10px 10px 0px #e7538b;
    transition: transform 0.2s ease, color 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    border-radius: 0;
    text-align: center;
  }
  
  .card:hover {
    transform: translateY(-5px);
  }
  
  .card img {
    width: 100%;
    max-width: 260px;
    height: auto;
    margin-bottom: 1rem;
    border: 5px solid #3C4967;
  }
  
  .card h3 {
    font-size: 40px;
    margin: 0.25rem 0 0.5rem;
  }
  
  .card p {
    font-size: 0.95rem;
    margin: 0;
    max-width: 90%;
  }
/* Hover effect: text color shifts to pink */
.card:hover h3,
.card:hover p {
  color: #e7538b;
}

  /* //// Responsive Code for Cards ////// */

  /* Default: 3 in a row (desktop) */
.card-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  /* Card base style */
  .card {
    flex: 1 1 280px; /* allows cards to shrink/grow */
    max-width: 300px;
  }
  
  /* Tablet: 2 per row */
  @media (max-width: 900px) {
    .card {
      flex: 1 1 45%;
      max-width: 45%;
    }
  }
  
  /* Mobile: 1 per row */
  @media (max-width: 600px) {
    .card {
      flex: 1 1 100%;
      max-width: 100%;
    }
  }
  


  .artist-spotlight{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    margin-top: 3rem;
  }

  .homepage-artists{
      display: flex;
      justify-content: center;
  }

  .img-responsive{
      width:50vw;
   transition: transform 0.3s ease;
  display: block;
  max-width: 100%;
  height: auto;
}

.img-responsive:hover {
  transform: scale(1.05); /* Adjust the scale factor if you want more/less zoom */
}


  .page-header{
    display: flex;
    justify-content: center;
    margin-bottom:20px;
    margin-top:50px;
    max-width:100vw;
  }  

  .page-header img{
      max-width:100vw;
  }
  
  .section-heading{
      margin-top:50px;
  }
  /* /////// Home Page Highlight Styles ///////// */


  .highlight-container {
    max-width: 1200px; /* match your card width */
    margin: 0 auto;
    padding: 0 1rem;
  }

  .home-banner {
    display: flex;
    justify-content: center;
    padding: 3rem 1rem;
    background: transparent;
  }
  
  .banner-wrapper {
    display: flex;
    background-color: #3C4967;
    box-shadow: 10px 10px 0px #e7538b;
    color: white;
    max-width: 1000px;
    width: 100%;
    padding: 2rem;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .banner-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border: 5px solid #3C4967;
    flex-shrink: 0;
  }
  
  .banner-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    color: white;
    text-align: left;
  }

  .banner-date {
    font-size: 0.9rem;
    color: #cccccc;
    margin: 0;
  }
  
  .banner-title {
    font-size: 2rem;
    margin: 0;
    color: white;
  }
  
  .banner-desc {
    font-size: 1.1rem;
    margin: 0;
    color: #f0f0f0;
  }
  
    h1{
        font-size:2rem;
    }

  .banner-text h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .banner-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  
  .banner-button {
    background-color: #e7538b;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s;
    align-self: flex-start;
  }
  
  .banner-button:hover {
    background-color: #b43e6a;
  }

/* ///// Highlight Responsive Styles ///// */

  @media (max-width: 768px) {
    .banner-wrapper {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .banner-text {
      align-items: center;
    }
  
    .banner-button {
      align-self: center;
    }
  }


  /* ////// Media Player Styles //////// */

  .mdmg-media-player {
    background-color: #ffb3d9; /* Pink */
    padding: 2rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .media-player-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .album-cover {
    width: 150px;
    height: 150px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  
  .media-meta {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .album-title {
    font-size: 1.8rem;
    margin: 0;
    color: #000;
  }
  
  .artist-name {
    margin: 0.25rem 0;
    color: #333;
    font-size:2rem;
  }
  
  .play-button {
    background-color: #fff;
    color: #d63384;
    border: none;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    cursor: pointer;
    font-weight: bold;
    border-radius: 6px;
  }
  
  .song-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .song-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-top: 1px solid #fff;
    font-weight: 500;
  }
  
  .song-title {
    color: #000;
  }
  
  .song-length {
    color: #000;
    opacity: 0.6;

  }

  /* /////////////// Grid/Card Codes for Posts /////////////// */

/* ─── 1) Grid: 3 / 2 / 1 columns ─── */
.card-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}


.card {
  background-color: #2f3a55;
  overflow: hidden;
  text-decoration: none;
  color: white;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
  box-shadow: 10px 10px 0 #de4ea4;
  max-width: 320px;
  margin: 0 auto; /* centers each card in its grid cell */
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 10px 10px 0 #de4ea4;
}

/* ─── Thumbnail Container: forces a perfect square ─── */
.card .card-thumbnail {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #1e253a; /* fallback if no image */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card .card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── Title & (Optional) Price/Excerpt ─── */
.card .card-title {
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  padding: 1rem 0.75rem 0;
  margin: 0;
  line-height: 1.3;
}

.card .card-price,
.card .card-excerpt {
  font-size: 0.9rem;
  font-weight: 400;
  text-align: center;
  padding: 0.5rem 0.75rem 1rem;
  margin: 0;
  color: #f8f8f8;
}

  /* /////// Artist Page Code /////// */

  .artist-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* Mobile default */
    gap: 8rem;
    padding: 2rem;
  }
  .artist-content{
    margin: 4rem;
    max-width: 75VW;
    
  }
  
  .artist-content h2{
    margin-bottom: 2rem;
    margin-top: 2rem;
    font-size: 1.5rem;       /* ~24px */
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
  
  }
  @media (min-width: 768px) {
  .artist-content h2 {
    font-size: 1.75rem;    /* ~28px */
  }
}

.artist-content blockquote {
  font-size: 1.125rem;     /* ~18px */
  margin: 2rem auto;
  padding-left: 1rem;
  border-left: 4px solid #de4ea4;
  color: #555;
  line-height: 1.6;
}

  @media (min-width: 768px) {
  .artist-content {
    font-size: 1.125rem;  /* ~18px */
  }
}
.artist-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;   /* give some breathing room */  
}
.artist-profile{
  display: flex;
    flex-direction: column;
    /* max-width: 75vw; */
    align-items: center;
    justify-content: center;
}

/* Slightly smaller text on narrow screens (phones) */
@media (max-width: 480px) {
  .artist-content {
    font-size: 0.9rem;    /* ~14.4px */
  }
}

  @media (min-width: 600px) {
    .artist-grid {
      grid-template-columns: repeat(2, 1fr); /* Tablet */
    }
  }
  
  @media (min-width: 900px) {
    .artist-grid {
      grid-template-columns: repeat(3, 1fr); /* Desktop */
      align-self: center;
    }
  }
  

.artist-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .artist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .artist-grid {
    grid-template-columns: 1fr;
  }
}

/* Card box */
.artist-card {
  background-color: #2f3a55;
  overflow: hidden;
  text-align: center;
  color: white;
  text-decoration: none;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
  box-shadow: 10px 10px 0 #de4ea4;
  max-width: 320px;
  margin: 1rem auto;
  border: 16px solid #2f3a55; /* same color to start with, can customize */
}

.artist-card:hover {
  transform: scale(1.02);
  box-shadow: 10px 10px 0 #de4ea4;
}

/* Square image that fills the card’s full width */
.artist-thumbnail {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.artist-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Title below the image */
.artist-name {
  padding: 1rem;
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  color:white;
}

  /* /////// Blog Page Code ////// */
  
.single-post-page {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
  font-family: 'Inter', sans-serif;
  color: #1e1e1e;
}

.post-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

.post-thumbnail {
  flex: 1 1 300px;
  aspect-ratio: 1 / 1; /* Forces square aspect ratio */
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the square */
  display: block;
  aspect-ratio: 1 / 1;
}

.post-meta {
  flex: 2 1 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-label {
  background-color: #fdd835;
  color: #000000;
  font-weight: bold;
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  max-width: fit-content;
  text-decoration: none;
}

.post-date {
  color: #555;
  margin-bottom: 0.5rem;
}

.post-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  font-family: 'Antipol_VF';
  font-weight: bold;
  color: #3C4967;
}

.post-excerpt {
  font-size: 1.3rem;
  color: #444;
  margin-bottom: 1rem;
}

.post-author {
  font-style: italic;
  color: #777;
}

.post-content {
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 4rem;
  font-family: 'Antipol_VF';
}

.author-bio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #ccc;
}

.author-avatar img {
  border-radius: 50%;
}

.author-info h3 {
  margin: 0;
  font-weight: 700;
}

.author-socials {
  margin-top: 0.5rem;
  display: flex;
  gap: 1rem;
}

@media (max-width: 768px) {
  .post-header {
    flex-direction: column;
  }

  .post-thumbnail,
  .post-info {
    width: 100%;
  }
}

/* //////// Blog Archive Page //////// */

.blog-archive .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: #fefefe;
  border: 1px solid #ddd;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.blog-card:hover {
  transform: scale(1.02);
}

.blog-thumbnail img,
.fallback-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #eee;
  display: block;
}

.blog-content {
  padding: 1rem;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0 0 0.5rem;
}

.blog-excerpt {
  font-size: 1rem;
  color: #555;
}

.custom-blog-card {
  background-color: #2f3a55;
  overflow: hidden;
  text-align: center;
  color: white;
  text-decoration: none;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
  box-shadow: 10px 10px 0 #de4ea4;
  max-width: 320px;
  margin: 1rem auto;
  border: 16px solid #2f3a55; /* same color to start with, can customize */
}

.custom-blog-card:hover {
  transform: scale(1.02);
}

.custom-blog-card .card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #1e253a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-blog-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.custom-blog-card .card-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 1rem;
  padding: 0 1rem 1rem;
  line-height: 1.4;
}

.section-heading {
  text-align: center;
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: #1e253a;
}

/* Make sure the container stacks vertically and centers its children */
.blog-archive .container {
  display: flex !important;
  flex-direction: column;
  align-items: center;
}

/* Center the heading, clear any floats, force full width */
.blog-archive .page-title,
.blog-archive .section-heading {
  width: 100% !important;
  float: none !important;
  text-align: center !important;
  margin: 0 0 1.5rem;
}

/* 1) Base grid: 3 columns */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  
}

/* 2) Tablet (≤ 900px): 2 columns */
@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    margin:1.5rem;
  }
  

  .artist-name {
    margin-top: 1rem;
    font-size: 1.5rem;
    text-align: center;
    color: white;
  }

.img-responsive{
      width:80vw;
  }

/* /////// About Page /////// */

.wp-block-group.about-content{
  margin: 0 auto;
  text-align: left;
  width: 80%;
  line-height: 48px;
  max-width: 920px;
}

.wp-block-group.our-partners-color{
  background-color: #3C4967;
  width: 100%;
  /**clip-path: polygon(50% 0%, 0% 100%, 100% 100%);**/
}

.our-partners {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 60px 20px;
  max-width: 1204px;
  margin: 0 auto;
  line-height: 48px;
  color:white;
}

.partners-text, 
.partners-image {
  flex: 1;
}

.partners-image {
  position: relative;
  display: inline-block;
}

.partners-image::before { /* Needs fix! */
  content: "";
  position: absolute;
  top: 12px;   /* vertical offset */
  left: 12px;  /* horizontal offset */
  width: 100%;
  height: 100%;
  background-color: #b43e6a; /* Pink background */
  z-index: 1;
  border-radius: 4px; /* optional */
}

.partners-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 2; /* make sure image stays on top */
}

.wp-block-group.about-mip{
  background: url('/wp-content/themes/MDMG-Theme/images/about-header-image.png') no-repeat center center;
  background-size: cover;
  max-width: 1204px;
  height: 300px;
  margin: 2em auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1em;
}

.wp-block-group.about-mip h2 {
  font-size: 64px;
  font-weight: bold;
  color: white;
  margin: 0;
}

.wp-block-group.flex-center{
  display: flex;
  justify-content: center;
  align-items: center;
  
}
.flex-center img {
  max-width: 90%;
  height: auto;
 /* background-color: green; */
}

 @media (min-width: 450px) {
    .flex-center img {
      width: 40%;
      height: auto;
     /* background-color: red;*/
      max-width: 300px;
    }
  }

  @media (max-width: 660px) {
  .our-partners {
    flex-direction: column;
    align-items: center;
  } /* Make it dissapear? */
}

  /* Optional: shrink card padding/font on tablet */
  .custom-blog-card {
    padding-bottom: 0.75rem;
  }
  .custom-blog-card .card-title {
    font-size: 2rem;
  }
  .section-heading {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #1e253a;
}


/* 3) Phone (≤ 600px): 1 column */
@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
    margin:1.5rem;
  }

  .custom-blog-card {
    max-width: none;    /* let it fill the column */
    margin: 1rem 0;     /* vertical spacing only */
  }

  .blog-archive .container {
    padding: 1rem;      /* tighten container padding */
  }

  .section-heading {
    font-size: 2rem;  /* reduce heading size */
    margin-bottom: 1rem;
  }
}


/* /////////// Store Page Styles //////// */

.store-archive .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.store-archive .section-heading {
  text-align: center;
  font-size: 2rem;
  color: white;
  margin-bottom: 1.5rem;
}

/* ───────── Responsive Grid ───────── */
.card-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* ───────── Store Card Base Styles ───────── */
.store-card {
  background-color: #2f3a55;
  overflow: hidden;
  text-decoration: none;
  color: white;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
  box-shadow: 10px 10px 0 #de4ea4; /* magenta drop shadow */
  border: 16px solid #2f3a55;
  transition: transform 0.2s ease;
  
}

.store-card:hover {
  transform: translateY(-5px);
  box-shadow: 10px 10px 0 #de4ea4;
}

/* ───────── Thumbnail Area ───────── */
.store-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #eee;
  display: block;
}

.store-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fallback styling if no featured image */
.fallback-thumbnail {
  width: 100%;
  height: 100%;
  background-color: #444;
}

/* ───────── Title & Price ───────── */
.card-title {
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  padding: 1rem;
  margin: 0;
  line-height: 1.3;
}

.card-price {
  font-size: 0.9rem;
  font-weight: bold;
  text-align: center;
  margin: 0 0 1rem;
  color: #f8f8f8;
}

/* ───────── Optional: tighten up font on tablets ───────── */
@media (max-width: 900px) {
  .card-title {
    font-size: 2rem;
  }
  .card-price {
    font-size: 1.25rem;
  }
  
}

@media (max-width: 1920px) {
  .card-title {
    font-size: 2rem;
  }
  .card-price {
    font-size: 1.25rem;
  }
  
}

/* ───────── Optional: small padding cleanup on phones ───────── */
@media (max-width: 600px) {
  .card-title {
    font-size: 1.5rem;
  }
  .card-price {
    font-size: 1rem;
  }
}


/* ///////// More Stories Scroller ///////// */

.more-stories {
  position: relative;
  width: 100vw;              /* span the full viewport width */
  left: 50%;                 /* align left edge to viewport */
  transform: translateX(-50%);
  margin: 0;                 /* kill default top/bottom margins */
  padding: 2rem 0;           /* vertical padding only */
  background: #2f3a55;       /* your dark blue background */
  overflow: hidden;
}

.more-stories .section-heading {
  text-align: center;
  margin-bottom: 1rem;
  color: white;
  font-family: "Antipol_VF";
  font-size: 2rem;
}

.stories-wrapper {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: none;            /* Firefox */
  font-family: "Antipol_VF";
  font-weight: 500;
}
.stories-wrapper::-webkit-scrollbar { /* Chrome/Safari */
  display: none;
}

.story-card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  max-width: 320px;
  background: #C7C8E7;
  box-shadow: none;
  color:#2f3a55;
  font-family: "Antipol_VF";
  font-weight: 500;
  font-size: 1.5rem;
  
}

.author-bio{

}

.more-stories-thumbnail{
  width: 100%;
  aspect-ratio: 1 / 1;   /* modern browsers will honor this */
  overflow: hidden; 
}

.more-stories-thumbnail img{
  width: 100%;
  height: 100%;
  object-fit: cover;     /* crops & scales to fill the box */
}


/* Re-use your .card, .card-thumbnail, .card-title rules from above */

.stories-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #E4EB45;
  box-shadow: 5px 5px 0 #de4ea4;
  border: none;
  border-radius: 50%;
  color: #de4ea4;
  font-size: 1rem;
  width: 3.5rem;
  height: 3.5rem;
  cursor: pointer;
  z-index: 10;
  margin: 10px;
}

.more-stories .stories-nav.prev::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 0.6rem solid transparent;
  border-bottom: 0.6rem solid transparent;
  border-right: 0.8rem solid #de4ea4;   /* triangle color */
}

.more-stories .stories-nav.next::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 0.6rem solid transparent;
  border-bottom: 0.6rem solid transparent;
  border-left: 0.8rem solid #de4ea4;    /* triangle color */
}

.more-stories .stories-nav {
  font-size: 0;         /* hides the ← and → characters */
  background: #E4EB45;      /* keep your translucent circle or styling */
  border: none;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 50px;
}
.story-card-title {
  color:#2f3a55;
  font-family: "Antipol_VF";
  font-weight: 500;
  font-size: 2rem;
  margin-top: 2rem;
  
}


.more-stories .prev { left: 0.5rem; }
.more-stories .next { right: 0.5rem; }

.site-footer, footer {
  margin-top: 0 !important;
  padding-top: 2rem;    /* optional: give it its own space from the content above */
}

.more-stories .stories-wrapper {
  display: flex;
  gap: 2rem;                  /* matches the space between cards */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  max-width: calc(3 * 320px + 2 * 2rem); /* 3 cards @320px + 2 gaps @2rem */
  margin: 0 auto;             /* center the strip in its container */
}

.more-stories .story-card {
  flex: 0 0 320px;            /* each card is exactly 320px wide */
  scroll-snap-align: start;
}
}

@media (min-width: 900px) {
  .card-title {
    font-size: 2rem;
  font-weight: 500;
  text-align: center;
  padding: 1rem 0.75rem 0;
  margin: 0;
  line-height: 1.3;
  }
  .card-price {
    font-size: 1.25rem;
    margin:1rem;
  }
  
}



.more-stories {
  margin-top: 60px;
  padding: 0;
  overflow: hidden;
  text-align: center;
}

.stories-scroll-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stories-wrapper {
  display: flex;
  justify-content: center; /* center when not scrollable */
  gap: 20px;
  padding: 10px 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.stories-wrapper::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.story-card {
  background-color: #2f3a55;
  overflow: hidden;
  text-align: center;
  color: white;
  text-decoration: none;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
  box-shadow: 10px 10px 0 #de4ea4;
  max-width: 320px;
  margin: 1rem auto;
  border: 16px solid #2f3a55; /* same color to start with, can customize */
}

.story-card:hover {
  transform: translateY(-3px);
}

.more-stories-thumbnail {
  width: 100%;
  aspect-ratio: 1 / 1; /* forces a perfect square */
  overflow: hidden;
}

.more-stories-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-card-title {
  margin-top: 10px;
  font-size: 18px;
}

/* Responsive breakpoints */
@media (max-width: 899px) {
  .story-card {
    width: 250px;
  }
}

@media (max-width: 600px) {
  .story-card {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }
}

/* Navigation arrows */
.stories-nav {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 0 10px;
  color: #333;
  z-index: 2;
}

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

.story-card-author {
  font-size: 1.5rem;
  color: rgb(255, 255, 255);
  margin-top: 4px;
}
