/* ============================================================
   MARIA POLYTECHNIC COLLEGE — CLUB ACTIVITIES PAGE
   Rounded, image-led editorial redesign
   Dependency: css/common.css
   ============================================================ */

:root {
  --club-navy: #0d2347;
  --club-navy-soft: #183967;
  --club-blue: #2f67d8;
  --club-orange: #f47a31;
  --club-cream: #f7f1e6;
  --club-soft: #f4f6fa;
  --club-white: #ffffff;
  --club-text: #27344a;
  --club-muted: #68748a;
  --club-radius-lg: 34px;
  --club-radius-md: 24px;
  --club-radius-sm: 18px;
  --club-shadow: 0 22px 60px rgba(13, 35, 71, 0.12);
  --club-shadow-soft: 0 14px 38px rgba(13, 35, 71, 0.08);
}

html,
body.club-activities-page-body {
  margin: 0;
  padding: 0;
}

body.club-activities-page-body {
  overflow-x: clip;
  background: #ffffff;
}

.club-page,
.club-page *,
.club-hero,
.club-hero *,
.club-action,
.club-action * {
  box-sizing: border-box;
}

.club-page {
  margin: 0;
  overflow: hidden;
  background: #ffffff !important;
  color: var(--club-text);
}

.club-page section,
.club-page figure,
.club-page header {
  margin: 0;
}

.club-page img {
  display: block;
  max-width: 100%;
}

.club-page h2,
.club-page h3,
.club-hero h1,
.club-action h2 {
  margin: 0;
  font-family: var(--ff-head);
}

.club-page p,
.club-action p {
  margin: 0;
  color: var(--club-muted);
  font-size: 1rem;
  line-height: 1.76;
}

.club-hero > .container,
.club-page > .club-section > .container,
.club-action > .container {
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 0;
}

.club-page :is(h2, h3, p),
.club-action :is(h2, p) {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* ============================================================
   HERO
   ============================================================ */

.club-hero {
  position: relative;
  min-height: clamp(350px, 50vh, 520px);
  display: flex;
  align-items: center;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--club-navy);
  color: #ffffff;
}

.club-hero__media,
.club-hero__overlay {
  position: absolute;
  inset: 0;
}

.club-hero__media {
  z-index: -2;
  background-position: center 42%;
  background-size: cover;
  transform: scale(1.035);
}

.club-hero__overlay {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(6, 19, 43, 0.4) 0%,
      rgba(13, 35, 71, 0.35) 54%,
      rgba(13, 35, 71, 0.34) 100%
    ),
    linear-gradient(to top, rgba(6, 19, 43, 0.45), transparent 62%);
}

.club-hero__content {
  width: 100%;
  padding-top: clamp(44px, 9vw, 57px);
  padding-bottom: clamp(44px, 9vw, 57px);
}

.club-hero__eyebrow {
  margin: 0 0 14px;
  color: #ffc58f;
  font-family: var(--ff-head);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.club-hero h1 {
  max-width: 920px;
  color: #ffffff;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.42);
}

.club-hero__lead {
  max-width: 720px;
  margin-top: 18px;
  color: rgba(239, 244, 255, 0.90);
  font-size: 1.08rem;
  line-height: 1.65;
}

/* ============================================================
   SHARED SECTION TYPOGRAPHY
   ============================================================ */

.club-section {
  position: relative;
  margin: 0;
  padding: clamp(44px, 7vw, 53px) 0;
}

.club-kicker {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--club-blue);
  font-family: var(--ff-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.club-kicker--light {
  color: #ffc58f;
}

.club-heading {
  max-width: 820px;
}

.club-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.club-heading h2,
.club-action h2 {
  color: var(--club-navy);
  font-size: clamp(2.05rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.club-heading h2 span {
  color: var(--club-orange);
}

/* ============================================================
   OVERVIEW
   ============================================================ */

.club-overview {
  background: #ffffff;
}

.club-overview__intro {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(27px, 7vw, 51px);
  align-items: end;
}

.club-overview__lead {
  max-width: 760px;
  font-size: 1.04rem;
  line-height: 1.84;
}

.club-overview__visual {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  gap: 22px;
  min-height: 510px;
  margin-top: clamp(29px, 5vw, 40px);
}

.club-overview__image {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--club-radius-lg);
  box-shadow: var(--club-shadow);
}

.club-overview__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 19, 43, 0.3), transparent 56%);
  content: "";
}

