/*
 Theme Name:   DCCi Portal Child
 Template:     astra
 Version:      1.0.0
*/

/* Start your custom styles below this line */

/* ============================================================
   PERCEIVED WIDTH IMPROVEMENTS
   Bumps the main homepage sections from 1160px → 1320px.
   Hero wrap and explore-transition match.
   No colours, spacing, or typography changed.
   ============================================================ */

/* Hero image container */
.dcci-hero-wrap {
  max-width: 1320px;
}

/* "Explore the portal" label + divider */
.dcci-explore-transition {
  max-width: 1320px;
}

/* Five-card portal navigation grid */
.dcci-card-grid-section {
  max-width: 1320px;
}

/* Partner spotlight — two-column org card */
.dcci-spotlight-inner {
  max-width: 900px;
}

/* Scrolling partner logo strip */
.dcci-partners-inner {
  max-width: 1320px;
}

/* Testimonials three-column grid */
.dcci-testimonials-inner {
  max-width: 1320px;
}

/* "Explore learning by area of practice" pillar cards */
.dcci-pillars-inner {
  max-width: 1320px;
}

/* Support / help strip */
.dcci-support-inner {
  max-width: 1320px;
}
/* ============================================================
   SECTION SEPARATION — subtle alternating background tints
   All values are semi-transparent so the fixed portal-bg
   gradient still shows through softly underneath.
   No borders, no hard lines — just gentle tonal shifts.
   ============================================================ */

/*
  Section order on the homepage:
  1. Hero + card grid      — transparent (portal-bg shows directly)
  2. Spotlight band        — very soft white wash
  3. Partners logo strip   — soft lilac veil
  4. Testimonials          — delicate warm blush
  5. Pillars grid          — cool pale lavender
  6. Support strip         — already has its own tint (untouched)

  Top padding is added to each band so the tint has breathing
  room above the content, matching the existing bottom padding.
*/

/* 2. Spotlight — faint white wash lifts it off the hero/cards above */
.dcci-spotlight-band {
  background: rgba(255, 255, 255, 0.32);
  padding-top: 72px;
}

/* 3. Partners logo strip — soft lilac veil, slightly cooler */
.dcci-partners-band {
  background: rgba(220, 210, 245, 0.28);
  padding-top: 80px;
}

/* 4. Testimonials — warm blush, gently distinct from the lilac above */
.dcci-testimonials-band {
  background: rgba(255, 232, 242, 0.30);
  padding-top: 88px;
}

/* 5. Pillars — cool pale lavender, balances the warmth of testimonials */
.dcci-pillars-band {
  background: rgba(235, 228, 252, 0.32);
  padding-top: 88px;
}
/* ============================================================
   GET ACCESS SECTION — dcci-access-*
   ============================================================ */

.dcci-access-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.dcci-access-section::before,
.dcci-access-section::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.dcci-access-section::before {
  width: 420px; height: 380px;
  top: -120px; left: -140px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(155,89,182,0.13) 0%, transparent 70%);
}
.dcci-access-section::after {
  width: 360px; height: 320px;
  bottom: -100px; right: -80px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(233,30,99,0.09) 0%, transparent 70%);
}

.dcci-access-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 72px 32px 80px;
  max-width: 960px;
  margin: 0 auto;
}

