/* Autonomous stylesheet for r-template_article.php and pages/ blog catalog.
   Never loaded on native Wix pages — only on our own PHP templates. */

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Nunito Sans', Helvetica, Arial, sans-serif;
  color: #2a2d2a;
  background: #fbfaf7;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }

/* ---- Header / nav ---- */
#romli-header {
  background: #fff;
  border-bottom: 1px solid #e8e6e0;
  position: sticky;
  top: 0;
  z-index: 999;
}
.romli-header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.romli-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 19px;
  text-decoration: none;
  color: #2a2d2a;
  letter-spacing: .02em;
}
.romli-logo span { font-weight: 300; color: #7E877F; }
#romli-header nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
#romli-header nav a {
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  color: #4a4d4a;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: 3px;
}
#romli-header nav a:hover { background: #f2f1ec; }
#romli-header nav a.romli-nav-cta {
  background: #7E877F;
  color: #fff;
  margin-left: 6px;
}
#romli-header nav a.romli-nav-cta:hover { background: #6a726b; }

/* ---- Main layout ---- */
#romli-main { max-width: 1140px; margin: 0 auto; padding: 40px 20px 60px; }
.romli-layout { display: flex; gap: 40px; align-items: flex-start; }
.romli-article-col { flex: 1; min-width: 0; }
.romli-article h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2a2d2a;
  line-height: 1.25;
  margin: 0 0 24px;
}
.romli-article img { max-width: 100%; height: auto; border-radius: 4px; }

.romli-sidebar { flex: 0 0 260px; max-width: 260px; position: sticky; top: 90px; }
.romli-sidebar-box {
  background: #f2f1ec;
  border-left: 3px solid #7E877F;
  border-radius: 2px;
  padding: 20px 18px;
}
.romli-sidebar-box h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #7E877F;
  margin: 0 0 14px;
  font-weight: 700;
}
.romli-sidebar-item { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #e0ded6; }
.romli-sidebar-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.romli-sidebar-item a {
  text-decoration: none;
  color: #3a3a3a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  display: block;
}
.romli-sidebar-item a:hover { color: #7E877F; }

/* ---- Blog catalog / banner ---- */
.romli-blog-banner {
  background: linear-gradient(135deg,#eef2ea 0%,#f7f5f0 100%);
  padding: 56px 20px;
  text-align: center;
}
.romli-blog-banner h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: #2a2d2a;
  margin: 0 0 10px;
}
.romli-blog-banner p {
  font-family: 'Dancing Script', cursive;
  font-size: 1.3rem;
  color: #7E877F;
  margin: 0;
}
.romli-blog-cards-section { max-width: 1140px; margin: 0 auto; padding: 40px 20px 60px; }
.romli-blog-card {
  display: flex;
  gap: 24px;
  background: #fff;
  border: 1px solid #eeece5;
  border-radius: 6px;
  padding: 18px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.romli-blog-card img {
  width: 220px;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.romli-blog-card-body h2 { font-family: 'Poppins', sans-serif; font-size: 1.2rem; margin: 0 0 8px; }
.romli-blog-card-body h2 a { text-decoration: none; color: #2a2d2a; }
.romli-blog-card-body h2 a:hover { color: #7E877F; }
.romli-blog-card-body p { color: #5a5d5a; font-size: .95rem; margin: 0 0 12px; }
.romli-blog-card-body a.romli-readmore {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #7E877F;
  text-decoration: none;
  border-bottom: 1px solid #7E877F;
}
#romli-loadmore-wrap { text-align: center; margin-top: 10px; }
#romli-loadmore-btn {
  background: #7E877F;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  cursor: pointer;
}
#romli-loadmore-btn:hover { background: #6a726b; }

/* ---- Footer ---- */
#romli-footer {
  background: #2a2d2a;
  color: #cfd0cd;
  padding: 30px 20px;
  text-align: center;
  font-size: 13px;
}
#romli-footer a { color: #cfd0cd; }
#romli-footer .romlifooter,
#romli-footer .romlidata { margin-top: 14px; }

@media (max-width: 860px) {
  .romli-layout { flex-direction: column; }
  .romli-sidebar { flex: 1 1 auto; max-width: 100%; position: static; }
  .romli-blog-card { flex-direction: column; }
  .romli-blog-card img { width: 100%; height: 200px; }
}
