/* ============================ */
/*    Article Header Section */
/* ============================ */

.article-header-container {
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  padding: 5rem 1rem 1rem 1rem;
  background: linear-gradient(180deg, #14131b 25%, #001d44 100%);
}
.article-header-container-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-repeat: repeat;
  background-image: url(../../assets/photos/grid-bg.png);
  background-size: contain;
  background-position: center;
  opacity: 17.5%;
}
.article-header-wrap {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
  max-width: 1500px;
}

/* Article Header Text */
.article-header-text {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  padding: 1rem 0rem;
  gap: 1rem;
  flex: 1 1 50%;
  min-width: 0;
  width: auto;
}
.article-header-text h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.1rem 0.75rem;
  font-size: 0.9rem;
  font-family: "Montserrat", sans-serif;
  color: white;
  border-radius: 25px;
  border: solid 1px #ffffff;
  opacity: 0.7;
}
.article-header-text h1 {
  font-size: clamp(2.5rem, 17vw, 3.5rem);
  font-weight: 700;
  color: white;
}
.article-header-text p {
  line-height: 1.5;
  font-size: 1.25rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255, 0.95);
}
.article-header-text-share {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  gap: 0.75rem;
}
.article-header-text-share-copy {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  padding: 0.1rem 1rem;
  gap: 0.5rem;
  border-radius: 25px;
  border: solid 1px transparent;
  background-color: #4c98ff;
  transition: all 0.2s ease-in-out;
}
.article-header-text-share-copy span {
  font-size: 1rem;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  color: white;
}
.article-header-text-share-copy img {
  width: 15px;
  height: 15px;
}
.article-header-text-share-copy:hover {
  border: solid 1px #ffffff;
  background-color: #357ae8;
}
.article-header-text-share-copy:active #article-header-copied {
  display: flex;
}
.article-header-text-share-copy:active #article-header-not-copied {
  display: none;
}
.article-header-text-share-social {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.article-header-text-share-social a {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  border: solid 1px #ffffff25;
  transition: all 0.2s ease-in-out;
}
.article-header-text-share-social a img {
  width: 25px;
  height: 25px;
}
.article-header-text-share-social a:hover {
  border-color: #4c98ff;
}

/* Article Header Image */
.article-header-image {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: top;
  align-self: stretch;
  flex: 1 1 50%;
  width: 100%;
  height: auto;
  min-height: 0;
  border-radius: 25px;
  border: solid 1px #006eff;
  background-repeat: no-repeat;
  background-size: cover; /* cover = crop to fill wrapper */
  background-position: top center;
  background-color: #001d44;
}
#hds3d .article-header-image {
  background-position: center center;
}

@media (max-width: 1000px) {
  .article-header-wrap {
    flex-direction: column;
  }
  .article-header-image {
    min-height: 400px;
  }
}
@media (max-width: 750px) {
  .article-header-text h1 {
    font-size: clamp(2rem, 17vw, 2.5rem);
  }
  .article-header-image {
    min-height: 200px;
  }
}

/* ============================ */
/*    Article Content Section */
/* ============================ */

.article-content-container {
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  padding: 2rem 1rem;
  /* base semi-transparent primary color */
  background-color: rgba(0, 29, 68, 0.28);
  /* subtle "randomized" dark spots that blend in (multiple radial gradients) */
  background-image: radial-gradient(
      circle at 12% 18%,
      rgba(20, 19, 27, 0.25) 0 3%,
      rgba(20, 19, 27, 0.25) 6%,
      transparent 12%
    ),
    radial-gradient(
      circle at 62% 48%,
      rgba(20, 19, 27, 0.25) 0 3.5%,
      rgba(20, 19, 27, 0.25) 8%,
      transparent 14%
    ),
    radial-gradient(
      circle at 30% 72%,
      rgba(20, 19, 27, 0.25) 0 4%,
      rgba(20, 19, 27, 0.25) 10%,
      transparent 18%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(20, 19, 27, 0.15) 0 5%,
      rgba(20, 19, 27, 0.15) 12%,
      transparent 22%
    );
  background-blend-mode: overlay, overlay, overlay, overlay;
  background-size: cover;
}
.article-content-container-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-repeat: repeat;
  background-image: url(../../assets/photos/grid-bg.png);
  background-size: contain;
  background-position: center;
  opacity: 5%;
}
.article-content-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  max-width: 1500px;
}

