/* ================================================================
   LOHANA COMMUNITY OF KAMPALA - Global Styles
   Preserves Nicepage design system + adds multi-page enhancements
   ================================================================ */

/* Import fonts used by Nicepage */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&family=Raleway:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap');

/* ---- CSS Variables matching Nicepage theme ---- */
:root {
  --color-primary: #c80303;       /* Red */
  --color-secondary: #ffc917;     /* Yellow */
  --color-accent: #ffffff;        /* White */
  --color-dark: #111111;
  --color-grey-light: #f5f5f5;
  --font-heading: 'Raleway', 'Montserrat', sans-serif;
  --font-nav: 'Montserrat', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 4px 24px rgba(0,0,0,0.12);
  --radius: 8px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-heading); color: var(--color-dark); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* Hide Contact Popup Overlay by default (shown via JS) */
#pi-contact-popup-overlay { display: none !important; }
#pi-contact-popup-overlay.active { display: flex !important; }

/* ================================================================
   GLOBAL SECTION & SHEET UNCAP (Removes massive empty white spaces across Desktop, Tablet, and Mobile)
   ================================================================ */
section, .u-section, .u-sheet, .u-layout-wrap, .u-layout,
.u-layout-cell:not(.u-image):not(.lck-map-container),
.u-container-layout:not(.u-image):not(.lck-map-container),
.u-group-elements {
  min-height: auto !important;
  max-height: none !important;
  height: auto !important;
}

/* ================================================================
   GLOBAL NAVIGATION BAR
   ================================================================ */

.lck-navbar {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  width: 100%;
}

/* Top welcome bar */
.lck-topbar {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 8px 20px;
  font-family: var(--font-nav);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Main nav row */
.lck-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 20px;
  max-width: 1550px;
  margin: 0 auto;
  gap: 15px;
}

/* Logo */
.lck-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.lck-logo img {
  height: 100px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Desktop nav menu */
.lck-nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  flex-wrap: nowrap;
  margin-right: 60px;
}

.lck-nav-menu li {
  position: relative;
}

.lck-nav-menu li a,
.lck-nav-menu li > span {
  display: block;
  padding: 8px 10px;
  font-family: var(--font-nav);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-dark);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border-radius: 4px;
}

.lck-nav-menu li a:hover,
.lck-nav-menu li a.active {
  color: var(--color-primary);
}

/* Dropdown trigger arrow */
.lck-nav-menu li.has-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7rem;
}

/* Dropdown submenu - fully clickable fix */
.lck-nav-menu li.has-dropdown {
  /* Needed for pseudo-element bridge */
  padding-bottom: 0;
}

.lck-nav-menu li.has-dropdown .lck-dropdown {
  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 4px); /* small gap from nav item */
  left: 0;
  background: #fff;
  border: 2px solid var(--color-secondary); /* Yellow border */
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  min-width: 220px;
  z-index: 99999;
  padding: 6px 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  list-style: none;
}

/* Invisible bridge - fills the gap between nav item and dropdown */
.lck-nav-menu li.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px; /* covers the 4px gap + some extra */
  background: transparent;
  display: block;
  z-index: 99998;
}

/* Show on hover OR when .open class is present (JS toggle) */
.lck-nav-menu li.has-dropdown:hover .lck-dropdown,
.lck-nav-menu li.has-dropdown.open .lck-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
}

.lck-dropdown {
  list-style: none;
}

.lck-dropdown li {
  display: block;
  width: 100%;
}

.lck-dropdown li a {
  display: block;
  padding: 11px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-dark);
  border-radius: 0;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
  pointer-events: all;
  cursor: pointer;
  text-decoration: none;
}
.lck-dropdown li a:hover {
  background: var(--color-grey-light);
  color: var(--color-primary);
  padding-left: 28px;
}

