/* =========================================================
   DR GPV SUBBAIAH
   BLOG LISTING + BLOG DETAIL PAGE
   NAVY + TEAL THEME
========================================================= */

:root {
  --blog-navy: #0b253d;
  --blog-navy2: #12354f;

  --blog-teal: #18b5ae;
  --blog-teal-dark: #0f8f8b;
  --blog-teal-soft: #eaf9f8;

  --blog-white: #ffffff;

  --blog-text: #294354;
  --blog-muted: #617787;

  --blog-bg: #f5f9fa;
  --blog-border: #dce7eb;

  --blog-shadow:
    0 16px 40px rgba(11, 37, 61, 0.08);
}


/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
}


/* =========================================================
   BLOG HERO / BREADCRUMB
========================================================= */

.blog-page-hero {
  padding: 58px 0 62px;

  color: #ffffff;

  text-align: center;

  background:
    linear-gradient(
      115deg,
      var(--blog-navy),
      #105666,
      var(--blog-teal-dark)
    );
}


.blog-page-hero-inner {
  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;
}


.blog-breadcrumb {
  display: flex;

  align-items: center;

  justify-content: center;

  flex-wrap: wrap;

  gap: 10px;

  margin-bottom: 16px;

  font-size: 15px;

  font-weight: 700;
}


.blog-breadcrumb a {
  color:
    rgba(255, 255, 255, 0.84);

  text-decoration: none;
}


.blog-breadcrumb a:hover {
  color: #ffffff;
}


.blog-breadcrumb i {
  color:
    rgba(255, 255, 255, 0.5);

  font-size: 9px;
}


.blog-breadcrumb span {
  color: #83e7e1;
}


.blog-page-hero h1 {
  margin: 0 0 13px;

  color: #ffffff;

  font-size:
    clamp(
      44px,
      5vw,
      60px
    );

  line-height: 1.1;

  font-weight: 800;

  letter-spacing: -1px;
}


.blog-page-hero p {
  width:
    min(
      820px,
      100%
    );

  margin: 0 auto;

  color:
    rgba(255, 255, 255, 0.84);

  font-size: 17px;

  line-height: 1.8;
}


/* =========================================================
   BLOG LIST SECTION
========================================================= */

.blog-list-section {
  padding: 95px 0;

  background:
    var(--blog-bg);
}


/* =========================================================
   BLOG LIST HEADING
========================================================= */

.blog-section-head {
  width:
    min(
      820px,
      100%
    );

  margin:
    0 auto 50px;

  text-align: center;
}


.blog-section-head > span {
  display: block;

  margin-bottom: 11px;

  color:
    var(--blog-teal-dark);

  font-size: 14px;

  font-weight: 800;

  letter-spacing: 1.6px;
}


.blog-section-head h2 {
  margin: 0 0 15px;

  color:
    var(--blog-navy);

  font-size:
    clamp(
      38px,
      4vw,
      50px
    );

  line-height: 1.2;

  font-weight: 800;

  letter-spacing: -1px;
}


.blog-section-head h2 strong {
  color:
    var(--blog-teal);
}


.blog-section-head p {
  margin: 0;

  color:
    var(--blog-muted);

  font-size: 17px;

  line-height: 1.85;
}


/* =========================================================
   BLOG GRID
========================================================= */

.blog-grid {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap: 32px;
}


/* =========================================================
   BLOG CARD
========================================================= */

.blog-card {
  overflow: hidden;

  background:
    #ffffff;

  border:
    1px solid
    var(--blog-border);

  border-radius: 22px;

  box-shadow:
    var(--blog-shadow);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}


.blog-card:hover {
  transform:
    translateY(-5px);

  border-color:
    rgba(24, 181, 174, 0.35);

  box-shadow:
    0 22px 50px
    rgba(11, 37, 61, 0.12);
}


/* =========================================================
   BLOG CARD IMAGE
========================================================= */

.blog-card__image {
  position: relative;

  display: block;

  height: 310px;

  overflow: hidden;

  background:
    #eaf2f4;
}


