/*
Theme Name: Beautyisles Pure HTML
Theme URI: https://beautyisles.com
Description: High-performance, pure semantic HTML theme for Beautyisles with zero page-builder overhead.
Author: Beautyisles Team
Template: kadence
Version: 2.0.0
*/

body {
  margin: 0 !important;
  padding: 0 !important;
  background: #FFF9F6 !important;
  color: #221A1D !important;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  overflow-x: hidden !important;
}

#page, .site-content, .entry-content, main {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  background: transparent !important;
}

/* ==========================================================================
   Beautyisles Trust, Editorial & Legal Pages Design System
   ========================================================================== */

:root {
  --bit-paper: #FFF9F6;
  --bit-paper-alt: #F1E9E3;
  --bit-ink: #221A1D;
  --bit-muted: #62545A;
  --bit-wine: #4A1525;
  --bit-wine-bright: #6F2D46;
  --bit-wine-dark: #35101B;
  --bit-blush: #F0D6DE;
  --bit-blush-soft: #F7E8EC;
  --bit-gold: #E5C384;
  --bit-white: #FFFFFF;
  --bit-line: rgba(74, 21, 37, 0.12);
  --bit-line-subtle: rgba(74, 21, 37, 0.06);
  --bit-display: "Playfair Display", Georgia, serif;
  --bit-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bit-radius-sm: 6px;
  --bit-radius-md: 10px;
  --bit-radius-lg: 16px;
  --bit-radius-pill: 999px;
  --bit-shadow-sm: 0 2px 8px rgba(74, 21, 37, 0.04);
  --bit-shadow-md: 0 6px 20px rgba(74, 21, 37, 0.06);
}

.bi-trust-page {
  background: var(--bit-paper);
  color: var(--bit-ink);
  font-family: var(--bit-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  box-sizing: border-box;
}

.bi-trust-page *,
.bi-trust-page *::before,
.bi-trust-page *::after {
  box-sizing: border-box;
}

.bi-trust-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* --- Hero Section --- */
.bi-trust-hero {
  background: var(--bit-paper);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--bit-line);
}

.bi-trust-hero__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: flex-start;
}

.bi-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--bit-wine-bright);
  margin-bottom: 16px;
}

.bi-crumbs a {
  color: var(--bit-wine-bright);
  text-decoration: none;
  transition: opacity 0.2s;
}

.bi-crumbs a:hover {
  opacity: 0.75;
  text-decoration: underline;
}

.bi-crumbs span[aria-hidden="true"] {
  opacity: 0.4;
}

.bi-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--bit-wine-bright);
  margin: 0 0 12px;
}

.bi-trust-hero h1 {
  font-family: var(--bit-display);
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--bit-wine);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.bi-deck {
  font-size: 18px;
  line-height: 1.6;
  color: #382C30;
  margin: 0 0 22px;
  max-width: 720px;
}

.bi-review-date {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--bit-muted);
  margin: 0;
}

.bi-review-date span {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bit-wine);
  font-size: 11px;
}

.bi-review-date i {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--bit-wine-bright);
  opacity: 0.5;
}

/* --- Reader Summary Aside --- */
.bi-reader-summary {
  background: var(--bit-white);
  border: 1px solid var(--bit-line);
  border-left: 4px solid var(--bit-wine);
  border-radius: var(--bit-radius-md);
  padding: 24px 26px;
  box-shadow: var(--bit-shadow-sm);
}

.bi-reader-summary p {
  font-family: var(--bit-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--bit-wine);
  margin: 0 0 14px;
}

.bi-reader-summary ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bi-reader-summary li {
  font-size: 14px;
  line-height: 1.5;
  color: #3A2F33;
  position: relative;
  padding-left: 18px;
}

.bi-reader-summary li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--bit-wine-bright);
  font-size: 18px;
  line-height: 1;
}

/* --- Mobile TOC --- */
.bi-mobile-toc {
  display: none;
  padding: 20px 24px 0;
}

.bi-mobile-toc details {
  background: var(--bit-white);
  border: 1px solid var(--bit-line);
  border-radius: var(--bit-radius-md);
  padding: 14px 20px;
}

.bi-mobile-toc summary {
  font-weight: 600;
  font-size: 14px;
  color: var(--bit-wine);
  cursor: pointer;
  outline: none;
}

.bi-mobile-toc nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--bit-line-subtle);
}

.bi-mobile-toc a {
  font-size: 14px;
  color: var(--bit-muted);
  text-decoration: none;
}

/* --- Main Layout Grid --- */
.bi-trust-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  padding: 56px 24px 80px;
  align-items: flex-start;
}

/* --- Sidebar Sticky TOC --- */
.bi-toc {
  position: sticky;
  top: 96px;
  background: var(--bit-white);
  border: 1px solid var(--bit-line);
  border-radius: var(--bit-radius-lg);
  padding: 24px;
  box-shadow: var(--bit-shadow-sm);
}

.bi-toc p {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--bit-wine-bright);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--bit-line-subtle);
}

.bi-toc nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bi-toc a {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--bit-muted);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.18s ease, transform 0.18s ease;
}

