/* -------------------------------------------------------
   CARDS (soft, minimal, editorial)
-------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem;
  margin: 1rem 0;
}

.card h3 {
  margin-top: 0.3rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

/* Optional subtle shadow (comment out if not needed) */
/* .card { box-shadow: 0 1px 2px rgba(0,0,0,0.04); } */


/* -------------------------------------------------------
   ACCORDION (clean lines, soft edges, minimal contrast)
-------------------------------------------------------- */
.accordion {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}

.accordion .acc-item + .acc-item {
  border-top: 1px solid var(--border);
}

.acc-button {
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 0;
  padding: 0.9rem 1.2rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text);
}

.acc-button:hover {
  background: rgba(0,0,0,0.03);
}

.acc-panel {
  display: none;
  padding: 0 1.2rem 1rem;
  background: var(--surface);
  color: var(--muted);
}

.acc-item.open .acc-panel {
  display: block;
}

/* Optional smooth animation */
/*
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.acc-item.open .acc-panel {
  max-height: 500px;
}
*/


/* -------------------------------------------------------
   NOTES & QUOTES (aligned to theme.css tone)
-------------------------------------------------------- */
.note {
  background: #fff8e1;
  border: 1px solid #f2d28b;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin: 1.2rem 0;
  color: #444;
}

.quote {
  background: #f8fbff;
  border-left: 4px solid var(--brand);
  padding: 1rem 1.2rem;
  border-radius: 8px;
  margin: 1.2rem 0;
  color: #333;
  font-style: italic;
  line-height: 1.5;
}

/* -------------------------------------------------------
   ICONS (minimal alignment)
-------------------------------------------------------- */
.icon {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
  margin-right: 4px;
}
/* -------------------------------------------------------
   ACCORDION WRAPPER
-------------------------------------------------------- */
.accordion {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  margin: 1.2rem 0;
}

/* Accordions stacked back-to-back look unified */
.accordion + .accordion {
  margin-top: -1px; /* merges borders cleanly */
}


/* -------------------------------------------------------
   INDIVIDUAL ITEMS
-------------------------------------------------------- */
.accordion .acc-item {
  border-bottom: 1px solid var(--border);
}

.accordion .acc-item:last-child {
  border-bottom: 0;
}


/* -------------------------------------------------------
   BUTTON (HEADER ROW)
-------------------------------------------------------- */
.acc-button {
  width: 100%;
  background: var(--surface);
  border: 0;
  padding: 1rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Hover state – subtle, minimal */
.acc-button:hover {
  background: rgba(0, 0, 0, 0.03);
}


/* -------------------------------------------------------
   ICON (PLUS/MINUS)
-------------------------------------------------------- */

/* Basic shape */
.acc-button::after {
  content: "+";
  font-size: 1.2rem;
  line-height: 1;
  color: var(--muted);
  transition: transform 0.25s ease, color 0.25s ease;
}

/* When open: rotate + to become × or minus (your pick) */
.acc-item.open .acc-button::after {
  transform: rotate(45deg);
  color: var(--brand);
}


/* -------------------------------------------------------
   PANEL (CONTENT AREA)
-------------------------------------------------------- */

/* Using max-height for animation */
.acc-panel {
  max-height: 0;
  overflow: hidden;
  background: var(--surface);
  padding: 0 1.2rem;
  transition: max-height 0.35s ease;
  color: var(--muted);
}

/* When open */
.acc-item.open .acc-panel {
  padding: 0 1.2rem 1rem;
  max-height: 500px; /* tall enough for long content */
}


/* -------------------------------------------------------
   TYPOGRAPHY INSIDE PANEL
-------------------------------------------------------- */
.acc-panel p {
  margin: 1rem 0 0;
  line-height: 1.55;
  color: var(--text);
}

.acc-panel ul,
.acc-panel ol {
  margin: 0.75rem 0 0.75rem 1.4rem;
}


/* -------------------------------------------------------
   OPTIONAL: MORE DELUXE VISUAL REFINEMENTS
-------------------------------------------------------- */

/* Larger icons */
.accordion.large .acc-button {
  padding: 1.2rem 1.5rem;
}
.accordion.large .acc-button::after {
  font-size: 1.4rem;
}

/* Slight shadow for premium look */
.accordion.shadow {
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Rounded separators */
.accordion.rounded .acc-item {
  border-radius: 8px;
  overflow: hidden;
}

/* -------------------------------------------------------
   BANDS (below-header & above-footer)
   - full-width bands that wrap a .container inside
   - minimal borders; subtle, editorial look
-------------------------------------------------------- */

.below-header{
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

/* Give the above-footer a top divider so it separates from content */
.above-footer{
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

/* Inner spacing */
.below-header .container,
.above-footer .container{
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* -------------------------------------------------------
   GRID
-------------------------------------------------------- */
.below-header-grid,
.above-footer-grid{
  display: grid;
  gap: 1rem;
}

/* 3-up on medium+ screens, stacked on mobile */
@media (min-width: 768px){
  .below-header-grid,
  .above-footer-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Columns */
.widget-col h6{
  margin: .25rem 0 .4rem;
  font-weight: 700;
}
.widget-col p{
  margin: 0;
  color: var(--muted);
}