.club-overview__image img {
  width: 100%;
  height: 100%;
  min-height: 510px;
  object-fit: cover;
}

.club-overview__image figcaption {
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 28px;
  z-index: 1;
  color: #ffffff;
  font-family: var(--ff-head);
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.club-overview__statement {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(32px, 4vw, 48px);
  border-radius: var(--club-radius-lg);
  background:
    radial-gradient(
      circle at 75% 15%,
      rgba(244, 122, 49, 0.15),
      transparent 40%
    ),
    var(--club-navy);
  box-shadow: var(--club-shadow-soft);
}

.club-values-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.club-values-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.04);
  padding: 20px 24px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.club-values-list li:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.club-value__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(244, 122, 49, 0.15);
  color: var(--club-orange);
}

.club-value__icon svg {
  width: 24px;
  height: 24px;
}

.club-values-list span {
  color: #ffffff;
  font-family: var(--ff-head);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.club-focus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.club-focus__item {
  min-width: 0;
  padding: clamp(28px, 3vw, 38px);
  border-radius: var(--club-radius-md);
  box-shadow: var(--club-shadow-soft);
}

.club-focus__item--navy {
  background: var(--club-navy);
}

.club-focus__item--cream {
  background: var(--club-cream);
}

.club-focus__item--image {
  display: grid;
  grid-template-columns: minmax(150px, 0.48fr) minmax(0, 0.52fr);
  gap: 24px;
  padding: 14px;
  background: var(--club-soft);
}

.club-focus__item--image figure {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: calc(var(--club-radius-md) - 7px);
}

.club-focus__item--image figure::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 19, 43, 0.3), transparent 50%);
  content: "";
}

.club-focus__item--image img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.club-focus__item--image figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 1;
  color: #ffffff;
  font-family: var(--ff-head);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.club-focus__item--image > div {
  align-self: center;
  padding: 14px 12px 14px 0;
}

.club-focus__number {
  display: block;
  margin-bottom: 22px;
  color: var(--club-orange);
  font-family: var(--ff-head);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.club-focus__item--navy .club-focus__number {
  color: #ffc58f;
}

.club-focus h3 {
  color: var(--club-navy);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.2;
}

.club-focus__item--navy h3 {
  color: #ffffff;
}

.club-focus p {
  margin-top: 15px;
  font-size: 0.91rem;
  line-height: 1.7;
}

.club-focus__item--navy p {
  color: rgba(238, 244, 255, 0.86);
}

/* ============================================================
   ENGAGEMENTS & INITIATIVES
   ============================================================ */

.club-initiatives {
  background: var(--club-cream);
}

.club-initiatives__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
  margin-top: clamp(27px, 5vw, 40px);
  align-items: start;
}

.club-initiative {
  grid-column: span 6;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--club-radius-md);
  background: #ffffff;
  box-shadow: var(--club-shadow-soft);
  display: flex;
  flex-direction: column;
}

.club-initiative--wide {
  grid-column: span 6;
}

.club-initiative--wide:nth-child(7) {
  grid-column: span 12;
}

.club-initiative--media {
  grid-column: span 6;
  background: var(--club-navy);
  color: #ffffff;
}

.club-initiative--accent {
  background: #fff0e5;
}

.club-initiative--navy {
  background:
    radial-gradient(
      circle at 88% 20%,
      rgba(244, 122, 49, 0.2),
      transparent 28%
    ),
    var(--club-navy);
}

