/* stiniog.com stylesheet */
body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #333;
  background: #f0f0f0;
  margin: 0;
  padding: 0;
}

#banner {
  background: #2a4a7f;
  padding: 0;
  text-align: center;
}

#banner img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

#banner-text {
  background: #2a4a7f;
  color: #fff;
  text-align: center;
  padding: 25px 20px;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 2px;
}

#banner-sub {
  background: #1a3a6f;
  color: #cce;
  text-align: center;
  padding: 8px;
  font-size: 13px;
  font-style: italic;
}

#layout {
  display: flex;
  max-width: 820px;
  margin: 20px auto;
  gap: 0;
  background: #fff;
  border: 1px solid #ccc;
}

#mainleft {
  width: 180px;
  min-width: 180px;
  background: #e8eef8;
  padding: 15px 10px;
  border-right: 1px solid #ccc;
  font-size: 13px;
}

#mainleft a {
  display: block;
  color: #2a4a7f;
  text-decoration: none;
  padding: 5px 8px;
  margin-bottom: 2px;
  border-left: 3px solid transparent;
  transition: border-color 0.2s;
}

#mainleft a:hover {
  color: #c03030;
  border-left-color: #2a4a7f;
  background: #d8e8f8;
}

#mainleft hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 10px 0;
}

#mainleft .sidebar-ad {
  text-align: center;
  margin: 10px 0;
  font-size: 11px;
  color: #888;
}

#maincenter {
  flex: 1;
  padding: 20px 25px;
  background: #fff;
}

#maincenter h1 {
  color: #2a4a7f;
  font-size: 22px;
  border-bottom: 2px solid #2a4a7f;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

#maincenter h2 {
  color: #2a4a7f;
  font-size: 17px;
  margin: 20px 0 10px;
}

#maincenter h3 {
  color: #555;
  font-size: 15px;
  margin: 15px 0 8px;
}

#centernews table {
  width: 100%;
  border-collapse: collapse;
}

#centernews td {
  padding: 10px;
  vertical-align: top;
  border-bottom: 1px solid #eee;
  font-size: 13px;
  line-height: 1.6;
  color: #444;
}

#centernews hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 5px 0;
}

#centernews a {
  color: #2a4a7f;
}

#centernews p {
  margin-bottom: 10px;
  line-height: 1.7;
  color: #444;
}

.news-item {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  color: #888;
  font-size: 12px;
  margin-bottom: 5px;
}

.news-title {
  color: #2a4a7f;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 8px;
}

.welsh {
  color: #555;
  font-style: italic;
  font-size: 13px;
}

#footer {
  max-width: 820px;
  margin: 0 auto 20px;
  background: #2a4a7f;
  color: #cce;
  padding: 10px 20px;
  font-size: 12px;
  text-align: center;
}

#footer a {
  color: #aac;
}

@media (max-width: 600px) {
  #layout { flex-direction: column; }
  #mainleft { width: 100%; min-width: 0; border-right: none; border-bottom: 1px solid #ccc; }
}
