.blogs-page {
  color: #102a43;
  background: #ffffff;
}

.blogs-page-shell {
  overflow: hidden;
  background: #ffffff;
}

.blog-top-ribbon {
  background: linear-gradient(90deg, #00858e, #009ca6);
}

.blog-top-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.blog-kicker,
.blog-badge {
  display: inline-flex;
  width: max-content;
  align-items: center;
  color: #009ca6;
  background: rgba(0, 156, 166, 0.09);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-kicker {
  margin-bottom: 14px;
  padding: 5px 8px;
}

.blog-badge {
  padding: 5px 8px;
  font-size: 10px;
}

.blog-hero {
  position: relative;
  display: grid;
  height: 460px;
  min-height: 0;
  align-items: center;
  overflow: hidden;
  padding: 36px var(--site-gutter) 30px;
  background: #f6f6f6;
}

.blog-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 500px;
}

.blog-hero h1 {
  color: #102a43;
  font-size: clamp(34px, 3.15vw, 50px);
  line-height: 1.12;
}

.blog-hero h1 span {
  display: block;
  color: #009ca6;
}

.blog-hero p {
  max-width: 480px;
  margin-top: 16px;
  color: #334e68;
  font-size: 14px;
  line-height: 1.65;
}

.blog-primary-btn,
.blog-load-more,
.blog-newsletter button,
.sidebar-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  height: 36px;
  min-height: 36px;
  padding: 0 12px;
  gap: 8px;
  color: #fff;
  background: var(--forest);
  border: 0;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), background 260ms ease;
}

.blog-primary-btn:hover,
.blog-load-more:hover,
.blog-newsletter button:hover,
.sidebar-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.34);
}

.blog-primary-btn {
  margin-top: 22px;
}

.blog-hero-visual {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 1;
  width: min(72vw, 1280px);
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 14%, #000 31%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 14%, #000 31%);
}

.blog-hero-visual img {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center right;
}

.blog-categories {
  position: relative;
  z-index: 3;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(102px, 1fr);
  gap: 14px;
  align-items: stretch;
  margin: -42px var(--site-gutter) 38px;
  padding: 18px;
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid rgba(0, 156, 166, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(16, 42, 67, 0.11);
  scrollbar-width: none;
}

.blog-categories::-webkit-scrollbar {
  display: none;
}

.blog-categories a,
.blog-categories button {
  display: grid;
  min-width: 96px;
  min-height: 92px;
  place-items: center;
  gap: 8px;
  padding: 12px 10px;
  color: #102a43;
  background: #ffffff;
  border: 0;
  border-radius: 7px;
  font-size: 11px;
  text-align: center;
  transition: background 220ms ease, color 220ms ease, transform 220ms var(--ease);
}

.blog-categories a i,
.blog-categories button i {
  color: #009ca6;
  font-size: 26px;
}

.blog-categories a:hover,
.blog-categories a.is-active,
.blog-categories button:hover {
  color: #ffffff;
  background: #009ca6;
  transform: translateY(-2px);
}

.blog-categories a:hover i,
.blog-categories a.is-active i,
.blog-categories button:hover i {
  color: #ffffff;
}

.blog-content-section {
  display: grid;
  margin-top: 28px;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  width: min(100%, 1280px);
  margin-inline: auto;
  padding: 0 var(--site-gutter) 64px;
}

.blog-main-column {
  min-width: 0;
}

.blog-section-title {
  margin-bottom: 18px;
}

.blog-main-column > .blog-section-title,
.blog-author,
.blog-sidebar,
.blog-search,
.blog-sidebar .sidebar-card,
.blog-sidebar .sidebar-cta {
  display: none !important;
}

.blog-card footer {
  display: flex;
}

.blog-card footer span {
  display: none;
}

.blog-section-title h2,
.sidebar-card h2,
.sidebar-cta h2,
.blog-newsletter h2 {
  color: #102a43;
  font-size: 22px;
  line-height: 1.2;
}

.featured-blog-card {
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(280px, 1.18fr);
  height: 300px;
  min-height: 0;
  overflow: hidden;
  background: #f3fbfc;
  border: 1px solid rgba(0, 156, 166, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(16, 42, 67, 0.1);
}

.featured-blog-card > div {
  display: grid;
  align-content: center;
  padding: 20px 26px;
  background: #e9f1f6;
}

.featured-blog-card h2 {
  max-width: 380px;
  margin-top: 9px;
  color: #102a43;
  font-size: clamp(21px, 1.7vw, 27px);
  line-height: 1.16;
}

.featured-blog-card p {
  max-width: 330px;
  margin-top: 8px;
  color: #334e68;
  font-size: 12px;
  line-height: 1.6;
}

.featured-blog-card > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 78% center;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.blog-author img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
}

.blog-author span {
  display: grid;
  color: #5b7083;
  font-size: 11px;
}

.blog-author strong {
  color: #009ca6;
  font-size: 12px;
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.blog-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(16, 42, 67, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(16, 42, 67, 0.08);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(16, 42, 67, 0.13);
}

.blog-card > img {
  width: 100%;
  height: 178px;
  object-fit: cover;
}

.blog-card > div {
  padding: 20px;
}

.blog-card h3 {
  margin-top: 12px;
  color: #102a43;
  font-size: 18px;
  line-height: 1.25;
}

.blog-card p {
  margin-top: 10px;
  color: #52677a;
  font-size: 13px;
  line-height: 1.62;
}

.blog-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  color: #009ca6;
  font-size: 12px;
}

.blog-card footer a {
  font-weight: 700;
}

.blog-load-more {
  display: flex;
  width: max-content;
  margin: 28px auto 0;
  color: #009ca6;
  background: #ffffff;
  border: 1px solid rgba(0, 156, 166, 0.34);
  box-shadow: none;
}

.blog-sidebar {
  display: grid;
  gap: 22px;
  position: sticky;
  top: 92px;
}

.blog-search {
  display: grid;
  grid-template-columns: 1fr 52px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(16, 42, 67, 0.08);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(16, 42, 67, 0.08);
}

.blog-search input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  color: #102a43;
  background: #ffffff;
  border: 0;
  outline: 0;
}

