/* Review Insider Hub – Editorial Light Theme v2 */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --bg: #f8f6f3;
  --bg-card: #ffffff;
  --bg-elevated: #fffefb;
  --border: #e5e0d8;
  --border-accent: #c4a77d;
  --text: #2c2a26;
  --text-muted: #6b6560;
  --accent: #8b6914;
  --accent-hover: #6b5010;
  --accent-soft: #d4b896;
  --accent-teal: #2d6a6a;
  --font-display: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 2px 12px rgba(44, 42, 38, 0.06);
  --shadow-hover: 0 4px 20px rgba(44, 42, 38, 0.1);
  --transition: 0.2s ease;
  --content-max: 720px;
  --content-wide: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* ===== HEADER – Centered, stacked ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  box-shadow: var(--shadow);
}
.site-header .inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.site-header .brand { display: flex; align-items: center; }
.site-header .logo {
  height: 42px;
  width: auto;
  display: block;
}
.site-header .logo-link { display: flex; align-items: center; text-decoration: none; color: inherit; }
.site-header nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.site-header nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: all var(--transition);
}
.site-header nav a:hover {
  color: var(--accent);
  background: rgba(139, 105, 20, 0.08);
}
.site-header nav a.nav-btn {
  color: var(--bg-card);
  background: var(--accent);
  font-weight: 600;
}
.site-header nav a.nav-btn:hover {
  background: var(--accent-hover);
}

/* ===== HOMEPAGE BANNER ===== */
.home-banner {
  max-width: var(--content-wide);
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
  text-align: center;
}
.home-banner a { display: inline-block; }
.home-banner img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 280px;
  display: block;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* ===== MAIN LAYOUT ===== */
.main-wrapper {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.main-content { min-width: 0; }
.sidebar {
  position: sticky;
  top: 120px;
}

/* ===== HOMEPAGE ===== */
.home-layout .main-wrapper { padding-top: 1.5rem; }
.home-intro {
  margin-bottom: 2rem;
  padding: 1.75rem 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.home-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
  font-style: italic;
  font-family: var(--font-display);
}
.home-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1.25rem;
  color: var(--text);
}

/* ===== TYPOGRAPHY ===== */
.page-text { background: transparent; padding: 0; color: var(--text); }
h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--text);
}
h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.25rem 0 0.6rem;
  color: var(--accent);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-accent);
}
p { margin: 0 0 1.15rem; color: var(--text); }
ul { margin: 0 0 1.15rem; padding-left: 1.4rem; }
li { margin-bottom: 0.4rem; color: var(--text); }
li::marker { color: var(--accent); }

/* ===== TABLES ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 0.95rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
th, td { padding: 0.9rem 1.1rem; text-align: left; color: var(--text); border-bottom: 1px solid var(--border); }
th {
  background: var(--bg);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(139, 105, 20, 0.04); }

/* ===== LINKS ===== */
.page-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}
.page-text a:hover {
  color: var(--accent-hover);
}

/* ===== SIDEBAR CARD ===== */
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
}
.sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent);
  margin: 0 0 0.85rem;
  font-weight: 700;
}
.sidebar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-card li {
  margin-bottom: 0.4rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-card li:last-child { border-bottom: none; }
.sidebar-card a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.sidebar-card a:hover { color: var(--accent); }

/* ===== FAQ BLOCK ===== */
.faq-block {
  margin: 3rem 0 0;
  padding: 1.75rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.faq-block-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.faq-block-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.faq-block-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--text);
}
.faq-block-intro { margin: 0; font-size: 0.95rem; color: var(--text-muted); }
.faq p {
  margin-bottom: 0.9rem;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}
.faq p:last-child { margin-bottom: 0; }
.faq strong { display: block; margin-bottom: 0.35rem; color: var(--accent); }

/* ===== FOOTER ===== */
.site-footer {
  margin-top: 3.5rem;
  padding: 2rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}
