:root {
  --primary-color: #002e4d;
  --accent-color: #005a87;
  --light-bg: #f5f5f5;
  --text-color: #0af1f1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Arial, sans-serif;
  background: var(--light-bg);
  color: var(--text-color);
  line-height: 1.5;
}

.church-photo img {
  width: 50%;
  max-width: 1000px;
  display: block;
  margin: 2rem auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.container {
  max-width: 1000px;
  margin: 0 auto; /* centers the block horizontally */
  padding: 1rem;
  text-align: center; /* centers inline elements like links */
  box-sizing: border-box;
  width: 100%;
}

.site-header {
  background: var(--primary-color);
  padding: 1rem 0;
}

.logo { height: 180px; width: 240px; display: block;
  margin: 2rem auto;
  border-radius: 8px;}

.main-nav {
  margin-top: 1rem; }
.main-nav a {
  color: white;
  margin: 0 10px;
  font-weight: bold;
  display: inline-block;
}
.main-nav a:hover { text-decoration: underline; }

.hero {
  background: var(--accent-color);
  color: white;
  text-align: center;
  padding: 4rem 1rem;
}
.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta-buttons .btn {
  background: white;
  color: var(--accent-color);
  padding: 0.75rem 1.5rem;
  margin: 0 0.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}
.cta-buttons .btn:hover {
  background: #f0f0f0;
}

.qa {
  padding: 2rem 0;
  background: white;
}
.qa h2 { margin-bottom: 1rem; text-align: center; }
.qa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.qa-grid a {
  background: var(--light-bg);
  padding: 1rem;
  text-align: center;
  border-left: 4px solid var(--accent-color);
  text-decoration: none;
  color: var(--text-color);
}
.qa-grid a:hover { background: #eaeaea; }

.info {
  display: flex;
  flex-wrap: wrap;
  background: white;
  padding: 2rem 0;
}
.info > .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.times, .contact {
  flex: 1 1 280px;
  margin: 0.5rem;
}

.site-footer {
  background: var(--primary-color);
  color: white;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.85rem;
}

/* Mobile adjustments */
@media(max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .main-nav { display: block; text-align: center; margin-top: 0.5rem; }
  .main-nav a { display: inline-block; margin: 0.5rem; }
}

.caption {
  text-align: center;
  font-style: italic;
  margin-top: 0.5rem;
  color: #0af1f1;
  font-size: 0.95rem;
   box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.map-container {
  /* pick whatever width you like (px or %) */
  width: 400px;
  /* center it */
  margin: 2rem auto;
  /* optional border or shadow so you can see its bounds */
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.map-container iframe {
  display: block;    /* so margin auto on the wrapper works predictably */
  width: 100%;       /* fill the wrapper */
  height: 250px;     /* or whatever height you chose */
  border: 0;
}

.love {
  font-family: Georgia, serif;     /* a classic, legible serif */
  font-size: 1rem;                 /* adjust up/down as needed */
  line-height: 1.7;                /* extra breathing room */
  color: #0af1f1;                     /* dark gray for softer contrast */
  max-width: 700px;                /* prevents overly long line-lengths */
  margin: 1.5em auto;              /* vertical spacing + center on wider containers */
  padding: 0.75em 1em;             /* inner spacing for comfort */
  background: #fff;                /* solid or semi-transparent background */
  border-left: 4px solid #0070c0;  /* accent color on the left edge */
  border-radius: 4px;              /* soften the corners */
  box-shadow: 0 2px 6px rgba(0,0,0,0.05); /* gentle lift effect */
 }

/* Optional: make links inside paragraphs stand out */
.love {
  color: #0070c0;
  text-decoration: underline;
  
}

/* Container flexbox */
.social-icons {
  display: inline-flex;
  gap: 0.75rem;            /* space between icons */
  align-items: center;     /* vertical centering */
}

/* Shared link styles */
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #3b5998 ;             /* default icon color */
  background: #f0f0f0;     /* subtle background circle */
  border-radius: 50%;
  text-decoration: none;
  transition: 
    background 0.2s,
    color 0.2s,
    transform 0.15s;
}

/* Hover/focus state */
.social-icons a:hover,
.social-icons a:focus {
  background: var(--your-accent-color, #eee);
  color: #fff;
  transform: scale(1.1);
}

/* YouTube icon override */
.social-icons a[href*="youtube"] {
  color: #FF0000;
}

.social-icons a[href*="youtube"]:hover {
  background: #FF0000;
}

  .phone-link {
    color: #007acc; }


/* Container for all articles */
.articles-section {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;


}

.articles-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #f5f5f5;;  /* hot magenta */
  
 border-bottom: 2px solid  #005a87;
     font-size: 50px;
     background-color: #002e4d;


}

/* Grid layout for article cards */
.articles-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Individual article card styles */
.article-card {
  background-color: #f5f5f5;;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;

  transition: 
    transform 0.2s ease, 
    box-shadow 0.2s ease,
    border-color 0.2s ease;
   

}

.article-card:hover {
  transform: translateY(-4px);

  border-color:  #005a87;
  background-color:  #0af1f1;

}

.article-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 180px;
  background-color: #f5f5f5;;
}

.article-card h3 {
  font-size: 1.25rem;
  margin: 1rem;
   color:  #0af1f1;  /* electric cyan */
  background-color: #f5f5f5;;
}

.article-card p {
  margin: 0 1rem 1rem;
  line-height: 1.5;
  color: #CCC;     /* softer grey for readability */
    font-size: 1.25rem;
    background-color: #f5f5f5;;

}

.article-card .read-more {
  display: inline-block;
  margin: 0 1rem 1rem;
  font-weight: bold;
   color :#005;
  font-weight: bold;
  text-decoration: none;

    background-color:  whitesmoke;

  
}

.article-card .read-more:hover {
  text-decoration: underline;
  color:#005;
 
}

  /* Main content shell */
  main .container1{max-width:900px}

  /* ====== Prayer Board (restyled from your existing file) ====== */
  .card1{
    background:var(--paper); border:1px solid var(--rule);
    border-radius:10px; padding:16px;
    box-shadow: 0 3px 10px #0af1f1;
  }
  .controls{display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-top:10px}
  .search{flex:1; min-width:220px; border:1px solid var(--rule); border-radius:8px; padding:8px 10px}
  select, input[type="text"], input[type="email"], textarea, input[type="password"]{
    border:1px solid var(--rule); border-radius:8px; padding:10px 12px; background:#fff; color:var(--ink);
  }
  textarea{min-height:110px; resize:vertical}

  .btn{
    border:1px solid var(--accent); background:#fff; color:var(--accent);
    padding:8px 12px; border-radius:8px; cursor:pointer; font-weight:700;
  }
  .btn:hover{background:#eef4ff}
  .btn.success{border-color:var(--accent-2); color:var(--accent-2)}
  .btn.success:hover{background:#eef9f2}
  .btn.danger{border-color:var(--danger); color:var(--danger)}
  .btn.danger:hover{background:#fff1f2}
  .btn.ghost{border-color:#bbb; color:#0af1f1}

  .divider{height:1px; background:var(--rule); margin:18px 0}
  .kicker{font-weight:700; color:#0af1f1; margin:0 0 8px 0}

  .grid{
    display:grid; gap:14px; margin-top:18px;
    grid-template-columns:repeat(auto-fill, minmax(280px,1fr));
  }
  .req{
    background:#fff; border:1px solid var(--rule); border-radius:10px; padding:14px;
    display:flex; flex-direction:column; gap:8px;
  }
  .req header{display:flex; align-items:center; justify-content:space-between}
  .who{font-weight:700}
  .when{color:var(--muted); font-size:.9rem}
  .badge{
    font-size:.72rem; padding:3px 8px; border-radius:999px; border:1px solid var(--rule); color:#333; background:#fafafa;
  }
  .badge.answered{border-color:var(--accent-2); color:var(--accent-2); background:#f1fff6}
  .counter1{font-size:.9rem; color:#333; padding:6px 8px; border:1px dashed var(--rule); border-radius:8px}
  .toolbar{display:flex; gap:8px; flex-wrap:wrap}
  .hint{color:var(--muted); font-size:.9rem}