/**
 * CELLAR254 - CONTENT & INFORMATIONAL PAGES STYLESHEET
 * Clean, Editorial Design matching Site Footer & Homepage Architecture
 * Colors: Pure Black #000, White #fff, Brand Wine #5C1A28, Soft Neutral #faf7f4
 */

.content-page-main {
  width: min(var(--container-max, 1340px), calc(100% - var(--container-pad, 32px)));
  margin: 0 auto;
  padding: 24px 0 64px;
}

/* Breadcrumbs */
.content-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #000000;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.content-breadcrumb a {
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}
.content-breadcrumb a:hover {
  color: #5C1A28;
  text-decoration: underline;
}
.content-breadcrumb .sep {
  color: #999999;
}
.content-breadcrumb .current {
  color: #000000;
  font-weight: 500;
}

/* 2-Column Responsive Layout */
.content-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 28px;
  align-items: start;
}

/* Primary Content Column */
.content-primary-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

/* Hero Header Card - Clean White */
.content-hero-card {
  background: #ffffff;
  border: 1px solid var(--line, #e8e4df);
  border-radius: var(--radius, 6px);
  padding: 32px 36px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.content-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #fff;
  color: #000;
  border: 1px solid #e8e3d9;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.content-hero-card h1 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.22;
  color: #000000;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.content-hero-card .subtitle {
  font-size: 1.02rem;
  line-height: 1.6;
  color: #000000;
  margin: 0 0 24px;
  font-weight: 400;
}

/* Radar stats row - Clean Neutral with Wine top accent */
.content-radar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line, #e8e4df);
}
.content-radar-pill {
  background: #fff;
  color: #000000;
  border: 1px solid var(--line, #e8e4df);
  border-top: 2.5px solid #5C1A28;
  border-radius: 4px;
  padding: 14px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.content-radar-pill strong {
  font-size: 1.35rem;
  font-weight: 700;
  color: #000000;
  line-height: 1;
}
.content-radar-pill span {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #000000;
}

/* Main Body Card - Clean White */
.content-article-card {
  background: #ffffff;
  border: 1px solid var(--line, #e8e4df);
  border-radius: var(--radius, 6px);
  padding: 36px 36px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  font-size: 0.96rem;
  line-height: 1.75;
  color: #000000;
}

.content-article-card h2,
.content-article-card h3 {
  color: #000000;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 32px 0 12px;
}
.content-article-card h2 {
  font-size: 1.4rem;
  padding-bottom: 8px;
  border-bottom: 2px solid #5C1A28;
}
.content-article-card h3 {
  font-size: 1.18rem;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line, #e8e4df);
}
.content-article-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 18px 0 6px;
  color: #000000;
}
.content-article-card p {
  color: #000000;
  margin: 0 0 16px;
}
.content-article-card strong,
.content-article-card b {
  color: #000000;
  font-weight: 700;
}
.content-article-card li {
  color: #000000;
  margin-bottom: 6px;
}

/* Callout Box - Warm Neutral Tint with Wine Accent */
.content-callout {
  background: #faf7f4;
  border: 1px solid #e8e3d9;
  border-left: 3.5px solid #5C1A28;
  padding: 18px 22px;
  border-radius: 0 4px 4px 0;
  margin: 22px 0;
  color: #000000;
}
.content-callout p {
  color: #000000;
  margin: 0;
  line-height: 1.65;
}

/* Graphic Media Box - Clean Light Presentation */
.content-media-card {
  border: 1px solid var(--line, #e8e4df);
  border-radius: var(--radius, 6px);
  overflow: hidden;
  background: #ffffff;
  margin: 22px 0 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.content-media-card img,
.content-media-card svg {
  display: block;
  width: 100%;
  height: auto;
  background: #ffffff;
}
.content-media-caption {
  background: #ffffff;
  color: #000000;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e8e3d9;
  flex-wrap: wrap;
  gap: 8px;
}
.content-media-caption strong {
  color: #5C1A28;
}

/* Matrix Table Styling - Light & Clean */
.table-responsive-wrap {
  overflow-x: auto;
  border: 1px solid var(--line, #e8e4df);
  border-radius: var(--radius, 6px);
  margin: 20px 0 28px;
  background: #ffffff;
}
.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  text-align: left;
}
.matrix-table th {
  background: #faf7f4;
  color: #000000;
  padding: 7px 12px;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 2px solid #5C1A28;
  white-space: nowrap;
}
.matrix-table td {
  padding: 3px 12px;
  border-bottom: 1px solid var(--line, #e8e4df);
  vertical-align: middle;
  color: #000000;
  line-height: 1.35;
}
.matrix-table tbody tr:hover td {
  background: #faf7f4;
}
.matrix-table td strong {
  font-weight: 700;
  color: #000000;
  font-size: 0.82rem;
}
.matrix-table tr:last-child td {
  border-bottom: 0;
}
.matrix-table tbody tr:nth-child(even) {
  background: #ffffff;
}
.matrix-table tbody tr:hover {
  background: #f3efe9;
}
.badge-eta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  color: #5C1A28;
  font-weight: 700;
  font-size: 0.74rem;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid #ebe6df;
  white-space: nowrap;
}
.badge-hub {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  color: #000000;
  font-weight: 600;
  font-size: 0.74rem;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid #ebe6df;
  white-space: nowrap;
}
.badge-fee {
  font-weight: 700;
  color: #000000;
  font-size: 0.82rem;
}
.badge-free {
  color: #5C1A28;
  font-size: 0.70rem;
  font-weight: 700;
  display: block;
  margin-top: 1px;
}
.matrix-rider-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #5C1A28;
  font-weight: 700;
  font-size: 0.80rem;
  text-decoration: none;
  transition: all 0.15s ease;
}
.matrix-rider-link:hover {
  color: #000000;
  text-decoration: underline;
}
.matrix-rider-link .icon {
  width: 13px;
  height: 13px;
}

/* Table Search Filter */
.table-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.table-filter-input {
  flex: 1;
  min-width: 240px;
  max-width: 380px;
  padding: 9px 14px;
  font-size: 0.88rem;
  color: #000000;
  background: #ffffff;
  border: 1px solid var(--line, #e8e4df);
  border-radius: var(--radius, 6px);
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease;
}
.table-filter-input:focus {
  border-color: #000000;
}

/* Sidebar Column & Sticky Cards */
.content-sidebar-col {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--line, #e8e4df);
  border-radius: var(--radius, 6px);
  padding: 22px 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

/* Interactive Calculator Widget - Clean Light Aesthetic */
.calc-widget {
  background: #ffffff;
  border: 1.5px solid #5C1A28;
}
.calc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.calc-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #000000;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pulse-radar {
  width: 8px;
  height: 8px;
  background: #1f7a3d;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(31, 122, 61, 0.2);
  display: inline-block;
}
.calc-desc {
  font-size: 0.84rem;
  color: #000000;
  margin: 0 0 14px;
  line-height: 1.5;
}
.calc-select-wrap {
  margin-bottom: 14px;
}
.calc-select-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #000000;
  margin-bottom: 6px;
}
.calc-select {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #000000;
  background: #ffffff;
  border: 1px solid #000000;
  border-radius: var(--radius, 6px);
  font-family: inherit;
  outline: none;
  cursor: pointer;
}

/* Clean Light Preview Box */
.calc-preview-box {
  background: #fff;
  border: 1px solid #e8e3d9;
  border-radius: var(--radius, 6px);
  padding: 14px 16px;
  margin-bottom: 14px;
}
.calc-preview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #e8e3d9;
  font-size: 0.84rem;
}
.calc-preview-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.calc-preview-row .lbl {
  color: #000000;
  font-weight: 500;
}
.calc-preview-row .val {
  font-weight: 700;
  color: #000000;
  text-align: right;
}
.calc-preview-row .val.highlight {
  color: #5C1A28;
  font-size: 0.95rem;
}
.calc-preview-row .val.green {
  color: #1f7a3d;
}

.calc-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.btn-calc-order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 8px 16px;
  background: #000000;
  color: #ffffff;
  border: 1.5px solid #000000;
  font-weight: 700;
  font-size: 0.86rem;
  border-radius: var(--radius, 6px);
  text-decoration: none;
  transition: all 0.18s ease;
}
.btn-calc-order:hover {
  background: var(--wine, #5C1A28);
  border-color: var(--wine, #5C1A28);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(92, 26, 40, 0.2);
}
.btn-calc-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 8px 16px;
  background: #faf7f4;
  color: var(--wine, #5C1A28);
  border: 1.5px solid var(--wine, #5C1A28);
  font-weight: 700;
  font-size: 0.84rem;
  border-radius: var(--radius, 6px);
  text-decoration: none;
  transition: all 0.18s ease;
}
.btn-calc-wa:hover {
  background: var(--wine, #ffffff);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(92, 26, 40, 0.2);
}
.btn-calc-expert {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  background: var(--wine, #5C1A28);
  color: #ffffff;
  border: 1.5px solid var(--wine, #5C1A28);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius, 6px);
  text-decoration: none;
  transition: all 0.18s ease;
}
.btn-calc-expert:hover {
  background: #46131e;
  border-color: #46131e;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(92, 26, 40, 0.25);
  transform: translateY(-1px);
}
.btn-page-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 26px;
  font-size: 0.90rem;
  font-weight: 700;
  border-radius: var(--radius, 6px);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-page-cta.primary {
  background: var(--wine, #5C1A28);
  color: #ffffff;
  border: 1.5px solid var(--wine, #5C1A28);
  box-shadow: 0 2px 8px rgba(92, 26, 40, 0.18);
}
.btn-page-cta.primary:hover {
  background: #46131e;
  border-color: #46131e;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(92, 26, 40, 0.28);
  transform: translateY(-1px);
}
.btn-page-cta.secondary {
  background: #ffffff;
  color: #000000;
  border: 1.5px solid #000000;
}
.btn-page-cta.secondary:hover {
  background: #faf7f4;
  border-color: var(--wine, #5C1A28);
  color: var(--wine, #5C1A28);
  transform: translateY(-1px);
}
.btn-page-cta.brand-outline {
  background: #faf7f4;
  color: var(--wine, #5C1A28);
  border: 1.5px solid var(--wine, #5C1A28);
}
.btn-page-cta.brand-outline:hover {
  background: var(--wine, #5C1A28);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(92, 26, 40, 0.25);
  transform: translateY(-1px);
}
.btn-page-cta .icon {
  width: 16px;
  height: 16px;
  color: currentColor;
}

/* Sommelier Sidebar Card - Clean Light Presentation */
.sommelier-sidebar-card {
  background: #ffffff;
  border: 1px solid var(--line, #e8e4df);
  border-top: 3px solid #5C1A28;
}
.sommelier-sidebar-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #000000;
  margin: 0 0 6px;
}
.sommelier-sidebar-card p {
  font-size: 0.84rem;
  color: #000000;
  margin: 0 0 14px;
  line-height: 1.5;
}

/* Authenticity Card - Clean Light Presentation */
.auth-sidebar-card {
  background: #ffffff;
  border: 1px solid var(--line, #e8e4df);
  border-top: 3px solid #1f7a3d;
}
.auth-sidebar-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #000000;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.auth-sidebar-card p {
  font-size: 0.82rem;
  color: #000000;
  margin: 0 0 12px;
  line-height: 1.5;
}
.auth-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.auth-steps-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #000000;
}
.auth-steps-list li svg {
  color: #1f7a3d;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Quick Page Navigation Widget - Clean Light List */
.content-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.content-nav-list li {
  margin: 0;
  padding: 0;
}
.content-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  border-bottom: 1px solid #ebe6df;
  transition: all 0.15s ease;
}
.content-nav-list a:hover {
  background: #faf7f4;
  color: #5C1A28;
  padding-left: 12px;
  border-bottom-color: #dcd6cc;
}
.content-nav-list a.active {
  background: #faf7f4;
  color: #5C1A28;
  font-weight: 700;
  border-left: 3px solid #5C1A28;
  padding-left: 12px;
  border-bottom: 1px solid #ebe6df;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .content-layout-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .content-sidebar-col {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .content-hero-card {
    padding: 24px 20px;
  }
  .content-article-card {
    padding: 24px 18px;
  }
  .content-radar-grid {
    grid-template-columns: 1fr 1fr;
  }
  .content-sidebar-col {
    grid-template-columns: 1fr;
  }
}
