/* ==========================================================================
   1. Standardized Content & Spacing
   ========================================================================== */

/*
 * This new section makes all section headings and subtitles look the same.
*/

/* -- Standard Section Heading -- */
.shop-the-wall-section h2,
.infinite-canvas-wrapper .section-title,
.trending-section .section-title,
.subject-carousel-section .section-title,
.mission-section .heading,
.art-selling-section .section-header h2, 
.screenshot-testimonial-section .section-title,
.artist-heading-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 500 !important;
  color: #111827; 
  text-align: center;
  margin-bottom: 0.5rem;
  
  /* Resetting unique styles for consistency */
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
}

/* -- Standard Section Subtitle -- */
.trending-section .section-subtitle,
.subject-carousel-section .section-subtitle,
.art-selling-section .section-header .section-subtitle, 
.screenshot-testimonial-section .section-subtitle,
.artist-heading-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  color: #6b7280;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem; 
}

/* -- Global Section Spacing -- */
.shop-the-wall-section,
.infinite-canvas-wrapper,
.trending-section,
.subject-carousel-section,
.mission-section,
.mission-portrait-section,
.art-selling-section, 
.ninth-section.artist-sec,
.screenshot-testimonial-section {
  padding-top: 1rem;
  padding-bottom: 3rem;
}


/* ==========================================================================
   2. Section: Shop For Your Wall (Masonry Grid)
   ========================================================================== */
