/* ==========================
   GLOBAL THEME
   ========================== */

:root {
  --color-primary: #1e3a8a;   /* Deep royal blue */
  --color-primary-dark: #111827;
  --color-accent: #f59e0b;    /* Warm amber */
  --color-accent-soft: #fef3c7;
  --color-danger: #b91c1c;    /* Deep red */
  --color-bg: #f9fafb;        /* Soft light background */
  --color-card-bg: #ffffff;
  --color-text: #111827;
  --color-text-muted: #6b7280;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius-lg: 16px;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
}

body {
  line-height: 1.6;
}

/* ==========================
   HEADER & NAVBAR
   ========================== */

.site-header .navbar {
  background: linear-gradient(90deg, #1e3a8a, #312e81);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.25);
}

.navbar-brand {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.navbar-brand span {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.9;
}

.nav-link {
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.nav-link.active,
.nav-link:hover {
  color: var(--color-accent-soft) !important;
}

/* ==========================
   Dropdown submenu (nested menus)
   ========================== */

/* container for submenu should be positioned relative so absolute child can align */
.dropdown-submenu {
  position: relative;
}

/* default: open submenu to the right of its parent */
.dropdown-submenu > .dropdown-menu {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 0.1rem;
  z-index: 1050; /* above the parent menu */
  min-width: 12rem;
}

/* If the parent top-level menu is right-aligned (dropdown-menu-end),
   open nested submenu to the left instead so it doesn't go off-screen. */
.dropdown-menu.dropdown-menu-end .dropdown-submenu > .dropdown-menu {
  left: auto;
  right: 100%;
  margin-left: 0;
  margin-right: 0.1rem;
}

/* Ensure parent dropdowns allow overflow so nested absolute submenus are visible */
.navbar .dropdown-menu,
.site-header .dropdown-menu,
.nav-item .dropdown-menu {
  overflow: visible !important;
}

/* Hide the bootstrap-generated caret for nested submenu toggles and make the
   entire toggle area clickable (no separate caret). */
.dropdown-submenu > .dropdown-toggle::after {
  display: none !important;
}
.dropdown-submenu > .dropdown-toggle {
  cursor: pointer;
}

/* small screens: make nested menus behave like stacked items */
@media (max-width: 992px) {
  .dropdown-submenu > .dropdown-menu {
    position: static;
    left: auto;
    margin-left: 0;
    min-width: 0;
  }
}

/* ==========================
   HERO / BANNER  (LL-style)
   ========================== */

.hero-banner {
  position: relative;
  margin-bottom: 0;
}

/* The whole hero area should take ~80% of the viewport height */
.hero-banner .carousel,
.hero-banner .carousel-inner,
.hero-banner .carousel-item {
  height: 80vh;              /* adjust 70–85vh as you like */
  min-height: 480px;         /* keeps it decent on laptops */
}

/* Prevent any caption/buttons from escaping the banner bounds */
.hero-banner .carousel-item {
  position: relative;
  overflow: hidden;
}

.hero-banner picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}

  .hero-banner .carousel-caption {
    left: 8%;
    right: auto;
    bottom: 12%;
    top: auto;
    text-align: left;
    max-width: 540px;
    box-sizing: border-box; /* include padding in width calculations */
    width: calc(100% - 2rem);
    padding: 1rem; /* safe inner gutter so CTAs don't touch edges */
    background: transparent;
  }

/* Big, strong headline similar to LL style */
    .hero-banner .carousel-caption h1 {
      font-family: "Playfair Display", "Times New Roman", serif;
      font-size: 3rem;
      font-weight: 700;
      text-shadow: 0 8px 30px rgba(0,0,0,0.7);
      margin: 0 0 0.35rem 0;
    }

    .hero-banner .carousel-caption p {
      font-size: 1.05rem;
      max-width: 480px;
      margin: 0;
    }

    /* CTA container — allow wrapping and spacing to avoid overflow */
    .hero-banner .carousel-caption .cta-row,
    .hero-banner .carousel-caption .mt-3 {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
      align-items: center;
      margin-top: 0.6rem;
    }

    /* Buttons in captions: keep them from growing beyond the caption width */
    .hero-banner .carousel-caption a {
      box-sizing: border-box;
      position: relative;
      z-index: 13;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      white-space: nowrap;
      max-width: 100%;
    }

    .hero-banner .carousel-caption .btn-main,
    .hero-banner .carousel-caption .btn-ghost {
      padding: 8px 14px;
      font-size: 0.82rem;
      flex-shrink: 0; /* keep button size consistent; allow wrapping instead */
      border-radius: 999px;
    }
/* Small pill badge above heading */
.hero-banner .banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15,23,42,0.75);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero-banner .banner-badge span:first-child {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-accent);
}