.article-content-reference {
  padding: 0.1rem 0.5rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #4c98ff;
  border-radius: 25px;
  border: solid 1px #4c98ff;
  background-color: transparent;
  transition: all 0.2s ease-in-out;
}
.article-content-reference:hover {
  color: #ffffff;
  background-color: #4c98ff;
}

/* Article Content Typett (Title + Text) */
.article-content-typett {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  width: 100%;
  height: auto;
}
.article-content-typett h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 700;
  color: white;
}
.article-content-typett p {
  line-height: 1.5;
  font-size: 1.1rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255, 0.85);
}
.article-content-typett p span {
  color: #ffffff;
  font-weight: bold;
}

@media (max-width: 750px) {
  .article-content-typett h2 {
    font-size: 1.75rem;
  }
}

/* Article Content Mid Advertiser */
.article-content-mid-advertiser {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: stretch;
  margin-bottom: 1rem;
  padding: 0.75rem 0.5rem 0.75rem 0.75rem;
  gap: 0.5rem;
  width: 100%;
  height: auto;
  border-radius: 5px;
  border-left: 5px solid #006eff;
  background-color: #001d44;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0 1px,
    transparent 1px 7.5px
  );
}
.article-content-mid-advertiser p {
  line-height: 1.5;
  font-size: 1.1rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255);
}

/* Article Content Typettlist (Title + Text + List) */
.article-content-typettlist {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  width: 100%;
  height: auto;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.article-content-typettlist-header {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 0.5rem;
}
.article-content-typettlist h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
}
.article-content-typettlist p {
  line-height: 1.5;
  font-size: 1.1rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255, 0.85);
}
.article-content-typettlist-box {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: start;
  gap: 0.5rem;
  width: 100%;
  height: auto;
}
.article-content-typettlist-box h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.1rem;
  width: 30px;
  height: 30px;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  border-radius: 50%;
  border: solid 1px #ffffff50;
  background-color: #004aad;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0 1px,
    transparent 1px 7.5px
  );
}
.article-content-typettlist-box-text {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 0.25rem;
  width: auto;
  height: auto;
}
.article-content-typettlist-box-text h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}
.article-content-typettlist-box-text p {
  line-height: 1.5;
  font-size: 1.1rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 750px) {
  .article-content-typettlist h2 {
    font-size: 1.75rem;
  }
}

/*Article Content Typelayertt (Title + Text + Layered Boxes) */
.article-content-typelayertt {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  width: 100%;
  height: auto;
  gap: 2rem;
}
.article-content-typelayertt-header {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 0.5rem;
}
.article-content-typelayertt h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
}
.article-content-typelayertt p {
  line-height: 1.5;
  font-size: 1.1rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255, 0.85);
}
.article-content-typelayertt-wrap {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 2rem;
  width: 100%;
  height: auto;
}
.article-content-typelayertt-wrap-box {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  text-align: center;
  width: 100%;
  height: auto;
  border-radius: 75px;
  border: solid 1px #006eff50;
  background-color: #006eff1a;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.01) 0 1px,
    transparent 1px 7.5px
  );
  transition: all 0.2s ease-in-out;
}
.article-content-typelayertt-wrap-box:hover {
  transform: scale(1.02);
  border-color: #4c98ff75;
  background-color: #006eff3d;
}
.article-content-typelayertt-wrap h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.25rem 1rem;
  width: 100%;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  background-color: #004aad;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0 1px,
    transparent 1px 7.5px
  );
}
.article-content-typelayertt-wrap p {
  padding: 0.5rem 1rem;
}

@media (max-width: 750px) {
  .article-content-typelayertt h2 {
    font-size: 1.75rem;
  }
}

/*Article Content Typelonceaitt (One Left Animated Image + Title + Text) */
.article-content-typelonceaitt {
  display: flow-root;
  width: 100%;
  height: auto;
}
.article-content-typelonceaitt-image {
  overflow: hidden;
  float: left;
  width: 300px;
  height: auto;
  margin: 0 1rem 0.75rem 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  animation: infinite-rotate 60s linear infinite;
}
@keyframes infinite-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.article-content-typelonceaitt-text {
  display: block;
  width: auto;
  height: auto;
}
.article-content-typelonceaitt-text h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 700;
  color: white;
}
.article-content-typelonceaitt-text p {
  line-height: 1.5;
  font-size: 1.1rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 750px) {
  .article-content-typelonceaitt-image {
    float: none;
    display: block;
    width: 275px;
    height: 275px;
    margin: 0 auto 1rem auto;
  }
}