/* Hamburger button */
.lck-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  flex-shrink: 0;
}
.lck-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.lck-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lck-hamburger.open span:nth-child(2) { opacity: 0; }
.lck-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.lck-mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.97);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1);
}
.lck-mobile-menu.open {
  display: flex;
  max-height: 800px;
}
.lck-mobile-menu a {
  display: block;
  padding: 14px 30px;
  color: #fff;
  font-family: var(--font-nav);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s, padding-left 0.2s;
  /* CRITICAL: ensure links are tappable */
  pointer-events: all;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.lck-mobile-menu a:hover,
.lck-mobile-menu a.active {
  color: var(--color-primary);
  padding-left: 38px;
}

/* Mobile sub-section */
.lck-mobile-menu .mobile-sub {
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--color-primary);
  margin-left: 0;
}
.lck-mobile-menu .mobile-sub a {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 12px 20px 12px 46px;
  color: rgba(255,255,255,0.8);
  text-transform: none;
  letter-spacing: 0.02em;
}
.lck-mobile-menu .mobile-sub a:hover {
  color: #fff;
  padding-left: 54px;
}

/* Section divider label in mobile menu */
.lck-mobile-menu .mobile-section-label {
  display: block;
  padding: 10px 30px 4px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  pointer-events: none;
}

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

.lck-footer {
  background: var(--color-primary); /* Red Footer */
  color: #fff;
  padding: 40px 30px 20px;
  border-top: 15px solid var(--color-secondary); /* Yellow stripe from image */
}

.lck-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto 30px;
}

.lck-footer-brand img {
  height: 75px;
  width: auto;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}
.lck-footer-brand p {
  font-size: 0.82rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 16px;
}

.lck-footer h4 {
  font-family: var(--font-nav);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  opacity: 0.7;
}
.lck-footer h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.lck-footer p, .lck-footer address {
  font-size: 0.82rem;
  line-height: 1.6;
  opacity: 0.9;
  font-style: normal;
}
.lck-footer a {
  color: #fff;
  opacity: 0.9;
  transition: var(--transition);
}
.lck-footer a:hover {
  opacity: 1;
  color: var(--color-secondary); /* Yellow hover */
}

/* Social Icons */
.lck-social-icons {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.lck-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  transition: var(--transition);
  opacity: 1;
}
.lck-social-icons a:hover {
  background: rgba(255,255,255,0.35);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
.lck-social-icons svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Footer quick links */
.lck-footer-links ul {
  list-style: none;
  padding: 0;
}
.lck-footer-links ul li {
  margin-bottom: 8px;
}
.lck-footer-links ul li a {
  font-size: 0.82rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.lck-footer-links ul li a::before {
  content: '›';
  font-size: 1.1rem;
}
.lck-footer-links ul li a:hover {
  color: #f0d060;
  padding-left: 4px;
}

/* Footer group buttons */
.lck-footer-group-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.lck-footer-group-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: var(--transition);
  opacity: 1;
}
.lck-footer-group-links a:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}

/* Footer bottom bar */
.lck-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.7;
  max-width: 1200px;
  margin: 0 auto;
}

/* ================================================================
   PAGE HERO BANNER (shared across all pages)
   ================================================================ */

.lck-page-hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 10px 40px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.lck-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.65));
}
.lck-page-hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
}
.lck-page-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin-bottom: 8px;
}
.lck-page-hero-content p {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 600px;
}

/* Breadcrumb */
.lck-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 12px;
}
.lck-breadcrumb a { color: #fff; }
.lck-breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.lck-breadcrumb span { opacity: 0.6; }

/* ================================================================
   UTILITY CLASSES
   ================================================================ */
.lck-section {
  padding: 80px 24px;
  position: relative;
  background: #fff;
  scroll-margin-top: 140px;
}
.lck-container {
  max-width: 1200px;
  margin: 0 auto;
}
.lck-section-title {
  text-align: center;
  margin-bottom: 50px;
}
.lck-section-title .eyebrow {
  font-family: var(--font-nav);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  display: block;
  margin-bottom: 8px;
}
.lck-section-title h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
}
.lck-section-title p {
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: #444;
}