.site-footer .inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.site-footer .footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  width: 100%;
}
.site-footer .logo { height: 34px; width: auto; opacity: 0.85; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.5rem; }
.site-footer nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color var(--transition);
}
.site-footer nav a:hover { color: var(--accent); }
.site-footer .copy { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* ===== INTERNAL PAGES ===== */
.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 1.5rem 2.5rem;
}
.inner-page .page-text h1 { margin-top: 0; }
.inner-page .wrap { padding-top: 1.5rem; }
.inner-page .page-text {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

/* ===== CONTACT PAGE ===== */
.cp-hero { text-align: left; padding: 0 0 1.25rem; }
.cp-hero h1 { font-size: 2rem; margin: 0 0 0.4rem; }
.cp-hero .tagline { font-size: 1rem; color: var(--text-muted); margin: 0; line-height: 1.6; }
.cp-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  padding: 1.5rem 0;
}
.cp-channel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: left;
  transition: all var(--transition);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
}
.cp-channel:hover {
  box-shadow: var(--shadow-hover);
}
.cp-channel .ico { font-size: 1.5rem; margin-bottom: 0.4rem; }
.cp-channel .title { color: var(--accent); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.cp-channel .value a { color: var(--accent); text-decoration: none; font-weight: 600; }
.cp-channel .value a:hover { color: var(--accent-hover); text-decoration: underline; }
.cp-channel .extra { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.cp-section { padding: 1.25rem 0; border-top: 1px solid var(--border); }
.cp-section-first { border-top: none; padding-top: 0; }
.cp-section h2 { margin-top: 0; }
.cp-contacts { padding: 1.25rem 0; }
.cp-contacts h2 { margin-bottom: 0.85rem; }
.cp-list { margin: 0; }
.cp-list dt { color: var(--accent); font-weight: 600; font-size: 0.9rem; margin-top: 1rem; margin-bottom: 0.3rem; }
.cp-list dt:first-child { margin-top: 0; }
.cp-list dd { margin: 0 0 0 0.75rem; padding-left: 0; line-height: 1.55; color: var(--text-muted); }
.cp-list dd a { color: var(--accent); text-decoration: none; font-weight: 600; }
.cp-list dd a:hover { color: var(--accent-hover); text-decoration: underline; }
.cp-section a, .cp-note a { color: var(--accent); text-decoration: none; }
.cp-section a:hover, .cp-note a:hover { text-decoration: underline; color: var(--accent-hover); }
.cp-note {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-teal);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

/* ===== HELP BOX ===== */
.help-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-teal);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}
.help-box a { color: var(--accent); text-decoration: none; }
.help-box a:hover { color: var(--accent-hover); text-decoration: underline; }

/* ===== IMAGES ===== */
.page-text img, .home-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.25rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .main-wrapper { grid-template-columns: 1fr; }
  .sidebar { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 768px) {
  .site-header .inner { padding: 0.75rem 1rem; }
  .site-header .logo { height: 36px; }
  .site-header nav a { font-size: 0.85rem; padding: 0.45rem 0.85rem; }
  .main-wrapper, .wrap { padding: 1.25rem 1rem 1.75rem; }
  .home-title { font-size: 1.85rem; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.35rem; }
  .sidebar { grid-template-columns: 1fr; }
  .sidebar .home-banner img { max-height: 200px; object-fit: contain; }
  .home-banner { padding: 0 1rem; margin-bottom: 1.5rem; }
  .home-banner img { max-height: 220px; }
}
@media (max-width: 480px) {
  .site-header nav a:not(.nav-btn) { font-size: 0.8rem; padding: 0.4rem 0.65rem; }
  .cp-channels { grid-template-columns: 1fr; }
  .home-banner img { max-height: 180px; }
}

/* ===== INTERNAL PAGE – Card-style content ===== */
.inner-page .wrap {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 2rem 2rem 2.5rem;
  margin-top: 1rem;
}
.inner-page .page-text {
  border-top: none;
  padding-top: 0;
}

/* Banner in sidebar – compact */
.sidebar .home-banner {
  max-width: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.sidebar .home-banner img {
  max-height: 180px;
  width: 100%;
  object-fit: cover;
}