@media (max-width: 750px) {
  .article-content-typelonceaitt-text h2 {
    font-size: 1.75rem;
  }
}

/* Article Content Typelonceitt (One Left Image + Title + Text) */
/* Article Content Typeltwiceitt (Two Left Images + Title + Text) */
.article-content-typelonceitt,
.article-content-typeltwiceitt {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  height: auto;
}
.article-content-typelonceitt-image-box,
.article-content-typeltwiceitt-image-box {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex: 1 1 40%;
  width: 100%;
  height: auto;
}
.article-content-typelonceitt-image,
.article-content-typeltwiceitt-image {
  overflow: hidden;
  width: 100%;
  min-height: 45%;
  align-self: stretch;
  border-radius: 25px;
  border: solid 1px #006eff;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  background-color: #001d44;
}
.article-content-typelonceitt-text-box,
.article-content-typeltwiceitt-text-box {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 1rem;
  flex: 1 1 60%;
  width: 100%;
  height: auto;
}
.article-content-typelonceitt-text-box h2,
.article-content-typeltwiceitt-text-box h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
}
.article-content-typelonceitt-text-box p,
.article-content-typeltwiceitt-text-box p {
  line-height: 1.5;
  font-size: 1.1rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255, 0.85);
}
.article-content-typelonceitt-text-box span,
.article-content-typeltwiceitt-text-box span {
  color: #ffffff;
  font-weight: bold;
}

@media (max-width: 1000px) {
  .article-content-typelonceitt,
  .article-content-typeltwiceitt {
    flex-direction: column;
    gap: 0rem;
  }
  #cdrs .article-content-typelonceitt {
    flex-direction: column-reverse;
  }
  .article-content-typelonceitt-image-box,
  .article-content-typeltwiceitt-image-box {
    flex-direction: row;
  }
  #cdrs .article-content-typelonceitt-image-box,
  .article-content-typeltwiceitt-image-box {
    margin-top: 1rem;
  }
  #pdb .article-content-typelonceitt-image-box,
  #pdim .article-content-typelonceitt-image-box,
  .article-content-typeltwiceitt-image-box {
    margin-bottom: 1rem;
  }
  .article-content-typelonceitt-image,
  .article-content-typeltwiceitt-image {
    min-height: 300px;
  }
}
@media (max-width: 750px) {
  .article-content-typelonceitt-text-box h2,
  .article-content-typeltwiceitt-text-box h2 {
    font-size: 1.75rem;
  }
}
@media (max-width: 600px) {
  .article-content-typelonceitt-image,
  .article-content-typeltwiceitt-image {
    min-height: 250px;
  }
}

/* Article Content Typelnotett (One Left Note + Title + Text) */
.article-content-typelnotett {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 2rem;
  gap: 1.5rem;
  width: 100%;
  height: auto;
}
.article-content-typelnotett-text-box {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 1rem;
  flex: 1 60%;
  width: 100%;
  height: auto;
}
.article-content-typelnotett-text-box h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
}
.article-content-typelnotett-text-box p {
  line-height: 1.5;
  font-size: 1.1rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255, 0.85);
}
.article-content-typelnotett-note-box {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  padding: 1rem 1rem;
  gap: 0.75rem;
  flex: 1 1 40%;
  width: 100%;
  height: auto;
  border-radius: 25px;
  border: solid 1px #006eff50;
  background-color: #006eff1a;
  transition: all 0.2s ease-in-out;
}
.article-content-typelnotett-note-box:hover {
  transform: scale(1.02);
  border-color: #4c98ff75;
  background-color: #006eff3d;
}
.article-content-typelnotett-note-box h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4c98ff;
}
.article-content-typelnotett-note-box .text-divider {
  width: 30%;
  height: 2px;
  opacity: 0.75;
}
.article-content-typelnotett-note-box p {
  display: flex;
  line-height: 1.5;
  font-size: 1.1rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1000px) {
  .article-content-typelnotett {
    flex-direction: column;
    margin-bottom: 0rem;
    gap: 0.5rem;
  }
  #pdim .article-content-typelnotett-text-box {
    margin-top: 1rem;
  }
  .article-content-typelnotett-note-box .text-divider {
    margin-bottom: 0rem;
  }
}
@media (max-width: 750px) {
  .article-content-typelnotett-text-box h2 {
    font-size: 1.75rem;
  }
}

