/* history-culture.css */

/* ── Page wrapper ── */
.hist-page {
  min-height: 100vh;
  background-color: #062726;
  display: flex;
  flex-direction: column;
}

/* ── Hero ── */
.hist-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px);
  max-height: calc(100vh - 80px);
  overflow: hidden;
  background: #000;
}

.hist-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hist-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent 50%, rgba(0, 0, 0, 0.4));
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 2rem;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .hist-hero__overlay {
    padding: 3rem 4rem;
  }
}

.hist-hero__title-block {
  margin: 0 0 4rem 4rem;
}

@media (min-width: 768px) {
  .hist-hero__title-block {
    margin: 0 0 5rem 6rem;
  }
}

@media (min-width: 1024px) {
  .hist-hero__title-block {
    margin: 0 0 6rem 9rem;
  }
}

.hist-hero__title-small {
  display: block;
  font-family: 'Muli', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.5rem;
}

.hist-hero__title-large {
  font-family: 'IvyJournal', serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.2;
  color: rgb(255, 255, 255);
  margin: 0;
  letter-spacing: -0.02em;
}

/* ── Block section (dark) ── */
.hist-block-section {
  width: 100%;
  background-color: #062726;
  padding: 3rem 2rem 4rem;
}

@media (min-width: 768px) {
  .hist-block-section {
    padding: 4rem 3rem 5rem;
  }
}

@media (min-width: 1024px) {
  .hist-block-section {
    padding: 5rem 4rem 6rem;
  }
}

/* ── Block section (light) ── */
.hist-block-section--light {
  width: 100%;
  background-color: #F2F3F4;
  padding: 3rem 2rem 4rem;
}

@media (min-width: 768px) {
  .hist-block-section--light {
    padding: 4rem 3rem 5rem;
  }
}

@media (min-width: 1024px) {
  .hist-block-section--light {
    padding: 5rem 4rem 6rem;
  }
}

/* ── Block inner grid ── */
.hist-block-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .hist-block-inner {
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
  }
}

/* ── Block titles ── */
.hist-block-title--dark {
  font-family: 'IvyJournal', serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.25;
  margin: 0;
  color: #fff;
}

.hist-block-title--light {
  font-family: 'IvyJournal', serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.25;
  margin: 0;
  color: rgb(0, 68, 57);
}

/* ── Block text ── */
.hist-block-text--light {
  font-family: 'Muli', serif;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

.hist-block-text--light p {
  margin: 0 0 1rem;
}

.hist-block-text--light p:last-child {
  margin-bottom: 0;
}

.hist-block-text--dark {
  font-family: 'Muli', serif;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  color: rgb(41, 41, 41);
}

.hist-block-text--dark p {
  margin: 0 0 1rem;
}

.hist-block-text--dark p:last-child {
  margin-bottom: 0;
}

/* ── Video section ── */
.hist-video-section {
  width: 100%;
  background-color: #F2F3F4;
  padding: 0;
  display: flex;
  justify-content: center;
}

.hist-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

/* Preview button (visible when NOT playing) */
.hist-video-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: #000;
  display: block;
}

.hist-video-btn.is-hidden {
  display: none;
}

.hist-video-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hist-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  pointer-events: none;
}

.hist-video-btn:hover .hist-play-icon {
  background: #fff;
}

.hist-play-icon::after {
  content: '';
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 24px solid #062726;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

/* iframe (hidden until playing) */
.hist-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: none;
}

.hist-video-iframe.is-playing {
  display: block;
}

/* ── Two-tile section ── */
.hist-twotile {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

@media (min-width: 768px) {
  .hist-twotile {
    grid-template-columns: 1.5fr 1fr;
  }
}

.hist-twotile__img-wrap {
  padding: 2rem;
  background-color: #062726;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .hist-twotile__img-wrap {
    padding: 3rem;
  }
}

.hist-twotile__img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .hist-twotile__img {
    min-height: 480px;
  }
}

.hist-twotile__content {
  background-color: #062726;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .hist-twotile__content {
    padding: 3rem 2.5rem;
  }
}

.hist-twotile__icon {
  width: 48px;
  height: auto;
  margin-bottom: 1.25rem;
}

.hist-twotile__title {
  font-family: 'IvyJournal', serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.25;
  color: #fff;
  margin: 0 0 1.5rem;
}

.hist-twotile__text {
  font-family: 'Muli', serif;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

.hist-twotile__text p {
  margin: 0 0 1rem;
}

.hist-twotile__text p:last-child {
  margin-bottom: 0;
}
