/* CSS for media.html */
@import url("./index.css");

/* ===== MEDIA HERO SECTION ===== */
.media-hero-section {
  width: 100%;
  background: #FFFFFF;
  padding: 0 40px;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.media-hero-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 0 0 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Tagline */
.media-hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.media-hero-tagline span {
  color: var(--69686E, #69686E);
  font-family: Satoshi, 'Inter', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Title */
.media-title {
  font-family: Satoshi, Inter, sans-serif;
  font-size: 44px;
  font-weight: 500;
  line-height: 56px;
  color: #060612;
  text-align: center;
  margin: 0 auto 36px auto;
  max-width: 900px;
}

.media-title-leaf {
  width: 42px;
  height: 42px;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.media-title:hover .media-title-leaf {
  transform: rotate(15deg) scale(1.15);
}

/* Description */
.media-description {
  max-width: 860px;
  margin: 0 auto 32px auto;
  font-family: Satoshi, 'Inter', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: #3D5247;
}

.media-description p {
  margin: 0 0 16px 0;
}

.media-description p:last-child {
  margin-bottom: 0;
}

/* ===== FEATURED SHOWCASE FRAME ===== */
.media-featured-frame {
  display: flex;
  width: 100%;
  max-width: 1320px;
  padding: 16px;
  justify-content: center;
  align-items: center;
  border-radius: 24px;
  border: 1px solid #FFFFFF;
  background: #F5F5F5;
  box-shadow: 0 0 6px 1px rgba(6, 6, 18, 0.14) inset;
  box-sizing: border-box;
  margin-bottom: 0;
}

.media-featured-card {
  display: flex;
  width: 100%;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(6, 6, 18, 0.05);
  overflow: hidden;
  border: 1px solid #E5E4E2;
}

/* Desktop: side-by-side layout — top and bottom collapse into left column naturally */
@media (min-width: 1101px) {
  .media-featured-inner {
    display: grid;
    grid-template-columns: 1fr 520px;
    grid-template-rows: auto auto;
    grid-template-areas:
      "top  img"
      "btm  img";
    gap: 0;
  }

  .media-featured-left-top  { grid-area: top; }
  .media-featured-right     { grid-area: img; }
  .media-featured-left-bottom { grid-area: btm; }
}

.media-featured-left-top,
.media-featured-left-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 44px 48px;
  box-sizing: border-box;
}

.media-featured-left-top {
  flex: 1;
  justify-content: flex-start;
  padding-bottom: 0;
}

.media-featured-left-bottom {
  flex: 1;
  justify-content: flex-end;
  padding-top: 24px;
}

.media-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  background: #EBF5E4;
  color: #599632;
  font-family: Satoshi, 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 18px;
}

.media-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #599632;
}

.media-featured-heading {
  color: #060612;
  font-family: Satoshi, 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 500;
  line-height: 56px;
  margin: 0 0 16px 0;
}

.media-featured-desc {
  color: #69686E;
  font-family: Satoshi, 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  margin: 0 0 28px 0;
}

.media-featured-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  font-family: Satoshi, 'Inter', sans-serif;
  font-size: 14px;
  color: #69686E;
}

.media-featured-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.media-btn-green {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 30px;
  background: #85BD56;
  color: #FFFFFF;
  font-family: Satoshi, 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 14px rgba(133, 189, 86, 0.3);
}

.media-btn-green:hover {
  background: #75BF46;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(133, 189, 86, 0.45);
}

.media-btn-green svg {
  transition: transform 0.3s ease;
}

.media-btn-green:hover svg {
  transform: translateX(4px);
}

/* Featured Right Image Box */
.media-featured-right {
  width: 520px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
  cursor: default;
  align-self: stretch;
}

.media-featured-img-wrap {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  box-sizing: border-box;
  background: #FFFFFF;
}

.media-featured-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.media-featured-right:hover .media-featured-img {
  transform: scale(1.03);
}

.media-zoom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 6, 18, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #FFFFFF;
  font-family: Satoshi, 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.media-featured-right:hover .media-zoom-overlay,
.media-card-img-wrap:hover .media-zoom-overlay {
  opacity: 1;
}

/* ===== IMPACT STATS STRIP ===== */
.media-stats-section {
  width: 100%;
  background: #FAFBF9;
  padding: 48px 40px;
  box-sizing: border-box;
  border-top: 1px solid #E8F0E3;
  border-bottom: 1px solid #E8F0E3;
}

