/* Import the typography */
@import url('https://use.typekit.net/hji1dmf.css');

/* Add local Black Arcade Script font */
@font-face {
  font-family: 'Black Arcade Script';
  src: url('/fonts/Black Arcade Script/Black Arcade Script.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Use CSS variables to match main.css */
:root {
  --nav-dark: #003B5C;
  --accent: #99d6ea;
  --text: #003B5C;
  --light-bg: #f4f7f9;
  --red: #ef3340;
  --font: "Futura-PT", sans-serif;
  --script-font: "Black Arcade Script", "Brush Script MT", cursive;
  --spacer: 2rem;
  --gutter: 4rem;
}

/* Apply consistent typography */
body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  font-size: 1.05rem; /* Larger base font size */
}

.section-title::after {
    content: '';
    margin-left: 0;
    font-size: 0;
    cursor: default;
    transition: none;
    float: none;
}

.section-title.active::after {
    content: '';
    margin-left: 0;
    font-size: 0;
    cursor: default;
    transition: none;
    float: none;
}

.section-title.active {
    color: #99d6ea ;
}

.section-content {
    opacity: 0;
    height: 0; /* Set initial height to 0 */
    overflow: hidden;
    transition: opacity 0.5s ease-in-out, height 0.5s ease-in-out; /* Transition for both opacity and height */
    margin: 10px 0;
    font-size: 1.1rem; /* Added font size for all content */
}

.section-content.show {
    opacity: 1; /* Final opacity set to 1 */
   /* Height will be set dynamically in JavaScript */
}

ul.literature-list {
  list-style-type: none;
  margin-block-start: 0em;
  margin-block-end: 0em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 0px;   
  display : flex; 
  flex-direction: column;
}

.literature-list li a {
  padding: 8px 25px;
  border-radius: 5px;
  border: none;
  color: #003b5c;
  font-weight: 700;
  cursor: pointer;
  opacity: 1;
  transition: background-color 0.3s ease-in-out;
  margin-top: 12px;
  font-size: 1.05rem; /* Increased from 15px */
  letter-spacing: .5px;
  font-weight: 600;
  text-decoration: none;
  
}

.literature-list li a:hover {
  opacity: 1;
  color: #003b5c;
  text-decoration: underline;
}

/* ... existing styles ... */

.toggle-switch-settings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2rem;
  padding: 2rem 0;
}

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

/* keep your existing item styling */
.toggle-switch-setting {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.toggle-switch-setting {
  display: flex;
  flex-direction: column;
  align-items:flex-start;
  
}

.toggle-switch-image {
  max-width: 300px;
  padding: 1rem;
}

.toggle-switch-description {
  max-width: 390px;
  padding: 1rem;
  font-size: 1.1rem; /* Increased from 18px */
  color: #003b5c;
}

.toggle-switch-title {
  margin-top: 1rem;
  color: #003b5c; 
  letter-spacing: 2px; 
  text-align: left; 
  opacity: .7;
  font-size: 20px;
}

.models {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gutter);
  row-gap: 6rem;
  margin: 0 0 5rem; /* Increased bottom margin to 5rem */
  padding: 0;
  border: none;
  justify-items: center;
}

.models-header {
  font-size: 2.5rem;
  color: var(--text);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin: 4rem 0 2.5rem;
  position: relative;
  display: block;
}

.models-header:after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--red);
  margin: 0.75rem auto 0;
}

.model {
  flex: 1;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform .3s, box-shadow .3s;
  height: 100%;
}

.model:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.model-image {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 1rem;
  transition: transform 0.2s;
}

.model-image:hover {
  transform: scale(1.05);
}

.model-title {
  width: 100%;
  margin: 0 0 0.6rem 0;
  color: #003b5c;
  letter-spacing: 1px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 500 !important;
}

.model-description {
  width: 100%;
  font-size: 1.05rem; 
  line-height: 1.5;
  color: #003b5c;
  opacity: 0.85;
  text-align: left;
}

.model-description ul {
  margin-top: 0.5rem;
  padding-left: 1rem;
}

.model-description li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.lit-wrap {
  display: flex;
}

.lit-container {
  flex-direction: column;
  display: flex;
  padding: 2rem;
}

.product-container {
  color: #333;
  width: 85%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 0 20px;
  border-radius: 8px;
  margin-top: 50px;
  margin-bottom: 5rem;
}
 
.top-wrapper {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-top: 30px;
 margin-bottom: 20px;
 max-height: 800px;
 width: 100%;
 max-width: 100%;
}

.top-wrapper #model-img {
  width: 450px;
  filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.5));
}

.top-wrapper p {
max-width: 500px;
margin-top: 20px;
font-size: 20px;
opacity : .7;
}

