@charset "UTF-8";
@font-face {
  font-family: "Oswald";
  src: url("../../fonts/oswald/Oswald.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Merriweather";
  src: url("../../fonts/merriweather/Merriweather-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Merriweather";
  src: url("../../fonts/merriweather/Merriweather-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "Merriweather";
  src: url("../../fonts/merriweather/Merriweather-Italic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: "Merriweather";
  src: url("../../fonts/merriweather/Merriweather-BoldItalic.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
}
@font-face {
  font-family: "Merriweather";
  src: url("../../fonts/merriweather/Merriweather-LightItalic.ttf") format("truetype");
  font-weight: lighter;
  font-style: italic;
}
@font-face {
  font-family: "Merriweather";
  src: url("../../fonts/merriweather/Merriweather-Light.ttf") format("truetype");
  font-weight: lighter;
  font-style: normal;
}
/*
   Nunito Font Family Declaration
   Path: ../../fonts/nunito/static
*/
/* --- Regular (400) --- */
@font-face {
  font-family: "Nunito";
  src: url("../../fonts/nunito/static/Nunito-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Nunito";
  src: url("../../fonts/nunito/static/Nunito-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}
/* --- Medium (500) --- */
@font-face {
  font-family: "Nunito";
  src: url("../../fonts/nunito/static/Nunito-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Nunito";
  src: url("../../fonts/nunito/static/Nunito-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
}
/* --- Light (300) --- */
@font-face {
  font-family: "Nunito";
  src: url("../../fonts/nunito/static/Nunito-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Nunito";
  src: url("../../fonts/nunito/static/Nunito-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
}
/* --- ExtraLight (200) --- */
@font-face {
  font-family: "Nunito";
  src: url("../../fonts/nunito/static/Nunito-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: "Nunito";
  src: url("../../fonts/nunito/static/Nunito-ExtraLightItalic.ttf") format("truetype");
  font-weight: 200;
  font-style: italic;
}
/* --- SemiBold (600) / Bold (700) --- */
/* Note: Some fonts map "Bold" to 700 and others to 800 depending on the vendor.
   Below I have mapped Semi-Bold to 600 and Standard Bold to 700/800 based on Nunito's standard weights. */
@font-face {
  font-family: "Nunito";
  src: url("../../fonts/nunito/static/Nunito-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "Nunito";
  src: url("../../fonts/nunito/static/Nunito-SemiBoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
}
@font-face {
  font-family: "Nunito";
  src: url("../../fonts/nunito/static/Nunito-Bold.ttf") format("truetype");
  font-weight: 700;
  /* Or 800 depending on specific file metrics */
  font-style: normal;
}
@font-face {
  font-family: "Nunito";
  src: url("../../fonts/nunito/static/Nunito-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
}
/* --- ExtraBold (800) --- */
@font-face {
  font-family: "Nunito";
  src: url("../../fonts/nunito/static/Nunito-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: "Nunito";
  src: url("../../fonts/nunito/static/Nunito-ExtraBoldItalic.ttf") format("truetype");
  font-weight: 800;
  font-style: italic;
}
/* --- Black (900) --- */
@font-face {
  font-family: "Nunito";
  src: url("../../fonts/nunito/static/Nunito-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: "Nunito";
  src: url("../../fonts/nunito/static/Nunito-BlackItalic.ttf") format("truetype");
  font-weight: 900;
  font-style: italic;
}
#block-twogen-academy-homepagemissionblock div.paragraph {
  margin: 0;
}
#block-twogen-academy-homepagemissionblock #homepage-mission-content {
  width: 100%;
  background-color: #1C4853;
  padding: clamp(60px, 10vw, 100px) 24px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
#block-twogen-academy-homepagemissionblock #homepage-mission-content.is-visible {
  opacity: 1;
  transform: translateY(0);
}
#block-twogen-academy-homepagemissionblock #homepage-mission-content:hover {
  transform: none;
  box-shadow: none;
}
#block-twogen-academy-homepagemissionblock #homepage-mission-content::before {
  content: "";
  position: absolute;
  top: -20%;
  right: 5%;
  width: clamp(280px, 30vw, 420px);
  height: clamp(280px, 30vw, 420px);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
#block-twogen-academy-homepagemissionblock #homepage-mission-content::after {
  content: "";
  position: absolute;
  bottom: -15%;
  left: 6%;
  width: clamp(200px, 22vw, 320px);
  height: clamp(200px, 22vw, 320px);
  background: radial-gradient(circle, rgba(248, 156, 91, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
#block-twogen-academy-homepagemissionblock #homepage-mission-content .homepage-mission-title {
  color: #ffffff;
  font-size: clamp(2rem, 4vw + 0.5rem, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}
#block-twogen-academy-homepagemissionblock #homepage-mission-content .homepage-mission-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #F89C5B, #F36C42);
  border-radius: 2px;
}
#block-twogen-academy-homepagemissionblock #homepage-mission-content .homepage-mission-title:hover {
  color: #e6f7f5;
  transition: color 0.6s ease-out;
}
#block-twogen-academy-homepagemissionblock #homepage-mission-content .homepage-mission-text {
  color: white;
  font-size: clamp(1rem, 1.5vw + 0.25rem, 1.15rem);
  line-height: 1.75;
  margin-bottom: 0;
}

#block-twogen-academy-homepagewhatis2genblock {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
#block-twogen-academy-homepagewhatis2genblock.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#block-twogen-academy-views-block-upcoming-events-block-block-1 {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
#block-twogen-academy-views-block-upcoming-events-block-block-1.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767px) {
  #homepage-mission-content {
    padding: 48px 20px;
  }

  #homepage-mission-content .homepage-mission-title::after {
    width: 60px;
    height: 3px;
    bottom: -8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #homepage-mission-content,
#homepage-mission-content .homepage-mission-title {
    transition: none;
    opacity: 1;
    transform: none;
  }
}
section#block-twogen-academy-homepagemissionblock .contextual,
section#block-twogen-academy-homepagemissionblock .contextual-links {
  display: none !important;
}

.is-path-frontpage {
  /* --- Enhanced Block Styles --- */
  /* Responsive Refinements */
  /* ✅ Accessibility: Respect user motion preferences */
}
.is-path-frontpage .header {
  display: none;
}
.is-path-frontpage .content-grid-wrapper {
  position: relative;
  /* Enables decorative ::before border */
  display: flex;
  gap: 32px;
  padding: 40px;
  background-color: #fff;
  font-family: inherit;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(28, 72, 83, 0.06);
  /* Subtle dark teal shadow */
  /* Top accent gradient using your palette */
  /* Base animation state */
  /* Active state (toggled via JS) */
  /* Staggered reveal timing */
}
.is-path-frontpage .content-grid-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--twogen-teal) 0%, var(--twogen-coral) 50%, var(--twogen-peach) 100%);
  border-radius: 12px 12px 0 0;
}
.is-path-frontpage .content-grid-wrapper > * {
  opacity: 1;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.is-path-frontpage .content-grid-wrapper.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.is-path-frontpage .content-grid-wrapper.is-visible .grid-col-left {
  transition-delay: 0.1s;
}
.is-path-frontpage .content-grid-wrapper.is-visible .grid-col-right {
  transition-delay: 0.25s;
}
.is-path-frontpage .grid-col-left {
  flex: 2;
  min-width: 0;
}
.is-path-frontpage .grid-col-left h3 {
  margin: 0 0 12px;
  color: var(--twogen-darkteal);
  font-size: 1.75rem;
  line-height: 1.25;
  position: relative;
  display: inline-block;
  /* Decorative underline accent */
}
.is-path-frontpage .grid-col-left h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--twogen-teal);
  margin-top: 8px;
  border-radius: 2px;
  transition: width 0.3s ease;
}
.is-path-frontpage .grid-col-left h3:hover::after {
  width: 90px;
}
.is-path-frontpage .grid-col-left p {
  margin: 0 0 20px;
  color: #555;
  line-height: 1.7;
  font-size: 1.05rem;
}
.is-path-frontpage .grid-col-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 8px;
  transition: background-color 0.3s ease;
  /* Light teal tint on hover */
}
.is-path-frontpage .grid-col-right:hover {
  background-color: #f0f4f5;
}
.is-path-frontpage .grid-col-right img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(28, 72, 83, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.is-path-frontpage .grid-col-right img:hover {
  transform: scale(1.025);
  box-shadow: 0 8px 16px rgba(243, 108, 66, 0.15);
  /* Coral shadow on hover */
}
@media (max-width: 992px) {
  .is-path-frontpage .content-grid-wrapper {
    padding: 32px;
    gap: 28px;
  }
}
@media (max-width: 768px) {
  .is-path-frontpage {
    /* Image first on mobile for visual hook */
  }
  .is-path-frontpage .content-grid-wrapper {
    flex-direction: column;
    padding: 24px;
    gap: 24px;
    box-shadow: none;
    /* Cleaner mobile footprint */
  }
  .is-path-frontpage .grid-col-left, .is-path-frontpage .grid-col-right {
    width: 100%;
  }
  .is-path-frontpage .grid-col-right {
    order: -1;
  }
  .is-path-frontpage .grid-col-left h3 {
    font-size: 1.5rem;
  }
  .is-path-frontpage .grid-col-left p {
    font-size: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .is-path-frontpage .content-grid-wrapper > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

#block-twogen-academy-views-block-upcoming-events-block-block-1 {
  padding-bottom: 15px;
  /* Center the header */
  /* Make rows side-by-side and same height */
  /* 🔧 FIXED: Consistent image container sizing */
  /* Hover effect for images */
  /* 🔧 FIXED: Predictable right-side alignment & spacing */
  /* Style the event title links to be more prominent */
  /* Optimized text color for description (WCAG compliant) */
  /* Hover effect for rows */
  /* Overlay date on top of image (bottom-left position) */
  /* Fix for colorbox */
  /* Add subtle shadow to section */
  /* Add hover effect to section */
  /* Fix for date overlay on mobile */
}
#block-twogen-academy-views-block-upcoming-events-block-block-1 .view-header h2.upcoming-events-title {
  text-align: center;
  color: #1C4853;
  /* twogen-teal */
  font-size: 1.8em;
  margin: 15px 0;
}
@media (min-width: 444px) {
  #block-twogen-academy-views-block-upcoming-events-block-block-1 .view-content {
    display: flex;
    flex-direction: column;
  }
}
#block-twogen-academy-views-block-upcoming-events-block-block-1 .views-row {
  width: 85%;
  margin: auto;
  gap: 12px;
  align-items: stretch;
  /* Already correct for equal row height */
  min-height: 120px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
@media (min-width: 555px) {
  #block-twogen-academy-views-block-upcoming-events-block-block-1 .views-row {
    display: flex;
  }
}
@media (min-width: 444px) {
  #block-twogen-academy-views-block-upcoming-events-block-block-1 .views-row {
    padding-left: 20px;
    background-image: linear-gradient(to bottom, #00B7A3, #F89C5B);
    background-repeat: no-repeat;
    background-size: 4px 77px;
    background-position: left center;
    border-radius: 33%;
  }
}
#block-twogen-academy-views-block-upcoming-events-block-block-1 .views-field-field-gallery-img-media-multiref {
  width: 33%;
  max-width: 248px;
  flex-shrink: 0;
  /* Prevents column from collapsing */
}
#block-twogen-academy-views-block-upcoming-events-block-block-1 .views-field-nothing {
  flex-grow: 1;
}
#block-twogen-academy-views-block-upcoming-events-block-block-1 .upcoming-events-left,
#block-twogen-academy-views-block-upcoming-events-block-block-1 .upcoming-events-right {
  flex: 1;
  min-height: 120px;
  padding: 0 8px;
}
#block-twogen-academy-views-block-upcoming-events-block-block-1 .upcoming-events-left {
  position: relative;
  aspect-ratio: 4/3;
  /* 🔑 Forces identical height across all rows */
  background-color: #f8f9fa;
  padding: 0;
  /* Removed left padding that threw off alignment */
  margin: 6px;
}
#block-twogen-academy-views-block-upcoming-events-block-block-1 .upcoming-events-left img {
  position: absolute;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 0;
}
#block-twogen-academy-views-block-upcoming-events-block-block-1 .upcoming-events-left img:hover {
  transform: scale(1.02);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#block-twogen-academy-views-block-upcoming-events-block-block-1 .upcoming-events-right {
  display: flex;
  flex-direction: column;
  padding: 0 12px;
  height: 100%;
  width: 100%;
  align-items: flex-start;
  justify-content: center;
  /* Centers content vertically within the row */
  gap: 6px;
  /* 🔑 Consistent spacing between title and paragraph */
}
#block-twogen-academy-views-block-upcoming-events-block-block-1 .upcoming-events-right a {
  font-weight: bold;
  color: #1C4853;
  /* twogen-teal */
  font-size: 1.1em;
  text-decoration: none;
  margin-bottom: 0;
  /* Removed to use gap for spacing */
  display: block;
  line-height: 1.2;
  transition: all 0.2s ease;
}
#block-twogen-academy-views-block-upcoming-events-block-block-1 .upcoming-events-right a:hover {
  color: #F36C42;
  /* twogen-darkteal */
  text-decoration: underline;
  text-underline-offset: 3px;
}
#block-twogen-academy-views-block-upcoming-events-block-block-1 .upcoming-events-right p {
  margin: 0;
  padding: 0;
  line-height: 1.4;
  color: #333;
  font-size: 0.95em;
  /* 🔑 Truncates to exactly 3 lines so long text doesn't stretch rows */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#block-twogen-academy-views-block-upcoming-events-block-block-1 .views-row:hover {
  background-color: #f8f9fa;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