.blog-search button {
  color: #ffffff;
  background: #009ca6;
  border: 0;
}

.sidebar-card,
.sidebar-cta {
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(16, 42, 67, 0.08);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(16, 42, 67, 0.08);
}

.sidebar-card {
  display: grid;
  gap: 16px;
}

.sidebar-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #334e68;
  font-size: 13px;
}

.sidebar-card > a i,
.sidebar-card > a small {
  color: #009ca6;
}

.sidebar-card > a span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.sidebar-card > a small {
  white-space: nowrap;
}

.sidebar-card-viewall {
  justify-content: flex-start;
  gap: 8px;
  padding-top: 14px;
  color: #009ca6;
  border-top: 1px solid rgba(16, 42, 67, 0.08);
  font-weight: 600;
}

.sidebar-cta {
  color: #ffffff;
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 255, 255, 0.14), transparent 30%),
    linear-gradient(135deg, #009ca6, #006f77);
}

.sidebar-cta i,
.sidebar-cta h2,
.sidebar-cta p {
  color: #ffffff;
}

.sidebar-cta h2 {
  max-width: 220px;
  margin-top: 12px;
}

.sidebar-cta p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
}

.sidebar-cta a {
  margin-top: 18px;
  color: #009ca6;
  background: #ffffff;
  box-shadow: none;
}

.trending-card > a {
  justify-content: start;
}

.trending-card img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
}

.trending-card span {
  display: grid;
  color: #102a43;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.trending-card small {
  color: #009ca6;
  font-size: 13px;
}