.warranty-image {
width: 150px;
margin: 0 auto;
display: block;
}

.icons {
display: flex;
justify-content: center;
max-width: 500px;
margin: 20px 0;
align-items: center;
}

.icon {
width: 60px;
margin: 0 8px;
height: 60px;
}

.section {
margin-bottom: 1rem;
border-bottom: 1px solid #003b5c;
}

.section-title {
  font-size: 1.9rem;
  color: var(--text);
  font-weight: 500;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.section-title:hover {
  color: var(--accent);
}

.section-title::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.section-title.active::after {
  content: '−';
  transform: translateY(-50%);
}

.section-title.active {
  color: var(--accent);
}

.section-content .features-list {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
}

.section-content .features-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.15rem; /* Increased from 1.1rem */
  line-height: 1.6;
  opacity: 1;
  transition: all 0.3s ease;
}

.section-content .features-list li:hover {
  opacity: 1;
  transform: translateX(5px);
}

.section-content .features-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background-color: var(--red);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.section-content .features-list li:hover:before {
  transform: scale(1.3);
}

ul.features-list a {
  color: inherit;
}

.link-container {
max-width: 100%;
}

.breadcrumb {
display: flex;
gap: 1rem;
list-style-type: none;
letter-spacing: 1px;
color: #003b5c;
font-weight: 600;
font-size: 20px;
}

.link-container a {
color: #003b5c;
text-decoration: none;
font-weight: 500;

}

.section-wrapper {
max-width: 1200px;
margin-left: 15px;
margin-right: 15px;
display: flex;
flex-direction: column;
margin-top: 2rem; /* Added top margin for spacing */
}

.dropdown-container {
justify-content: end;
}

.left-wrapper {
  width: 100%;
  margin-bottom: 2rem;
  display: block;
  padding: 0;
}

.left-wrapper h1 {
    color: #003b5c;
    opacity: 1;
    font-weight: 500;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.left-wrapper p {
    color: #0094D2;
    font-size: 1.5rem;
    font-weight: 500;
}

.left-wrapper #model-disc {
  color: #003b5c;
  font-size: 2rem; /* Increased from 1.1rem */
  line-height: 1.7;
  margin: 0;
  font-weight: 400!important;
}

.model-link {

border: none;
color: #003b5c;
cursor: pointer;
transition: background-color 0.3s ease-in-out;
margin-top: 12px;
font-size: 20px;
letter-spacing: .5px;
font-weight: 600;
text-decoration: none;
opacity: .7;

}

.model-link:hover {

opacity: 1;
color: #003b5c;

text-decoration: underline;
}

.acc-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    max-width: 100%;
    scroll-snap-type: x mandatory; /* Enable scroll snapping */
}

.video-item {
    width: 100%; /* Adjust width as needed */
    scroll-snap-align: start; /* Snap each video item to the start of the viewport */
}

.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.video-overlay {
  max-width: 100%;
  max-height: 100%;
}

.video-item iframe {
  width: 375px;
  height: 250px;
}

.mb-title {
    display: none;
}

.web-title {
    color: #003b5c; border-bottom: 1px #003b5c solid; letter-spacing: 2px; text-align: center; opacity: 1;
}

/* First, let's define our main layout components */

/* Left wrapper at the top */
.left-wrapper {
  width: 100%;
  margin-bottom: 2rem;
  display: block;
}

/* Image and features row - hero style */
.image-features-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  width: 100%;
  margin: 2.5rem 0;
  padding: 3rem;
  background: linear-gradient(to right, rgba(0, 148, 210, 0.12), rgba(255, 255, 255, 0.5));
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Image container */
.img-wrapper {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
}

.img-wrapper img {
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.2));
}

/* Features container */
.features-section {
  flex: 1;
  min-width: 250px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  position: relative;
}

/* Features title */
.features-section .section-title {
  font-size: 40px;
  color: #003b5c;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 0.5rem;
  font-weight: 500;
  border-bottom: 3px solid var(--red);
  display: inline-block;
}

/* Features list */
.features-list {
  list-style-type: disc;
  margin-left: 1.5rem;
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: #003b5c;
  opacity: 1;
}

.features-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.1rem; /* Increased from 18px */
  line-height: 1.6;
  color: #003b5c;
}

.features-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #0094D2;
  font-size: 1.5rem;
  line-height: 1;
  top: -0.2rem;
}

/* AutoFlow banner */
.autoflow-banner {
  margin-top: 2rem;
  text-align: center;
}

