/* =========================================================
   CEA Canvas Catalog Storefront
   George Shinn College of Entertainment & the Arts
   Hybrid page: custom intro + live Canvas Catalog courses
   ========================================================= */

:root {
  --cea-purple: #2d075f;
  --cea-purple-dark: #25004f;
  --cea-gold: #b59a42;
  --cea-gold-bright: #f6a400;
  --cea-cream: #fbf6e8;
  --cea-text: #252525;
  --cea-muted: #5a5362;
  --cea-white: #ffffff;
  --cea-border: rgba(45, 7, 95, 0.16);
  --cea-max: 1240px;
}

/* Global storefront wrapper */
#cea-storefront-top,
#cea-storefront-bottom {
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--cea-text);
  background: var(--cea-white);
  font-family: inherit;
  line-height: 1.4;
  box-sizing: border-box;
}

#cea-storefront-top *,
#cea-storefront-top *::before,
#cea-storefront-top *::after,
#cea-storefront-bottom *,
#cea-storefront-bottom *::before,
#cea-storefront-bottom *::after {
  box-sizing: border-box;
}

#cea-storefront-top a,
#cea-storefront-bottom a {
  color: inherit;
  text-decoration: none;
}

#cea-storefront-top img,
#cea-storefront-bottom img {
  display: block;
  max-width: 100%;
}

.cea-container {
  width: min(var(--cea-max), calc(100% - 60px));
  margin: 0 auto;
}

/* =========================================================
   Hero
   ========================================================= */

.cea-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(
      90deg,
      rgba(15, 8, 28, 0.76) 0%,
      rgba(15, 8, 28, 0.46) 45%,
      rgba(15, 8, 28, 0.76) 100%
    ),
    url("https://lipscomb.edu/sites/default/files/image-banners-desktop/2026-02/IH_Theatre_1440x520_offset.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-top: 4px solid var(--cea-gold);
  border-bottom: 4px solid var(--cea-gold);
}

.cea-hero-inner {
  width: min(1000px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
  padding: 82px 0;
}

.cea-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 900;
  text-wrap: balance;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.42);
}

/* =========================================================
   Intro
   ========================================================= */

.cea-intro {
  text-align: center;
  padding: 90px 0 72px;
  background: #fff;
}

.cea-intro-inner {
  width: min(1120px, calc(100% - 60px));
  margin: 0 auto;
}

.cea-intro h2,
.cea-section-title {
  color: var(--cea-purple-dark);
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  line-height: 1.1;
  margin: 0 0 24px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.cea-intro p {
  max-width: 1080px;
  margin: 0 auto 20px;
  color: var(--cea-text);
  font-size: clamp(1.12rem, 1.75vw, 1.45rem);
  line-height: 1.28;
  font-family: Georgia, "Times New Roman", serif;
}

/* =========================================================
   Native Canvas Catalog Course Listing Integration
   ========================================================= */

/*
  We intentionally DO NOT hide the native Catalog content.
  This is where Canvas Catalog renders live, dynamic course listings.
*/

body.cea-storefront-active main,
body.cea-storefront-active [role="main"],
body.cea-storefront-active .main-content,
body.cea-storefront-active #main,
body.cea-storefront-active .content {
  display: block !important;
}

/* Style likely native course content containers */
body.cea-storefront-active main,
body.cea-storefront-active [role="main"] {
  width: min(var(--cea-max), calc(100% - 60px));
  margin: 0 auto;
  padding: 82px 0 96px;
  border-top: 3px solid var(--cea-gold);
  border-bottom: 3px solid var(--cea-gold);
}

/* Heading inserted by JS */
.cea-live-course-heading {
  width: min(var(--cea-max), calc(100% - 60px));
  margin: 0 auto;
  padding: 0 0 32px;
  text-align: center;
}

.cea-live-course-heading h2 {
  color: var(--cea-purple-dark);
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  line-height: 1.1;
  margin: 0 0 14px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.cea-live-course-heading p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--cea-text);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.35;
  font-family: Georgia, "Times New Roman", serif;
}