/* Move dots / controls a bit away from edges if you like */
.hero-banner .carousel-control-prev,
.hero-banner .carousel-control-next {
  width: 5%;
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .hero-banner .carousel,
    .hero-banner .carousel-inner,
    .hero-banner .carousel,
    .hero-banner .carousel-inner,
    .hero-banner .carousel-item {
      /* Let the banner be shorter on small screens so it fits without excessive cropping */
      height: auto;
      min-height: 40vh;
      max-height: 65vh;
    }

   .hero-banner .carousel-caption {
   left: 50%;
   transform: translateX(-50%);
   /* place caption from top so it never escapes above the image
     if font-size or device scaling increases; keep centered */
   top: 8%;
   bottom: auto;
   text-align: center;
   max-width: 90%;
   padding: 0 0.5rem;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 0.4rem;
   }

    .hero-banner .carousel-caption h1 {
    font-size: clamp(1.05rem, 6vw, 2.1rem);
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    margin: 0;
    }

    .hero-banner .carousel-caption p {
      font-size: clamp(0.75rem, 3.4vw, 0.95rem);
      margin: 0;
    }

    .hero-banner .banner-badge { transform: scale(0.95); }

    .carousel-caption .btn-main,
    .carousel-caption .btn-ghost {
      padding: 6px 10px;
      font-size: 0.78rem;
      border-radius: 999px;
    }
}

/* Mobile image scaling: cap image height and keep it centered */
@media (max-width: 768px) {
  .hero-banner img {
    width: 100%;
    height: auto;
    max-height: 65vh;
    object-fit: cover;
    object-position: center;
    display: block;
  }
}

/* Responsive banner content wrapper to avoid overlapping CTAs */
.carousel-caption.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.carousel-caption.banner .banner-content {
  width: 100%;
  max-width: 720px;
  padding: 1rem 1.25rem;
  box-sizing: border-box;
}

.banner-title {
  margin: 0.25rem 0 0.5rem 0;
  font-size: clamp(1.1rem, 6vw, 2.6rem);
  line-height: 1.05;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-shadow: 0 6px 22px rgba(0,0,0,0.65);
}

.banner-subtitle {
  margin: 0 0 0.6rem 0;
  font-size: clamp(0.8rem, 2.6vw, 1rem);
  color: rgba(245,245,245,0.95);
}