.dcci-access-dots {
  position: absolute;
  top: 24px; right: 24px;
  width: 80px; height: 80px;
  background-image: radial-gradient(circle, rgba(62,30,103,0.12) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.dcci-access-eyebrow {
  display: inline-block;
  font-family: var(--dcc-font, 'Montserrat', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e91e63;
  margin-bottom: 18px;
}

.dcci-access-heading {
  font-family: var(--dcc-font, 'Montserrat', sans-serif);
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  color: #3e1e67;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.dcci-access-sub {
  font-family: var(--dcc-font, 'Montserrat', sans-serif);
  font-size: 15px;
  font-weight: 500;
  color: #3e1e67;
  opacity: 0.55;
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto 52px;
}

.dcci-access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}

.dcci-access-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px 32px 96px;
  text-decoration: none;
  display: block;
  border: 2px solid rgba(62,30,103,0.07);
  box-shadow: 0 4px 24px rgba(62,30,103,0.10);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
}
.dcci-access-card--org        { border-top: 4px solid #8d2f88; }
.dcci-access-card--individual { border-top: 4px solid #2aaa70; }
.dcci-access-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 52px rgba(62,30,103,0.18);
}
.dcci-access-card--org:hover        { border-color: rgba(141,47,136,0.22); }
.dcci-access-card--individual:hover { border-color: rgba(42,170,112,0.22); }

.dcci-access-blob {
  position: absolute;
  bottom: -28px;
  right: -28px;
  width: 155px;
  height: 155px;
  opacity: 0.13;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.dcci-access-card--org .dcci-access-blob {
  background: #8d2f88;
  border-radius: 62% 38% 52% 48% / 44% 56% 44% 56%;
}
.dcci-access-card--individual .dcci-access-blob {
  background: #2aaa70;
  border-radius: 42% 58% 66% 34% / 58% 42% 62% 38%;
}
.dcci-access-card:hover .dcci-access-blob {
  opacity: 0.20;
  transform: scale(1.07);
}

.dcci-access-blob-icon {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 38px;
  height: 38px;
  z-index: 1;
  pointer-events: none;
  transition: transform 0.22s ease;
}
.dcci-access-card:hover .dcci-access-blob-icon {
  transform: scale(1.12) translateY(-4px);
}

.dcci-access-card-heading {
  font-family: var(--dcc-font, 'Montserrat', sans-serif);
  font-size: 18px;
  font-weight: 800;
  color: #3e1e67;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.25;
}

.dcci-access-card-body {
  font-family: var(--dcc-font, 'Montserrat', sans-serif);
  font-size: 13.5px;
  font-weight: 500;
  color: #3e1e67;
  opacity: 0.58;
  line-height: 1.65;
  margin-bottom: 28px;
}

.dcci-access-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--dcc-font, 'Montserrat', sans-serif);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: gap 0.18s ease;
}
.dcci-access-cta--org        { color: #8d2f88; }
.dcci-access-cta--individual { color: #2aaa70; }
.dcci-access-card:hover .dcci-access-cta     { gap: 10px; }
.dcci-access-card:hover .dcci-access-cta svg { transform: translateX(3px); }
.dcci-access-cta svg { transition: transform 0.18s ease; flex-shrink: 0; }

.dcci-access-tiers {
  display: flex;
  gap: 7px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.dcci-access-tier {
  font-family: var(--dcc-font, 'Montserrat', sans-serif);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 40px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-shadow:
    0  1px 1px rgba(255,255,255,0.45),
    0 -1px 2px rgba(0,0,0,0.28),
    0  0   3px rgba(0,0,0,0.08);
  box-shadow:
    0 2px 5px rgba(0,0,0,0.20),
    inset 0 1px 2px rgba(255,255,255,0.55),
    inset 0 -1px 2px rgba(0,0,0,0.16);
  transition: opacity 0.18s ease;
}

.dcci-access-tier--bronze {
  color: #2a0e00;
  background: linear-gradient(
    160deg,
    #f5b578 0%, #d4894a 18%,
    #fac888 32%, #c07838 50%,
    #e8a860 68%, #a86030 82%,
    #d89050 100%
  );
}

.dcci-access-tier--silver {
  color: #111;
  background: linear-gradient(
    160deg,
    #f0f0f0 0%, #c8c8c8 18%,
    #fafafa 32%, #a8a8a8 50%,
    #e0e0e0 68%, #b8b8b8 82%,
    #d8d8d8 100%
  );
}
.dcci-access-tier--silver.is-soon { opacity: 0.65; }

.dcci-access-tier--gold {
  color: #1e0e00;
  opacity: 0.65;
  background: linear-gradient(
    160deg,
    #fce080 0%, #d4a828 18%,
    #faec90 32%, #b08800 50%,
    #eacc40 68%, #9a7808 82%,
    #e0b830 100%
  );
}

.dcci-tier-tag {
  font-family: var(--dcc-font, 'Montserrat', sans-serif);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 20px;
  line-height: 1.4;
  text-shadow: none;
}
.dcci-tier-tag--pilot {
  background: rgba(180,100,0,0.18);
  color: #7a3e00;
  border: 1px solid rgba(180,100,0,0.22);
}
.dcci-access-tier--silver .dcci-tier-tag--pilot {
  background: rgba(0,0,0,0.13);
  color: #333;
  border-color: rgba(0,0,0,0.16);
}
.dcci-tier-tag--soon {
  background: rgba(0,0,0,0.13);
  color: inherit;
  border: 1px solid rgba(0,0,0,0.14);
  opacity: 0.80;
}

.dcci-access-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 780px;
  margin: 48px auto 0;
}
.dcci-access-divider::before,
.dcci-access-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(62,30,103,0.12);
}
.dcci-access-signin {
  font-family: var(--dcc-font, 'Montserrat', sans-serif);
  font-size: 13.5px;
  font-weight: 500;
  color: #3e1e67;
  opacity: 0.55;
  white-space: nowrap;
}
.dcci-access-signin a {
  color: #e91e63;
  font-weight: 800;
  text-decoration: none;
  opacity: 1;
}
.dcci-access-signin a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .dcci-access-inner  { padding: 48px 20px 56px; }
  .dcci-access-grid   { grid-template-columns: 1fr; }
  .dcci-access-signin { white-space: normal; text-align: center; }
  .dcci-access-divider::before,
  .dcci-access-divider::after { display: none; }
}