.club-initiative__media {
  position: relative;
  height: 340px;
  overflow: hidden;
}

.club-initiative__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 19, 43, 0.3), transparent 58%);
  content: "";
}

.club-initiative__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.club-initiative__media figcaption {
  position: absolute;
  right: 18px;
  bottom: 15px;
  left: 18px;
  z-index: 1;
  color: #ffffff;
  font-family: var(--ff-head);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.club-initiative__body {
  flex: 1 1 auto;
  padding: clamp(32px, 3.5vw, 40px);
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  align-content: start;
}

.club-initiative__number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(244, 122, 49, 0.1);
  color: var(--club-orange);
  margin-bottom: 0;
}

.club-initiative__number svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.club-initiative--media .club-initiative__number,
.club-initiative--navy .club-initiative__number {
  color: #ffc58f;
}

.club-initiative h3 {
  color: var(--club-navy);
  font-size: clamp(1.35rem, 2vw, 1.82rem);
  font-weight: 600;
  line-height: 1.2;
}

.club-initiative--media h3,
.club-initiative--navy h3 {
  color: #ffffff;
}

.club-initiative p {
  margin-top: 10px;
  font-size: 0.92rem;
  line-height: 1.72;
}

.club-initiative--media p,
.club-initiative--navy p {
  color: rgba(238, 244, 255, 0.86);
}



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

@media (max-width: 1040px) {
  .club-overview__intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .club-focus {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .club-focus__item--image {
    grid-column: 1 / -1;
  }

  .club-initiative,
  .club-initiative--wide,
  .club-initiative--media {
    grid-column: span 6;
  }

  .club-initiative--wide:nth-child(7) {
    grid-column: span 12;
  }
}

@media (max-width: 820px) {
  .club-overview__visual {
    grid-template-columns: 1fr;
  }

  .club-overview__image img {
    min-height: 430px;
  }

  .club-overview__statement {
    min-height: 250px;
  }

  .club-focus {
    grid-template-columns: 1fr;
  }

  .club-focus__item--image {
    grid-column: auto;
  }

  .club-initiative,
  .club-initiative--wide,
  .club-initiative--media,
  .club-initiative--wide:nth-child(7) {
    grid-column: span 12;
  }

  }

@media (max-width: 620px) {
  .club-hero > .container,
  .club-page > .club-section > .container,
  .club-action > .container {
    width: min(100% - 32px, 1180px);
  }

  .club-hero {
    min-height: 310px;
  }

  .club-hero__content {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .club-hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
  }

  .club-hero__lead {
    font-size: 0.96rem;
  }

  .club-section,
  .club-action {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .club-heading h2,
  .club-action h2 {
    font-size: clamp(1.9rem, 10vw, 2.7rem);
  }

  .club-overview__visual {
    min-height: 0;
  }

  .club-overview__image img {
    min-height: 340px;
  }

  .club-overview__statement {
    min-height: 220px;
  }

  .club-focus__item--image {
    grid-template-columns: 1fr;
  }

  .club-focus__item--image figure,
  .club-focus__item--image img {
    min-height: 270px;
  }

  .club-focus__item--image > div {
    padding: 12px;
  }

  .club-initiative__media {
    height: 230px;
  }

  .club-action__surface {
    padding: 32px 24px;
    border-radius: 26px;
  }
}

@media (max-width: 420px) {
  .club-overview__image img {
    min-height: 290px;
  }

  .club-focus__item--image figure,
  .club-focus__item--image img {
    min-height: 230px;
  }

  .club-action__shape {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .club-action__shape span,
  .club-action__shape span:nth-child(2),
  .club-action__shape span:nth-child(3) {
    min-height: 72px;
    border-radius: 18px;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .club-hero__media {
    transform: none;
  }
}






/* Two-column layout: the wide third card takes its own full row. */
.club-focus > *:nth-child(3) {
  grid-column: 1 / -1;
  justify-self: stretch;
}