.autoflow-image {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.autoflow-image:hover {
  transform: translateY(-3px);
}

@media screen and (max-width: 768px) {
  .image-features-row {
    flex-direction: column;
    padding: 2rem;
    background: linear-gradient(to bottom, rgba(0, 148, 210, 0.12), rgba(255, 255, 255, 0.5));
  }
  
  .img-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
  }
  
  .img-wrapper img {
    max-width: 250px;
  }
  
  .features-section {
    width: 100%;
  }
  
  .features-section .section-title {
    font-size: 32px;
    margin-bottom: 1.5rem;
  }
  
  .features-list li {
    font-size: 16px;
    margin-bottom: 0.8rem;
  }
  
  .autoflow-image {
    max-width: 90%;
  }
}

/* Adjust all major containers to maintain consistent width */
.section-wrapper, 
.image-features-row, 
.models, 
.models-header,
.left-wrapper {
  width: 100%;
  max-width: 100%;
}

/* Certification icons section */
.certs-icons-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 3rem 0;
  padding: 2rem 0;
  background: var(--light-bg);
}

.certs-icons-section .warranty {
  margin-bottom: 2rem;
}

.certs-icons-section .warranty-image {
  width: 180px;
  height: auto;
}

.certs-icons-section .icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4rem;
}

.certs-icons-section .icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* Certifications grid in dropdown */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 8px;
  margin: 1rem 0;
  box-sizing: border-box;
}

.cert-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.cert-item:hover {
  transform: translateY(-3px);
}

.cert-icon {
  width: 75px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.cert-link {
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}

.cert-link:hover {
  color: var(--accent);
  text-decoration: none;
}

@media screen and (max-width: 992px) {
  .certs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 576px) {
  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 1rem;
  }
  
  .cert-item {
    padding: 0.75rem;
  }
  
  .cert-icon {
    width: 60px;
    height: 50px;
  }
  
  .cert-link {
    font-size: 0.75rem;
  }
}

/* Remove old dropdown-certs-section styles */
.dropdown-certs-section,
.certs-icons-section {
  display: none;
}

/* Hero Banner */
.hero-banner {
  width: 100%;
  background-color: var(--accent);
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 85%;
  margin: 0 auto;
  padding: 3rem;
}

.hero-text {
  flex: 1;
  max-width: 55%;
  padding-right: 2rem;
}

.hero-text h1 {
  font-family: 'Black Arcade Script', cursive;
  font-size: 4.2rem;
  font-weight: normal;
  margin-bottom: 0;
  line-height: 1.1;
  color: var(--text);
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.hero-text h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--red);
  border-radius: 2px;
}

.hero-text h2 {
  font-family: var(--font);
  font-size: 2.8rem;
  color: var(--text);
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1;
}

.hero-title {
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
}

.hero-text p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.4;
  color: var(--text);
}

.hero-features {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

.hero-features li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  color: var(--text);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.hero-features li:hover {
  opacity: 1;
}

.hero-features li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--nav-dark);
  font-size: 1.5rem;
  line-height: 1;
  top: -0.1rem;
}

.hero-image {
  flex: 1;
  max-width: 45%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 650px;
    height: auto;
    max-height: 100%;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}


.hero-image img:hover {
  transform: scale(1.05);
}

.premium-choice-text {
          font-family: 'Black Arcade Script', cursive !important;
          font-size: 2.75rem !important;
          font-weight: normal;
          line-height: 1.0;
          display: block;
          padding-bottom: 0;
          text-shadow: 1px 1px 2px rgba(0,0,0,0.1) !important;
          color: var(--text)!important;
          margin-top: 0;
          margin-bottom: 0.3rem;
          letter-spacing: 1px;
          white-space: nowrap;
        }

 .ac-motor-text {
          font-family: var(--font) !important;
          font-size: 4.55rem !important;
          color: var(--text);
          margin-top: 0;
          margin-bottom: 1.5rem;
          position: relative;
          display: inline-block;
          padding-bottom: 1rem;
          text-transform: uppercase;
          letter-spacing: 2.5px;
          text-shadow: 1px 1px 2px rgba(0,0,0,0.1) !important;
          font-weight: 650;
        }
        
        .hero-features-row {
          font-family: var(--font) !important;
          text-align: center;
          color: var(--text);
          font-size: 1.75rem;
          font-weight: 500;
          letter-spacing: 1.5px;
          margin: 0.75rem 0 0;
          text-transform: uppercase;
        }
        
        .feature-divider {
          font-family: var(--font) !important;
          display: inline-block;
          margin: 0 0.75rem;
          color: var(--nav-dark);
          font-weight: bold;
          font-size: 1.75rem;
        }
        
        .hero-text h1::after {
          display: none !important;
          content: none !important;
        }       