/* Article Content TypeVS (Versus Boxes) */
.article-content-typevs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 100%;
  height: auto;
}
.article-content-typevs-header {
  display: flex;
  justify-content: start;
  align-items: center;
  width: 100%;
  font-size: 2rem;
  font-weight: 700;
  color: white;
}
.article-content-typevs-box-wrap {
  display: flex;
  justify-items: center;
  align-items: stretch;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  margin-bottom: 1rem;
  width: 100%;
  height: auto;
}
.article-content-typevs-box {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  padding: 0.75rem;
  gap: 0.5rem;
  width: 100%;
  height: auto;
  border-radius: 15px;
  border: solid 1px #006eff50;
  background-color: #006eff1a;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.01) 0 1px,
    transparent 1px 7.5px
  );
  transition: all 0.2s ease-in-out;
}
.article-content-typevs-box:hover {
  transform: scale(1.02);
  border-color: #4c98ff75;
  background-color: #006eff3d;
}
.article-content-typevs-box img {
  display: block;
  object-fit: cover;
  object-position: top;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 200px;
  border-radius: 25px;
}
.article-content-typevs-box h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4c98ff;
}
.article-content-typevs-box h2 span {
  color: #ffffff;
}
.article-content-typevs-box .text-divider {
  margin: 0.25rem 0rem 0.25rem 0rem;
  width: 30%;
  height: 2px;
  opacity: 0.75;
}
.article-content-typevs-box p {
  line-height: 1.5;
  font-size: 1.1rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255, 0.9);
}
.article-content-typevs-box p span {
  font-weight: 700;
  color: rgba(255, 255, 255);
}
.article-content-typevs-box-divider {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}
.article-content-typevs-box-divider h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  text-shadow: 5 5 10px #00000075;
  border-radius: 50%;
  border: solid 1px #ffffff50;
  background: linear-gradient(220deg, #000d1f 0%, #006eff 100%);
  transition: all 0.2s ease-in-out;
}
.article-content-typevs-box-divider h2:hover {
  transform: scale(1.05);
  border-color: #ffffff90;
}

@media (max-width: 800px) {
  .article-content-typevs-box-wrap {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Article Content Typegrid (Grid Boxes) */
.article-content-typegrid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 100%;
  height: auto;
}
.article-content-typegrid-header {
  display: flex;
  justify-content: start;
  align-items: center;
  width: 100%;
  font-size: 2rem;
  font-weight: 700;
  color: white;
}
.article-content-typegrid-box-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: auto;
  justify-items: center;
  align-items: stretch;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  margin-bottom: 1rem;
  gap: 1rem;
  width: 100%;
  height: auto;
}
#cdrs .article-content-typegrid-box-wrap {
  gap: 1rem;
}
.article-content-typegrid-box {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  padding: 0.75rem;
  gap: 0.5rem;
  width: 100%;
  height: auto;
  border-radius: 15px;
  border: solid 1px #006eff50;
  background-color: #006eff1a;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.01) 0 1px,
    transparent 1px 7.5px
  );
  transition: all 0.2s ease-in-out;
}
.article-content-typegrid-box:hover {
  transform: scale(1.02);
  border-color: #4c98ff75;
  background-color: #006eff3d;
}
.article-content-typegrid-box img {
  display: block;
  object-fit: cover;
  object-position: top;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 200px;
  border-radius: 25px;
}
.article-content-typegrid-box-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: solid 1px #006eff75;
  background-color: #14131b;
}
.article-content-typegrid-box-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0px;
}
.article-content-typegrid-box h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4c98ff;
}
.article-content-typegrid-box h2 span {
  color: #ffffff;
}
.article-content-typegrid-box .text-divider {
  width: 30%;
  height: 2px;
  opacity: 0.75;
}
.article-content-typegrid-box p {
  line-height: 1.5;
  font-size: 1.1rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255, 0.9);
}
.article-content-typegrid-box p span {
  font-weight: 700;
  color: rgba(255, 255, 255);
}

@media (max-width: 1150px) {
  .article-content-typegrid-box-wrap {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
  }
  #sos .article-content-typegrid-box-wrap {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }
}
@media (max-width: 800px) {
  #sos .article-content-typegrid-box-wrap {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(2, auto);
  }
}
@media (max-width: 700px) {
  .article-content-typegrid-box-wrap {
    grid-template-columns: 1fr;
  }
  #cdrs .article-content-typegrid-box-wrap {
    gap: 2rem;
  }
}