.blog-newsletter {
  display: grid;
  grid-template-columns: 72px minmax(240px, 1fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: center;
  margin: 0 var(--site-gutter) 58px;
  padding: 28px 36px;
/*   background: linear-gradient(100deg, #eefafb, #ffffff); */
  border: 1px solid rgba(0, 156, 166, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 42, 67, 0.08);
}

.blog-newsletter > span {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: #009ca6;
  background: #dff6f8;
  border-radius: 50%;
  font-size: 30px;
}

.blog-newsletter p {
  margin-top: 7px;
  color: #334e68;
  font-size: 13px;
}

.blog-newsletter form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.blog-newsletter input {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  color: #102a43;
  background: #ffffff;
  border: 1px solid rgba(16, 42, 67, 0.12);
  border-radius: 6px;
  outline: 0;
}

.blog-footer {
  grid-template-columns: minmax(220px, 1.1fr) repeat(3, minmax(140px, 0.72fr)) minmax(190px, 0.9fr);
}

.blog-footer-map > div {
  display: grid;
  min-height: 208px;
  place-items: center;
  overflow: hidden;

}

.blog-footer-map img {
  display: block;
  width: 100%;
  max-height: 170px;
  object-fit: contain;
  padding: 12px;
  transform: scale(2);
}

.blog-read-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.blog-read-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.blog-read-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 22, 28, 0.58);
  backdrop-filter: blur(8px);
}

.blog-read-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1fr);
  width: min(920px, 100%);
  max-height: min(88vh, 680px);
  overflow: hidden;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 26px 80px rgba(16, 42, 67, 0.28);
  transform: translateY(18px) scale(0.98);
  transition: transform 260ms var(--ease);
}

.blog-read-modal.is-open .blog-read-card {
  transform: translateY(0) scale(1);
}

.blog-read-card > img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.blog-read-body {
  display: grid;
  align-content: center;
  padding: 34px;
}

.blog-read-body h2 {
  margin-top: 14px;
  color: #102a43;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.16;
}

.blog-read-body p {
  margin-top: 14px;
  color: #334e68;
  font-size: 14px;
  line-height: 1.75;
}

.blog-read-body p span {
  display: block;
}

.blog-read-body p span + span {
  margin-top: 12px;
}

.blog-read-body small {
  margin-top: 16px;
  color: #009ca6;
  font-size: 12px;
  font-weight: 700;
}

.blog-read-body a {
  display: inline-flex;
  width: max-content;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
  padding: 0 16px;
  color: #ffffff;
  background: #009ca6;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.blog-read-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #102a43;
  background: rgba(255, 255, 255, 0.9);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(16, 42, 67, 0.16);
  cursor: pointer;
}


.test{
  width: 100%;
  height: 200px;
  background-color: #733333;
/*   position: relative; */
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
}
.test .cnt h3{
 /*  position: absolute; */
  color: #ffffff;
  font-weight: 500;
  font-size: 30px;
}


@media (max-width: 1180px) {
  .blog-content-section,
  .blog-hero,
  .blog-newsletter {
    grid-template-columns: 1fr;
  }

  .blog-hero {
    height: auto;
    gap: 24px;
  }

  .blog-hero-visual {
    position: relative;
    inset: auto;
    width: 100%;
    height: 320px;
    margin-right: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .blog-hero-visual img {
    width: 100%;
  }

  .blog-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-search,
  .trending-card {
    grid-column: 1 / -1;
  }

  .blog-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .blog-top-ribbon,
  .blog-top-contact {
    justify-content: center;
  }

  .blog-top-contact {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .blog-hero,
  .blog-content-section {
    padding-inline: 18px;
  }

  .blog-hero {
    height: auto;
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 72px;
  }

  .blog-hero-visual,
  .blog-hero-visual img {
    min-height: 300px;
  }

  .blog-hero h1 {
    font-size: 38px;
  }

  .blog-categories {
    margin-inline: 18px;
  }

  .featured-blog-card,
  .blog-card-grid,
  .blog-sidebar,
  .blog-newsletter,
  .blog-newsletter form,
  .blog-footer {
    grid-template-columns: 1fr;
  }

  .blog-footer-map > div {
    min-height: 190px;
    overflow: visible;
    justify-items: start;
  }

  .blog-footer-map img {
    width: min(100%, 190px);
    max-height: none;
    padding: 0;
    transform: none;
  }

  .featured-blog-card > div {
    padding: 24px;
  }

  .featured-blog-card {
    height: auto;
  }

  .featured-blog-card > img {
    min-height: 210px;
    max-height: 240px;
  }

  .blog-newsletter {
    margin-inline: 18px;
    padding: 24px;
  }

  .blog-newsletter button {
    width: 100%;
  }

  .blog-read-card {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .blog-read-card > img {
    min-height: 220px;
    max-height: 260px;
  }

  .blog-read-body {
    padding: 24px;
  }
}
