/* =========================
MEDIA ARTICLES
========================= */

.media-articles-container {
  margin: 0;
  padding: 0;
  max-width: 200px;
}
.media-articles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}
.article {
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  box-sizing: border-box;
}
.article-image {
  width: 100%;
  height: 9.9rem;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.article-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.1));
  z-index: 1;
}
.title-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1rem;
  font-size: 1.8rem;
  font-weight: 500;
  color: white;
  background-color: #00205b;
  border-radius: 4px;
  z-index: 2;
  text-align: center;
  white-space: nowrap;
}
.article-content {
  padding: 0.5rem 1rem;
}
.description {
  margin: 0.5rem 0;
}
.subtitle {
  margin: 0.3rem 0;
}
.action span {
  color: blue;
  text-decoration: underline;
}
/* =========================
FOOTER IMAGE TEXT
========================= */

.title-image-footer {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1300px;
  padding: 0 20px;
  height: auto;
  display: block;
  font-size: clamp(16px, 3.5vw, 28px);
  font-weight: 600;
  color: white;
  background-color: transparent;
  z-index: 2;
  text-align: left;
  white-space: normal;
  line-height: 1.3;
  margin: 0;
  box-sizing: border-box;
}
.subtitle-image-footer {
  position: absolute;
  top: 62%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1300px;
  padding: 0 20px;
  color: #efefef;
  font-size: clamp(12px, 1.8vw, 16px);
  font-weight: 400;
  line-height: 1.4;
  z-index: 2;
  text-align: left;
  margin: 0;
  box-sizing: border-box;
}
/* =========================
TABLET (≤1024px)
========================= */

@media (max-width: 1024px) {
  .media-articles:last-of-type .article-image {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 20px;
  }
  .title-image-footer {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-bottom: 10px;
  }
  .subtitle-image-footer {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
}
/* =========================
MOBILE (≤576px)
========================= */

@media (max-width: 576px) {
  .media-articles:last-of-type .article-image {
    padding: 24px 16px;
  }
}
/* =========================
GLOBAL
========================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}
body {
  background: white;
  color: #333333;
}
body {
  margin: 0;
  background: #f5f7fa;
}
.content-container {
  max-width: 1200px;
  margin: auto;
  padding: 50px;
  line-height: 1.5;
}
/* TOP */

.top-section {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.left {
  flex: 2;
}
.left h1 {
  color: #00205b;
  margin-bottom: -2px;
  font-size: 28px;
  font-weight: 600;
}
.notice {
  background: #fff4f4;
  padding: 10px 20px;
  border-radius: 8px;
  margin-top: 15px;
}
/* LOGIN */

.login {
  flex: 1;
  background: #e8edf5;
  padding: 28px;
  border-radius: 12px;
}
.login input {
  width: 100%;
  padding: 8px;
  margin: 6px 0;
  height: 45px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 400;
}
.login button {
  width: 102px;
  padding: 10px;
  color: white;
  border: none;
  border-radius: 10px;
  height: 40px;
  background: linear-gradient(275deg, #00205b 17.98%, #274783 91.14%);
  float: inline-end;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
}
/* MIDDLE */

.middle {
  display: flex;
  gap: 25px;
  margin: 40px 0;
}
.col {
  flex: 1;
  background: white;
  padding: 20px;
  border-radius: 10px;
}
.col h4 {
  color: #00205b !important;
  margin-top: 10px;
  font-size: 25px;
  font-weight: 600;
}
/* CHILD BOX */

.child-box {
  background: #fff4f4;
  padding: 20px;
  border-radius: 8px;
  margin-top: 15px;
}
/* BOTTOM */

.bottom {
  display: flex;
  gap: 25px;
}
.box {
  flex: 1;
  background: rgba(234, 241, 245, 0.6);
  padding: 20px;
  border-radius: 6px;
  line-height: 1.2;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
th,
td {
  border: 1px solid rgba(234, 241, 245, 0.6);
  padding: 8px;
  text-align: center;
}
h3 {
  font-size: 24px;
  font-weight: 400;
  color: black;
  margin-bottom: 10px;
}
p {
  font-size: 16px;
  color: #4d4d4d;
  font-weight: 400;
  text-align: left;
}
.bluemileslist {
  font-size: 16px;
  color: #4d4d4d;
  font-weight: 400;
  text-align: left;
  margin-top: 15px;
  margin-left: 20px;
}
h5 {
  color: #00205b;
  margin-top: 10px;
  font-size: 25px;
  font-weight: 600;
}
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: Arial, sans-serif;
}
/* HEADER */

th {
  color: #00205b;
  text-align: left;
  padding: 12px;
  font-weight: 700;
  border-bottom: 2px solid #d6dbe1;
  font-size: 16px;
  text-align: center;
}
/* BODY CELLS */

td {
  padding: 12px;
  border-bottom: 1px solid #e0e4ea;
  color: #333333;
}
/* ROW BACKGROUND */

tr {
  background: #f5f7fa;
}
/* FIRST COLUMN COLORS */

tr:nth-child(2) td:first-child {
  background: #fffedf;
  /* Value */
  font-weight: 600;
  color: black;
  font-size: 16px;
}
tr:nth-child(3) td:first-child {
  background: #e4ffd2;
  /* Flexi */
  font-weight: 600;
  color: black;
  font-size: 16px;
}
tr:nth-child(4) td:first-child {
  background: #ffecec;
  /* Xtra */
  font-weight: 600;
  color: black;
  font-size: 16px;
}
/* MILES COLUMN STYLE */

td:nth-child(2) {
  color: #00205b;
  font-weight: 700;
  background: white;
  font-size: 16px;
}
/* DESCRIPTION TEXT */

td:nth-child(3) {
  color: #555555;
  background: white;
  color: #4d4d4d;
  font-size: 16px;
  font-weight: 400;
}
/* ROUNDED CORNERS */

table tr:first-child th:first-child {
  border-top-left-radius: 8px;
}
table tr:first-child th:last-child {
  border-top-right-radius: 8px;
}
table {
  border-collapse: separate;
  border-spacing: 2px;
  background: rgba(234, 241, 245, 0.6);
  border-radius: 8px;
  overflow: hidden;
}
th {
  background: white;
}
td {
  background: white;
}