.carousel-caption .btn-group-inline {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.carousel-caption .btn-main,
.carousel-caption .btn-ghost {
  white-space: normal;
  display: inline-block;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
  font-size: 0.82rem;
}

@media (max-width: 480px) {
  .hero-banner .carousel,
  .hero-banner .carousel-inner,
  .hero-banner .carousel-item {
    /* keep a reasonable height on small phones but allow image to define it */
    height: auto;
    min-height: 260px;
    max-height: 50vh;
  }

  .banner-title {
    font-size: 1.0rem;
    line-height: 1.05;
  }

  .banner-subtitle {
    font-size: 0.78rem;
  }

  .carousel-caption .btn-main,
  .carousel-caption .btn-ghost {
    padding: 6px 10px;
    font-size: 0.72rem;
  }
}

/* Ensure hero caption headings scale down gracefully */
.hero-banner .carousel-caption h1,
.hero-banner .carousel-caption .banner-title {
  font-size: clamp(1rem, 5.5vw, 1.8rem);
  line-height: 1.02;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.hero-banner .carousel-caption p,
.hero-banner .carousel-caption .banner-subtitle {
  font-size: clamp(0.75rem, 2.6vw, 0.95rem);
  margin-bottom: 0.35rem;
}

@media (max-width: 768px) {
  .carousel-caption.banner .banner-content {
    max-width: 90%;
    padding: 0.6rem 0.8rem;
  }
  .carousel-caption .btn-main,
  .carousel-caption .btn-ghost {
    padding: 5px 8px;
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .hero-banner .carousel-caption h1,
  .hero-banner .carousel-caption .banner-title {
    font-size: 0.95rem !important;
    line-height: 1.02;
  }
  .hero-banner .carousel-caption p,
  .hero-banner .carousel-caption .banner-subtitle {
    font-size: 0.78rem !important;
  }
  .carousel-caption .btn-main,
  .carousel-caption .btn-ghost {
    padding: 5px 8px;
    font-size: 0.7rem;
  }
}

/* Fixed mobile hero height + contain images for consistent appearance */
@media (max-width: 768px) {
    .hero-banner .carousel,
    .hero-banner .carousel-inner,
    .hero-banner .carousel-item {
    /* Let the carousel size itself to the image on phones */
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .hero-banner img {
    width: 100%;
    height: auto; /* image determines height so container matches it */
    object-fit: cover; /* fill the container without letterboxing */
    object-position: center;
    display: block;
    background-color: transparent;
  }

/* Small devices: ensure very small screens don't overflow caption */
@media (max-width: 360px) {
  .hero-banner .carousel-caption h1 { font-size: 1.05rem !important; line-height: 1.1 !important; }
  .hero-banner .carousel-caption { top: 6%; padding: 0 0.5rem; }
}

  .hero-banner .carousel-caption {
    left: 50%;
    transform: translateX(-50%);
    bottom: 10%;
    text-align: center;
    max-width: 92%;
    padding: 0.5rem;
  }

  .carousel-caption.banner .banner-content {
    padding: 0.75rem;
  }
}


/* ==========================
   BUTTONS
   ========================== */

.btn-main {
  background: var(--color-accent);
  color: #111827;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  border: none;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
}

.btn-main:hover {
  background: #fbbf24;
  color: #111827;
}

.btn-ghost {
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  border: 1px solid rgba(248, 250, 252, 0.7);
  color: #e5e7eb;
  background: rgba(15,23,42,0.4);
}

.btn-ghost:hover {
  background: rgba(15,23,42,0.8);
}

/* ==========================
   HOME – QUICK INFO CARDS
   ========================== */

.section {
  padding: 3.5rem 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Allow templates to override alignment by adding `text-start` on the container */
.section-heading.text-start,
.section-heading.text-start h1,
.section-heading.text-start h2,
.section-heading.text-start p,
.section-heading.text-start .lead {
  text-align: left;
}

.section-heading h2 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-heading p {
  color: var(--color-text-muted);
  max-width: 540px;
  margin: 0 auto;
}

/* Left-aligned heading spacing: match Ministries (small gap under H1 + Bootstrap lead spacing) */
.section-heading.text-start h1,
.section-heading.text-start h2 {
  margin-bottom: 0.5rem; /* small gap before the lead paragraph */
}

.section-heading.text-start p.lead,
.section-heading.text-start p {
  margin: 0 0 1.5rem 0; /* follow Bootstrap's mb-4 spacing */
  max-width: none; /* allow full width like Ministries page */
}

/* Slightly reduce size for lead paragraphs that are muted and use mb-4 spacing */
p.lead.text-muted.mb-4 {
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Make card and module headings use the same serif display font for consistent look */
.panel-card h3,
.event-card h3,
.announcement-card h5,
.section-sub,
.section-heading h2 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--color-primary);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
  flex-shrink: 0;
}

.info-card-icon.worship {
  background: rgba(30, 58, 138, 0.08);
  color: var(--color-primary);
}

.info-card-icon.location {
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
}

.info-card-icon.whatsapp {
  background: rgba(22, 163, 74, 0.08);
  color: #16a34a;
}

.info-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.info-card p {
  margin-bottom: 0.2rem;
  color: var(--color-text-muted);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0.25rem 0;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  background: rgba(30, 58, 138, 0.06);
  transition: background 0.2s, color 0.2s;
}

.contact-link:hover {
  background: rgba(30, 58, 138, 0.14);
  color: var(--color-primary-dark);
}

.contact-link i {
  font-size: 1rem;
}

/* ==========================
   ABOUT HERO (image + text overlay)
   ========================== */

.about-hero-section {
  position: relative;
  background-color: #dbeafe;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  display: block;
}

.about-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.25) 0%, rgba(15,23,42,0.7) 100%);
  z-index: 1;
}

.about-hero-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  line-height: 0;
}

.about-hero-wave svg {
  width: 100%;
  height: 120px;
  display: block;
}

.about-hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding: 4rem 2rem 3rem;
}

.about-hero-content h2 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.about-hero-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.about-hero-link {
  color: #fde047;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
}

.about-hero-link:hover {
  color: #fbbf24;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .about-hero-section {
    min-height: 360px;
  }
  .about-hero-content h2 {
    font-size: 2rem;
  }
  .about-hero-content p {
    font-size: 1rem;
  }
  .about-hero-wave svg {
    height: 60px;
  }
}

/* ==========================
   EVENTS SECTION
   ========================== */