#block-twogen-academy-views-block-upcoming-events-block-block-1 .upcoming-events-left .upcoming-events-date {
  position: absolute;
  bottom: 8px;
  /* Slight tweak for consistent padding clearance */
  left: 10px;
  width: auto;
  text-align: center;
  font-weight: bold;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 5px 8px;
  z-index: 10;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
}
#block-twogen-academy-views-block-upcoming-events-block-block-1 .colorbox.cboxElement {
  cursor: zoom-in;
}
#block-twogen-academy-views-block-upcoming-events-block-block-1 section.views-element-container {
  background-color: #00B7A3;
  /* twogen-teal */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 12px;
}
#block-twogen-academy-views-block-upcoming-events-block-block-1 section.views-element-container:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
  #block-twogen-academy-views-block-upcoming-events-block-block-1 .upcoming-events-left .upcoming-events-date {
    left: 5px;
  }
  #block-twogen-academy-views-block-upcoming-events-block-block-1 .upcoming-events-right {
    padding: 0 10px;
  }
}

#block-twogen-academy-homepageherobanner .paragraph {
  margin: 0;
}
#block-twogen-academy-homepageherobanner #hero-banner-section {
  position: relative;
  width: 99.55vw;
  margin-left: calc(-50vw + 50%);
  height: clamp(380px, 58vw, 600px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #1C4853;
}
#block-twogen-academy-homepageherobanner #hero-banner-section .homepage-hero-bannner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: 1;
  transition: transform 0.6s ease;
}
#block-twogen-academy-homepageherobanner #hero-banner-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 2;
}
#block-twogen-academy-homepageherobanner #hero-banner-section h1, #block-twogen-academy-homepageherobanner #hero-banner-section p, #block-twogen-academy-homepageherobanner #hero-banner-section br {
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 3;
}
#block-twogen-academy-homepageherobanner #hero-banner-section br {
  display: none;
}
#block-twogen-academy-homepageherobanner #hero-banner-section .hero-banner-overlay {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  line-height: 1.3;
  background: rgba(28, 72, 83, 0.85);
  z-index: 5;
  padding: 5px;
  border-radius: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