.media-stats-container {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.media-stat-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  border: 1px solid #E5E4E2;
  box-shadow: 0 4px 16px rgba(6, 6, 18, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(133, 189, 86, 0.15);
  border-color: #85BD56;
}

.media-stat-number {
  font-family: "Eras Md BT", Satoshi, 'Inter', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #85BD56;
  line-height: 1.1;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.media-stat-number img {
  width: 24px;
  height: 24px;
}

.media-stat-label {
  font-family: Satoshi, 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #69686E;
}

/* ===== MEDIA GRID SECTION ===== */
.media-grid-section {
  width: 100%;
  background: #FFFFFF;
  padding: 20px 40px 48px 40px;
  box-sizing: border-box;
}

.media-grid-container {
  max-width: 1320px;
  margin: 0 auto;
}

.media-grid-header {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 44px;
}

.media-grid-title {
  font-family: Satoshi, 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 500;
  line-height: 56px;
  color: #060612;
  margin: 0 0 16px 0;
}

.media-grid-subtitle {
  font-family: Satoshi, 'Inter', sans-serif;
  font-size: 16px;
  color: #69686E;
  margin: 16px auto 0 auto;
  max-width: 820px;
  line-height: 1.6;
}

/* Category Filter Tabs */
.media-filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.media-filter-btn {
  padding: 10px 22px;
  border-radius: 24px;
  border: 1px solid #E5E4E2;
  background: #FFFFFF;
  color: #69686E;
  font-family: Satoshi, 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.media-filter-btn:hover {
  border-color: #85BD56;
  color: #85BD56;
}

.media-filter-btn.active {
  background: #85BD56;
  color: #FFFFFF;
  border-color: #85BD56;
  box-shadow: 0 4px 12px rgba(133, 189, 86, 0.3);
}

/* Cards Grid Layout */
.media-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.media-card-item {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #E5E4E2;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(6, 6, 18, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.media-card-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(6, 6, 18, 0.1);
  border-color: #85BD56;
}

/* Card Header */
.media-card-topbar {
  padding: 18px 24px;
  background: #FAFBF9;
  border-bottom: 1px solid #F0EFEF;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.media-publisher-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Satoshi, 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #599632;
}

.media-publisher-tag svg {
  width: 16px;
  height: 16px;
}

.media-date-tag {
  font-family: Satoshi, 'Inter', sans-serif;
  font-size: 12px;
  color: #8F8E93;
}

/* Card Image Box */
.media-card-img-wrap {
  width: 100%;
  height: 320px;
  background: #F9FBF8;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.media-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.media-card-item:hover .media-card-img {
  transform: scale(1.04);
}

/* Card Gallery Thumbnails Strip */
.media-card-gallery {
  display: flex;
  gap: 10px;
  padding: 12px 20px;
  background: #FAFBF9;
  border-bottom: 1px solid #F0EFEF;
}

.media-thumb-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
  box-sizing: border-box;
}

.media-thumb-btn:hover,
.media-thumb-btn.active {
  border-color: #599632;
  box-shadow: 0 4px 12px rgba(89, 150, 50, 0.18);
  background: #F4F8F1;
}

.media-thumb-btn img {
  width: 100%;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
}

.media-thumb-btn span {
  font-family: Satoshi, 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #69686E;
  white-space: nowrap;
}

.media-thumb-btn.active span {
  color: #599632;
  font-weight: 700;
}

/* Card Content Body */
.media-card-body {
  padding: 28px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.media-card-title {
  font-family: Satoshi, 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #060612;
  line-height: 1.4;
  margin: 0 0 12px 0;
}

.media-card-text {
  font-family: Satoshi, 'Inter', sans-serif;
  font-size: 15px;
  color: #69686E;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.media-card-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #599632;
  font-family: Satoshi, 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  margin-top: auto;
  transition: color 0.3s ease;
}

.media-card-action:hover {
  color: #75BF46;
}

.media-action-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  background: transparent;
}

.media-action-icon-wrap svg path {
  fill: #599632;
  transition: fill 0.3s ease;
}

.media-card-action:hover .media-action-icon-wrap {
  transform: translateX(4px);
}

.media-card-action:hover .media-action-icon-wrap svg path {
  fill: #75BF46;
}

.media-action-icon-wrap svg {
  width: 12px;
  height: 12px;
  display: block;
}

/* ===== OUR STORY CONTINUES SECTION ===== */
.media-story-continues-section {
  width: 100%;
  background: #FFFFFF;
  padding: 64px 40px;
  box-sizing: border-box;
  border-top: 1px solid #E8F0E3;
  border-bottom: 1px solid #E8F0E3;
}

.media-story-continues-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.media-story-continues-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.media-story-continues-tagline span {
  color: #69686E;
  font-family: Satoshi, 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 26px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.media-story-continues-heading {
  font-family: Satoshi, 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: #060612;
  line-height: 1.3;
  margin: 0 0 28px 0;
}

.media-story-continues-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.media-story-continues-body p {
  font-family: Satoshi, 'Inter', sans-serif;
  font-size: 16px;
  color: #69686E;
  line-height: 1.7;
  margin: 0;
}

.media-story-continues-highlight {
  font-weight: 600;
  color: #599632 !important;
  font-size: 18px !important;
  margin-top: 8px !important;
}

/* ===== LIGHTBOX MODAL ===== */
.media-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 6, 18, 0.88);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.media-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.media-modal-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.media-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.media-modal-content {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.media-modal-caption {
  margin-top: 20px;
  color: #FFFFFF;
  font-family: Satoshi, 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

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

/* ── Tablet Landscape (≤ 1100px) ── */
@media (max-width: 1100px) {
  .media-hero-section {
    padding: 0 24px;
  }

  .media-grid-section {
    padding: 20px 24px 48px 24px;
  }

  .media-stats-section {
    padding: 48px 24px;
  }

  /* Tech Stack featured card vertically: top → image → bottom */
  .media-featured-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
  }

  .media-featured-left-top  { order: 1; }
  .media-featured-right     { order: 2; width: 100%; min-height: 280px; }
  .media-featured-left-bottom { order: 3; }

  .media-featured-img-wrap {
    padding: 0;
    background: #FFFFFF;
    height: 100%;
  }

  .media-stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .media-grid-title {
    font-size: 34px;
    line-height: 44px;
  }
}

/* ── Tablet Portrait (≤ 850px) ── */
@media (max-width: 850px) {
  .media-hero-section {
    padding: 0 20px;
  }

  .media-title {
    font-size: 34px;
    line-height: 44px;
    margin-bottom: 24px;
  }

  .media-featured-frame {
    padding: 12px;
    border-radius: 18px;
  }

  .media-featured-card {
    border-radius: 14px;
  }

  .media-featured-left-top {
    padding: 32px 28px 16px 28px;
  }

  .media-featured-left-bottom {
    padding: 16px 28px 32px 28px;
  }

  .media-featured-heading {
    font-size: 36px;
    line-height: 46px;
  }

  .media-featured-desc {
    font-size: 15px;
  }

  .media-featured-meta {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
  }

  .media-grid-section {
    padding: 0px 20px 48px 20px;
  }

  .media-grid-title {
    font-size: 28px;
    line-height: 38px;
  }

  .media-grid-subtitle {
    font-size: 15px;
  }

  .media-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .media-card-img-wrap {
    height: 280px;
  }

  .media-stats-section {
    padding: 36px 20px;
  }

  .media-stat-number {
    font-size: 30px;
  }

  .media-story-continues-section {
    padding: 48px 20px;
  }

  .media-story-continues-heading {
    font-size: 28px;
  }
}

/* ── Mobile Large (≤ 640px) ── */
@media (max-width: 640px) {
  .media-hero-section {
    padding: 0 16px;
  }

  .media-hero-tagline span {
    font-size: 11px;
  }

  .media-title {
    font-size: 26px;
    line-height: 34px;
    margin-bottom: 20px;
    padding: 0 8px;
  }

  .media-title-leaf {
    width: 28px;
    height: 28px;
  }

  .media-featured-frame {
    padding: 10px;
    border-radius: 14px;
  }

  .media-featured-left-top {
    padding: 24px 20px 12px 20px;
  }

  .media-featured-left-bottom {
    padding: 12px 20px 24px 20px;
  }

  .media-badge {
    font-size: 11px;
    padding: 5px 12px;
  }

  .media-featured-heading {
    font-size: 30px;
    line-height: 40px;
  }

  .media-featured-desc {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .media-featured-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
  }

  .media-featured-meta > span:not(.media-featured-meta-item) {
    display: none;
  }

  .media-featured-img-wrap {
    padding: 0;
    background: #FFFFFF;
    height: 100%;
  }

  .media-grid-section {
    padding: 0px 16px 36px 16px;
  }

  .media-grid-header {
    margin-top: 28px;
    margin-bottom: 28px;
  }

  .media-grid-title {
    font-size: 24px;
    line-height: 32px;
  }

  .media-grid-subtitle {
    font-size: 14px;
  }

  .media-stats-section {
    padding: 28px 16px;
  }

  .media-stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .media-stat-card {
    padding: 20px 16px;
  }

  .media-stat-number {
    font-size: 28px;
  }

  .media-stat-label {
    font-size: 13px;
  }

  .media-card-topbar {
    padding: 14px 18px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .media-card-img-wrap {
    height: 220px;
    padding: 14px;
  }

  .media-card-body {
    padding: 20px 20px 18px 20px;
  }

  .media-card-title {
    font-size: 18px;
  }

  .media-card-text {
    font-size: 14px;
  }

  .media-filter-bar {
    gap: 8px;
    margin-bottom: 32px;
  }

  .media-filter-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .media-modal {
    padding: 20px 16px;
  }

  .media-modal-close {
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .media-modal-content {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 8px;
  }

  .media-modal-caption {
    font-size: 13px;
    margin-top: 12px;
  }

  .media-story-continues-section {
    padding: 40px 16px;
  }

  .media-story-continues-heading {
    font-size: 24px;
  }

  .media-story-continues-body p {
    font-size: 15px;
  }

  .media-story-continues-highlight {
    font-size: 16px !important;
  }
}

/* ── Mobile Small (≤ 480px) ── */
@media (max-width: 480px) {
  .media-hero-section {
    padding: 0 14px;
  }

  .media-hero-container {
    padding: 4px 0 0 0;
  }

  .media-title {
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 16px;
    padding: 0 4px;
  }

  .media-featured-left-top {
    padding: 20px 16px 10px 16px;
  }

  .media-featured-left-bottom {
    padding: 10px 16px 20px 16px;
  }

  .media-featured-heading {
    font-size: 26px;
    line-height: 34px;
  }

  .media-featured-desc {
    font-size: 13.5px;
  }

  .media-grid-section {
    padding: 0px 14px 28px 14px;
  }

  .media-stats-section {
    padding: 24px 14px;
  }

  .media-stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .media-stat-number {
    font-size: 24px;
  }

  .media-stat-card {
    padding: 16px 12px;
  }

  .media-card-img-wrap {
    height: 190px;
    padding: 12px;
  }

  .media-card-body {
    padding: 16px 16px 14px 16px;
  }

  .media-card-title {
    font-size: 16px;
  }

  .media-card-text {
    font-size: 13.5px;
  }

  .media-grid-title {
    font-size: 22px;
    line-height: 30px;
  }
}



.media-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
  padding: 0;
}

.media-pagination-btn {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: #FFFFFF !important;
  border: 1px solid #EBEAEA !important;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.08), inset 0 0 2px rgba(0, 0, 0, 0.04), 0 2px 6px rgba(0, 0, 0, 0.03) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  font-family: Satoshi, 'Inter', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #505056 !important;
  transition: all 0.25s ease !important;
}

.media-pagination-btn:hover {
  border-color: #85BD56 !important;
  color: #85BD56 !important;
  box-shadow: inset 0 0 0 1px #85BD56, 0 4px 12px rgba(133, 189, 86, 0.2) !important;
  transform: translateY(-1px) !important;
}

.media-pagination-btn.active {
  color: #85BD56 !important;
  font-weight: 700 !important;
  border-color: #85BD56 !important;
  box-shadow: inset 0 0 0 1px #85BD56, 0 4px 12px rgba(133, 189, 86, 0.15) !important;
}

.media-pagination-btn.disabled {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  border-color: #EBEAEA !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}


/* Spacing adjustments around CTA Section on Media page */
.media-grid-section {
  padding-bottom: 60px !important;
}

.media-grid-section + .cta-section .cta-container {
  padding-top: 40px !important;
  padding-bottom: 0px !important;
}

.media-grid-section ~ .contact-section .contact-inner {
  padding-top: 16px !important;
}