/* Article Content Typebcgrid (Breed Card Grid) */
.article-content-typebcgrid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 100%;
  height: auto;
}
.article-content-typebcgrid-header {
  display: flex;
  justify-content: start;
  align-items: center;
  width: 100%;
  font-size: 2rem;
  font-weight: 700;
  color: white;
}
.article-content-typebcgrid-header-desc {
  margin-bottom: 1rem;
  line-height: 1.5;
  font-size: 1.1rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255, 0.85);
}
.article-content-typebcgrid-card-wrap {
  display: grid;
  /* Explicit 3-column at large, falls back via media queries */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
  justify-items: center;
  align-items: stretch;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  perspective: 100000px;
  margin-bottom: 1rem;
  gap: 1.5rem;
  width: 100%;
  height: auto;
}
.article-content-typebcgrid-card {
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 0.5rem;
  width: 100%;
  /* Responsive intrinsic height (remove dependence on wrap fixed height) */
  height: clamp(380px, 50vw, 500px);
  border-radius: 25px;
  border: solid 2px #006eff50;
  background-color: #006eff1a;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.01) 0 1px,
    transparent 1px 7.5px
  );
  will-change: transform; /* Optimize for 3D transform */
  transform-style: preserve-3d; /* Keep both sides in 3D space */
  transition: border-color 0.2s ease-in-out;
}
.article-content-typebcgrid-card:hover {
  border-color: #006eff;
}
.article-content-typebcgrid-card:hover
  .article-content-typebcgrid-card-front-text
  h5,
.article-content-typebcgrid-card:hover
  .article-content-typebcgrid-card-back-text
  h5 {
  border-color: #ffffff;
  background-color: #004aad;
}
/* Faces occupy card area */
.article-content-typebcgrid-card-front,
.article-content-typebcgrid-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.5s ease-in-out;
}

.article-content-typebcgrid-card-front {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transform: rotateY(0deg);
  z-index: 2;
}
.article-content-typebcgrid-card-front-image {
  position: absolute;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  background-color: #001d44;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  z-index: 1;
}
.article-content-typebcgrid-card-front-header-wrap {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  margin-top: 0.25rem;
  margin-left: 0.75rem;
  width: 100%;
  height: auto;
}
.article-content-typebcgrid-card-front-header {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  padding: 0.25rem 0.75rem;
  gap: 0.5rem;
  width: auto;
  height: auto;
  border-radius: 25px;
  border: solid 1px #006eff75;
  background-color: #000d1f;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.02) 0 1px,
    transparent 1px 7.5px
  );
  z-index: 2;
}
.article-content-typebcgrid-card-front-header img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  object-position: top;
}
.article-content-typebcgrid-card-front-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}
.article-content-typebcgrid-card-front-text {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  padding: 0.5rem 0.5rem;
  gap: 0.5rem;
  width: 100%;
  height: auto;
  border-top: #004aad 1px solid;
  border-bottom: #000d1f 1px solid;
  background-color: #000d1f;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.01) 0 1px,
    transparent 1px 7.5px
  );
  z-index: 2;
}
.article-content-typebcgrid-card-front-text p {
  line-height: 1.5;
  font-size: 1.1rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255, 0.85);
}
.article-content-typebcgrid-card-front-text h5,
.article-content-typebcgrid-card-back-text h5 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.1rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  border-radius: 25px;
  border: solid 1px #006eff75;
  background-color: #4c98ff;
  transition: all 0.2s ease-in-out;
}
.article-content-typebcgrid-card-back {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  transform: rotateY(180deg);
  background: linear-gradient(360deg, #000d1f 0%, #002658 100%);
}

/* Flipped state: front hides, back shows */
.article-content-typebcgrid-card.is-flipped
  .article-content-typebcgrid-card-front {
  transform: rotateY(180deg);
}
.article-content-typebcgrid-card.is-flipped
  .article-content-typebcgrid-card-back {
  transform: rotateY(0deg);
}
.article-content-typebcgrid-card-back-header-wrap {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  margin-top: 0.25rem;
  margin-left: 0.75rem;
  width: 100%;
  height: auto;
}
.article-content-typebcgrid-card-back-header {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  padding: 0.25rem 0.75rem;
  gap: 0.5rem;
  width: auto;
  height: auto;
  border-radius: 25px;
  border: solid 1px #006eff75;
  background-color: #000d1f;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.02) 0 1px,
    transparent 1px 7.5px
  );
  z-index: 2;
}
.article-content-typebcgrid-card-back-header img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  object-position: top;
}
.article-content-typebcgrid-card-back-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}
.article-content-typebcgrid-card-back-quick {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  padding: 0.5rem 0.5rem;
  gap: 0.5rem;
  width: 100%;
  height: auto;
}
.article-content-typebcgrid-card-back-quick p {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  padding: 0.1rem 0.75rem;
  gap: 0.5rem;
  width: 100%;
  line-height: 1.5;
  font-size: 1.1rem;
  font-family: "Quicksand", sans-serif;
  color: white;
  border-radius: 25px;
  border: solid 1px #006eff;
  background-color: #000d1f;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.02) 0 1px,
    transparent 1px 7.5px
  );
}
.article-content-typebcgrid-card-back-quick p span {
  font-weight: 700;
}
.article-content-typebcgrid-card-back-text {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  padding: 0.5rem 1rem;
  gap: 1rem;
  width: 100%;
  height: auto;
}
.article-content-typebcgrid-card-back-text-box {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 0.25rem;
  width: 100%;
  height: auto;
}
.article-content-typebcgrid-card-back-text-box h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}
.article-content-typebcgrid-card-back-text-box p {
  line-height: 1.5;
  font-size: 1rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255, 0.85);
}
.article-content-typebcgrid-card-back-text h5 {
  margin-bottom: 0.25rem;
}

