/* Remmoo Theme — Page/Content Styles */

/* === GLOBAL === */
body.remmoo-theme-body, body {
  background: #F8F9FF !important;
  font-family: 'Outfit', sans-serif;
  color: #1E2044;
  margin: 0; padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* === LAYOUT === */
.rt-main { min-height: 0; padding-top: 0; }
.rt-container { max-width: 1200px; margin: 0 auto; padding: 5rem 2rem 4rem; }

/* === BLOG INDEX === */
.rt-blog-index .rt-container { padding-top: 6rem; }
.rt-blog-header { margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(0,0,0,0.07); }
.rt-blog-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem,4vw,3rem); font-weight: 700; color: #1E2044; margin: 0 0 0.5rem; }
.rt-blog-sub { font-size: 0.9rem; color: #6B8280; margin: 0; }

.rt-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.rt-post-card {
  background: #fff;
  border: 1px solid rgba(99,102,241,0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s;
}
.rt-post-card:hover {
  border-color: rgba(99,102,241,0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(99,102,241,0.09);
}

.rt-card-img { display: block; overflow: hidden; height: 200px; }
.rt-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.rt-post-card:hover .rt-card-img img { transform: scale(1.04); }

.rt-card-body { padding: 1.5rem; }

.rt-card-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.rt-card-cat { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #6366F1; }
.rt-card-cat a { color: inherit; text-decoration: none; }
.rt-card-date { font-size: 0.65rem; color: #A3B8B6; letter-spacing: 0.04em; }
.rt-card-meta::before { content: ''; flex: 1; }
.rt-card-meta .rt-card-cat { order: -1; flex: none; }
.rt-card-meta .rt-card-date { order: 1; }

.rt-card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 700; line-height: 1.3; color: #1E2044; margin: 0 0 0.75rem; }
.rt-card-title a { color: inherit; text-decoration: none; }
.rt-card-title a:hover { color: #6366F1; }

.rt-card-excerpt { font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 300; color: #64748B; line-height: 1.75; margin: 0 0 1.25rem; }

.rt-card-read { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #6366F1; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.rt-card-read:hover { gap: 8px; }

/* === PAGINATION === */
.rt-pagination { text-align: center; padding-top: 1rem; }
.rt-pagination .page-numbers { display: inline-flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; list-style: none; padding: 0; }
.rt-pagination .page-numbers a,
.rt-pagination .page-numbers span { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(99,102,241,0.2); border-radius: 4px; font-size: 0.85rem; color: #1E2044; text-decoration: none; transition: all 0.2s; }
.rt-pagination .page-numbers a:hover, .rt-pagination .page-numbers .current { background: #6366F1; color: #fff; border-color: #6366F1; }
.rt-pagination .prev, .rt-pagination .next { width: auto; padding: 0 1rem; font-size: 0.75rem; }

/* === SINGLE POST === */
.rt-single .rt-container { max-width: 800px; padding-top: 6rem; }
.rt-article-meta { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.25rem; flex-wrap: wrap; }
.rt-article-cat { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #6366F1; }
.rt-article-cat a { color: inherit; text-decoration: none; }
.rt-article-date { font-size: 0.7rem; color: #A3B8B6; }
.rt-article-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem,4vw,3rem); font-weight: 700; line-height: 1.15; color: #1E2044; margin: 0 0 2rem; }
.rt-article-thumb { margin-bottom: 2.5rem; border-radius: 10px; overflow: hidden; }
.rt-article-thumb img { width: 100%; height: auto; display: block; }
.rt-article-content { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 300; line-height: 1.85; color: #334155; }
.rt-article-content h2, .rt-article-content h3 { font-family: 'Cormorant Garamond', serif; color: #1E2044; margin-top: 2rem; }
.rt-article-content a { color: #6366F1; }
.rt-article-content p { margin-bottom: 1.25rem; }
.rt-article-content img { max-width: 100%; border-radius: 8px; }

/* === STATIC PAGE === */
.rt-page .rt-container { padding-top: 6rem; }

/* === RESPONSIVE === */
@media(max-width:900px) { .rt-posts-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px) { .rt-posts-grid { grid-template-columns: 1fr; } .rt-main { padding-top: 0; } }
/* === BLOG SEARCH & FILTERS === */
.rt-blog-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.rt-blog-search {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid rgba(99,102,241,0.25);
  border-radius: 6px;
  overflow: hidden;
  min-width: 280px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.rt-blog-search:focus-within {
  border-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}
.rt-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.7rem 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: #1E2044;
  background: transparent;
}
.rt-search-input::placeholder { color: #A3B8B6; }
.rt-search-btn {
  background: #6366F1;
  border: none;
  color: #fff;
  padding: 0 1rem;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  min-height: 42px;
}
.rt-search-btn:hover { background: #4F46E5; }

.rt-blog-cats {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 0.5rem;
}
.rt-cat-pill {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  border: 1px solid rgba(0,0,0,0.1);
  background: #fff;
  color: #6B8280;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.rt-cat-pill:hover, .rt-cat-pill.active {
  background: #6366F1;
  color: #fff;
  border-color: #6366F1;
}
.rt-cat-count {
  background: rgba(0,0,0,0.1);
  border-radius: 100px;
  padding: 0 5px;
  font-size: 0.6rem;
  line-height: 1.6;
}
.rt-cat-pill.active .rt-cat-count, .rt-cat-pill:hover .rt-cat-count {
  background: rgba(255,255,255,0.25);
}

.rt-search-notice {
  background: #EEF0FD;
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 6px;
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  color: #4338CA;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.rt-search-clear {
  color: #6366F1;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  opacity: 0.6;
}
.rt-search-clear:hover { opacity: 1; }

.rt-no-results {
  text-align: center;
  padding: 5rem 2rem;
  color: #6B8280;
}
.rt-no-results h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: #1E2044;
  margin: 0 0 0.5rem;
}
.rt-no-results p { margin: 0 0 1.5rem; font-size: 0.9rem; }

@media(max-width:700px) {
  .rt-blog-header-top { flex-direction: column; }
  .rt-blog-search { width: 100%; }
}
/* === BLOG GRID (matches Explore by Location style) === */
.rt-blog-eyebrow {
  font-size:0.6rem;font-weight:600;letter-spacing:0.22em;text-transform:uppercase;
  color:#6366F1;margin-bottom:0.5rem;display:flex;align-items:center;gap:8px;
}
.rt-blog-eyebrow::before{content:'';width:24px;height:1.5px;background:#6366F1;opacity:0.5;display:block;}

.remmoo-blog-grid {
  display:grid!important;
  grid-template-columns:repeat(4,1fr)!important;
  gap:0;
  background:rgba(0,0,0,0.07);
  border:1px solid rgba(0,0,0,0.07);
  border-radius:8px;
  overflow:hidden;
  margin-bottom:2.5rem;
}

.remmoo-blog-card { 
  background:#fff;
  padding:0;
  text-decoration:none;
  color:inherit;
  transition:background 0.3s;
  border-right:1px solid rgba(0,0,0,0.06);
  border-bottom:1px solid rgba(0,0,0,0.06);
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.remmoo-blog-card:hover { background:#EEF0FD; }

.remmoo-blog-card-img {
  height:160px;
  overflow:hidden;
  background:#F0F1FA;
  display:flex;
  align-items:center;
  justify-content:center;
}
.remmoo-blog-card-img img {
  width:100%;height:100%;object-fit:cover;display:block;
  transition:transform 0.5s;
}
.remmoo-blog-card:hover .remmoo-blog-card-img img { transform:scale(1.04); }
.remmoo-blog-card-img--placeholder { color:#A3B8B6; }

.remmoo-blog-card-body { padding:1.25rem 1.5rem 1.5rem; flex:1; display:flex; flex-direction:column; gap:0.4rem; }

.remmoo-blog-card-cat {
  font-size:0.58rem;font-weight:600;letter-spacing:0.18em;
  text-transform:uppercase;color:#6366F1;
}
.remmoo-blog-card-cat a { color:inherit;text-decoration:none; }

.remmoo-blog-card-title {
  font-family:'Cormorant Garamond',serif;
  font-size:1rem;font-weight:700;line-height:1.35;
  color:#1C2B2A;margin:0;
  flex:1;
}
.remmoo-blog-card:hover .remmoo-blog-card-title { color:#6366F1; }

.remmoo-blog-card-hint {
  font-size:0.62rem;color:#6B8280;
  display:flex;align-items:center;gap:5px;
  margin-top:auto;
}
.remmoo-blog-card-hint svg { width:10px;height:10px;transition:transform 0.2s; }
.remmoo-blog-card:hover .remmoo-blog-card-hint svg { transform:translateX(3px); }

@media(max-width:900px) { .remmoo-blog-grid { grid-template-columns:repeat(2,1fr)!important; } }
@media(max-width:600px) { .remmoo-blog-grid { grid-template-columns:1fr!important; } }