/* Give native Catalog cards/listings breathing room if these classes exist */
body.cea-storefront-active main .course,
body.cea-storefront-active main .catalog-listing,
body.cea-storefront-active main .listing,
body.cea-storefront-active [role="main"] .course,
body.cea-storefront-active [role="main"] .catalog-listing,
body.cea-storefront-active [role="main"] .listing {
  margin-bottom: 24px;
}

/* =========================================================
   Academic Programs Section
   ========================================================= */

.cea-academic-programs {
  padding: 100px 0 110px;
  background: #fff;
}

.cea-section-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 52px;
}

.cea-section-intro h2 {
  color: var(--cea-purple-dark);
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  line-height: 1.1;
  margin: 0 0 16px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.cea-section-intro p {
  margin: 0;
  color: var(--cea-text);
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
  line-height: 1.35;
  font-family: Georgia, "Times New Roman", serif;
}

.cea-program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.5vw, 52px);
}

.cea-program-card img {
  width: 100%;
  aspect-ratio: 1.48 / 1;
  object-fit: cover;
  margin-bottom: 26px;
}

.cea-program-card h3 {
  color: var(--cea-purple-dark);
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.cea-program-card p {
  margin: 0 0 24px;
  color: var(--cea-text);
  font-size: clamp(1.02rem, 1.25vw, 1.22rem);
  line-height: 1.3;
  font-family: Georgia, "Times New Roman", serif;
}

.cea-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--cea-text);
  font-weight: 900;
  font-size: 1.05rem;
}

.cea-cta::before {
  content: "";
  width: 32px;
  height: 32px;
  background: var(--cea-gold);
  border-radius: 50%;
  flex: 0 0 auto;
}

.cea-cta span {
  padding-bottom: 7px;
  border-bottom: 3px solid var(--cea-gold);
}

/* =========================================================
   Bottom CEA Website CTA
   ========================================================= */

.cea-connect {
  background: var(--cea-cream);
  padding: 92px 0;
}

.cea-connect-card {
  width: min(1040px, calc(100% - 60px));
  margin: 0 auto;
  background: var(--cea-purple-dark);
  color: #fff;
  border-top: 5px solid var(--cea-gold);
  padding: clamp(42px, 6vw, 72px);
  text-align: center;
}

.cea-connect-card h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  margin: 0 0 20px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.cea-connect-card p {
  max-width: 820px;
  margin: 0 auto 34px;
  color: #fff;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  line-height: 1.35;
  font-family: Georgia, "Times New Roman", serif;
}

.cea-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  background: var(--cea-gold);
  color: var(--cea-purple-dark) !important;
  font-weight: 900;
  border: 2px solid var(--cea-gold);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.cea-button:hover,
.cea-button:focus {
  transform: translateY(-2px);
  background: #fff;
  color: var(--cea-purple-dark) !important;
}

/* =========================================================
   Responsive
   ========================================================= */

@media screen and (max-width: 1000px) {
  .cea-program-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .cea-program-card {
    max-width: 760px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 760px) {
  .cea-container,
  .cea-intro-inner,
  .cea-live-course-heading,
  body.cea-storefront-active main,
  body.cea-storefront-active [role="main"] {
    width: min(100% - 36px, var(--cea-max));
  }

  .cea-hero {
    min-height: 350px;
  }

  .cea-hero-inner {
    padding: 64px 0;
  }

  .cea-hero h1 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .cea-intro {
    padding: 64px 0 56px;
  }

  body.cea-storefront-active main,
  body.cea-storefront-active [role="main"] {
    padding: 62px 0 74px;
  }

  .cea-academic-programs {
    padding: 72px 0 82px;
  }

  .cea-connect {
    padding: 64px 0;
  }

  .cea-connect-card {
    width: calc(100% - 36px);
    padding: 38px 26px;
  }
}

@media screen and (max-width: 480px) {
  .cea-program-card img {
    aspect-ratio: 1.25 / 1;
  }

  .cea-button {
    width: 100%;
  }
}