.article-content-typebcgrid-card:not(.is-flipped)
  .article-content-typebcgrid-card-back {
  pointer-events: none;
}
.article-content-typebcgrid-card.is-flipped
  .article-content-typebcgrid-card-front {
  pointer-events: none;
}
.article-content-typebcgrid-card.is-flipped
  .article-content-typebcgrid-card-back {
  pointer-events: auto;
}

@media (max-width: 1350px) {
  .article-content-typebcgrid-card-wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
  }
}
@media (max-width: 1000px) {
  .article-content-typebcgrid-card-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }
}
@media (max-width: 700px) {
  .article-content-typebcgrid-card-wrap {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

/* Article Content Typequote */
.article-content-typequote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  height: auto;
}
.article-content-typequote-icon-row-1,
.article-content-typequote-icon-row-2 {
  display: flex;
  align-items: center;
  width: 100%;
  height: auto;
}
.article-content-typequote-icon-row-1 {
  justify-content: start;
}
.article-content-typequote-icon-row-2 {
  justify-content: end;
}
.article-content-typequote-icon-row-1 img,
.article-content-typequote-icon-row-2 img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  object-position: center;
}
.article-content-typequote-icon-row-1 img {
  transform: rotate(180deg);
}
.article-content-typequote-text {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  padding: 0rem 60px;
  gap: 0.5rem;
  width: 100%;
  height: auto;
  border-radius: 5px;
  background-color: #001d44;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0 1px,
    transparent 1px 7.5px
  );
}
.article-content-typequote p {
  margin-top: 0.5rem;
  line-height: 1.5;
  font-size: 1.25rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255);
}
.article-content-typequote a {
  margin-bottom: 0.5rem;
  text-decoration: none;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  color: #4c97ffd3;
  transition: all 0.2s ease-in-out;
}
.article-content-typequote a:hover {
  text-decoration: underline;
  color: #4c97ff;
}

@media (max-width: 600px) {
  .article-content-typequote-text {
    padding: 0rem 30px;
  }
}

/* Article Content Typectaitt (CTA + Image + Title + Text) */
.article-content-typectaitt {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  height: auto;
}
.article-content-typectaitt-text {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  padding: 1rem 0rem;
  gap: 1rem;
  flex: 1 1 60%;
  width: 100%;
  height: auto;
}
.article-content-typectaitt-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
}
.article-content-typectaitt-text p {
  line-height: 1.5;
  font-size: 1.1rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255, 0.85);
}
.article-content-typectaitt-text p span {
  color: #ffffff;
  font-weight: 700;
}
.article-content-typectaitt-footer {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  width: 100%;
  gap: 0.5rem;
}
.article-content-typectaitt-footer-phone {
  width: 27.5px;
  height: 27.5px;
  border-radius: 50%;
  border: solid 1px #4c98ff;
  transition: all 0.2s ease-in-out;
}
.article-content-typectaitt-footer-phone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.article-content-typectaitt-footer-phone:hover {
  transform: scale(1.05);
  border: solid 1px #ffffff;
}
.article-content-typectaitt-footer-form {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.25rem 1rem;
  text-decoration: none;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #4c98ff;
  border-radius: 25px;
  border: solid 1px #4c98ff;
  background-color: transparent;
  transition: all 0.2s ease-in-out;
}
.article-content-typectaitt-footer-form:hover {
  transform: scale(1.01);
  color: #ffffff;
  border: solid 1px #ffffff;
  background-color: #4c98ff;
}