.bi-toc a:hover {
  color: var(--bit-wine);
  font-weight: 600;
  transform: translateX(3px);
}

/* --- Content Body --- */
.bi-policy-copy {
  display: flex;
  flex-direction: column;
  gap: 48px;
  min-width: 0;
}

.bi-policy-section {
  scroll-margin-top: 100px;
}

.bi-section-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--bit-line);
  padding-bottom: 12px;
}

.bi-section-heading span {
  font-family: var(--bit-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--bit-wine-bright);
  opacity: 0.7;
}

.bi-section-heading h2 {
  font-family: var(--bit-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  color: var(--bit-wine);
  margin: 0;
}

.bi-policy-copy p {
  font-size: 16px;
  line-height: 1.75;
  color: #2D2528;
  margin: 0 0 16px;
}

/* --- Principle Grids --- */
.bi-principle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.bi-principle-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.bi-principle-grid > div {
  background: var(--bit-white);
  border: 1px solid var(--bit-line);
  border-radius: var(--bit-radius-md);
  padding: 20px 22px;
  box-shadow: var(--bit-shadow-sm);
}

.bi-principle-grid strong {
  font-family: var(--bit-display);
  font-size: 17px;
  color: var(--bit-wine);
  display: block;
  margin-bottom: 6px;
}

.bi-principle-grid p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--bit-muted);
  margin: 0;
}

/* --- Method Steps --- */
.bi-method-step {
  background: var(--bit-white);
  border: 1px solid var(--bit-line);
  border-radius: var(--bit-radius-lg);
  padding: 24px 28px;
  margin: 20px 0;
  box-shadow: var(--bit-shadow-sm);
}

/* --- Lists --- */
.bi-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bi-list--columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.bi-list li {
  font-size: 15px;
  line-height: 1.6;
  color: #2D2528;
  position: relative;
  padding-left: 24px;
}

.bi-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--bit-wine-bright);
  font-weight: 700;
  font-size: 14px;
}

/* --- Callouts & Statements --- */
.bi-callout {
  background: rgba(240, 214, 222, 0.35);
  border-left: 4px solid var(--bit-wine-bright);
  border-radius: 0 var(--bit-radius-md) var(--bit-radius-md) 0;
  padding: 18px 24px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--bit-wine);
  margin: 24px 0;
}

.bi-callout--plain {
  background: var(--bit-white);
  border: 1px solid var(--bit-line);
  border-left: 4px solid var(--bit-gold);
}

.bi-statement {
  background: var(--bit-white);
  border: 1px solid var(--bit-line);
  border-radius: var(--bit-radius-lg);
  padding: 28px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--bit-wine);
  margin: 28px 0;
  box-shadow: var(--bit-shadow-sm);
}

.bi-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

/* --- Tables --- */
.bi-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  background: var(--bit-white);
  border: 1px solid var(--bit-line);
  border-radius: var(--bit-radius-md);
  box-shadow: var(--bit-shadow-sm);
}

.bi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.bi-table th {
  background: var(--bit-wine-dark);
  color: #FFFAF8;
  font-family: var(--bit-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px 18px;
  font-weight: 600;
}

.bi-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--bit-line-subtle);
  color: #2D2528;
  line-height: 1.5;
}

.bi-table tr:last-child td {
  border-bottom: none;
}

.bi-table tr:nth-child(even) td {
  background: rgba(255, 249, 246, 0.6);
}

/* --- Related Trust Links Section --- */
.bi-trust-related {
  background: var(--bit-paper-alt);
  padding: 64px 0;
  border-top: 1px solid var(--bit-line);
  margin-top: 60px;
}

.bi-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.bi-related-card {
  background: var(--bit-white);
  border: 1px solid var(--bit-line);
  border-radius: var(--bit-radius-md);
  padding: 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--bit-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bi-related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--bit-shadow-md);
}

.bi-related-card strong {
  font-family: var(--bit-display);
  font-size: 18px;
  color: var(--bit-wine);
}

.bi-related-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--bit-muted);
  margin: 0;
}

/* --- Buttons & Contact Lines --- */
.bi-contact-line {
  margin: 24px 0;
  font-size: 15px;
  color: var(--bit-muted);
}

.bi-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--bit-radius-pill);
  background: var(--bit-wine);
  color: #FFFFFF !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: background 0.2s ease;
}

.bi-button:hover {
  background: var(--bit-wine-bright);
}

.bi-button--light {
  background: transparent;
  border: 1px solid var(--bit-wine);
  color: var(--bit-wine) !important;
}

.bi-button--light:hover {
  background: rgba(74, 21, 37, 0.06);
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
  .bi-trust-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .bi-trust-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .bi-toc {
    display: none;
  }
  .bi-mobile-toc {
    display: block;
  }
  .bi-principle-grid--three {
    grid-template-columns: 1fr;
  }
  .bi-list--columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .bi-trust-hero {
    padding: 40px 0 32px;
  }
  .bi-principle-grid {
    grid-template-columns: 1fr;
  }
}
