/*-- -------------------------- -->
<---        What to Expect       -->
<--- -------------------------- -*/

/* Full-bleed solid colour band (moss/primaryDark, from the site's own
   palette), centred title + intro copy, native details/summary
   accordion below with hairline dividers -- same structural pattern as
   the About accordion, re-themed for a dark background. */
@media only screen and (min-width: 0rem) {
  #expect {
    width: 100%;
    padding: 4.5rem 1.5rem;
    background-color: var(--primaryDark);
    background-image: url("../images/WHATTOEXPECTBACKGROUND.svg");
    background-size: cover;
    background-position: center;
    color: var(--cream);
    position: relative;
    overflow: hidden;
  }
  #expect .cs-container {
    width: 100%;
    max-width: 48rem;
    margin: auto;
    position: relative;
    z-index: 1;
  }

  /* Decorative botanical line-art -- fern/vine top-left, flower sprig
     bottom-right, echoing the reference layout. Hidden on the smallest
     screens where there's no room for them without crowding the
     accordion. */
  #expect .cs-decor {
    display: none;
    position: absolute;
    color: var(--cream);
    opacity: 0.5;
    pointer-events: none;
  }
  #expect .cs-decor-left {
    top: 1.5rem;
    left: 1rem;
    width: 5.5rem;
    height: auto;
  }
  #expect .cs-decor-right {
    bottom: 1rem;
    right: 1rem;
    width: 6.5rem;
    height: auto;
  }
  #expect .cs-title {
    font-family: var(--headingFont);
    font-weight: 400;
    font-size: 2.5rem;
    text-align: center;
    color: var(--cream);
    margin: 0 0 1.75rem;
  }
  #expect .cs-text {
    font-family: var(--bodyFont);
    font-size: 1rem;
    line-height: 1.65em;
    text-align: center;
    color: var(--cream);
    opacity: 0.85;
    margin: 0 0 2.5rem;
  }
  #expect .cs-accordion {
    width: 100%;
    border-top: 1px solid rgba(253, 252, 250, 0.25);
  }
  #expect .cs-accordion-item {
    width: 100%;
    border-bottom: 1px solid rgba(253, 252, 250, 0.25);
  }
  #expect .cs-accordion-item summary {
    width: 100%;
    padding: 1.375rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--headingFont);
    font-weight: 400;
    font-size: 1.25rem;
    color: var(--cream);
    cursor: pointer;
    list-style: none;
  }
  #expect .cs-accordion-item summary::-webkit-details-marker {
    display: none;
  }
  #expect .cs-accordion-item summary:after {
    content: "";
    width: 0.625rem;
    height: 0.625rem;
    flex: none;
    border-right: 1.5px solid var(--cream);
    border-bottom: 1.5px solid var(--cream);
    transform: rotate(45deg);
    transition: transform 0.3s;
  }
  #expect .cs-accordion-item[open] summary:after {
    transform: rotate(-135deg);
  }
  #expect .cs-accordion-body {
    padding: 0 0 1.5rem;
  }
  #expect .cs-accordion-body p {
    font-family: var(--bodyFont);
    font-size: 0.9375rem;
    line-height: 1.65em;
    color: var(--cream);
    opacity: 0.85;
    margin: 0;
  }
}

/* Tablet - 48rem: room for the botanical corner decoration to appear */
@media only screen and (min-width: 48rem) {
  #expect .cs-decor {
    display: block;
  }
}

/* Desktop - 64rem: a little more breathing room top/bottom, decoration
   scales up with the extra space */
@media only screen and (min-width: 64rem) {
  #expect {
    padding: 6.5rem 1.5rem;
  }
  #expect .cs-title {
    font-size: 3rem;
  }
  #expect .cs-decor-left {
    top: 2.5rem;
    left: 2rem;
    width: 8rem;
  }
  #expect .cs-decor-right {
    bottom: 2rem;
    right: 2rem;
    width: 9rem;
  }
}