/* Two-column layout */
.lck-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.lck-two-col img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

/* CTA Button */
.lck-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  font-family: var(--font-nav);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
}
.lck-btn-primary {
  background: var(--color-secondary); /* Yellow */
  color: var(--color-primary); /* Red text */
  border: 2px solid var(--color-secondary);
  font-weight: 800;
}
.lck-btn-primary:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: #fff;
  box-shadow: 0 4px 16px rgba(200,3,3,0.3);
}
.lck-btn-outline {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-secondary); /* Yellow border */
}
.lck-btn-outline:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.lck-btn-red {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
}
.lck-btn-red:hover {
  background: #a50000;
  border-color: #a50000;
}

/* Team card grid */
.lck-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.lck-team-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}
.lck-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.lck-team-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
}
.lck-team-card-info {
  padding: 16px 12px;
  background: var(--color-primary);
  color: #fff;
}
.lck-team-card-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.lck-team-card-info p {
  font-size: 0.78rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Gallery grid */
.lck-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}
.lck-gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
}
.lck-gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Contact form */
.lck-contact-form {
  background: var(--color-grey-light);
  border-radius: 12px;
  padding: 40px;
}
.lck-contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.lck-contact-form p {
  color: #555;
  margin-bottom: 28px;
  font-size: 0.95rem;
}
.lck-form-group {
  margin-bottom: 18px;
}
.lck-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}
.lck-form-group input,
.lck-form-group textarea,
.lck-form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fff;
}
.lck-form-group input:focus,
.lck-form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.lck-form-group textarea { height: 120px; resize: vertical; }

/* Info cards */
.lck-info-card {
  background: #fff;
  border-left: 4px solid var(--color-primary);
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin-bottom: 16px;
}
.lck-info-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.lck-info-card p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
}

/* Red-themed card variant */
.lck-info-card.red { border-left-color: var(--color-secondary); }
.lck-info-card.red h4 { color: var(--color-secondary); }

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 1350px) {
  .lck-nav-menu { display: none; }
  .lck-hamburger { display: flex; }
}

@media (min-width: 1351px) and (max-width: 1520px) {
  .lck-nav-menu {
    gap: 1px;
    margin-right: 20px;
  }
  .lck-nav-menu li a,
  .lck-nav-menu li > span {
    padding: 8px 6px;
    font-size: 0.8rem;
  }
  .lck-logo img {
    height: 85px;
  }
}

@media (max-width: 1024px) {
  .lck-nav-row { padding: 10px 24px; }
  .lck-logo img { height: 90px; }
}

@media (max-width: 900px) {
  .lck-two-col { grid-template-columns: 1fr; }
  .lck-two-col img { height: 280px; }
  .lck-footer-grid { grid-template-columns: 1fr 1fr; }
  .lck-section { padding: 50px 24px; }
}

@media (max-width: 600px) {
  .lck-nav-row { padding: 5px 12px; }
  .lck-logo img { height: 65px !important; }
  .lck-footer-grid { grid-template-columns: 1fr; }
  .lck-footer { padding: 30px 16px 20px; }
  .lck-section { padding: 40px 16px; }
  .lck-page-hero { min-height: auto; padding: 10px 16px; }
  .lck-page-hero-content h1 { font-size: 1.5rem; }
  .lck-team-grid { grid-template-columns: repeat(2, 1fr); }
  .lck-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .lck-contact-form { padding: 24px 16px; }
  .lck-topbar { font-size: 0.75rem; }
}

/* Multipage custom layout fixes */
.lck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.lck-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  height: 100%;
}
.lck-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.lck-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #c80303;
}
.lck-card p {
  flex-grow: 1;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}
.lck-card .lck-btn {
  margin-top: auto;
  align-self: flex-start;
}
.lck-section-dark {
  background: #f9f9f9;
}

