.page-da-ga {
  font-family: 'Arial', sans-serif;
  color: #FFF5E1; /* Default text color for the page, assuming a dark base */
  background-color: #B71C1C; /* Main background color */
}

.page-da-ga__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as body handles header offset */
  margin-bottom: 40px;
  overflow: hidden;
}

.page-da-ga__hero-slider {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.page-da-ga__hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.page-da-ga__hero-slide.is-active {
  opacity: 1;
}

.page-da-ga__hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-da-ga__hero-slider-prev,
.page-da-ga__hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #FFF5E1;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
  font-size: 24px;
  border-radius: 5px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.page-da-ga__hero-slider-prev:hover,
.page-da-ga__hero-slider-next:hover {
  opacity: 1;
}

.page-da-ga__hero-slider-prev {
  left: 10px;
}

.page-da-ga__hero-slider-next {
  right: 10px;
}

.page-da-ga__hero-slider-prev::before {
  content: '‹';
}

.page-da-ga__hero-slider-next::before {
  content: '›';
}

.page-da-ga__hero-content {
  text-align: center;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text clarity */
  margin-top: -100px; /* Pull up to overlap slightly with image for design */
  border-radius: 0 0 10px 10px;
}

.page-da-ga__hero-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: #FFD86A;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-da-ga__hero-description {
  font-size: 1.2em;
  color: #FFF5E1;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-da-ga__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-da-ga__btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-da-ga__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red text on gold button */
  border: 2px solid #F2B544;
}

.page-da-ga__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-da-ga__btn-secondary {
  background: #C91F17; /* Deep Red background */
  color: #FFF5E1;
  border: 2px solid #F2B544;
}

.page-da-ga__btn-secondary:hover {
  background: #E53935;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-da-ga__section {
  padding: 40px 20px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  background-color: #D32F2F; /* Card BG color */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-da-ga__guide-box {
  padding: 16px 20px 24px;
  background: #D32F2F; /* Card BG color */
  border-radius: 10px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-da-ga__guide-title {
  text-align: center;
  font-size: 2.2em;
  color: #FFD86A;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-da-ga__guide-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-da-ga__guide-card {
  flex: 0 0 calc(20% - 12px); /* 5 cards per row */
  max-width: calc(20% - 12px);
  text-decoration: none;
  color: #FFF5E1;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-da-ga__guide-card:hover {
  transform: translateY(-5px);
}

.page-da-ga__guide-card img {
  aspect-ratio: 250/350;
  object-fit: contain;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 2px solid #F2B544;
}

/* Positioning for the wave effect */
.page-da-ga__guide-card--pos-1,
.page-da-ga__guide-card--pos-5 {
  padding-top: 50px;
}

.page-da-ga__guide-card--pos-2,
.page-da-ga__guide-card--pos-4 {
  padding-top: 25px;
}

.page-da-ga__home-content-box {
  max-width: 91%;
  margin: 0 auto 40px auto; /* Centered with bottom margin */
  padding: 10px 16px;
  border: 5px solid #F2B544;
  border-radius: 15px;
  box-shadow: 0 0 20px #FFCC66; /* Glow effect */
  height: 700px; /* Fixed height for desktop */
  background-color: #7A0E0E; /* Deep Red background */
}

.page-da-ga__home-content-inner {
  height: 100%;
  overflow-y: auto; /* Scrollable content for desktop */
  padding-right: 15px; /* Space for scrollbar */
}

/* Custom scrollbar for webkit browsers */
.page-da-ga__home-content-inner::-webkit-scrollbar {
  width: 8px;
}

.page-da-ga__home-content-inner::-webkit-scrollbar-track {
  background: #C91F17;
  border-radius: 10px;
}

.page-da-ga__home-content-inner::-webkit-scrollbar-thumb {
  background-color: #FFD86A;
  border-radius: 10px;
  border: 2px solid #C91F17;
}

.page-da-ga__content-block {
  margin-bottom: 30px;
}

.page-da-ga__heading {
  font-size: 2.5em;
  color: #FFD86A;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

.page-da-ga__sub-heading {
  font-size: 1.8em;
  color: #F4D34D;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-da-ga__paragraph {
  font-size: 1.1em;
  color: #FFF5E1;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-da-ga__paragraph a {
  color: #FFD86A;
  text-decoration: underline;
}

.page-da-ga__image-figure {
  margin: 20px 0;
  text-align: center;
}

.page-da-ga__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid #F2B544;
}

.page-da-ga__image-caption {
  font-size: 0.9em;
  color: #FFF5E1;
  margin-top: 10px;
}

.page-da-ga__promo-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #FFF5E1;
}

.page-da-ga__promo-item {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 10px;
}

.page-da-ga__promo-item strong {
  color: #F4D34D;
}

.page-da-ga__blog-section {
  padding: 40px 20px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  background-color: #D32F2F; /* Card BG color */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-da-ga__blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.page-da-ga__blog-card {
  background-color: #C91F17;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 1px solid #E53935;
}

.page-da-ga__blog-card:hover {
  transform: translateY(-5px);
}

.page-da-ga__blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-da-ga__blog-card-content {
  padding: 15px;
}

.page-da-ga__blog-card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  min-height: 70px; /* Ensure consistent height for titles */
}