.shop-the-wall-section {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.masonry-grid {
  column-count: 4;
  column-gap: 1.5rem;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

.art-card {
  display: block;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.art-card:hover {
  transform: translateY(-6px);
}

.art-card img {
  width: 100%;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.art-card:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.art-card:hover .overlay::before {
  opacity: 1;
}

.overlay-content {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 15px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
  min-width: 0;
}

.art-card:hover .overlay-content {
  transform: translateY(0);
  opacity: 1;
}

.art-title {
  text-transform: capitalize;
}

.art-title.text-truncate {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.art-card-price {
  font-size: 0.875rem;
  font-family: Montserrat, sans-serif;
  text-transform: capitalize;
}

.overlay-content h5 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.overlay-content .artist {
  font-size: 0.9rem;
  opacity: 0.85;
}

.overlay-content .price {
  color: #fff;
  margin-top: 5px;
}

@media (max-width: 992px) {
  .masonry-grid {
    column-count: 3;
  }
}

@media (max-width: 576px) {
  .masonry-grid {
    column-count: 2;
  }
}


/* ==========================================================================
   3. Section: Your Infinite Canvas
   ========================================================================== */

.infinite-canvas-section {
  --theme-bg-color: #f8f7f5;
  --theme-card-bg-color: #ffffff;
  --theme-text-color: #333333;
  --theme-heading-color: #111111;
  --theme-subtle-color: #d1d5db;
  background-color: var(--theme-bg-color);
  position: relative;
  width: 100%;
  height: 75vh;
  overflow: hidden;
  perspective: 3000px;
}

.draggable-card {
  position: absolute;
  width: 65vw;
  max-width: 140px;
  cursor: grab;
  user-select: none;
  /* The position transform is now applied here by the JS */
  will-change: transform;
}

/* NEW: This inner wrapper handles the tilt and contains the content */
.card-inner {
  width: 100%;
  height: 100%;
  padding: 16px;
  background-color: var(--theme-card-bg-color);
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform-style: preserve-3d;
  transition: transform 0.1s linear;
  will-change: transform;
}

.draggable-card .card-image {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  border-radius: 4px;
}

.draggable-card .card-title {
  margin-top: 12px;
  margin-bottom: 6px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--theme-heading-color);
  pointer-events: none;
}

/* The glare effect now applies to the inner card */
.card-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: white;
  opacity: var(--glare-opacity, 0);
  pointer-events: none;
  border-radius: 8px;
}

.draggable-card.is-dragging {
  cursor: grabbing;
  transition: none; /* Disable transition while dragging for responsiveness */
}

/* Media Queries remain the same, but target the inner card for padding */
@media (min-width: 768px) {
  .draggable-card {
    width: 220px;
    max-width: none;
  }
  .card-inner {
    padding: 20px;
  }
  .draggable-card .card-title {
    font-size: 1.4rem;
  }
}

@media (min-width: 1024px) {
  .draggable-card {
    width: 320px;
  }
  .card-inner {
    padding: 24px;
  }
  .draggable-card .card-title {
    font-size: 1.5rem;
  }
}


/* ==========================================================================
   4. Section: Shop by Style (Trending Carousel)
   ========================================================================== */

.trending-section {
  padding-left: 1rem;
  padding-right: 1rem;
  background-color: #ffffff;
  font-family: "Inter", sans-serif;
}

.trending-section .container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.trending-section .section-header {
  text-align: center;
  margin-bottom: 0; /* Let the subtitle handle the bottom margin */
}

.trending-carousel-wrapper {
  position: relative;
}

.trending-carousel-container {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.trending-carousel-container::-webkit-scrollbar {
  display: none;
}

.trending-grid {
  display: inline-grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
}

.trending-card {
  width: 10rem;
  height: 12rem;
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  scroll-snap-align: start;
  text-decoration: none;
}

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

.trending-card:hover .trending-card-img {
  transform: scale(1.1);
}

.trending-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.trending-card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0.75rem;
  color: #fff;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.trending-card-title h3 {
  font-weight: 700;
  font-size: 1rem;
}

.trending-carousel-btn {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid #e5e7eb;
  color: #374151;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.trending-carousel-btn:hover {
  background-color: #fff;
}

.trending-carousel-wrapper:hover .trending-carousel-btn {
  opacity: 1;
}

.trending-carousel-btn.left {
  left: 0.5rem;
}

.trending-carousel-btn.right {
  right: 0.5rem;
}

.trending-carousel-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (min-width: 576px) {
  .trending-section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .trending-grid {
    gap: 1.5rem;
  }
  .trending-card {
    width: 12rem;
    height: 16rem;
  }
  .trending-card-title {
    padding: 1rem;
  }
  .trending-card-title h3 {
    font-weight: 700;
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .trending-card {
    width: 14rem;
    height: 18rem;
  }
  .trending-carousel-btn {
    display: flex;
  }
  .trending-card-title h3 {
    font-weight: 700;
    font-size: 1.125rem;
  }
}

@media (min-width: 1200px) {
  .trending-card {
    width: 16rem;
    height: 20rem;
  }
  .trending-card-title h3 {
    font-weight: 700;
    font-size: 1.25rem;
  }
}


/* ==========================================================================
   5. Section: Shop by Subject
   ========================================================================== */

.subject-carousel-section {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  overflow: hidden;
}

.subject-carousel-section .container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.subject-carousel-section .section-header {
  text-align: center;
  margin-bottom: 0;
}

.carousel-wrapper {
  position: relative;
}

.carousel-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 0 3rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.subject-card {
  flex-shrink: 0;
  width: 16rem;
  cursor: pointer;
  text-decoration: none;
}

.subject-card-inner {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.subject-card-inner .image-container {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.subject-card-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.subject-card:hover img {
  transform: scale(1.1);
}

.subject-card-inner .gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.subject-card-inner .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: white;
}

.subject-card-inner .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.subject-card-inner .card-count {
  color: rgba(255, 255, 255, 0.8);
}

.subject-card-inner .border-overlay {
  position: absolute;
  inset: 0;
  border: 8px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  pointer-events: none;
}

.carousel-btn {
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: white;
  border-radius: 9999px;
  padding: 0.75rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.carousel-btn:hover {
  background-color: #f9fafb;
}

.carousel-btn.left {
  left: 0;
}

.carousel-btn.right {
  right: 0;
}

.carousel-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #374151;
}

@media (max-width: 768px) {
  .subject-card {
    width: 12rem;
  }
  .subject-card-inner .card-content {
    padding: 1rem;
  }
  .subject-card-inner .card-title {
    font-size: 1.125rem;
  }
  .subject-card-inner .border-overlay {
    border-width: 6px;
  }
  .carousel-container {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .subject-carousel-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .subject-card {
    width: 9rem;
  }
  .carousel-container {
    padding: 0;
  }
  .carousel-btn {
    display: none;
  }
}


/* ==========================================================================
   6. Section: Our Mission (Simple Box)
   ========================================================================== */

.mission-portrait-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    font-family: "Inter", sans-serif;
}

.mission-portrait-container {
    max-width: 1200px;
    margin: 0 auto;
}

.mission-portrait-section .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.mission-portrait-section .section-title {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
}

.mission-portrait {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 3rem;
    /* A simple, clean shadow to give it a card-like feel */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* This makes the hover effect smooth */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.mission-portrait:hover {
  background-color: #fcfcfc;
    transform: translateY(-5px); 
}

/* --- Text Styling  --- */
.mission-content p {
    font-size: 1.1rem; 
    color: #374151; 
    line-height: 1.8;
    text-align: center;
}
.mission-content p + p {
    margin-top: 1.5rem;
}
.mission-highlight { font-weight: 300; color: #111827; }
.mission-content em { font-style: italic; color: #111827; }
.mission-tagline { text-align: center; margin-top: 2rem; }
.tagline-main { font-family: "Playfair Display", serif; font-size: 1.5rem; color: #111827; margin-bottom: 0.25rem !important; }
.tagline-sub { font-family: "Playfair Display", serif; font-size: 1.25rem; color: #6b7280; margin-bottom: 0 !important; font-style: italic; }

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .mission-portrait-section .section-title {
        font-size: 1.75rem;
    }
    .mission-portrait { 
      padding: 1rem; 
    }
    .mission-content p { 
      font-size: 1rem; 
    }
}

/* ==========================================================================
    7. Section: Art Selling (Final Version: Left-Aligned with Card & Quote)
    ========================================================================== */

.art-selling-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* --- Main Container --- */
.art-selling-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Content Styling --- */
.content-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.headline-group {
    text-align: center; 
}

.main-headline {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.05em;
    color: #111827;
}

.headline-gradient { color: #ff826b; }

.headline-sub {
    font-size: 1.5rem;
    font-weight: 300;
    color: #6b7280;
    margin-top: 0.5rem;
}

.headline-description {
    font-size: 1.1rem;
    color: #374151;
    line-height: 1.7;
    margin-top: 1.25rem;
}

/* --- The Main Text Card --- */
.benefit-card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 2.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    /* This makes the hover effect smooth */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.benefit-card:hover {
    background-color: #fcfcfc; 
    transform: translateY(-2px); 
}

/* --- Editorial Content Inside the Card (Drop-Cap & Pull-Quote) --- */

.drop-cap {
    float: left;
    font-family: "Playfair Display", serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 0.85;
    margin-right: 0.75rem;
    color: #ff826b;
    position: relative;
    top: 0.25rem;
}

.inline-pull-quote {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 600;
    color: #374151;
    line-height: 1.5;
    border-top: 2px solid #e5e7eb;
    border-bottom: 2px solid #e5e7eb;
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.benefit-text p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.8;
}

.benefit-text p + p {
    margin-top: 1.5rem;
}

/* On larger screens, make the quote float */
@media (min-width: 768px) {
    .inline-pull-quote {
        float: right;
        width: 45%; /* Takes up less than half the container */
        margin-left: 1.5rem;
        margin-top: 0.5rem;
    }
}


/* --- CTA Button Styling --- */
.cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
    gap: 1rem;
}

.cta-buttons { display: flex; }

.btn-cta {
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1.25rem;
    border-radius: 2rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #ff826b;
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

.btn-primary:hover { background-color: #fa6d56; }

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-arrow {
    width: 1.25rem; height: 1.25rem;
    margin-left: 0.75rem;
    transition: transform 0.3s;
}

.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.cta-details {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.cta-detail-item { display: flex; align-items: center; }

.green-dot {
    width: 0.5rem; height: 0.5rem;
    background-color: #22c55e;
    border-radius: 9999px;
    margin-right: 0.5rem;
}

/* --- Responsive Adjustments for Card --- */
@media (max-width: 576px) {
    .benefit-card {
        padding: 1.5rem;
    }
}


/* ==========================================================================
   8. Section: Meet Our Artists
   ========================================================================== */
.ninth-section.artist-sec {
  padding-left: 1.5rem;
  padding-right: 1.5rem;    
}
.artist-heading-title{
  font-weight: 500 !important;
}
.artist-card {
  background-color: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e9ecef;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.artist-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.artist-card-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.artist-card .btn {
  position: relative;
  z-index: 2;
}

.artist-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.artist-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.25rem;
}

.artist-meta,
.artist-stats {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.artist-meta svg,
.artist-stats svg {
  margin-right: 0.4rem;
}

.artist-bio {
  font-size: 0.9rem;
  color: #6c757d;
  /* margin-top: 1rem; */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}

.artwork-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.artwork-thumbnail {
  aspect-ratio: 1 / 1;
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
}

.artwork-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.4s ease;
}

.artwork-thumbnail:hover img {
  transform: scale(1.1);
}


/* ==========================================================================
   9. Section: Community Testimonials
   ========================================================================== */

.screenshot-testimonial-section {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  background-size: 20px 20px;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.screenshot-testimonial-section .container {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.screenshot-testimonial-section .section-header {
  text-align: center;
  margin-bottom: 0;
}



.swiper-container-wrapper {
  position: relative;
  width: 100%;
}

.testimonial-swiper {
  width: 90%;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 50px;
}

.testimonial-swiper .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 300px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-card {
  display: block;
  width: 100%;
  background-color: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: perspective(1000px) rotateY(5deg) rotateX(5deg) scale3d(1.02, 1.02, 1.02);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-card img {
  display: block;
  width: 100%;
  height: auto;
}

.swiper-container-wrapper .swiper-button-next,
.swiper-container-wrapper .swiper-button-prev {
  color: #ff826b;
  transition: color 0.3s ease;
  top: 55%;
  transform: translateY(-50%);
}

.swiper-container-wrapper .swiper-button-prev {
  left: -20px;
}

.swiper-container-wrapper .swiper-button-next {
  right: -20px;
}

.swiper-container-wrapper .swiper-button-next:hover,
.swiper-container-wrapper .swiper-button-prev:hover {
  color: #f97316;
}

.testimonial-swiper .swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: 0px;
}

.testimonial-swiper .swiper-pagination-bullet {
  background-color: #9ca3af;
}

.testimonial-swiper .swiper-pagination-bullet-active {
  background-color: #ff826b;
}




/* ==========================================================================
   10. Responsive Typography Adjustments for Section Titles (Corrected)
   ========================================================================== */

/* -- For tablets and smaller devices (up to 768px wide) -- */
@media (max-width: 768px) {
  
  /* Standard Section Headings */
  .shop-the-wall-section h2,
  .infinite-canvas-wrapper .section-title,
  .trending-section .section-title,
  .subject-carousel-section .section-title,
  .mission-section .heading,
  .art-selling-section .section-header h2,
  .screenshot-testimonial-section .section-title,
  .ninth-section .text-center h2 { 
    font-size: 2.0rem !important; 
  }

  /* Special heading for "Turn Your Art Into..." section */
  .main-headline {
    font-size: 2.2rem !important; 
  }
  .headline-sub {
    font-size: 2.0rem !important; 
  }

  /* Standard Section Subtitles */
  .trending-section .section-subtitle,
  .subject-carousel-section .section-subtitle,
  .art-selling-section .section-header .section-subtitle,
  .screenshot-testimonial-section .section-subtitle,
  .ninth-section .text-center .lead { 
    font-size: 1.0rem !important; 
  }

}

/* -- For mobile phones (up to 480px wide) -- */
@media (max-width: 480px) {

  /* Standard Section Headings */
  .shop-the-wall-section h2,
  .infinite-canvas-wrapper .section-title,
  .trending-section .section-title,
  .subject-carousel-section .section-title,
  .mission-section .heading,
  .art-selling-section .section-header h2,
  .screenshot-testimonial-section .section-title,
  .ninth-section .text-center h2 { 
    font-size: 1.75rem !important; 
  }

 
  .main-headline {
    font-size: 1.5rem !important; 
  }
  .headline-sub {
    font-size: 1.125rem !important; 
  }
  .headline-description {
    font-size: 0.9rem;
    line-height: 1.5;
}
  /* Standard Section Subtitles */
  .trending-section .section-subtitle,
  .subject-carousel-section .section-subtitle,
  .art-selling-section .section-header .section-subtitle,
  .screenshot-testimonial-section .section-subtitle,
  .ninth-section .text-center .lead ,
  .artist-heading-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.5 !important; 
  }
    .mission-content p {
        font-size: 0.9rem;
    }
    .benefit-text p {
    font-size: 0.9rem;
    line-height: 1.8;
}
.drop-cap {
    font-size: 3.5rem;}
    .inline-pull-quote {
    font-size: 1.25rem;
    }

}

/* ==========================================================================
   UNIFIED SPACING & RHYTHM CORRECTIONS
   ========================================================================== */
/* ## Global Section Padding Adjustments ## */
/* This targets the common headers and ensures the space between the
   title/subtitle block and the content below it is always the same. */
.infinite-canvas-wrapper .section-header,
.trending-section .section-header,
.subject-carousel-section .section-header,
.mission-portrait-section .section-header,
.screenshot-testimonial-section .section-header {
  margin-bottom: 2.5rem !important;
}
/* Corrects "Shop For Your Wall" spacing (overrides Bootstrap's my-5 class) */
.shop-the-wall-section .separator {
  margin-top: 2rem !important;
  margin-bottom: 2.5rem !important;
}

/* Corrects "Meet Our Artists" header spacing (overrides Bootstrap's mb-5 class) */
.ninth-section.artist-sec .text-center {
  margin-bottom: 2.5rem !important;
}