/* Image sizing enhancements for team cards */
.lck-team-card img, .lck-team-card .lck-team-card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}
/* Fallback script logic in global.js handles missing images, but just in case, styling for broken images */
img {
  font-family: 'Helvetica', sans-serif;
  font-weight: 300;
  line-height: 2;  
  text-align: center;
  position: relative;
}
img::after {
  content: "Image unavailable";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f5f5f5;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Contact Page Specific Styles */
.lck-contact-hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 20px 0;
  justify-content: center;
  text-align: center;
  background: url('../images/01.LOHANATOWERS1.JPG') no-repeat center center/cover;
}
.lck-contact-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(200, 3, 3, 0.85) 0%, rgba(17, 17, 17, 0.9) 100%);
}
.lck-contact-hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 0 20px;
  animation: fadeInUp 0.8s ease forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.lck-contact-wrapper {
  margin-top: -60px;
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
}

.lck-contact-info-panel {
  background: var(--color-primary);
  color: #fff;
  padding: 50px 40px;
}
.lck-contact-info-panel h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: 800;
}
.lck-contact-info-panel p.sub {
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
}

.lck-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}
.lck-contact-icon {
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.lck-contact-item-text h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  font-weight: 700;
}
.lck-contact-item-text p, .lck-contact-item-text a {
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.lck-contact-item-text a:hover {
  color: var(--color-secondary);
}

.lck-contact-form-panel {
  padding: 50px;
  background: #fff;
}
.lck-contact-form-panel h3 {
  font-size: 2rem;
  color: var(--color-dark);
  margin-bottom: 30px;
  font-weight: 800;
}

.lck-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.lck-form-group.full {
  grid-column: 1 / -1;
}

.lck-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #333;
  background: #fafafa;
  transition: all 0.3s ease;
}
.lck-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(200, 3, 3, 0.1);
}
textarea.lck-input {
  resize: vertical;
  min-height: 120px;
}

.lck-social-row {
  display: flex;
  gap: 15px;
  margin-top: 40px;
}
.lck-social-row a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
}
.lck-social-row a:hover {
  background: #fff;
  color: var(--color-primary);
  transform: translateY(-3px);
}

.lck-map-container {
  width: 100%;
  height: 450px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  margin-top: 60px;
}

