/*
Theme Name: Epic Again — Lanternbright
Theme URI: https://fantasyrpgadventures.com/
Author: Epic Again
Description: A colorful Bootstrap 5 classic WordPress theme with an editable global hero, Classic Editor-friendly pages, accessible navigation, and WooCommerce support. Pairs with Epic Again Core.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: epic-again
Tags: custom-logo, custom-menu, featured-images, theme-options, e-commerce, blog, one-column, two-columns
*/


/* ============================================
   EPIC AGAIN | HOMEPAGE STYLES
   Lanternbright Visual Identity v1.0
   For WordPress Additional CSS
============================================ */

/* BASE */
.ea-home {
  --home-ink: var(--ea-ink, #23313A);
  --home-mist: var(--ea-mist, #ACDECF);
  --home-gold: var(--ea-gold, #F2C65D);
  --home-teal: var(--ea-teal, #278A87);
  --home-parchment: var(--ea-parchment, #FFF5E6);
  color: var(--home-ink);
}

.ea-home,
.ea-home * {
  box-sizing: border-box;
}

.ea-home-section {
  margin: 0 0 clamp(80px, 9vw, 135px);
}

.ea-home h2,
.ea-entry-content .ea-home h2 {
  font-size: clamp(2rem, 3.5vw, 3.55rem);
  line-height: 1.12;
  letter-spacing: -.045em;
  margin: 0 0 18px;
  max-width: 20ch;
}

.ea-home h3,
.ea-entry-content .ea-home h3 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 1.7vw, 1.63rem);
}

.ea-home p {
  line-height: 1.76;
}

.ea-home .ea-home-kicker {
  max-width: none;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 850;
  color: #13736f;
  font-size: .74rem;
  margin: 0 0 16px;
}

.ea-home a:not(.ea-home-button):focus-visible,
.ea-home .ea-home-button:focus-visible {
  outline: 3px solid #874DB5;
  outline-offset: 3px;
}

/* ============================================
   INTRODUCTION
============================================ */

.ea-home-intro {
  position: relative;
  max-width: 950px;
  padding: 10px 10px 74px;
  margin: 0 auto clamp(90px, 10vw, 140px);
  text-align: center;
}

.ea-home-intro__ornament {
  font-size: 2.5rem;
  color: #D3A348;
  margin-bottom: 12px;
}

.ea-home-intro h2,
.ea-entry-content .ea-home-intro h2 {
  margin: 0 auto 22px;
  max-width: 22ch;
}

.ea-home-intro__body {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.11rem;
}

.ea-home-intro__body p {
  max-width: unset;
  margin-bottom: 15px;
}

.ea-home-intro__signoff {
  display: inline-block;
  margin-top: 22px;
  font-weight: 800;
  background: #E1F2EB;
  border: 1px solid #B6D9D1;
  padding: 12px 21px;
  border-radius: 50px;
  font-size: .9rem;
}

/* ============================================
   SECTION HEADINGS
============================================ */

.ea-home-heading {
  max-width: 860px;
  margin: 0 auto 40px;
  text-align: center;
}

.ea-home-heading h2,
.ea-entry-content .ea-home-heading h2 {
  max-width: 22ch;
  margin-inline: auto;
}

.ea-home-heading > p:last-child {
  max-width: 690px;
  margin: 0 auto;
  color: #536269;
  font-size: 1.08rem;
}

/* ============================================
   SIX EXPLORATION PATHWAY CARDS
============================================ */

.ea-home-path {
  --path-accent: var(--ea-teal, #278A87);
  height: 100%;
  min-height: 375px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #FFFDF8;
  border: 1px solid #EADFD0;
  border-top: 7px solid var(--path-accent);
  border-radius: 20px;
  padding: 20px 24px 26px;
  box-shadow: 0 15px 35px rgba(25,78,82,.055);
  text-decoration: none !important;
  color: var(--home-ink) !important;
  transition: transform .2s ease, box-shadow .2s ease;
}

.ea-home-path:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px rgba(25,78,82,.12);
}

/* Individual pathway colors */

.ea-home-path--teal {
  --path-accent: #278A87;
  background: linear-gradient(
    180deg, #E4F6EF, #FFFCF6 76%
  );
}

.ea-home-path--coral {
  --path-accent: #E77B6A;
  background: linear-gradient(
    180deg, #FBE6DF, #FFFCF6 76%
  );
}

.ea-home-path--sage {
  --path-accent: #93B88B;
  background: linear-gradient(
    180deg, #EBF2DC, #FFFCF6 76%
  );
}

.ea-home-path--lilac {
  --path-accent: #BDA6DB;
  background: linear-gradient(
    180deg, #F0E5F6, #FFFCF6 76%
  );
}

.ea-home-path--gold {
  --path-accent: #E4B548;
  background: linear-gradient(
    180deg, #FFF0C8, #FFFCF6 76%
  );
}

.ea-home-path--mist {
  --path-accent: #78BDB1;
  background: linear-gradient(
    180deg, #E3F3F5, #FFFCF6 76%
  );
}

.ea-home-path__art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 150px;
  margin-bottom: 10px;
}

.ea-home-path__art img {
  display: block;
  max-height: 150px;
}

.ea-home-path__label {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .67rem;
  font-weight: 900;
  color: #426568;
  margin-bottom: 6px;
}

.ea-home-path__title {
  font-family: var(--ea-display-font, system-ui);
  font-size: 1.59rem;
  font-weight: 850;
  line-height: 1.25;
  margin-bottom: 12px;
}

.ea-home-path__description {
  font-size: .94rem;
  line-height: 1.65;
  color: #42525a;
  flex-grow: 1;
}

.ea-home-path__action {
  margin-top: 19px;
  font-weight: 800;
  color: #116763;
  font-size: .84rem;
}

/* ============================================
   START SMALL SECTION
============================================ */

.ea-home-small {
  background: #FFF4DF;
  border: 1px solid #F0E2C2;
  border-radius: 28px;
  padding: clamp(30px, 5vw, 65px);
}

.ea-home-small__lead {
  max-width: 760px;
  margin-bottom: 34px;
}

.ea-home-small__lead h2 {
  max-width: 22ch;
}

.ea-home-small__lead p:last-child {
  max-width: 700px;
  color: #52616a;
}

.ea-home-step {
  height: 100%;
  padding: 26px 22px;
  border-radius: 20px;
  background: #FFFEF9;
  border: 1px solid #F0E4D1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ea-home-step__art {
  height: 83px;
  display: flex;
  align-items: center;
}

.ea-home-step__index {
  font-size: .7rem;
  letter-spacing: .13em;
  font-weight: 900;
  color: #297e7b;
  display: block;
  margin: 12px 0 9px;
}

.ea-home-step h3 {
  font-size: 1.35rem;
}

.ea-home-step p {
  font-size: .94rem;
  color: #57676a;
  flex-grow: 1;
  margin-bottom: 15px;
}

.ea-home-step a {
  font-weight: 800;
  font-size: .86rem;
  text-decoration: none;
}

/* ============================================
   GRAILWOOD FEATURE
============================================ */

.ea-home-grailwood {
  position: relative;
  background:
    radial-gradient(
      circle at 90% 0%,
      rgba(189,166,219,.26),
      transparent 35%
    ),
    linear-gradient(130deg, #164649, #1F6563);
  color: #FFF9EC;
  border-radius: 30px;
  padding: clamp(32px, 5vw, 74px);
  overflow: hidden;
}

.ea-home-grailwood::before {
  position: absolute;
  content: '✧';
  font-size: 270px;
  line-height: 1;
  right: -24px;
  bottom: -80px;
  color: rgba(255,255,255,.055);
  pointer-events: none;
}

.ea-home-grailwood__frame {
  background: linear-gradient(
    135deg,
    #E3F6D9,
    #ACE0CE 45%,
    #DBCCE9
  );
  border: 8px solid #EBCB7B;
  box-shadow: 0 17px 0 rgba(0,0,0,.12);
  border-radius:
    50% 50% 33% 33% /
    40% 40% 20% 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 350px;
  aspect-ratio: 1;
  margin: auto;
  padding: 20px;
}

.ea-home-grailwood__frame img {
  width: 100% !important;
  height: auto !important;
}

.ea-home-grailwood .ea-home-kicker {
  color: #F3D37C;
}

.ea-home-grailwood h2,
.ea-entry-content .ea-home-grailwood h2 {
  color: #FFF8E6;
  max-width: 20ch;
}

.ea-home-grailwood p {
  color: #EAF5EE;
  max-width: 68ch;
}

/* ============================================
   BUTTONS AND LINKS
============================================ */

.ea-home .ea-home-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px 24px;
  margin-top: 25px;
}

.ea-home-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 14px 21px;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 850;
  text-decoration: none !important;
  transition:
    transform .15s ease,
    box-shadow .15s ease;
}

.ea-home-button:hover {
  transform: translateY(-2px);
}

.ea-home-button--gold {
  background: #F2C65D;
  color: #23313A !important;
  box-shadow: 0 4px 0 #C8A34F;
}

.ea-home-button--teal {
  background: #217D79;
  color: #FFFFFF !important;
  box-shadow: 0 4px 0 #155A58;
}

.ea-home-button--outline {
  border: 2px solid #FFF4D7;
  background: transparent;
  color: #FFF4D7 !important;
}

.ea-home-textlink {
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #1B6867 !important;
}

.ea-home-textlink--light {
  color: #FFF1C5 !important;
}

.ea-home .ea-home-note {
  font-size: .78rem;
  line-height: 1.55;
  opacity: .86;
  margin-top: 22px;
}

/* ============================================
   FROM SCREEN TO STORY
============================================ */

.ea-home-game h2 {
  max-width: 22ch;
}

.ea-home-game p:not(.ea-home-kicker) {
  max-width: 66ch;
}

.ea-home-game__motif {
  min-height: 390px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: center;
  justify-content: center;
  align-items: center;
  border-radius: 29px;
  background:
    radial-gradient(
      circle at 75% 20%,
      #F5D98C 0,
      transparent 42%
    ),
    linear-gradient(145deg, #E2EEE2, #D7E9EF 70%);
  border: 1px solid #B9D7C7;
  padding: 35px;
}

.ea-home-game__motif-main {
  width: 100%;
  text-align: center;
}

.ea-home-game__motif > span img {
  filter: drop-shadow(
    0 8px 9px rgba(35,49,58,.10)
  );
}

.ea-home-game__caption {
  width: 100%;
  text-align: center;
  letter-spacing: .12em;
  font-weight: 850;
  font-size: .7rem;
  color: #2C6564;
  margin-top: 5px;
}

/* ============================================
   LATEST ARTICLES / JOURNAL
============================================ */

.ea-home-heading--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  text-align: left;
  max-width: unset;
  gap: 20px;
}

.ea-home-heading--split h2 {
  margin-left: 0;
  max-width: 25ch;
}

.ea-home-heading--split p:last-child {
  margin-left: 0;
}

.ea-home-journal .ea-content-browser {
  margin-top: 12px;
}

.ea-home-journal .ea-core-card-grid {
  margin-top: 9px;
}

/* ============================================
   COMMUNITY AND PODCAST
============================================ */

.ea-home-gather {
  padding: clamp(30px, 5vw, 66px);
  background: #EAF5EE;
  border: 1px solid #D2E5DB;
  border-radius: 28px;
}

.ea-home-gather .ea-home-heading {
  max-width: 850px;
}

.ea-home-gather-card {
  height: 100%;
  background: #FFFDF8;
  border: 1px solid #D9E6DF;
  border-radius: 22px;
  padding: clamp(23px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ea-home-gather-card--podcast {
  background: #F5EEF9;
  border-color: #E9D6ED;
}

.ea-home-gather-card h3 {
  margin-top: 17px;
}

.ea-home-gather-card p {
  flex-grow: 1;
  max-width: 65ch;
  color: #46555B;
}

.ea-home-gather-card a {
  font-weight: 850;
  text-decoration: none;
}

/* ============================================
   MAKER'S STALL / STORE
============================================ */

.ea-home-maker {
  padding: clamp(25px, 4vw, 52px);
  border: 1px solid #E9DDC5;
  border-radius: 26px;
  background: linear-gradient(
    130deg,
    #FFF6E8,
    #F7EDDA
  );
}

.ea-home-maker h2 {
  max-width: 25ch;
}

.ea-home-maker p {
  color: #46575b;
}

.ea-home-maker__action {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

/* ============================================
   CLOSING INVITATION
============================================ */

.ea-home-closing {
  text-align: center;
  padding:
    clamp(42px, 5vw, 70px)
    clamp(20px, 3vw, 35px);
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 15% 100%,
      rgba(242,198,93,.22),
      transparent 28%
    ),
    linear-gradient(130deg, #1F6563, #194E52);
  color: #FFF9EC;
}

.ea-home-closing__spark {
  font-size: 2.5rem;
  color: #F2C65D;
}

.ea-home-closing .ea-home-kicker {
  color: #F4D275;
}

.ea-home-closing h2,
.ea-entry-content .ea-home-closing h2 {
  margin-inline: auto;
  color: #FFF9EC;
  max-width: 24ch;
}

.ea-home-closing p:not(.ea-home-kicker) {
  color: #E6F8EE;
  max-width: 690px;
  margin: 0 auto;
}

.ea-home-actions--center {
  justify-content: center;
}

/* ============================================
   TABLET RESPONSIVE
============================================ */

@media (max-width: 991px) {
  .ea-home-path {
    min-height: 350px;
  }

  .ea-home-heading--split {
    align-items: flex-start;
    flex-direction: column;
  }

  .ea-home-grailwood__illustration {
    order: 2;
  }

  .ea-home-grailwood__copy {
    order: 1;
  }

  .ea-home-grailwood__frame {
    max-width: 290px;
  }
}

/* ============================================
   MOBILE RESPONSIVE
============================================ */

@media (max-width: 767px) {
  .ea-home-section {
    margin-bottom: 75px;
  }

  .ea-home-path__art {
    height: 132px;
  }

  .ea-home-path {
    min-height: auto;
  }

  .ea-home-small,
  .ea-home-gather,
  .ea-home-grailwood,
  .ea-home-maker {
    padding: 26px 20px;
  }

  .ea-home-intro {
    padding-bottom: 25px;
    margin-bottom: 75px;
  }

  .ea-home-grailwood__frame {
    max-width: 240px;
  }

  .ea-home-game__motif {
    min-height: 280px;
  }

  .ea-home-gather-card {
    padding: 25px;
  }

  .ea-home h2,
  .ea-entry-content .ea-home h2 {
    font-size: clamp(1.8rem, 8.2vw, 2.7rem);
  }
}

/* ============================================
   ACCESSIBILITY
============================================ */

@media (prefers-reduced-motion: reduce) {
  .ea-home-path,
  .ea-home-button {
    transition: none;
  }

  .ea-home-path:hover,
  .ea-home-button:hover {
    transform: none;
  }
}
