/* === Base layout === */
body {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #cfe9ff, #ffffff);
  color: #222;
  text-align: center;
}

header.site-header {
  background: transparent;
  padding: 10px 0;
}

.banner {
  margin: 0 auto;
  padding: 10px 0 15px;
}

.banner h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #004080;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* === Nameday === */
.nameday-section {
  width: fit-content;
  margin: 10px auto 20px;
  padding: 10px 25px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nameday-box {
  font-size: 1rem;
  font-weight: 500;
  color: #004080;
}

/* === Link sections === */
.link-sections {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 15px;
  margin: 0 auto 20px;
  max-width: 1600px;
  padding: 0 10px;
}

.link-section {
  flex: 0 1 18%;
  background: rgba(255,255,255,0.9);
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px 10px 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  text-align: left;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.link-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.link-section a {
  display: flex;
  align-items: center;
  color: #003366;
  text-decoration: none;
  font-size: 0.9rem;
  margin: 5px 0;
  padding: 3px 4px;
  border-radius: 5px;
  transition: background 0.2s ease, color 0.2s ease;
}

.link-section a:hover {
  background: rgba(0, 102, 204, 0.08);
  color: #000;
}

.link-section a i {
  font-size: 15px;
  width: 22px;
  text-align: center;
  margin-right: 6px;
  color: #0066cc;
}

/* === News section === */
.news-section {
  max-width: 1000px;
  margin: 40px auto 20px;
  text-align: left;
  padding: 15px 20px;
  background: rgba(255,255,255,0.95);
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.news-section h2 {
  color: #004080;
  font-size: 1.2rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

/* === Footer === */
footer {
  font-size: 0.85rem;
  color: #666;
  margin-top: 20px;
  padding-bottom: 15px;
}

/* === Responsive tweaks === */
@media (max-width: 1300px) {
  .link-sections {
    flex-wrap: wrap;
  }
  .link-section {
    flex: 0 1 30%;
  }
}

@media (max-width: 900px) {
  .link-section {
    flex: 0 1 45%;
  }
}

@media (max-width: 600px) {
  .link-section {
    flex: 0


/* === News grid layout === */
.news-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.news-feed {
  flex: 1 1 45%;
  min-width: 300px;
  background: rgba(255,255,255,0.9);
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.news-feed h3 {
  margin-top: 0;
  font-size: 1rem;
  color: #004080;
  border-bottom: 1px solid #ddd;
  padding-bottom: 4px;
}

.news-feed ul {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 0;
}

.news-feed li {
  margin: 6px 0;
}

.news-feed a {
  color: #003366;
  text-decoration: none;
}

.news-feed a:hover {
  color: #000;
  text-decoration: underline;
}

.news-time {
  font-size: 0.75rem;
  color: #666;
  margin-left: 5px;
}
/* === Info banner === */
.info-banner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin: 15px auto 25px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.9);
  border-radius: 12px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  max-width: 1000px;
}

.info-item {
  font-size: 1rem;
  color: #003366;
}

.info-label {
  font-weight: 600;
  margin-right: 4px;
}

.info-value {
  color: #004080;
}

.fluffy-cloud {
  display: flex;
  justify-content: center;
  margin: 0 auto 25px;
  padding: 12px 25px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 40px;
  border: 1px solid #ccc;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  max-width: fit-content;
}

.cloud-table {
  border-collapse: collapse;
}

.cloud-cell {
  padding: 0 25px;
  text-align: center;
}

.cloud-divider {
  width: 1px;
  background: #ddd;
}

.cloud-title {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 3px;
}

.cloud-value {
  font-size: 1.05rem;
  color: #004080;
  font-weight: 600;
  line-height: 1.3;
}