.events-section {
  background: radial-gradient(circle at top left, #eff6ff, #f9fafb);
}

.event-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15,23,42,0.18);
}

.event-date {
  min-width: 64px;
  text-align: center;
  border-radius: 999px;
  background: var(--color-primary);
  color: white;
  padding: 0.4rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.event-date .day {
  font-size: 1.1rem;
  font-weight: 700;
}

.event-date .month {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.event-details h3 {
  margin: 0;
  font-size: 1.1rem;
}

.event-details p {
  margin: 0.15rem 0;
  color: var(--color-text-muted);
}

/* ==========================
   ANNOUNCEMENTS
   ========================== */

.announcements-section {
  background: #ffffff;
}

.announcement-card {
  background: var(--color-card-bg);
  border-radius: 12px;
  padding: 1.25rem;
  border-left: 4px solid var(--color-accent);
  box-shadow: 0 6px 22px rgba(15,23,42,0.06);
  margin-bottom: 1rem;
}

.announcement-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.badge-category {
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  background: var(--color-accent-soft);
  color: #78350f;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Prevent announcement/list items from overflowing on small screens */
.list-group,
.announcement-list {
  overflow-x: hidden;
}

.list-group-item,
.announcement-card {
  box-sizing: border-box;
  min-width: 0; /* allow flex children to shrink */
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.announcement-meta {
  flex-wrap: wrap; /* allow metadata to wrap instead of forcing width */
}

.announcement-meta > * {
  min-width: 0; /* prevent long children from enlarging the row */
}

@media (max-width: 576px) {
  .list-group-item,
  .announcement-card {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    padding-right: 0.5rem;
  }

  .list-group-item h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .list-group-item p {
    margin-bottom: 0.25rem;
  }
}

/* ==========================
   MESSAGE / PRAYER / CTA
   ========================== */

.vicar-message {
  background: radial-gradient(circle at top, #1e3a8a, #0f172a);
  color: #e5e7eb;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(15,23,42,0.5);
}

/* Center the inner vicar content while keeping the full-width card */
.vicar-message .vicar-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.vicar-message h2 {
  font-family: "Playfair Display", "Times New Roman", serif;
  margin-bottom: 0.5rem;
}

.vicar-message small {
  color: #a5b4fc;
}

.vicar-message blockquote {
  margin: 1.5rem 0 0;
  font-style: italic;
}

/* ==========================
   FOOTER
   ========================== */

.site-footer {
  background: #1E3A8A;  /* deep church blue */
  color: #E5E7EB;      /* soft white */
  padding: 2.5rem 0 1rem;
}

.site-footer h5 {
  color: #ffffff;
  font-weight: 600;
}

.site-footer a {
  color: #E5E7EB;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.25);
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-size: 0.8rem;
  color: #f3f4f6;
}


/* ==========================
   UTILITIES
   ========================== */

.text-muted-soft {
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .hero-banner .carousel-caption {
    left: 50%;
    transform: translateX(-50%);
    right: 10%;
    bottom: 16%;
    text-align: center;
  }

  .hero-banner .carousel-caption h1 {
    font-size: 2rem;
  }
}

/* Reusable page/content card to keep page sections within margins and aligned */
.page-card {
  background: var(--color-bg); /* match page background */
  border-radius: 0; /* flush with background */
  padding: 0 1.25rem; /* small inner gutters only */
  box-shadow: none; /* no separation */
  margin: 0 auto;
  max-width: none;
  width: 100%; /* fill container width */
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .page-card { padding: 0.75rem; width: 100%; border-radius: 0; box-shadow: none; }
}

/* Banner responsive layout */
.banner {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  min-height: 300px;
  color: #fff;
}

/* dimming overlay so text stays readable */
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.35));
  z-index: 1;
}

/* content wrapper — keeps text from touching edges */
.banner .banner-content {
  position: relative;
  z-index: 2;
  max-width: min(1100px, 90%);
  padding: 2rem;
}

/* responsive title/subtitle */
.banner .banner-title {
  margin: 0 0 0.5rem 0;
  font-size: clamp(1.25rem, 4.5vw, 2.5rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.banner .banner-subtitle {
  font-size: clamp(0.9rem, 3vw, 1.125rem);
  margin: 0;
}

/* smaller screens — tighten spacing and reduce height */
@media (max-width: 576px) {
  .banner {
    min-height: 200px;
  }
  .banner .banner-content {
    padding: 1rem;
    max-width: 95%;
  }
  .banner .banner-title {
    font-size: 1.25rem;
  }
  .banner .banner-subtitle {
    font-size: 0.95rem;
  }
}