#block-twogen-academy-homepageherobanner #hero-banner-section .hero-banner-logo img {
  max-width: 192px;
}
@media (min-width: 666px) {
  #block-twogen-academy-homepageherobanner #hero-banner-section .hero-banner-logo img {
    max-width: 330px;
  }
}
#block-twogen-academy-homepageherobanner #hero-banner-section .hero-banner-overlay h1 {
  font-size: clamp(1.5rem, 5.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  padding: 0;
  margin-bottom: 0.65rem;
}
@media (min-width: 666px) {
  #block-twogen-academy-homepageherobanner #hero-banner-section .hero-banner-overlay h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    padding: 0 1.25rem;
  }
}
#block-twogen-academy-homepageherobanner #hero-banner-section .hero-banner-overlay p {
  font-size: clamp(0.5rem, 2.4vw, 1.35rem);
  font-weight: 400;
  max-width: 68ch;
  padding: 0;
  opacity: 0.95;
}
@media (min-width: 666px) {
  #block-twogen-academy-homepageherobanner #hero-banner-section .hero-banner-overlay p {
    font-size: clamp(1rem, 2.4vw, 1.35rem);
    padding: 0 1.5rem;
  }
}
#block-twogen-academy-homepageherobanner #hero-banner-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #00B7A3 0%, #F36C42 50%, #F89C5B 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  border-radius: 6px 6px 0 0;
  z-index: 5;
}
@media (max-width: 767px) {
  #block-twogen-academy-homepageherobanner #hero-banner-section {
    height: clamp(320px, 62vw, 480px);
  }
  #block-twogen-academy-homepageherobanner #hero-banner-section h1 > .hero-banner-overlay {
    font-size: clamp(1rem, 7.5vw, 2.6rem);
    padding: 0;
  }
  #block-twogen-academy-homepageherobanner #hero-banner-section p > .hero-banner-overlay {
    font-size: clamp(0.5rem, 3.8vw, 1.15rem);
    max-width: 92%;
    padding: 0;
  }
  #block-twogen-academy-homepageherobanner #hero-banner-section::after {
    height: 4px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  }
}
@media (min-width: 768px) {
  #block-twogen-academy-homepageherobanner #hero-banner-section:hover .homepage-hero-bannner-image {
    transform: scale(1.01);
  }
}

/*# sourceMappingURL=front-page.css.map */
