/* Royal Garden - royalgarden.ie */
:root {
  --green: #2e5d3b;
  --green-dark: #1f4229;
  --text: #2b2b2b;
  --muted: #767676;
  --bg: #fafaf7;
  --card: #ffffff;
  --border: #e6e4dd;
}

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

body {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 18px;
}

a { color: var(--green); }
a:hover { color: var(--green-dark); }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-header img.logo { width: 56px; height: auto; }
.site-title { font-size: 1.6rem; font-weight: bold; }
.site-title a { text-decoration: none; color: var(--green-dark); }
.site-tagline { color: var(--muted); font-style: italic; font-size: 0.95rem; width: 100%; }
@media (min-width: 640px) {
  .site-tagline { width: auto; margin-left: auto; }
}

/* Home hero */
.hero {
  background: var(--green-dark);
  color: #f2f0e9;
  padding: 48px 0;
  text-align: center;
}
.hero h1 { font-size: 2rem; margin-bottom: 10px; }
.hero p { max-width: 560px; margin: 0 auto; color: #cfd8cc; }

/* Post cards */
.posts { padding: 48px 0; display: grid; gap: 32px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: grid;
}
@media (min-width: 640px) {
  .card { grid-template-columns: 280px 1fr; }
  .card.no-thumb { grid-template-columns: 1fr; }
}
.card .thumb { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }
.card-body { padding: 24px; }
.card-body h2 { font-size: 1.25rem; line-height: 1.35; margin-bottom: 8px; }
.card-body h2 a { text-decoration: none; color: var(--text); }
.card-body h2 a:hover { color: var(--green); }
.card-meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 10px; }
.card-meta .cat {
  display: inline-block;
  background: #eef2ea;
  color: var(--green-dark);
  padding: 1px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
  margin-right: 6px;
}
.card-body p { font-size: 0.98rem; margin-bottom: 12px; }
.more { font-size: 0.92rem; }

/* Article */
.article-header { padding: 40px 0 8px; }
.article-header h1 { font-size: 2rem; line-height: 1.25; margin-bottom: 12px; }
.article-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 8px; }
.article-meta .cat {
  display: inline-block;
  background: #eef2ea;
  color: var(--green-dark);
  padding: 1px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
  margin-right: 6px;
}
.article-content { padding: 16px 0 56px; }
.article-content p { margin-bottom: 18px; }
.article-content h2 { margin: 30px 0 14px; font-size: 1.4rem; color: var(--green-dark); }
.article-content ul, .article-content ol { margin: 0 0 18px 26px; }
.article-content li { margin-bottom: 6px; }
.article-content img {
  margin: 24px auto;
  border-radius: 6px;
}
.article-content figure { margin: 24px auto; }
.article-content figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 6px;
}
.video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin: 24px 0;
}
.video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
  border-radius: 6px;
}

/* Prev/next box */
.related {
  border-top: 1px solid var(--border);
  padding: 24px 0 40px;
  font-size: 0.95rem;
}
.related strong { display: block; margin-bottom: 8px; color: var(--green-dark); }

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: #cfd8cc;
  padding: 32px 0;
  font-size: 0.9rem;
}
.site-footer a { color: #f2f0e9; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
