/* ================================================
   DOCENTE WINE CLUB — /wine-club/
   ================================================
   Rendered by [docente_wine_club]. Every value here was read off the live
   homepage so the page reads as one of its own sections:

     script headings   "Beneath The Silence"  80px hero / 48px sections, #4A0D17
     handwritten leads Caveat                 20.8px, tilted -2deg
     body              theme serif             17.6px / 27.2px, black
     labels & buttons  "Barlow Condensed"
     brown             #675743   gold rule #C2A01E   wine red #4A0D17

   Backgrounds are the homepage's own uploads: the fold, the ripped paper, the
   tilted parchment card, the wide parchment behind the contact form. */

.docente-club {
  --club-brown: #675743;
  --club-red: #4A0D17;
  --club-gold: #C2A01E;
  --club-serif: "Times New Roman", serif;
  --club-script: "Beneath The Silence", cursive;
  --club-hand: "Caveat", cursive;
  --club-sans: "Barlow Condensed", sans-serif;
  --club-max: 82.5rem; /* 1320px, the homepage's content width */

  overflow-x: hidden;
  background: var(--club-brown);
  color: #000;
  font-family: var(--club-serif);
  font-size: 1.1rem;
  line-height: 1.55;
}

/* Plain body paragraphs only. Every classed paragraph below is prefixed with
   .docente-club so it out-ranks this rule and keeps its own margins. */
.docente-club p {
  margin: 0 0 1rem;
}

/* ─── Type ─── */
/* !important throughout the headings: the theme's global typography sets h2
   to 80px/48px and h3 to 64px in the script face with enough weight to beat a
   plain class, which collapsed "Why a Wine Club?" onto the line below it and
   turned "How it works" into a 64px display heading. */
.docente-club__title {
  margin: 0 0 0.5rem !important;
  font-family: var(--club-script) !important;
  font-weight: 400 !important;
  font-size: 3rem !important;
  line-height: 1.15 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: var(--club-red) !important;
}

.docente-club__title--hero {
  font-size: 5rem !important;
  line-height: 0.95 !important;
  margin-bottom: 1.25rem !important;
}

.docente-club .docente-club__eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--club-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: var(--club-red);
}

.docente-club .docente-club__lead {
  display: inline-block;
  margin: 0.5rem 0 1.5rem;
  font-family: var(--club-hand);
  font-size: 1.3rem;
  line-height: 1.3;
  transform: rotate(-2deg);
  transform-origin: left center;
}

.docente-club .docente-club__subhead {
  max-width: 34rem;
  margin: 0 0 0.5rem;
}

.docente-club .docente-club__note {
  margin: 0.75rem 0 0;
  font-family: var(--club-sans);
  font-size: 1rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  color: var(--club-red);
}

.docente-club__subtitle {
  margin: 1.5rem 0 0.5rem !important;
  font-family: var(--club-sans) !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.05rem !important;
  text-transform: uppercase !important;
  color: var(--club-red) !important;
}

.docente-club__list {
  margin: 0 0 0.5rem;
  padding-left: 1.25rem;
  list-style: none;
}

.docente-club__list li {
  position: relative;
  margin-bottom: 0.5rem;
}

.docente-club__list li::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: 0.6em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--club-gold);
  transform: rotate(45deg);
}

/* ─── 1. Hero ─── */
.docente-club__hero {
  background: var(--club-brown);
}

/* The homepage opens with this exact image, full width. */
.docente-club__fold {
  display: block;
  width: 100%;
  height: auto;
}

.docente-club__hero-paper {
  background-image: url("https://docentewines.com/wp-content/uploads/2026/05/ripped-paper-background1.webp");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.docente-club__hero-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: var(--club-max);
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}

.docente-club__hero-copy {
  flex: 0 1 34rem;
}

.docente-club__hero-art {
  flex: 1 1 0;
  min-width: 0;
}

.docente-club__hero-art img {
  display: block;
  width: 100%;
  height: auto;
}

/* ─── 2–4. Parchment cards ─── */
.docente-club__band {
  background: var(--club-brown);
  padding: 3rem 0 0;
}