@media (max-width: 900px) {
  .lck-contact-wrapper {
    grid-template-columns: 1fr;
  }
  .lck-contact-info-panel {
    padding: 40px 25px;
  }
  .lck-contact-form-panel {
    padding: 40px 25px;
  }
}
@media (max-width: 600px) {
  .lck-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Custom sizing overrides for the Nicepage footer to make it slightly smaller */
.u-footer {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}
.u-footer .u-text {
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
}
.u-footer h3.u-text {
  font-size: 1.5rem !important;
  margin-bottom: 15px !important;
}
.u-footer .u-btn {
  font-size: 0.8rem !important;
  padding: 8px 16px !important;
}
.u-footer .u-input {
  font-size: 0.85rem !important;
  padding: 8px 12px !important;
}
.u-footer .u-icon {
  width: 32px !important;
  height: 32px !important;
}

/* Re-engineered Clean Footer Styles */
.lck-footer-new {
  background: var(--color-primary) !important;
  color: #ffffff !important;
  padding: 60px 0 30px;
  border-top: 10px solid var(--color-secondary, #ffc917);
}
.lck-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.lck-footer-col h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  color: #ffffff !important;
}
.lck-footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--color-secondary, #ffc917);
}
.lck-footer-col p, .lck-footer-col address {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 15px;
  opacity: 0.9;
  font-style: normal;
  color: #ffffff !important;
}
.lck-footer-col ul {
  list-style: none;
  padding: 0;
}
.lck-footer-col ul li {
  margin-bottom: 12px;
}
.lck-footer-col ul li a {
  color: #ffffff !important;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lck-footer-col ul li a:hover {
  color: var(--color-secondary, #ffc917) !important;
  padding-left: 5px;
}
.lck-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.lck-footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  transition: all 0.3s ease;
}
.lck-footer-social a:hover {
  background: #ffffff !important;
  color: var(--color-primary, #c80303) !important;
  transform: translateY(-3px);
}
.lck-footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.lck-footer-fb-btn {
  display: block;
  padding: 10px 15px;
  border: 2px solid var(--color-secondary, #ffc917) !important;
  color: var(--color-secondary, #ffc917) !important;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-align: center;
  transition: all 0.3s ease;
}
.lck-footer-fb-btn:hover {
  background: var(--color-secondary, #ffc917) !important;
  color: var(--color-primary, #c80303) !important;
}

.lck-footer-bottom-new {
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  margin-top: 50px;
  padding-top: 25px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.9 !important;
  color: #ffffff !important;
}

@media (max-width: 1000px) {
  .lck-footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}
@media (max-width: 600px) {
  .lck-footer-container {
    grid-template-columns: 1fr;
  }
}

/* Nicepage Team Image Fixes */
.u-repeater-item .u-image {
  background-size: cover !important;
  background-position: center top !important;
  border-radius: 12px !important;
  transition: transform 0.3s ease !important;
}
.u-repeater-item:hover .u-image {
  transform: scale(1.05);
}
.u-repeater-item .u-container-layout {
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 20px !important;
  border-radius: 12px !important;
}
/* ================================================================
   SECTION CONTAINMENT & SPACING
   ================================================================ */

/* Sections contain children properly */
section.u-clearfix {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Standardize container alignment */
.u-sheet {
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ================================================================
   HERO BANNER CAPS (desktop only)
   ================================================================ */
.lck-page-hero,
#block-13.u-section-1 {
  min-height: auto !important;
  max-height: 150px !important;
}
#block-13.u-section-1 .u-layout-cell,
#block-13.u-section-1 .u-image {
  min-height: auto !important;
  height: auto !important;
}

/* ================================================================
   HERO SLIDE BUTTON GROUPS — flex-wrap so they never collide
   ================================================================ */
.u-carousel-item .u-sheet {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-end;
  gap: 12px;
  padding-bottom: 60px !important;
}
.u-carousel-item .u-sheet .u-btn {
  flex-shrink: 0;
}

/* ================================================================
   BUTTON GROUP GAP FIX — prevent adjacent buttons from touching
   ================================================================ */
.u-container-layout .u-btn + .u-btn {
  margin-left: 12px;
}
/* Override Nicepage's -46px margin that causes Events buttons to collide */
.u-section-6 .u-btn-2 {
  margin-top: 12px !important;
}
#block-6 .u-container-layout-1 {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

/* ================================================================
   NICEPAGE POSTER & BUTTON SECTIONS
   ================================================================ */
#block-14.u-section-4, #block-16.u-section-6 {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-color: #2b1e3a !important;
}
#block-20.u-section-5 {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 80px !important;
  padding: 0 !important;
}
#block-20.u-section-5 .u-sheet-1 {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}
#block-20.u-section-5 .u-btn-1 {
  padding: 15px 40px !important;
  width: auto !important;
  margin: 0 auto !important;
}

/* ================================================================
   EVENTS PAGE GAP FIX
   ================================================================ */
body.u-body section[id*="block-"] {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ================================================================
   TEAM CARD EQUAL HEIGHT (Nicepage repeaters + custom cards)
   ================================================================ */
.u-repeater { align-items: stretch !important; }
.u-repeater-item {
  display: flex !important;
  flex-direction: column !important;
}
.u-repeater-item > .u-container-layout {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  height: 100% !important;
}
.u-repeater-item > .u-container-layout > .u-group {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.lck-team-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
.lck-team-card-info {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* ================================================================
   OUR TEAM PAGE: NEW SECTIONS (override inherited Nicepage bg)
   ================================================================ */
#block-mahila,
#block-youth {
  background-image: none !important;
  background-size: auto !important;
}

/* ================================================================
   REVEAL / GALLERY IMAGES
   ================================================================ */
.lck-reveal {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.lck-reveal img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.lck-reveal:hover img { transform: scale(1.05); }
.lck-reveal-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
}

/* Button white variant */
.lck-btn-white {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}
.lck-btn-white:hover {
  background: transparent;
  color: #fff;
}

/* ================================================================
   TABLET (768-1024)
   ================================================================ */
@media (min-width: 768px) and (max-width: 1024px) {
  #block-mahila .lck-grid,
  #block-youth .lck-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }
}

/* ================================================================
   MOBILE (<= 767px)  — Surgical, scoped fixes
   ================================================================ */
@media (max-width: 767px) {

  /* -- Prevent horizontal scroll -- */
  html, body { overflow-x: hidden !important; }

  /* -- FOOTER: Unconditional visibility and flawless mobile stacking -- */
  footer, .lck-footer-new, .lck-footer, #lck-footer-placeholder {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    width: 100% !important;
  }
  .lck-footer-container, .lck-footer-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 30px !important;
    padding: 30px 20px !important;
    box-sizing: border-box !important;
  }
  .lck-footer-col, .lck-footer-brand, .lck-footer-links, .lck-footer-contact {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* -- UNCAP ALL SECTIONS, SHEETS, AND CONTAINERS TO REMOVE MASSIVE EMPTY SPACES (except images/maps) -- */
  section, .u-section, .u-sheet, .u-layout-wrap, .u-layout, .u-layout-row,
  .u-layout-cell:not(.u-image):not(.lck-map-container),
  .u-container-layout:not(.u-image):not(.lck-map-container),
  .u-group-elements, .u-carousel, .u-carousel-inner, .u-carousel-item, .lck-page-hero {
    min-height: auto !important;
    max-height: none !important;
    height: auto !important;
  }
  .u-carousel-item .u-sheet, .lck-page-hero .u-sheet {
    min-height: auto !important;
    height: auto !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
  }
  .u-carousel-item h1.u-text, .lck-page-hero h1.u-text {
    margin-top: 0 !important;
    margin-bottom: 5px !important;
    text-align: left !important;
  }

  /* -- Stack layout rows vertically -- */
  .u-layout-row {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 20px !important;
  }

  /* -- Clean Outer Sheet Padding (NO double/triple nesting) -- */
  .u-sheet, .lck-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }
  .u-layout-cell {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* -- Images fill width -- */
  .u-image {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* -- Typography scaling -- */
  h1, .lck-section h1 { font-size: 1.6rem !important; line-height: 1.25 !important; }
  h2, .lck-section h2 { font-size: 1.35rem !important; line-height: 1.3 !important; }
  h3, h4 { font-size: 1.1rem !important; line-height: 1.4 !important; }
  h1, h2, h3, h4, p {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  /* -- BUTTONS & BUTTON GROUPS: perfectly proportioned full-width stacking on mobile -- */
  .lck-btn-group {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
    margin-top: 25px !important;
    margin-bottom: 40px !important;
    align-items: stretch !important;
  }
  .u-btn, .lck-btn, .lck-btn-group .u-btn {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    padding: 14px 20px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    height: auto !important;
    line-height: 1.4 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 12px !important;
    border-radius: 6px !important;
  }

  /* Keep carousel nav arrows as icons, NOT full-width */
  .u-carousel-control, .u-gallery-nav {
    display: flex !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    max-width: 36px !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .u-carousel-control svg, .u-gallery-nav svg {
    width: 16px !important;
    height: 16px !important;
  }
  /* Keep social icons circular, not full-width */
  .lck-social-row a, .lck-social-icons a, .lck-footer-social a {
    display: flex !important;
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
    padding: 0 !important;
  }

  /* -- Grids stack to 1 col -- */
  .lck-grid, .lck-team-grid, .lck-gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  /* Only stack repeaters that are NOT inside carousels/sliders */
  section:not(.u-slide):not(.u-carousel) .u-repeater {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
  }

  /* -- Our Team page: Mahila/Youth cards 2-col -- */
  #block-mahila .lck-grid, #block-youth .lck-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  #block-mahila .lck-team-card, #block-youth .lck-team-card {
    width: 100% !important;
  }

  /* -- CSR two-col stacks to 1 col, RTL normalized -- */
  .lck-two-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  .lck-two-col[style*="direction: rtl"] {
    direction: ltr !important;
  }
  .lck-two-col img {
    height: 220px !important;
    width: 100% !important;
  }

  /* -- Reveal images shorter on mobile -- */
  .lck-reveal img {
    height: 200px !important;
  }

  /* -- Mahila Mandal event photo grids 1 col -- */
  .lck-section-dark .lck-grid {
    grid-template-columns: 1fr !important;
  }

  /* -- Custom sections padding -- */
  .lck-section {
    padding: 36px 16px !important;
  }

  /* -- Contact page form grid 1 col -- */
  .lck-contact-wrapper {
    grid-template-columns: 1fr !important;
  }
  .lck-contact-info-panel, .lck-contact-form-panel {
    padding: 30px 20px !important;
  }
  .lck-form-grid {
    grid-template-columns: 1fr !important;
  }

  /* -- Map shorter on mobile -- */
  .lck-map-container {
    height: 280px !important;
    margin-top: 30px !important;
  }
}

/* ================================================================
   CAROUSEL & SLIDER AUTOMATION OVERRIDES
   Hides manual left/right navigation arrows, forces smooth CSS
   transitions, and optimizes image presentation across all sliders.
   ================================================================ */

/* Hide manual left/right navigation arrows completely */
.u-carousel-control,
.u-carousel-control-prev,
.u-carousel-control-next,
.u-gallery-nav,
.u-gallery-nav-prev,
.u-gallery-nav-next,
.u-carousel-control-1,
.u-carousel-control-2,
.u-gallery-nav-1,
.u-gallery-nav-2 {
  display: none !important;
}

/* Force smooth CSS transitions on all carousel items and override u-no-transition */
.u-carousel .u-carousel-item,
.u-gallery-slider .u-carousel-item {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), left 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
  transition-duration: 0.8s !important;
  backface-visibility: hidden !important;
}

/* Force fade effect on fade carousels */
.u-carousel-fade .u-carousel-item {
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
  backface-visibility: hidden !important;
}

/* Perfect image presentation: center, cover, and scale responsibly */
.u-carousel-item .u-back-image,
.u-carousel-item img {
  object-fit: cover !important;
  object-position: center !important;
  width: 100% !important;
  height: 100% !important;
}

/* aspect stability to prevent layout shifting during transition */
.u-carousel,
.u-gallery-slider {
  position: relative !important;
  overflow: hidden !important;
}

/* ================================================================
   MOBILE VIEW EXTRA AUDIT & FIXES (<= 768px)
   ================================================================ */
@media (max-width: 768px) {
  /* Prevent Navigation Bar Logo from shifting or overlapping */
  .lck-logo img {
    height: 75px !important;
    transform: none !important;
  }

  /* Support scrolling inside the mobile hamburger menu if there are many pages */
  .lck-mobile-menu.open {
    max-height: 80vh !important;
    overflow-y: auto !important;
  }

  /* Prevent Footer Logo from overflowing when scaled */
  .lck-footer-new img[style*="transform: scale(1.4)"] {
    transform: none !important;
  }

  /* --- Home Page (index.html) Fixes --- */
  /* Welcome header alignment, centering and border adjustments */
  .u-section-2 div[style*="display: flex"][style*="align-items: center"][style*="justify-content: center"] {
    flex-direction: column !important;
    gap: 15px !important;
    margin-bottom: 20px !important;
  }
  .u-section-2 h2.u-text-custom-color-3,
  .u-section-2 div[style*="flex: 0 1 auto"] h2 {
    font-size: 1.6rem !important;
    text-align: center !important;
    border-left: none !important;
    padding-left: 0 !important;
    border-bottom: 3px solid #ffc917 !important;
    padding-bottom: 15px !important;
    margin-left: 0 !important;
  }
  /* Welcome slideshow container height restriction */
  #welcome-slideshow {
    height: 250px !important;
    margin-bottom: 20px !important;
  }

  /* --- About LCK Page (about-lck.html) Fixes --- */
  #about-history > div > div[style*="background: #ffffff"] {
    padding: 24px 20px !important;
    border-radius: 16px !important;
  }
  #about-history h2 {
    font-size: 1.6rem !important;
  }
  #toggleConstitutionBtn {
    font-size: 0.95rem !important;
    padding: 12px 20px !important;
    border-radius: 30px !important;
    width: 100% !important;
  }
  #constitutionFormArea {
    padding: 24px 20px !important;
  }
  #submitConstBtn {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
  }

  /* --- Constitution Page (constitution.html) Fixes --- */
  #request-constitution {
    padding: 40px 0 !important;
  }
  #request-constitution > div > div {
    padding: 24px 20px !important;
    border-radius: 16px !important;
  }
  #request-constitution h2 {
    font-size: 1.5rem !important;
  }

  /* --- Contact Page (contact.html) Fixes --- */
  .lck-contact-wrapper {
    margin-top: 0 !important;
  }

  /* --- Mahila Mandal & Youth Wing Headers Fix --- */
  .mahila-committee-section h2,
  body.u-body h2[style*="font-size: 2.8rem"] {
    font-size: 1.5rem !important;
  }
  
  /* --- Membership Page (membership.html) Fixes --- */
  .membership-content {
    padding: 40px 10px !important;
  }
  .left-col .info-card,
  .left-col .payment-card,
  .right-col .form-card {
    padding: 24px 20px !important;
  }
  .left-col .info-card h2 {
    font-size: 1.4rem !important;
  }
  .benefits-list li {
    font-size: 0.95rem !important;
    margin-bottom: 18px !important;
  }
  .form-card h3 {
    font-size: 1.6rem !important;
  }
  .google-form-box {
    padding: 20px !important;
  }

  /* --- Properties Page (lohana-community-properties.html) Fixes --- */
  .lck-section[style*="padding: 100px 40px"] {
    padding: 40px 20px !important;
  }
  .lck-section[style*="padding: 100px 40px"] h1 {
    font-size: 1.8rem !important;
  }
}