.article-content-typectaitt-image {
  overflow: hidden;
  flex: 1 1 40%;
  width: 100%;
  max-height: 425px;
  align-self: stretch;
  border-radius: 25px;
  border: solid 1px #006eff;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  background-color: #001d44;
}

@media (max-width: 750px) {
  .article-content-typectaitt {
    flex-direction: column-reverse;
    gap: 0rem;
  }
  .article-content-typectaitt-image {
    min-height: 200px;
  }
  .article-content-typectaitt-text h2 {
    font-size: 1.75rem;
  }
}

/* ============================ */
/*    Article Footer Section */
/* ============================ */

.article-footer-container {
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  padding: 2rem 1rem;
  background: rgba(0, 29, 68, 0.28);
  background: linear-gradient(360deg, rgba(0, 29, 68, 0.28) 0%, #001d44 100%);
}
.article-footer-container-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-repeat: repeat;
  background-image: url(../../assets/photos/grid-bg.png);
  background-size: contain;
  background-position: center;
  opacity: 7.5%;
}
.article-footer-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 1.5rem;
  max-width: 1500px;
}

/* Article Footer Header */
.article-footer-wrap-header {
  font-size: 2rem;
  font-weight: 700;
  color: white;
}
.article-footer-wrap .text-divider {
  width: 100%;
  height: 1px;
  background: #ffffff;
  opacity: 0.25;
}

/* Article Footer Boxes */
.article-footer-box {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  padding: 0.5rem;
  gap: 1rem;
  width: 100%;
  height: auto;
  border-radius: 15px;
  background-color: transparent;
  transition: all 0.2s ease-in-out;
}
.article-footer-box:hover {
  box-shadow: 0 4px 15px rgba(0, 24, 54, 0.4);
  background-color: #357ae850;
}
.article-footer-box-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.article-footer-box-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  flex: 1 1 90%;
  gap: 0.5rem;
  width: 100%;
  height: auto;
  transition: all 0.2s ease-in-out;
}
.article-footer-box-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}
.article-footer-box-text p {
  line-height: 1.5;
  font-size: 1.1rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255, 0.85);
}
.article-footer-box-text-footer {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  margin-top: 0.5rem;
  width: 100%;
  gap: 0.25rem;
}
.article-footer-box-text-footer h4 {
  font-size: 0.9rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255, 0.7);
}
.article-footer-box-text-footer h5 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.1rem 0.5rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #4c98ff;
  transition: all 0.2s ease-in-out;
}
.article-footer-box:hover .article-footer-box-text-footer h5 {
  border-radius: 25px;
  background-color: #4c98ff;
  color: white;
}
.article-footer-box-image {
  overflow: hidden;
  /* keep a responsive square: min 60px, ideal 10% of container, max 120px */
  width: clamp(150px, 10%, 150px);
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  align-self: center;
  border-radius: 25px;
  border: solid 1px #006eff;
  background-color: #001d44;
  display: block;
}
.article-footer-box-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.article-footer-return {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.25rem 1rem;
  text-decoration: none;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #4c98ff;
  border-radius: 25px;
  border: solid 1px #4c98ff;
  background-color: transparent;
  transition: all 0.2s ease-in-out;
}
.article-footer-return:hover {
  color: #ffffff;
  background-color: #4c98ff;
}

@media (max-width: 750px) {
  .article-footer-wrap-header {
    font-size: 1.75rem;
  }
  .article-footer-box {
    flex-direction: column-reverse;
    gap: 1rem;
    padding: 0rem 0rem;
  }
  .article-footer-box-image {
    width: 100%;
    aspect-ratio: auto;
    height: auto;
    max-height: 200px;
  }
}