.blog-card__image img {
  width: 100%;

  height: 100%;

  display: block;

  object-fit: cover;

  object-position: center;

  transition:
    transform 0.4s ease;
}


.blog-card:hover
.blog-card__image img {
  transform:
    scale(1.04);
}


/* =========================================================
   BLOG CARD DATE
========================================================= */

.blog-card__date {
  position: absolute;

  left: 22px;

  bottom: 18px;

  width: 68px;

  height: 68px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      var(--blog-teal),
      var(--blog-teal-dark)
    );

  border:
    3px solid #ffffff;

  border-radius: 15px;

  box-shadow:
    0 10px 24px
    rgba(11, 37, 61, 0.18);
}


.blog-card__date strong {
  font-size: 23px;

  line-height: 1;

  font-weight: 800;
}


.blog-card__date small {
  margin-top: 4px;

  font-size: 11px;

  line-height: 1;

  font-weight: 700;

  text-transform: uppercase;
}


/* =========================================================
   BLOG CARD BODY
========================================================= */

.blog-card__body {
  padding: 30px 30px 32px;
}


.blog-card__eyebrow {
  display: block;

  margin-bottom: 11px;

  color:
    var(--blog-teal-dark);

  font-size: 13px;

  font-weight: 800;

  letter-spacing: 1.2px;

  text-transform: uppercase;
}


.blog-card h2 {
  margin: 0 0 15px;

  font-size: 25px;

  line-height: 1.42;

  font-weight: 800;
}


.blog-card h2 a {
  color:
    var(--blog-navy);

  text-decoration: none;
}


.blog-card h2 a:hover {
  color:
    var(--blog-teal-dark);
}


.blog-card p {
  margin: 0 0 22px;

  color:
    var(--blog-muted);

  font-size: 16px;

  line-height: 1.85;
}


.blog-card__read {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  color:
    var(--blog-teal-dark);

  font-size: 15px;

  font-weight: 800;

  text-decoration: none;
}


.blog-card__read i {
  font-size: 12px;

  transition:
    transform 0.2s ease;
}


.blog-card__read:hover i {
  transform:
    translateX(4px);
}


/* =========================================================
   DETAIL PAGE SECTION
========================================================= */

.blog-detail-section {
  padding: 84px 0 100px;

  background:
    var(--blog-bg);
}


/* =========================================================
   DETAIL PAGE WIDTH
========================================================= */

.blog-detail-shell {
  width:
    min(
      1220px,
      calc(100% - 30px)
    );

  margin: 0 auto;
}


/* =========================================================
   BACK LINK
========================================================= */

.blog-back {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  margin-bottom: 25px;

  color:
    var(--blog-teal-dark);

  font-size: 15px;

  line-height: 1.4;

  font-weight: 800;

  text-decoration: none;

  transition:
    gap 0.2s ease,
    color 0.2s ease;
}


.blog-back:hover {
  gap: 13px;

  color:
    var(--blog-teal);
}


/* =========================================================
   DETAIL ARTICLE BOX
========================================================= */

.blog-details {
  overflow: hidden;

  background:
    #ffffff;

  border:
    1px solid
    var(--blog-border);

  border-radius: 24px;

  box-shadow:
    0 18px 45px
    rgba(11, 37, 61, 0.075);
}


/* =========================================================
   DETAIL MAIN IMAGE
========================================================= */

.blog-details
.blog-card-four__image {
  position: relative;

  width:
    calc(100% - 72px);

  height: 390px;

  margin:
    36px auto 0;

  overflow: hidden;

  background:
    #edf3f5;

  border-radius: 18px;
}


.blog-details
.blog-card-four__image img {
  width: 100%;

  height: 100%;

  display: block;

  object-fit: cover;

  object-position: center;
}


/* =========================================================
   DETAIL DATE
========================================================= */

