/* Simpl Home Decor — shared styles. Warm, clean, professional. */
:root {
  --cream: #faf7f2;
  --white: #ffffff;
  --ink: #2b2b2b;
  --muted: #6b655c;
  --green: #2f4a3c;
  --green-dark: #22382c;
  --terra: #b4552d;
  --terra-dark: #96431f;
  --line: #e6dfd5;
  --card: #ffffff;
  --radius: 14px;
  --max: 1080px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--terra); }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: var(--green-dark); line-height: 1.25; }
h1 { font-size: 2.1rem; margin: 0.4em 0 0.3em; }
h2 { font-size: 1.5rem; margin: 1.6em 0 0.5em; }
h3 { font-size: 1.2rem; margin: 1.2em 0 0.4em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.topbar { background: var(--green); color: #fff; text-align: center; font-size: 0.9rem; padding: 8px 12px; }
.topbar a { color: #fff; text-decoration: underline; }
header.site { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-inner { max-width: var(--max); margin: 0 auto; padding: 14px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.logo { font-family: Georgia, serif; font-size: 1.6rem; font-weight: bold; color: var(--green-dark); text-decoration: none; }
.logo span { color: var(--terra); }
nav.main { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 0.98rem; }
nav.main a { color: var(--ink); text-decoration: none; padding: 4px 2px; }
nav.main a:hover, nav.main a.active { color: var(--terra); text-decoration: underline; }

/* Hero */
.hero { position: relative; border-radius: var(--radius); overflow: hidden; margin: 24px 0 8px; }
.hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.hero-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 28px 24px; background: linear-gradient(transparent, rgba(20, 30, 24, 0.82)); color: #fff; }
.hero-text h1 { color: #fff; font-size: 2rem; margin: 0 0 6px; }
.hero-text p { margin: 0; font-size: 1.05rem; opacity: 0.95; }
.section-title { font-size: 1.5rem; margin: 34px 0 4px; }
.section-sub { color: var(--muted); margin: 0 0 18px; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terra); font-weight: 700; }
.card h3 { margin: 6px 0 8px; font-size: 1.18rem; }
.card h3 a { color: var(--green-dark); text-decoration: none; }
.card h3 a:hover { color: var(--terra); }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0 0 12px; flex: 1; }
.card .readmore { font-weight: 700; font-size: 0.95rem; text-decoration: none; }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; display: block; text-decoration: none; }
.cat-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cat-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 12px 12px; background: linear-gradient(transparent, rgba(20, 30, 24, 0.85)); color: #fff; font-weight: 700; font-size: 0.95rem; }

/* Newsletter */
.newsletter { background: var(--green); color: #fff; border-radius: var(--radius); padding: 28px; margin: 36px 0; text-align: center; }
.newsletter h2 { color: #fff; margin: 0 0 6px; }
.newsletter p { opacity: 0.92; margin: 0 0 16px; }
.newsletter form { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.newsletter input[type="email"] { flex: 1; min-width: 240px; padding: 12px 14px; border: none; border-radius: 8px; font-size: 1rem; }
.newsletter button { background: var(--terra); color: #fff; border: none; border-radius: 8px; padding: 12px 22px; font-size: 1rem; font-weight: 700; cursor: pointer; }
.newsletter button:hover { background: var(--terra-dark); }
.newsletter small { display: block; margin-top: 12px; opacity: 0.8; font-size: 0.82rem; }
.newsletter small a { color: #fff; }

/* Article */
.crumbs { font-size: 0.88rem; color: var(--muted); margin: 22px 0 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.crumbs a { color: var(--muted); text-decoration: none; }
.article-hero { border-radius: var(--radius); overflow: hidden; margin: 14px 0 6px; }
.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.byline { color: var(--muted); font-size: 0.92rem; margin: 10px 0 0; }
.disclosure { background: #f3efe8; border-left: 4px solid var(--terra); padding: 12px 16px; border-radius: 0 8px 8px 0; font-size: 0.93rem; margin: 18px 0; }
.article-body { max-width: 760px; }
.article-body img.inline { border-radius: var(--radius); margin: 18px 0 6px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.caption { font-size: 0.85rem; color: var(--muted); margin: 0 0 18px; }
.idea { margin-bottom: 8px; }
.shop { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 26px 0; }
.shop h2 { margin-top: 0; }
.shop ul { margin: 0; padding-left: 20px; }
.shop li { margin-bottom: 8px; }
.shop .shop-note { color: var(--muted); font-size: 0.92rem; margin: 12px 0 0; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 26px 0; }
.faq h2 { margin-top: 0; }
.faq p { margin-bottom: 14px; }
.tags { margin: 22px 0; }
.tags span { display: inline-block; background: #efe9df; border-radius: 999px; padding: 5px 12px; font-size: 0.85rem; margin: 0 6px 6px 0; }
.related { margin: 34px 0 10px; }

/* Info pages */
.page { max-width: 760px; padding-bottom: 20px; }
.page h1 { margin-top: 24px; }

/* Footer */
footer.site { background: var(--green-dark); color: #dfe7df; margin-top: 44px; padding: 36px 0 22px; }
.footer-grid { max-width: var(--max); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer.site h3 { color: #fff; margin: 0 0 10px; font-size: 1.05rem; }
footer.site a { color: #dfe7df; text-decoration: none; display: block; margin-bottom: 7px; font-size: 0.95rem; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site p { font-size: 0.95rem; }
.copyright { text-align: center; font-size: 0.85rem; opacity: 0.75; padding: 18px 20px 0; }

/* Buttons */
.btn { display: inline-block; background: var(--terra); color: #fff; text-decoration: none; padding: 11px 20px; border-radius: 8px; font-weight: 700; }
.btn:hover { background: var(--terra-dark); color: #fff; }

/* Responsive */
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 1.7rem; }
  .hero-text h1 { font-size: 1.5rem; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .hero img { aspect-ratio: 16 / 10; }
}

/* Ads (Adsterra) */
.ad-leaderboard{text-align:center;margin:14px auto;max-width:100%;overflow:hidden}
.ad-rect{text-align:center;margin:24px auto;max-width:100%;overflow:hidden}
.ad-native{margin:24px 0}
.ad-sticky{display:none}
@media(max-width:768px){.ad-sticky{display:block;position:fixed;left:0;right:0;bottom:0;z-index:100;text-align:center;background:#fff;border-top:1px solid #e6dfd5;padding:2px 0}body{padding-bottom:56px}}