.page-da-ga__blog-card-title a {
  color: #FFD86A;
  text-decoration: none;
}

.page-da-ga__blog-card-title a:hover {
  text-decoration: underline;
}

.page-da-ga__blog-card-date {
  font-size: 0.9em;
  color: #F4D34D;
  margin-bottom: 10px;
}

.page-da-ga__blog-card-excerpt {
  font-size: 1em;
  color: #FFF5E1;
  line-height: 1.5;
  min-height: 75px; /* Ensure consistent height for excerpts */
}

.page-da-ga__cta-buttons--center {
  text-align: center;
  margin-top: 30px;
}

.page-da-ga__cta-footer {
  text-align: center;
  padding: 50px 20px;
  background-color: #B71C1C; /* Main background color */
  border-top: 5px solid #F2B544;
}

/* --- Responsive Styles --- */

/* Tablet and Mobile */
@media (max-width: 1024px) {
  .page-da-ga__hero-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }

  .page-da-ga__hero-description {
    font-size: 1.1em;
  }

  .page-da-ga__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-da-ga__btn {
    padding: 10px 25px;
    font-size: 1em;
  }

  .page-da-ga__guide-grid {
    gap: 10px;
  }

  .page-da-ga__guide-card {
    flex: 0 0 calc(33.33% - 7px); /* 3 cards per row */
    max-width: calc(33.33% - 7px);
  }

  .page-da-ga__guide-card--pos-1,
  .page-da-ga__guide-card--pos-5 {
    padding-top: 0;
  }

  .page-da-ga__guide-card--pos-2,
  .page-da-ga__guide-card--pos-4 {
    padding-top: 0;
  }

  .page-da-ga__home-content-box {
    max-width: 95%;
  }

  .page-da-ga__heading {
    font-size: 2em;
  }

  .page-da-ga__sub-heading {
    font-size: 1.6em;
  }

  .page-da-ga__paragraph {
    font-size: 1em;
  }

  .page-da-ga__blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Fixed header spacing for hero section */
  .page-da-ga__hero-section {
    padding-top: 10px !important;
    margin-bottom: 20px;
  }

  .page-da-ga__hero-slider {
    padding-bottom: 75%; /* 4:3 aspect ratio for smaller screens */
  }

  .page-da-ga__hero-slider-prev,
  .page-da-ga__hero-slider-next {
    font-size: 20px;
    padding: 8px 12px;
  }

  .page-da-ga__hero-content {
    margin-top: -50px; /* Adjust overlap */
    padding: 15px;
  }

  .page-da-ga__hero-title {
    font-size: clamp(1.5em, 6vw, 2.5em) !important; /* Smaller H1 for mobile */
    margin-bottom: 10px;
  }

  .page-da-ga__hero-description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-da-ga__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-da-ga__btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-da-ga__hero-cta-buttons,
  .page-da-ga__cta-buttons,
  .page-da-ga__button-group,
  .page-da-ga__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* Guide Box - 5 cards */
  .page-da-ga__guide-box {
    padding: 15px;
    margin-bottom: 20px;
  }

  .page-da-ga__guide-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-da-ga__guide-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }

  .page-da-ga__guide-card {
    padding-top: 0 !important; /* Reset padding for mobile grid */
    flex: auto;
    max-width: 100%;
  }

  /* Mobile 2x3 grid: Top 2 span 3, Bottom 3 span 2 */
  .page-da-ga__guide-card--pos-1,
  .page-da-ga__guide-card--pos-2 {
    grid-column: span 3;
  }

  .page-da-ga__guide-card--pos-3,
  .page-da-ga__guide-card--pos-4,
  .page-da-ga__guide-card--pos-5 {
    grid-column: span 2;
  }

  .page-da-ga__guide-card img {
    aspect-ratio: 250/350;
    object-fit: contain;
    width: 100% !important;
    height: auto !important;
  }

  /* Home Content Box */
  .page-da-ga__home-content-box {
    max-width: 100% !important;
    height: auto !important; /* Full height on mobile */
    padding: 15px;
    margin-bottom: 20px;
  }

  .page-da-ga__home-content-inner {
    height: auto !important;
    overflow: visible !important; /* No scrollbar on mobile */
    padding-right: 0;
  }

  .page-da-ga__content-block {
    margin-bottom: 20px;
  }

  .page-da-ga__heading {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-da-ga__sub-heading {
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-da-ga__paragraph,
  .page-da-ga__promo-item {
    font-size: 0.95em;
    line-height: 1.6;
  }

  .page-da-ga__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Blog Section */
  .page-da-ga__blog-section {
    padding: 20px 15px;
    margin-bottom: 20px;
  }

  .page-da-ga__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-da-ga__blog-card-image {
    height: 180px; /* Adjust height for mobile */
  }

  .page-da-ga__blog-card-title {
    font-size: 1.2em;
    min-height: auto;
  }

  .page-da-ga__blog-card-excerpt {
    min-height: auto;
  }

  .page-da-ga__cta-footer {
    padding: 30px 15px;
  }
}

/* Ensure all images are responsive and do not cause overflow */
.page-da-ga img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General image container styles to prevent overflow */
.page-da-ga__section,
.page-da-ga__card,
.page-da-ga__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-da-ga img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-da-ga__section,
  .page-da-ga__card,
  .page-da-ga__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}