/* -----------------------------
   GLOBAL RESET
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* -----------------------------
   BODY STYLING
------------------------------ */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
  padding: 0;
}

/* -----------------------------
   NAVIGATION BAR
------------------------------ */
header {
  background-color: #3d5a80;
  padding: 15px 0;
  width: 100%;
}

.navbar {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}

.navbar a:hover {
  text-decoration: underline;
}

/* -----------------------------
   MAIN CONTENT AREA
------------------------------ */
main {
  max-width: 900px;
  margin: 40px auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

main h1 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 2rem;
}

/* -----------------------------
   FOOTER
------------------------------ */
footer {
  text-align: center;
  padding: 25px 10px;
  margin-top: 40px;
  color: #666;
  font-size: 0.95rem;
}

footer p {
  margin-bottom: 8px;
}

/* -----------------------------
   RESPONSIVE DESIGN
------------------------------ */
@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    gap: 12px;
  }

  main {
    margin: 20px;
    padding: 20px;
  }

  main h1 {
    font-size: 1.6rem;
  }
}

/* Footer Styling */
.site-footer {
  text-align: center;
  padding: 30px 20px;
  background: #f4f4f4;
  margin-top: 50px;
}

.footer-social {
  margin-bottom: 15px;
}

.footer-social img {
  width: 32px;
  height: 32px;
  margin: 0 10px;
  opacity: 0.85;
  transition: 0.3s;
}

.footer-social img:hover {
  opacity: 1;
  transform: scale(1.1);
}

.footer-legal {
  font-size: 0.9rem;
  color: #555;
  margin-top: 10px;
}

.footer-copy {
  font-size: 0.85rem;
  color: #777;
  margin-top: 5px;
}

/* Social Icons */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.footer-social img.social-icon {
  width: 40px;
  height: 40px;

  /* 🔥 ONLY CHANGE MADE — was "contain" before */
  object-fit: cover;

  cursor: pointer;
  transition: opacity 0.2s ease;
}

.footer-social img.social-icon:hover {
  opacity: 0.7;
}

/* Story Page Media Styling */
.story-media img,
.story-media video {
  width: 100%;
  max-width: 750px;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Zelle QR Size */
.zelle-qr {
  width: 250px;
  max-width: 80%;
  display: block;
  margin: 20px auto;
}

/* Story Page Media Sizing */
.story-media {
  margin: 25px 0;
  display: flex;
  justify-content: center;
}

.story-media img,
.story-media video {
  width: 90%;
  max-width: 700px;
  height: auto;
  border-radius: 10px;
  display: block;
}

.story-media img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
}

.story-media video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
}

.story-media {
  max-width: 800px;
  margin: 0 auto;
}

.story-byline {
  text-align: center;
  font-style: italic;
  margin-top: -10px;
  margin-bottom: 30px;
  color: #444;
}

/* ===== Social Icons (split from 1 combined sprite) ===== */

.footer-social .social-icon {
  width: 40px;
  height: 40px;
  background-image: url("../images/social-icons.png");
  background-size: 200% 100%;  /* Split horizontally */
  background-repeat: no-repeat;
  display: inline-block;
  border-radius: 6px;
}

/* Instagram (left half of the image) */
.footer-social a.instagram .social-icon {
  background-position: left center;
}

/* TikTok (right half of the image) */
.footer-social a.tiktok .social-icon {
  background-position: right center;
}
.story-byline {
  text-align: left;   /* aligns under the title naturally */
  font-style: italic;
  font-size: 1rem;
  margin-top: -10px;  /* pulls it closer to the title */
  margin-bottom: 20px;
  color: #555;
}
/* Fix footer alignment on all pages */
.site-footer {
  text-align: center;
  padding: 20px;
  width: 100%;
}

.site-footer p {
  margin: 5px 0;
}