.blog-details
.blog-card-four__date {
  position: absolute;

  left: 23px;

  bottom: 21px;

  width: 68px;

  height: 68px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      var(--blog-teal),
      var(--blog-teal-dark)
    );

  border:
    3px solid #ffffff;

  border-radius: 15px;

  box-shadow:
    0 9px 24px
    rgba(11, 37, 61, 0.18);
}


.blog-details
.blog-card-four__date__day {
  font-size: 23px;

  line-height: 1;

  font-weight: 800;
}


.blog-details
.blog-card-four__date__month {
  margin-top: 4px;

  font-size: 10px;

  font-weight: 800;

  text-transform: uppercase;
}


/* =========================================================
   DETAIL TITLE AREA
========================================================= */

.blog-details
.blog-card-four__content {
  padding:
    40px 56px 22px;
}


.blog-details
.blog-card-four__title {
  max-width: 1080px;

  margin: 0 0 19px;

  color:
    var(--blog-navy);

  font-size:
    clamp(
      34px,
      3.4vw,
      45px
    );

  line-height: 1.25;

  font-weight: 800;

  letter-spacing: -0.6px;
}


.blog-details
.blog-card-four__text {
  max-width: 1080px;

  margin: 0;

  color:
    var(--blog-muted);

  font-size: 17px;

  line-height: 1.9;
}


/* =========================================================
   ARTICLE INNER
========================================================= */

.blog-details__inner {
  padding:
    10px 56px 58px;
}


.blog-details__inner__content {
  margin-top: 32px;
}


/* =========================================================
   ARTICLE PARAGRAPHS
========================================================= */

.blog-details__inner p {
  margin: 0 0 19px;

  color:
    var(--blog-muted);

  font-size: 17px;

  line-height: 1.9;
}


.blog-details__inner strong {
  color:
    var(--blog-text);

  font-weight: 800;
}


/* =========================================================
   ARTICLE HEADINGS
========================================================= */

.blog-details__inner h2,
.blog-details__inner h3,
.blog-details__inner h4,
.blog-details h2,
.blog-details h3,
.blog-details h4 {
  color:
    var(--blog-navy);

  font-weight: 800;

  line-height: 1.35;
}


.blog-details__inner h2 {
  position: relative;

  margin:
    40px 0 18px;

  padding-left: 18px;

  font-size: 31px;
}


.blog-details__inner h2::before {
  content: "";

  position: absolute;

  left: 0;

  top: 5px;

  width: 4px;

  height:
    calc(100% - 10px);

  background:
    var(--blog-teal);

  border-radius: 10px;
}


.blog-details__inner h3 {
  margin:
    31px 0 15px;

  font-size: 25px;
}


.blog-details__inner h4 {
  margin:
    27px 0 13px;

  font-size: 21px;
}


/* =========================================================
   ARTICLE LIST
========================================================= */

.blog-details__inner ul,
.blog-details__inner ol {
  margin:
    0 0 24px;

  padding-left: 25px;

  color:
    var(--blog-muted);
}


.blog-details__inner li {
  margin-bottom: 10px;

  padding-left: 3px;

  color:
    var(--blog-muted);

  font-size: 16px;

  line-height: 1.85;
}


.blog-details__inner li::marker {
  color:
    var(--blog-teal-dark);
}


/* =========================================================
   TWO IMAGES SAME ROW
   USE WRAPPER:
   .blog-details__inner__images
========================================================= */

.blog-details__inner__images {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap: 22px;

  width: 100%;

  margin:
    28px 0 34px;
}


/* =========================================================
   SINGLE INNER IMAGE
========================================================= */

.blog-details__inner__image {
  width: 100%;

  height: 270px;

  margin: 0;

  overflow: hidden;

  background:
    #edf4f5;

  border:
    1px solid
    var(--blog-border);

  border-radius: 17px;

  box-shadow:
    0 9px 25px
    rgba(11, 37, 61, 0.06);
}


.blog-details__inner__image img {
  width: 100%;

  height: 100%;

  display: block;

  object-fit: cover;

  object-position: center;

  transition:
    transform 0.35s ease;
}