@media screen and (max-width: 992px) {
  .hero-content {
    flex-direction: column-reverse;
    padding: 2rem;
  }

  .hero-text {
    flex: 1;
    max-width: 55%;
    padding: 2rem;
}

.hero-text, .hero-image {
        max-width: 100%;
        width: 100%;
    }
  
.section-wrapper {
    max-width: 1200px;
    margin-left: 0px;
    margin-right: 15px;
    display: flex
;
    flex-direction: column;
    margin-top: 2rem;
}
  
  .hero-image {
    max-width: 100%;
    width: 100%;
  }
  
  .hero-image {
    margin-bottom: 2rem;
    margin-top: 2rem;
  }
  
  .hero-image img {
    max-height: 350px;
    max-width: 350px;
  }
  
  .hero-text h1 {
    font-size: 3.6rem;
  }
  
  .hero-text h2 {
    font-size: 2.2rem;
    margin-top: 0.2rem;
    margin-bottom: 1rem;
  }
  
  .hero-text p {
    font-size: 1.25rem;
  }
  
  .hero-features li {
    font-size: 1rem;
  }

  
}

@media screen and (max-width: 768px) {
  .hero-text h1 {
    font-size: 3rem;
  }
  
  .hero-text h2 {
    font-size: 1.6rem;
  }

  .lit-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;            /* Optional: space between cards */
  justify-content: center;
}

.lit-container {
  flex: 0 0 48%;        /* Always 2 per row */
  max-width: 48%;
  min-width: 230px;     /* So it doesn't get too tiny */
  background: #fafbfc;
  border: 1px solid #e0e0e0;
  margin-bottom: 2rem;
  padding: 1.5rem 1.3rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  box-sizing: border-box;
}
.literature-list {
  padding-left: 1.1em;
}
.literature-list li {
  margin-bottom: 0.65em;
}
.literature-list a {
  color: #053658;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: underline;
}

  .premium-choice-text {
          font-family: 'Black Arcade Script', cursive !important;
          font-size: 1.3rem !important;
          font-weight: normal;
          line-height: 1.0;
          display: block;
          padding-bottom: 0;
          text-shadow: 1px 1px 2px rgba(0,0,0,0.1) !important;
          color: var(--text)!important;
          margin-top: 0;
          margin-bottom: 0.3rem;
          letter-spacing: 1px;
          white-space: nowrap;
        }

 .ac-motor-text {
          font-family: var(--font) !important;
          font-size: 2.55rem !important;
          color: var(--text);
          margin-top: 0;
          margin-bottom: 1.5rem;
          position: relative;
          display: inline-block;
          padding-bottom: 1rem;
          text-transform: uppercase;
          letter-spacing: 2.5px;
          text-shadow: 1px 1px 2px rgba(0,0,0,0.1) !important;
          font-weight: 650;
        }

        .value-motor-text {
        font-family: var(--font) !important;
        font-size: 2.55rem !important;
        color: var(--text);
        margin-top: 0;
        margin-bottom: 1.5rem;
        position: relative;
        display: inline-block;
        padding-bottom: 1rem;
        text-transform: uppercase;
        letter-spacing: 2.5px;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.1) !important;
        font-weight: 650;
      }

      .lp-motor-text {
          font-family: var(--font) !important;
          font-size: 2.55rem !important;
          color: var(--text);
          margin-top: 0;
          margin-bottom: 1.5rem;
          position: relative;
          display: inline-block;
          padding-bottom: 1rem;
          text-transform: uppercase;
          letter-spacing: 2.5px;
          text-shadow: 1px 1px 2px rgba(0,0,0,0.1) !important;
          font-weight: 650;
        }

        .dc-motor-text {
          font-family: var(--font) !important;
          font-size: 2.55rem !important;
          color: var(--text);
          margin-top: 0;
          margin-bottom: 1.5rem;
          position: relative;
          display: inline-block;
          padding-bottom: 1rem;
          text-transform: uppercase;
          letter-spacing: 2.5px;
          text-shadow: 1px 1px 2px rgba(0,0,0,0.1) !important;
          font-weight: 650;
        }
      
        
}

@media screen and (max-width: 480px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-text h2 {
    font-size: 1.6rem;
  }

  .section-nav {
    display: none!important
;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
    margin: 0;
    padding: 1.2rem;
    background-color: var(--text);
}

.lit-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;            /* Optional: space between cards */
  justify-content: center;
}

.lit-container {
flex: 0 0 48%;    /* Two columns, 2% gap buffer */
  max-width: 48%;
  min-width: 250px; /* Shrink down if needed */
  background: #fafbfc;
  border: 1px solid #e0e0e0;
  margin-bottom: 2rem;
  padding: 1.5rem 1.3rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  box-sizing: border-box;

}
}