/* =========================================================
   Rogue's Den – main.css
   Fonts: Cinzel (headers/labels) + Lora (body)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Root ── */
html { font-size: 16px; }
body {
  font-family: 'Lora', Georgia, serif;
  background: #f0e8e0;
  color: #2a1a10;
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =========================================================
   HEADER
   ========================================================= */
.rd-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 28px;
  height: 68px;
  background: #1a0e0a;
  border-bottom: 1px solid rgba(192, 57, 43, 0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}

.rd-logo {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 600;
  color: #c8a882;
  letter-spacing: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.rd-gem {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #c0392b;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.rd-gem-sm {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #c0392b;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.rd-nav {
  display: flex;
  gap: 4px;
  justify-content: center;
}

.rd-nav a {
  font-family: 'Lora', serif;
  font-size: 13px;
  font-style: italic;
  color: #8a7060;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.rd-nav a:hover { background: rgba(192, 57, 43, 0.1); color: #c8a882; }
.rd-nav a.active { color: #e04030; }

.rd-nav-cta {
  background: #c0392b !important;
  color: #fff !important;
  font-family: 'Cinzel', serif !important;
  font-style: normal !important;
  font-size: 10px !important;
  letter-spacing: 1.5px !important;
  padding: 7px 16px !important;
  border-radius: 2px !important;
}
.rd-nav-cta:hover { background: #e04030 !important; }

.rd-search-form { display: flex; }
.rd-search {
  background: #2a1810;
  border: 1px solid rgba(192, 57, 43, 0.25);
  border-radius: 4px;
  padding: 7px 14px;
  font-family: 'Lora', serif;
  font-size: 13px;
  color: #c8a882;
  width: 190px;
  outline: none;
  transition: border-color 0.15s;
}
.rd-search::placeholder { color: #5a4030; }
.rd-search:focus { border-color: rgba(192, 57, 43, 0.6); }

/* =========================================================
   LAYOUT
   ========================================================= */
.rd-body {
  display: grid;
  grid-template-columns: 1fr 290px;
  flex: 1;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 28px;
  gap: 0;
}

.rd-main {
  padding: 28px 28px 48px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid rgba(139, 57, 43, 0.15);
}

/* =========================================================
   PAGE HEADER & TABS
   ========================================================= */
.rd-page-header {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(139, 57, 43, 0.2);
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 4px;
}

.rd-page-header h1 {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 4px;
  color: #c0392b;
  font-weight: 400;
  text-transform: uppercase;
}

.rd-page-header span {
  font-size: 13px;
  color: #9a8070;
  font-style: italic;
}

.rd-tabs {
  display: flex;
  border-bottom: 1px solid rgba(139, 57, 43, 0.2);
  margin-bottom: 4px;
}

.rd-tab {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 8px 16px;
  color: #9a8070;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  margin-bottom: -1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.15s;
}
.rd-tab:hover { color: #c0392b; }
.rd-tab.on { color: #c0392b; border-bottom-color: #c0392b; }

/* =========================================================
   CARDS
   ========================================================= */
.rd-card {
  background: #ffffff;
  border: 1px solid rgba(139, 57, 43, 0.15);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.rd-card:hover {
  border-color: rgba(192, 57, 43, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(80, 20, 10, 0.1);
}
.rd-card--featured {
  grid-template-columns: 1fr;
}
.rd-card--text-only {
  grid-template-columns: 1fr;
}

/* Thumbnails */
.rd-thumb {
  background: #1a0a06;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}
.rd-thumb--wide {
  aspect-ratio: 21 / 8;
}

.rd-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.rd-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}
.rd-thumb-link:hover img { opacity: 0.8; }

.rd-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: rgba(192, 57, 43, 0.15);
  border: 1.5px solid rgba(192, 57, 43, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.rd-play-btn::after {
  content: '';
  border-left: 16px solid #c0392b;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}
.rd-thumb-link:hover .rd-play-btn {
  background: rgba(192, 57, 43, 0.3);
  border-color: #c0392b;
}
.rd-play-btn--sm { width: 40px; height: 40px; }
.rd-play-btn--sm::after {
  border-left-width: 12px;
  border-top-width: 8px;
  border-bottom-width: 8px;
}

/* Card body */
.rd-card-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
}

.rd-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rd-tag {
  font-family: 'Cinzel', serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 2px;
  background: rgba(192, 57, 43, 0.1);
  border: 1px solid rgba(192, 57, 43, 0.25);
  color: #c0392b;
}
.rd-tag--outline {
  background: transparent;
  color: #9a6050;
  border-color: rgba(139, 57, 43, 0.2);
}

.rd-date {
  font-size: 12px;
  color: #9a8070;
  font-style: italic;
}

.rd-title {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a0e08;
  line-height: 1.4;
}
.rd-title--big { font-size: 18px; }
.rd-title a { transition: color 0.2s; }
.rd-title a:hover { color: #c0392b; }

.rd-excerpt {
  font-size: 14px;
  color: #6a5045;
  line-height: 1.75;
  font-style: italic;
}

.rd-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(139, 57, 43, 0.12);
  margin-top: auto;
}

.rd-more {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #c0392b;
  text-transform: uppercase;
  transition: letter-spacing 0.2s;
}
.rd-more::after { content: ' →'; }
.rd-more:hover { letter-spacing: 3px; }

.rd-stat { font-size: 12px; color: #9a8070; font-style: italic; }

.rd-empty {
  padding: 48px 0;
  text-align: center;
  color: #9a8070;
  font-style: italic;
}

/* =========================================================
   PAGINATION
   ========================================================= */
.rd-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(139, 57, 43, 0.15);
  margin-top: 8px;
}
.rd-page-btn {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c0392b;
  padding: 8px 16px;
  border: 1px solid rgba(192, 57, 43, 0.3);
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
}
.rd-page-btn:hover { background: #c0392b; color: #fff; }
.rd-page-info { font-size: 13px; color: #9a8070; font-style: italic; }

/* =========================================================
   SIDEBAR
   ========================================================= */
.rd-sidebar {
  padding: 28px 0 48px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rd-widget {
  display: flex;
  flex-direction: column;
}

.rd-widget-title {
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 4px;
  color: #8a6050;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(139, 57, 43, 0.2);
}
.rd-widget-title::before {
  content: '';
  width: 3px;
  height: 14px;
  background: #c0392b;
  border-radius: 1px;
  flex-shrink: 0;
}

/* Sidebar nav */
.rd-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.rd-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgba(139, 57, 43, 0.1);
  font-family: 'Lora', serif;
  font-size: 14px;
  color: #4a2a1a;
  transition: color 0.15s, padding-left 0.15s;
}
.rd-menu li:last-child a { border-bottom: none; }
.rd-menu li a::after {
  content: '◆';
  font-size: 8px;
  color: rgba(192, 57, 43, 0.4);
}
.rd-menu li a:hover { color: #c0392b; padding-left: 4px; }

/* Games */
.rd-game-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(139, 57, 43, 0.1);
  transition: opacity 0.15s;
  color: #3a2015;
}
.rd-game-item:last-child { border-bottom: none; }
.rd-game-item:hover { opacity: 0.75; }

.rd-game-bar {
  width: 32px;
  height: 2px;
  background: rgba(139, 57, 43, 0.15);
  border-radius: 2px;
  position: relative;
  flex-shrink: 0;
}
.rd-game-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  background: #c0392b;
  border-radius: 2px;
}
.rd-game-name {
  font-family: 'Lora', serif;
  font-size: 13px;
  flex: 1;
}
.rd-game-count {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  color: #9a8070;
  background: rgba(139, 57, 43, 0.08);
  padding: 1px 7px;
  border-radius: 10px;
}

/* Tags */
.rd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rd-topic {
  font-family: 'Lora', serif;
  font-size: 12px;
  font-style: italic;
  padding: 4px 12px;
  border: 1px solid rgba(139, 57, 43, 0.2);
  border-radius: 20px;
  color: #6a5045;
  background: #f0e8e0;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.rd-topic:hover {
  border-color: #c0392b;
  color: #c0392b;
  background: rgba(192, 57, 43, 0.05);
}

/* =========================================================
   POST DETAIL
   ========================================================= */
.rd-post { display: flex; flex-direction: column; gap: 28px; }

.rd-post-video {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #1a0a06;
  position: relative;
}
.rd-post-video iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.rd-post-video--link a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.rd-post-video--link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}
.rd-post-video--link:hover img {
  opacity: 0.8;
}

.rd-post-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 32px 0 16px;
}
.rd-gallery-item {
  margin: 0;
}
.rd-gallery-item a {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(139, 57, 43, 0.15);
  transition: border-color 0.2s, transform 0.2s;
  background: #fff;
}
.rd-gallery-item a:hover {
  border-color: rgba(192, 57, 43, 0.4);
  transform: translateY(-2px);
}
.rd-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.rd-gallery-item figcaption {
  font-size: 12px;
  color: #6a5045;
  text-align: center;
  margin-top: 6px;
  font-style: italic;
}

.rd-post-header { display: flex; flex-direction: column; gap: 12px; }

.rd-post-title {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 600;
  color: #1a0e08;
  line-height: 1.35;
  letter-spacing: 0.3px;
}

.rd-post-game {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: #9a8070;
  text-transform: uppercase;
}
.rd-post-game a:hover { color: #c0392b; }

.rd-post-content {
  font-size: 16px;
  line-height: 1.85;
  color: #3a2015;
}
.rd-post-content h2 {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: #1a0e08;
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(139, 57, 43, 0.2);
}
.rd-post-content h3 {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  color: #2a1a10;
  margin: 24px 0 8px;
}
.rd-post-content p { margin-bottom: 18px; }
.rd-post-content strong { color: #1a0e08; }
.rd-post-content a { color: #c0392b; text-decoration: underline; text-underline-offset: 3px; }
.rd-post-content blockquote {
  border-left: 3px solid #c0392b;
  padding: 12px 20px;
  margin: 24px 0;
  background: rgba(192, 57, 43, 0.04);
  font-style: italic;
  color: #6a5045;
}

.rd-post-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(139, 57, 43, 0.15);
}
.rd-post-footer-label {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 2px;
  color: #9a8070;
  text-transform: uppercase;
}

/* Related posts */
.rd-related { margin-top: 16px; }
.rd-related-title {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 4px;
  color: #8a6050;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(139, 57, 43, 0.2);
}

.rd-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.rd-related-card {
  background: #fff;
  border: 1px solid rgba(139, 57, 43, 0.15);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.rd-related-card:hover {
  border-color: rgba(192, 57, 43, 0.4);
  transform: translateY(-2px);
}
.rd-related-thumb {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: #1a0a06;
}
.rd-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rd-related-info {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rd-related-post-title {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 600;
  color: #1a0e08;
  line-height: 1.4;
}

/* =========================================================
   FOOTER
   ========================================================= */
.rd-footer {
  padding: 20px 28px;
  border-top: 1px solid rgba(192, 57, 43, 0.2);
  background: #1a0e0a;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rd-footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 4px;
  color: #8a7060;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rd-footer-links { display: flex; gap: 20px; }
.rd-footer-links a {
  font-family: 'Lora', serif;
  font-size: 12px;
  font-style: italic;
  color: #8a7060;
  transition: color 0.15s;
}
.rd-footer-links a:hover { color: #c0392b; }

/* =========================================================
   TAG FILTER STRIP
   ========================================================= */
.rd-tag-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(139, 57, 43, 0.2);
}

.rd-tag-chip {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 6px 14px;
  color: #9a8070;
  border: 1px solid rgba(139, 57, 43, 0.3);
  border-radius: 20px;
  text-transform: uppercase;
  transition: all 0.2s;
}

.rd-tag-chip:hover {
  border-color: #c0392b;
  color: #c0392b;
}

.rd-tag-chip--active {
  background: #c0392b;
  border-color: #c0392b;
  color: #fff;
}
.rd-tag-chip--active:hover {
  color: #fff;
}

/* =========================================================
   GAME GRID
   ========================================================= */
.rd-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.rd-game-card {
  background: #ffffff;
  border: 1px solid rgba(139, 57, 43, 0.15);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.rd-game-card:hover {
  border-color: rgba(192, 57, 43, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(80, 20, 10, 0.1);
}

.rd-game-card-cover {
  aspect-ratio: 3 / 4;
  background: #1a0a06;
  position: relative;
  overflow: hidden;
}

.rd-game-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rd-game-card-cover--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.rd-game-card-cover--placeholder .rd-gem {
  width: 24px;
  height: 24px;
}

.rd-game-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.rd-game-card-name {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a0e08;
}

/* =========================================================
   HAMBURGER
   ========================================================= */
.rd-hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 101;
}

.rd-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #c8a882;
  margin: 5px auto;
  transition: transform 0.3s, opacity 0.3s;
}

.rd-hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.rd-hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.rd-hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .rd-body { grid-template-columns: 1fr; padding: 0 16px; }
  .rd-main { padding: 24px 0 40px; border-right: none; }
  .rd-sidebar { padding: 0 0 40px; border-top: 1px solid rgba(139,57,43,0.15); }
  .rd-related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .rd-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    height: auto;
  }

  .rd-hamburger {
    display: block;
  }

  .rd-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #1a0e0a;
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(192, 57, 43, 0.25);
    z-index: 100;
  }

  .rd-nav.is-open {
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .rd-nav a {
    font-size: 16px;
    padding: 8px 0;
  }

  .rd-search-form { display: none; }
  .rd-card { grid-template-columns: 1fr; }
}

/* =========================================================
   CHANNEL LOGO & INLINE IMAGES
   ========================================================= */
.rd-widget-logo {
  display: flex;
  justify-content: center;
  padding-bottom: 12px;
  border-bottom: none !important;
}
.rd-channel-link {
  display: block;
  width: 140px;
  height: 140px;
  margin: 0 auto;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.rd-channel-link:hover {
  transform: scale(1.08);
}
.rd-channel-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(192, 57, 43, 0.15);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.rd-channel-link:hover .rd-channel-logo {
  border-color: #c0392b;
  box-shadow: 0 8px 20px rgba(192, 57, 43, 0.2);
}

.rd-post-content img {
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 32px auto;
  border-radius: 8px;
  border: 1px solid rgba(139, 57, 43, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  cursor: zoom-in;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.rd-post-content img:hover {
  transform: scale(1.02);
  border-color: rgba(192, 57, 43, 0.4);
  box-shadow: 0 12px 30px rgba(80, 20, 10, 0.15);
}

/* =========================================================
   LIGHTBOX MODAL
   ========================================================= */
.rd-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.rd-lightbox.is-active {
  opacity: 1;
  pointer-events: auto;
}

.rd-lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 14, 10, 0.9);
  backdrop-filter: blur(8px);
}

.rd-lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rd-lightbox.is-active .rd-lightbox-content {
  transform: scale(1);
}

.rd-lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid rgba(192, 57, 43, 0.3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.rd-lightbox-caption {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: #c8a882;
  margin-top: 12px;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.rd-lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: #c8a882;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
}

.rd-lightbox-close:hover {
  color: #c0392b;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .rd-lightbox-close {
    top: 10px;
    right: 10px;
    background: rgba(26, 14, 10, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(192, 57, 43, 0.3);
  }
}


/* =========================================================
   CONTACT FORM
   ========================================================= */
.rd-contact-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  margin-top: 24px;
}

.rd-contact-form {
  display: flex;
  flex-direction: column;
}

.rd-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.rd-form-label {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8a6050;
  font-weight: 600;
}

.rd-required-star {
  color: #c0392b;
  margin-left: 2px;
}

.rd-form-input {
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid rgba(139, 57, 43, 0.15);
  border-radius: 6px;
  font-family: 'Lora', Georgia, serif;
  font-size: 14px;
  color: #2a1a10;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rd-form-input::placeholder {
  color: #a08c80;
  font-style: italic;
  font-size: 13px;
}

.rd-form-input:focus {
  border-color: rgba(192, 57, 43, 0.5);
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.08);
}

.rd-form-textarea {
  resize: vertical;
  min-height: 140px;
}

.rd-field-error-message {
  font-size: 12px;
  color: #c0392b;
  font-style: italic;
  margin-top: 4px;
}

.rd-form-submit-btn {
  align-self: flex-start;
  margin-top: 8px;
  cursor: pointer;
  background: #c0392b;
  color: #fff;
  border: 1px solid #c0392b;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 4px;
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
}

.rd-form-submit-btn:hover {
  background: #e04030;
  border-color: #e04030;
  transform: translateY(-1px);
}

.rd-form-submit-btn:active {
  transform: translateY(0);
}

.rd-honeypot {
  display: none !important;
}

/* Alert styles */
.rd-alert {
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Lora', Georgia, serif;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.rd-alert--success {
  background: rgba(39, 174, 96, 0.08);
  border: 1px solid rgba(39, 174, 96, 0.25);
  color: #27ae60;
}

.rd-alert--success .rd-gem-sm {
  background: #27ae60;
}

.rd-contact-socials {
  list-style: none;
  padding-left: 0;
}

.rd-contact-socials li {
  margin-bottom: 8px;
}

.rd-contact-socials li a {
  color: #c0392b;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

.rd-contact-socials li a:hover {
  color: #e04030;
}

@media (max-width: 768px) {
  .rd-contact-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .rd-form-submit-btn {
    width: 100%;
    text-align: center;
  }
}