.blog-details__inner__image:hover img {
  transform:
    scale(1.03);
}


/* =========================================================
   IF ONLY ONE IMAGE OUTSIDE WRAPPER
========================================================= */

.blog-details__inner >
.blog-details__inner__image,
.blog-details__inner__content >
.blog-details__inner__image {
  max-width: 720px;

  height: 300px;

  margin:
    26px auto 32px;
}


/* =========================================================
   BLOCKQUOTE
========================================================= */

.blog-details blockquote {
  margin:
    30px 0;

  padding:
    23px 27px;

  color:
    var(--blog-text);

  background:
    var(--blog-teal-soft);

  border-left:
    4px solid
    var(--blog-teal);

  border-radius:
    0 14px 14px 0;

  font-size: 17px;

  line-height: 1.8;
}


/* =========================================================
   ARTICLE LINKS
========================================================= */

.blog-details__inner a {
  color:
    var(--blog-teal-dark);

  font-weight: 700;

  text-decoration: none;
}


.blog-details__inner a:hover {
  color:
    var(--blog-teal);

  text-decoration: underline;
}


/* =========================================================
   TABLE
========================================================= */

.blog-details table {
  width: 100%;

  margin:
    28px 0 32px;

  border-collapse:
    separate;

  border-spacing: 0;

  overflow: hidden;

  background:
    #ffffff;

  border:
    1px solid
    var(--blog-border);

  border-radius: 14px;
}


.blog-details th,
.blog-details td {
  padding:
    15px 17px;

  border-right:
    1px solid
    var(--blog-border);

  border-bottom:
    1px solid
    var(--blog-border);

  text-align: left;

  color:
    var(--blog-muted);

  font-size: 15px;

  line-height: 1.7;
}


.blog-details th {
  color:
    var(--blog-navy);

  background:
    var(--blog-teal-soft);

  font-weight: 800;
}


.blog-details tr:last-child td {
  border-bottom: 0;
}


.blog-details th:last-child,
.blog-details td:last-child {
  border-right: 0;
}


/* =========================================================
   RESPONSIVE - LARGE TABLET
========================================================= */