.docente-club__row {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: var(--club-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* The tilted sheet from "The Vineyard": 640x912 at `cover` on the homepage.
   Stretched to the card here instead, so a card can grow with its copy (the
   FAQ) without the sheet's torn edges sliding away from the text. */
.docente-club__card {
  flex: 0 0 40rem;
  max-width: 100%;
  min-height: 57rem;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  background-image: url("https://docentewines.com/wp-content/uploads/2026/06/thevineyard-piece-of-paper-image.webp");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.docente-club__card-inner {
  width: 100%;
  padding: 0 6rem 0 5.5rem;
}

.docente-club__art {
  flex: 1 1 0;
  min-width: 0;
  align-self: flex-end;
}

.docente-club__art img {
  display: block;
  width: 100%;
  height: auto;
}

/* Three reds, sitting on the brown beside the card. */
.docente-club__art--wines {
  align-self: center;
}

.docente-club-wines {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2rem;
}

.docente-club-wines__item {
  flex: 1 1 0;
  max-width: 14rem;
  margin: 0;
  text-align: center;
}

.docente-club-wines__img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 24rem;
  margin: 0 auto 0.75rem;
  filter: drop-shadow(4px 12px 16px rgba(0, 0, 0, 0.35));
}

.docente-club-wines__name {
  display: block;
  font-family: var(--club-script);
  font-size: 2.2rem;
  line-height: 1;
  color: #f3ead9;
}

.docente-club-wines__sub {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--club-sans);
  font-size: 0.95rem;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  color: #f3ead9;
}

/* FAQ */
.docente-club__faq {
  margin: 0;
}

.docente-club__faq dt {
  margin: 0.9rem 0 0.2rem;
  font-family: var(--club-sans);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04rem;
  color: var(--club-red);
}

.docente-club__faq dd {
  margin: 0 0 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 0.0625rem solid rgba(74, 13, 23, 0.18);
  font-size: 1rem;
  line-height: 1.5;
}

.docente-club__faq dd:last-child {
  border-bottom: none;
}

/* ─── 5. Join ─── */
.docente-club__join {
  background: var(--club-brown);
  padding: 4rem 0 5rem;
}

/* The wide parchment behind the homepage contact form. */
.docente-club__join-paper {
  max-width: var(--club-max);
  margin: 0 auto;
  padding: 6rem 2rem 7rem;
  text-align: center;
  background-image: url("https://docentewines.com/wp-content/uploads/2026/06/thevineyard-section-background-image-scaled.webp");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.docente-club .docente-club__join-paper .docente-club__lead {
  transform: none;
  font-size: 1.4rem;
}

.docente-club__join-paper .docente-club-join {
  margin-top: 0.5rem;
}

.docente-club .docente-club__fineprint {
  max-width: 36rem;
  margin: 1.75rem auto 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--club-red);
  opacity: 0.85;
}

.docente-club__fineprint a {
  color: var(--club-red);
  text-decoration: underline;
}

.docente-club .docente-club__tagline {
  margin: 1.5rem 0 0;
  font-family: var(--club-sans);
  font-size: 0.9rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  color: var(--club-red);
}

/* ─── Join button ───
   The painted-brush button the store uses for Add to Cart, on both
   Commerce7's rendered Club Join button and the pre-launch placeholder. */
.docente-club-join {
  margin-top: 1.5rem;
}

.docente-club-btn,
.docente-club-join .c7-club-join-button a,
.docente-club-join .c7-club-join-button button {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  font-family: var(--club-sans) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  background-color: transparent !important;
  background-image: url("https://docentewines.com/wp-content/uploads/2026/06/add_to_cart_background_image_button.png") !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.docente-club-btn:hover,
.docente-club-join .c7-club-join-button a:hover,
.docente-club-join .c7-club-join-button button:hover {
  opacity: 0.85;
  color: #fff !important;
}

.docente-club-btn--soon {
  cursor: default;
  opacity: 0.85;
}

/* ─── Tablet ─── */
@media (max-width: 1024px) {
  .docente-club__hero-inner {
    flex-direction: column;
    padding: 3.5rem 1.5rem 4rem;
    text-align: center;
  }
  .docente-club__hero-copy {
    flex: 0 0 auto;
  }
  .docente-club__subhead {
    margin-left: auto;
    margin-right: auto;
  }
  .docente-club__hero-art {
    width: 100%;
    max-width: 40rem;
  }
  .docente-club__row {
    flex-direction: column;
    padding: 0 1.5rem;
  }
  .docente-club__card {
    flex: 0 0 auto;
    width: 40rem;
  }
  .docente-club__art {
    align-self: center;
    width: 100%;
    max-width: 40rem;
  }
  .docente-club__title--hero {
    font-size: 4rem !important;
  }
}

/* ─── Phone ─── */
@media (max-width: 767px) {
  .docente-club {
    font-size: 1rem;
  }
  .docente-club__title--hero {
    font-size: 3rem !important;
  }
  .docente-club__title {
    font-size: 2.4rem !important;
  }
  .docente-club__card {
    width: 100%;
    min-height: 0;
    padding: 3.5rem 0;
    /* The torn sheet stretched to a tall narrow column looks wrong; a plain
       parchment tone with the same tint keeps the card legible. */
    background: #e6d9c6;
  }
  .docente-club__card-inner {
    padding: 0 1.5rem;
  }
  .docente-club-wines {
    flex-wrap: wrap;
    gap: 1.25rem;
  }
  .docente-club-wines__item {
    flex: 1 1 40%;
    max-width: 10rem;
  }
  .docente-club-wines__img {
    max-height: 15rem;
  }
  .docente-club__join-paper {
    padding: 3rem 1.25rem 3.5rem;
    background: #e6d9c6;
  }
  .docente-club-btn,
  .docente-club-join .c7-club-join-button a,
  .docente-club-join .c7-club-join-button button {
    display: block;
    text-align: center;
  }
}

/* ================================================
   VINEYARD SOCIETY PAGE: ACCORDIONS
   ================================================
   Built by docente-society-accordion.js on top of the Elementor page. The
   question and title text keep the classes Elementor gave them, so their font,
   size and colour are exactly what they were; everything below only resets
   the button the text now sits in, adds the plus/minus in the site's wine red,
   and a hairline between items in the same red at low strength. */

.docente-acc__item {
  border-bottom: 0.0625rem solid rgba(74, 13, 23, 0.18);
}

.docente-acc__list {
  border-top: 0.0625rem solid rgba(74, 13, 23, 0.18);
}

.docente-acc--why .docente-acc__list {
  margin-top: 1.5rem;
}

.docente-acc .docente-acc__head {
  margin: 0 !important;
}

/* The theme styles every <button>; this one has to look like the text it holds. */
.docente-acc .docente-acc__toggle,
.docente-acc .docente-acc__toggle:hover,
.docente-acc .docente-acc__toggle:focus,
.docente-acc .docente-acc__toggle:active {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.25rem !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 1rem 0 !important;
  font: inherit !important;
  letter-spacing: inherit !important;
  text-transform: inherit !important;
  text-align: left !important;
  color: inherit !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
}

.docente-acc .docente-acc__toggle:focus-visible {
  outline: 0.125rem solid #C2A01E !important;
  outline-offset: 0.25rem !important;
}

.docente-acc__label {
  flex: 1 1 auto;
}

/* Plus that turns into a minus when open. */
.docente-acc__icon {
  position: relative;
  flex: 0 0 0.875rem;
  width: 0.875rem;
  height: 0.875rem;
}

.docente-acc__icon::before,
.docente-acc__icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 0.125rem;
  background: #4A0D17;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.docente-acc__icon::after {
  transform: translateY(-50%) rotate(90deg);
}

.docente-acc__item.is-open .docente-acc__icon::after {
  transform: translateY(-50%) rotate(0deg);
}

.docente-acc .docente-acc__panel {
  margin: 0 !important;
  padding: 0 2.25rem 1.25rem 0;
}

.docente-acc .docente-acc__panel[hidden] {
  display: none !important;
}