/* --- Events Recap Polaroid Photo Grid on Small Screens --- */
@media (max-width: 480px) {
  .event-recap-photos {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
  }
  .recap-polaroid {
    flex: 0 0 calc(50% - 10px) !important;
  }
  /* Home Page (index.html) Event Cards vertical layout */
  .u-section-6 .u-container-layout-2 > div > div {
    flex-direction: column !important;
  }
  .u-section-6 .u-container-layout-2 > div > div > div:first-child {
    width: 100% !important;
    height: 180px !important;
  }
}

/* ================================================================
   END OF GLOBAL STYLES
   ================================================================ */


/* Fix Nicepage excessive mobile whitespace */
@media (max-width: 991px) {
  .u-sheet { min-height: auto !important; height: auto !important; padding-bottom: 40px !important; }
  .u-section-2, .u-section-3, .u-section-4, .u-section-5, .u-section-6, .u-section-7, .u-section-8 { min-height: auto !important; height: auto !important; }
}

/* Prevent horizontal scroll and left-shifting on mobile */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

@media (max-width: 767px) {
  .u-section-2, .u-section-3, .u-section-4, .u-section-5, .u-section-6, .u-section-7, .u-section-8 {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
  .u-sheet {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  /* Fix Upcoming Events cards shifting/tilting left on mobile */
  .u-section-6 .u-layout-wrap,
  .u-section-6 .u-layout-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  .u-section-6 .u-layout-cell {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }
  img {
    max-width: 100% !important;
  }
}