@media (max-width: 1050px) {

  .blog-page-hero {
    padding:
      52px 0 55px;
  }


  .blog-page-hero h1 {
    font-size: 46px;
  }


  .blog-page-hero p {
    font-size: 16px;
  }


  .blog-list-section {
    padding:
      75px 0;
  }


  .blog-grid {
    grid-template-columns:
      1fr;

    gap: 26px;
  }


  .blog-card__image {
    height: 350px;
  }


  .blog-detail-section {
    padding:
      68px 0 82px;
  }


  .blog-detail-shell {
    width:
      min(
        930px,
        calc(100% - 28px)
      );
  }


  .blog-details
  .blog-card-four__image {
    width:
      calc(100% - 48px);

    height: 330px;

    margin-top: 24px;
  }


  .blog-details
  .blog-card-four__content {
    padding:
      34px 34px 20px;
  }


  .blog-details__inner {
    padding:
      8px 34px 44px;
  }


  .blog-details
  .blog-card-four__title {
    font-size: 36px;
  }


  .blog-details
  .blog-card-four__text,
  .blog-details__inner p {
    font-size: 16px;
  }


  .blog-details__inner__images {
    gap: 16px;
  }


  .blog-details__inner__image {
    height: 225px;
  }


  .blog-details__inner >
  .blog-details__inner__image,
  .blog-details__inner__content >
  .blog-details__inner__image {
    max-width: 650px;

    height: 270px;
  }


  .blog-details__inner h2 {
    font-size: 28px;
  }


  .blog-details__inner h3 {
    font-size: 23px;
  }


  .blog-details__inner li {
    font-size: 15px;
  }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 650px) {

  /* HERO */

  .blog-page-hero {
    padding:
      42px 0 46px;
  }


  .blog-breadcrumb {
    font-size: 13px;
  }


  .blog-page-hero h1 {
    font-size: 37px;
  }


  .blog-page-hero p {
    font-size: 14px;

    line-height: 1.75;
  }


  /* LIST */

  .blog-list-section {
    padding:
      62px 0;
  }


  .blog-section-head {
    margin-bottom: 36px;
  }


  .blog-section-head > span {
    font-size: 11px;
  }


  .blog-section-head h2 {
    font-size: 32px;
  }


  .blog-section-head p {
    font-size: 14px;
  }


  .blog-grid {
    gap: 22px;
  }


  .blog-card {
    border-radius: 18px;
  }


  .blog-card__image {
    height: 235px;
  }


  .blog-card__date {
    width: 58px;

    height: 58px;

    left: 14px;

    bottom: 13px;
  }


  .blog-card__date strong {
    font-size: 20px;
  }


  .blog-card__body {
    padding:
      23px 20px 25px;
  }


  .blog-card__eyebrow {
    font-size: 11px;
  }


  .blog-card h2 {
    font-size: 21px;
  }


  .blog-card p {
    font-size: 14px;

    line-height: 1.8;
  }


  .blog-card__read {
    font-size: 14px;
  }


  /* DETAIL */

  .blog-detail-section {
    padding:
      52px 0 68px;
  }


  .blog-detail-shell {
    width:
      calc(100% - 20px);
  }


  .blog-back {
    margin-bottom: 18px;

    font-size: 13px;
  }


  .blog-details {
    border-radius: 17px;
  }


  .blog-details
  .blog-card-four__image {
    width:
      calc(100% - 28px);

    height: 220px;

    margin:
      14px auto 0;

    border-radius: 13px;
  }


  .blog-details
  .blog-card-four__date {
    left: 13px;

    bottom: 12px;

    width: 56px;

    height: 56px;
  }


  .blog-details
  .blog-card-four__date__day {
    font-size: 19px;
  }


  .blog-details
  .blog-card-four__content {
    padding:
      26px 19px 15px;
  }


  .blog-details
  .blog-card-four__title {
    font-size: 28px;

    line-height: 1.3;
  }


  .blog-details
  .blog-card-four__text {
    font-size: 14px;

    line-height: 1.8;
  }


  .blog-details__inner {
    padding:
      6px 19px 32px;
  }


  .blog-details__inner p {
    font-size: 14px;

    line-height: 1.82;
  }


  .blog-details__inner h2 {
    margin-top: 30px;

    padding-left: 14px;

    font-size: 24px;
  }


  .blog-details__inner h3 {
    margin-top: 25px;

    font-size: 21px;
  }


  .blog-details__inner h4 {
    font-size: 18px;
  }


  .blog-details__inner li {
    font-size: 14px;

    line-height: 1.75;
  }


  /* TWO IMAGES BECOME ONE COLUMN */

  .blog-details__inner__images {
    grid-template-columns:
      1fr;

    gap: 16px;

    margin:
      20px 0 26px;
  }


  .blog-details__inner__image {
    width: 100%;

    height: 215px;
  }


  .blog-details__inner >
  .blog-details__inner__image,
  .blog-details__inner__content >
  .blog-details__inner__image {
    max-width: 100%;

    height: 215px;

    margin:
      18px 0 22px;
  }


  /* TABLE */

  .blog-details table {
    display: block;

    width: 100%;

    overflow-x: auto;

    white-space: nowrap;
  }


  .blog-details th,
  .blog-details td {
    padding:
      11px 13px;

    font-size: 13px;
  }


  .blog-details blockquote {
    padding: 18px;

    font-size: 14px;
  }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

  .blog-page-hero h1 {
    font-size: 34px;
  }


  .blog-card__image {
    height: 215px;
  }


  .blog-card h2 {
    font-size: 20px;
  }


  .blog-details
  .blog-card-four__image {
    height: 195px;
  }


  .blog-details
  .blog-card-four__title {
    font-size: 25px;
  }


  .blog-details__inner__image {
    height: 190px;
  }

}