/* Hero Section */
.landing-hero {
  background: var(--njtpa-dark-blue);
  color: var(--njtpa-white);
  position: relative;
  overflow: hidden;
  min-height: 300px;
  margin-bottom: var(--space-4xl);
}

.hero-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

.landing-hero__content {
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.landing-hero__text {
  padding: var(--space-lg);
  order: 2;
}

.landing-hero__image {
  min-height: 250px;
  order: 1;
}

.landing-hero__image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.landing-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: var(--font-weight-bold);
  margin: 0 0 var(--space-lg) 0;
  line-height: 1.1;
}

.landing-hero__subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  margin: 0;
  line-height: 1.4;
  font-style: italic;
  opacity: 0.95;
  font-weight: 300;
}

/* Intro Content */
.landing-intro {
  max-width: 800px;
  margin: 0 auto var(--space-4xl);
  line-height: 1.6;
}

.landing-intro p {
  margin: 0 0 var(--space-lg) 0;
}

.landing-intro p:last-child {
  margin-bottom: 0;
}

/* Sections */
.landing-sections {
  display: grid;
  gap: var(--space-4xl);
  margin-top: 100px;
  margin-bottom: 100px;
}

.landing-section__heading {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: var(--font-weight-bold);
  color: var(--njtpa-dark-blue);
  margin: 0 0 var(--space-3xl) 0;
  line-height: 1.3;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--space-4xl);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.card-grid .card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--njtpa-gray-light);
  border-radius: var(--border-radius-lg);
  transition: border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.card-grid a.card:hover {
  border-color: var(--njtpa-maroon);
  cursor: pointer;
}

.card-grid a.card:hover .card__title {
  color: var(--njtpa-maroon);
}

.card-grid a.card:focus-visible {
  outline: 2px solid var(--njtpa-dark-blue);
  outline-offset: 2px;
}

.card__content {
  padding: var(--space-xl);
}

.card__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: var(--space-xl);
}

.card__title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--njtpa-dark-blue);
  margin: 0 0 var(--space-lg) 0;
  line-height: 1.3;
}

.card__description {
  color: #4a4a4a;
  line-height: 1.6;
  margin: 0 0 var(--space-2xl) 0;
  flex-grow: 1;
  font-size: 0.95rem;
}

.card__link-text {
  color: var(--njtpa-maroon);
  font-weight: var(--font-weight-semibold);
  font-size: 0.95rem;
  margin-top: auto;
}

.card-grid a.card:hover .card__link-text {
  color: var(--njtpa-maroon-light);
}

.card__link:after {
  content: " →";
}

/* Image Content */
.image-content {
  display: grid;
  gap: var(--space-sm);
  align-items: center;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.image-content__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: var(--font-weight-bold);
  color: var(--njtpa-dark-blue);
  line-height: 1.3;
  margin: 0px 0px var(--space-sm) 0px;
}

.image-content__description {
  color: #333;
  line-height: 1.6;
  font-size: 0.95rem;
}

.image-content__description p {
  margin: 0 0 var(--space-lg) 0;
}

.image-content__description p:last-child {
  margin-bottom: 0;
}

.image-content__link {
  color: var(--njtpa-maroon);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  font-size: 0.95rem;
}

.image-content__link:hover {
  color: var(--njtpa-maroon-light);
}

.image-content__link:after {
  content: " →";
}

.image-content__image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
}

/* Info Box */
.info-box {
  background: var(--njtpa-white);
  border: 1px solid var(--njtpa-gray-light);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  max-width: var(--container-max-width);
}

.info-box__title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--njtpa-dark-blue);
  margin: 0 0 var(--space-lg) 0;
  line-height: 1.3;
}

.info-box__content {
  color: #333;
  line-height: 1.6;
  font-size: 0.95rem;
}

.info-box__content p:last-child {
  margin-bottom: 0;
}

.info-box__link {
  color: var(--njtpa-maroon);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  font-size: 0.95rem;
}

.info-box__link:hover {
  color: var(--njtpa-maroon-light);
}

.info-box__link:after {
  content: " →";
}

/* Text Block */
.text-block {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.text-block h2,
.text-block h3,
.text-block h4 {
  color: var(--njtpa-dark-blue);
  margin: var(--space-3xl) 0 var(--space-xl) 0;
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
}

.text-block h2 {
  font-size: 2rem;
}
.text-block h3 {
  font-size: 1.5rem;
}
.text-block h4 {
  font-size: 1.25rem;
}

.text-block p {
  margin: 0 0 var(--space-xl) 0;
}

.text-block a {
  color: var(--njtpa-maroon);
  text-decoration: underline;
}

.text-block a:hover {
  color: var(--njtpa-maroon-light);
}

/* Heading + Content */
.heading-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.heading-content--top_bottom .heading-content__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: var(--font-weight-bold);
  color: var(--njtpa-dark-blue);
  line-height: 1.2;
  margin: 0 0 var(--space-lg) 0;
  border-bottom: 4px solid var(--njtpa-maroon);
  padding-bottom: var(--space-lg);
  width: 80px;
}

.heading-content--top_bottom .heading-content__content {
  padding-top: var(--space-lg);
}

.heading-content--left_right .heading-content__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: var(--font-weight-bold);
  color: var(--njtpa-dark-blue);
  line-height: 1.2;
  margin: 0 0 var(--space-lg) 0;
  border-bottom: 4px solid var(--njtpa-maroon);
  padding-bottom: var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
}

.heading-content--left_right .heading-content__content {
}

.heading-content__content {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.heading-content__content p {
  margin: 0 0 var(--space-lg) 0;
}

.heading-content__content p:last-child {
  margin-bottom: 0;
}

/* Tablet & Desktop */
@media (min-width: 768px) {
  .landing-sections {
    gap: var(--space-5xl);
  }

  .landing-hero {
    margin-bottom: var(--space-5xl);
  }

  .image-content--left,
  .image-content--right {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5xl);
  }

  .image-content--left .image-content__image {
    order: -1;
  }
  
  .image-content--right .image-content__image {
    order: 1;
  }
  
  .image-content--right .image-content__content {
    order: -1;
  }
}

@media (min-width: 1024px) {
  /* Desktop Hero */
  .landing-hero__content {
    min-height: 500px;
    display: flex;
    justify-content: center;
  }

  .landing-hero__text {
    max-width: 500px;
    width: 45%;
    padding: var(--space-xl) 0;
    position: relative;
    z-index: 10;
  }

  .landing-hero__image {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    min-height: 500px;
  }

  .landing-hero__image img {
    height: 100%;
  }

  /* Desktop Heading + Content */
  .heading-content--left_right {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-5xl);
    align-items: center;
  }

  .heading-content--left_right .heading-content__title {
    margin: 0;
    border-bottom: none;
    border-right: 4px solid var(--njtpa-maroon);
    padding-bottom: 0;
    padding-right: var(--space-5xl);
    width: auto;
    display: flex;
    align-items: center;
  }

  .heading-content--left_right .heading-content__content {
    padding-top: 0;
    display: flex;
    align-items: center;
  }
}
