/* =========================================================
   RESET / SCOPE
   ========================================================= */
.mi-page-banner,
.mi-trusted-section,
.mi-info-cards-section,
.mi-media-section,
.mi-page-banner *,
.mi-trusted-section *,
.mi-info-cards-section *,
.mi-media-section * {
  box-sizing: border-box;
}

.mi-page-banner h1, .mi-page-banner h2, .mi-page-banner h3, .mi-page-banner p,
.mi-trusted-section h1, .mi-trusted-section h2, .mi-trusted-section h3, .mi-trusted-section p, .mi-trusted-section ul, .mi-trusted-section li,
.mi-info-cards-section h1, .mi-info-cards-section h2, .mi-info-cards-section h3, .mi-info-cards-section p,
.mi-media-section h1, .mi-media-section h2, .mi-media-section h3, .mi-media-section p, .mi-media-section ul, .mi-media-section li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mi-page-banner a, .mi-trusted-section a, .mi-info-cards-section a, .mi-media-section a {
  text-decoration: none;
}

.mi-media-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================
   HEADER OFFSET FIX
   Adjust --mi-header-height to match your master page's
   actual fixed/sticky header height.
   ========================================================= */
:root {
  --mi-header-height: 190px;
}

.mi-page-banner {
  margin-top: var(--mi-header-height);
}

/* =========================================================
   PAGE BANNER / BREADCRUMB
   ========================================================= */
.mi-page-banner {
  position: relative;
  width: 100%;
  min-height: 60px;
  background-color: #16232e;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.mi-page-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 30, 45, 0.72);
}

.mi-breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.mi-breadcrumb-link {
  color: #ffffff;
  font-weight: 700;
}

.mi-breadcrumb-link:hover {
  text-decoration: underline;
}

.mi-breadcrumb-sep {
  color: #ffffff;
  opacity: 0.6;
}

.mi-breadcrumb-current {
  color: #ffffff;
  opacity: 0.9;
  font-weight: 400;
}

/* =========================================================
   TRUSTED BY MAJOR MEDIA HOUSES
   ========================================================= */
.mi-trusted-section {
  width: 100%;
  padding: 50px 0 40px;
  background-color: #ffffff;
}

.mi-trusted-container {
  max-width: 720px;
  text-align: center;
}

.mi-trusted-heading {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  color: #0d4b73;
  line-height: 1.4;
  margin-bottom: 32px;
}

.mi-trusted-logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.mi-trusted-logo-box {
  width: 155px;
  height: 82px;
  border: 1px solid #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.mi-trusted-logo-box:hover {
  box-shadow: 0 4px 12px rgba(13, 75, 115, 0.15);
  transform: translateY(-2px);
}

.mi-trusted-logo-box img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

/* =========================================================
   INFO CARDS: SUBSCRIBE / CONTACT
   ========================================================= */
.mi-info-cards-section {
  width: 100%;
  padding: 40px 0 50px;
  background-color: #ffffff;
  border-top: 1px solid #ececec;
}

.mi-info-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.mi-info-card {
  border: 1px solid #d9d9d9;
  padding: 30px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mi-info-card-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
  color: #0d4b73;
  line-height: 1.4;
  margin-bottom: 24px;
  min-height: 48px;
}

.mi-info-card-icon {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.mi-info-card-icon img {
  max-width: 100%;
  max-height: 100%;
}

.mi-info-card-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid #d9d9d9;
}

.mi-info-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mi-info-card-desc {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #444444;
  margin-bottom: 24px;
}

.mi-info-card-name {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.mi-info-card-role {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #444444;
  margin-bottom: 22px;
}

.mi-btn {
  display: inline-block;
  padding: 11px 26px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 2px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.mi-btn-red {
  background-color: #c0272d;
  color: #ffffff;
}

.mi-btn-red:hover {
  background-color: #9e1f24;
  transform: translateY(-1px);
}

/* =========================================================
   MEDIA CITATIONS LIST
   ========================================================= */
.mi-media-section {
  width: 100%;
  padding: 50px 0 60px;
  background-color: #ffffff;
  border-top: 1px solid #ececec;
  scroll-margin-top: var(--mi-header-height);
}

.mi-media-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.mi-media-heading {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #0d4b73;
  text-transform: uppercase;
  text-align: center;
  flex: 1 1 100%;
  margin-bottom: 4px;
}

.mi-media-search {
  margin-left: auto;
}

.mi-media-search-input {
  width: 220px;
  max-width: 100%;
  padding: 9px 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  border: 1px solid #cccccc;
  border-radius: 2px;
  color: #333333;
}

.mi-media-search-input:focus {
  outline: none;
  border-color: #1b8fa8;
  box-shadow: 0 0 0 2px rgba(27, 143, 168, 0.15);
}

.mi-media-heading-rule {
  border: none;
  border-top: 1px solid #e6e6e6;
  margin: 0 0 10px 0;
}

.mi-media-list {
  width: 100%;
}

.mi-media-item {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 22px 0;
  width: 100%;
  transition: background-color 0.2s ease;
}

.mi-media-item.mi-hidden {
  display: none;
}

.mi-media-divider {
  border: none;
  border-top: 1px dashed #a9a9a9;
  height: 0;
  width: 100%;
  margin: 0;
}

.mi-media-logo {
  flex: 0 0 110px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 4px;
}

.mi-media-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 110px;
}

.mi-media-content {
  flex: 1 1 auto;
  min-width: 0;
}

.mi-media-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.mi-media-item:hover .mi-media-title {
  color: #0d4b73;
}

.mi-media-desc {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 8px;
}

.mi-media-readmore {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #0d4b73;
  text-decoration: underline;
}

.mi-media-readmore:visited {
  color: #0d4b73;
}

.mi-media-readmore:hover {
  color: #1b8fa8;
}

/* =========================================================
   BACK TO TOP
   ========================================================= */
.mi-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 90px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background-color: #1b8fa8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
  z-index: 999;
}

.mi-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mi-back-to-top:hover {
  background-color: #146a7d;
}

.mi-back-to-top img {
  width: 16px;
  height: 16px;
}

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

/* Tablet */
@media (max-width: 992px) {
  :root {
    --mi-header-height: 220px;
  }

  .mi-info-cards-grid {
    max-width: 600px;
  }

  .mi-trusted-logo-box {
    width: 140px;
    height: 74px;
  }

  .mi-media-logo {
    flex: 0 0 90px;
  }

  .mi-media-logo img {
    max-width: 90px;
  }

  .mi-media-title {
    font-size: 17px;
  }
}

/* Tablet portrait / small tablet */
@media (max-width: 768px) {
  .mi-trusted-logo-box {
    width: 30%;
    height: 70px;
  }

  .mi-info-cards-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  :root {
    --mi-header-height: 260px;
  }

  .mi-trusted-heading {
    font-size: 19px;
  }

  .mi-trusted-logo-box {
    width: 45%;
    height: 64px;
  }

  .mi-media-heading-row {
    flex-direction: column;
    align-items: stretch;
  }

  .mi-media-search {
    margin-left: 0;
  }

  .mi-media-search-input {
    width: 100%;
  }

  .mi-media-item {
    flex-direction: column;
    gap: 12px;
    padding: 18px 0;
  }

  .mi-media-logo {
    flex: 0 0 auto;
    width: 90px;
  }

  .mi-media-logo img {
    max-width: 90px;
  }

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

  .mi-media-desc {
    font-size: 13px;
  }

  .mi-media-readmore {
    font-size: 13px;
  }

  .mi-back-to-top {
    right: 16px;
    bottom: 76px;
    width: 40px;
    height: 40px;
  }
}
