*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-dark: #07416F;
  --blue-mid: #0a5a9c;
  --blue-light: #00A6FC;
  --white: #ffffff;
  --gray-light: #f4f7fb;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: #333333;
  overflow-x: hidden;
}

/* Scrollbar personalizada */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--blue-dark) #e8f4ff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #e8f4ff;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--blue-dark), #0596e2);
  border-radius: 999px;
  border: 2px solid #e8f4ff;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #11b1ff, #0488cd);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 48px;
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  justify-self: start;
}

.logo-main {
  height: 42px;
  width: auto;
  display: block;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--blue-dark);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.header-dropdown {
  display: contents;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  justify-self: center;
}

.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-dark);
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: color 0.2s;
  position: relative;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue-dark);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.header-nav a:hover {
  color: var(--blue-mid);
}

.header-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  justify-self: end;
}

.btn-cta {
  background: var(--blue-dark);
  color: var(--white) !important;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s !important;
  text-decoration: none;
}

.btn-cta::after {
  display: none !important;
}

.btn-cta:hover {
  background: var(--blue-mid) !important;
  transform: translateY(-1px);
}

/* Hero slider */
.hero-wrapper {
  margin-top: 70px;
  padding: 24px 0;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider-container {
  width: 95%;
  height: 80vh;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 60px rgba(7, 65, 111, 0.18);
}

.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background 0.2s, transform 0.2s;
}

.arrow:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-50%) scale(1.08);
}

.arrow-left {
  left: 18px;
}

.arrow-right {
  right: 18px;
}

.dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  border: none;
}

.dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/*  QUEM SOMOS  */

.quem-somos {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 60px;
}

/* ── Visual (esquerda) ── */
.qs-visual {
  width: 100%;
  max-width: 620px;
}

.qs-img-main {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 34px rgba(7, 65, 111, 0.2));
}

/* ── Content (direita) ── */
.qs-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.qs-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.15;
  margin-bottom: 6px;
}

.qs-text {
  font-size: 14.5px;
  font-weight: 400;
  color: #555;
  line-height: 1.75;
  text-align: justify;
}

.qs-text strong {
  color: var(--blue-mid);
  font-weight: 700;
}

/* ── Scroll Reveal ── */
.reveal-left,
.reveal-right,
.reveal-up {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left {
  transform: translateX(-48px);
}

.reveal-right {
  transform: translateX(48px);
}

.reveal-up {
  transform: translateY(48px);
}

.reveal-left.visible,
.reveal-right.visible,
.reveal-up.visible {
  opacity: 1;
  transform: translate(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

.delay-3 {
  transition-delay: 0.36s;
}

.delay-4 {
  transition-delay: 0.48s;
}

/*  ESPECIALIDADES  */
.especialidades {
  position: relative;
  overflow: hidden;
  padding-bottom: 10px;
}

.esp-wrap {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.esp-top-band {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 220px;
  pointer-events: none;
}

.esp-top-band::before,
.esp-top-band::after {
  content: '';
  position: absolute;
  top: 0;
  width: 280px;
  height: 95%;
  background: var(--blue-light);
}

.esp-top-band::before {
  left: 0;
}

.esp-top-band::after {
  right: 0;
}

.esp-title {
  margin-top: 0;
  text-align: center;
  color: var(--blue-dark);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.esp-cards {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.esp-card {
  background: #ffffff;
  border-radius: 20px;
  min-height: 138px;
  padding: 20px 16px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.esp-icon {
  width: 64px;
  height: 64px;
}

.esp-card p {
  color: var(--blue-dark);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 600;
}

/*  NOVIDADES  */
.novidades {
  background: #fff;
  padding: 90px 70px;
  position: relative;
  overflow: hidden;
}

.nov-wrap {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.nov-bg-shape {
  position: absolute;
  top: 12.5%;
  right: 1%;
  width: 460px;
  height: 80%;
  background: var(--blue-light);
  border-radius: 0 100% 100% 32px;
  z-index: 0;
}

.nov-title {
  position: relative;
  z-index: 1;
  color: var(--blue-light);
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 24px;
}

.nov-carousel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}

.nov-viewport {
  overflow: hidden;
}

.nov-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s ease;
  will-change: transform;
  padding-bottom: 5px;
}

.nov-card {
  flex: 0 0 calc((100% - 48px) / 4);
  background: #ffffff;
  border-radius: 14px;
  min-height: 260px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nov-product-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
  background: #f7f7f7;
}

.nov-product-name {
  margin-top: 10px;
  color: #5b6471;
  font-size: 13px;
  line-height: 1.25;
}

.nov-arrow {
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  background: #e3e7ec;
  color: #5b6471;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
  padding-bottom: 3px;
  transition: opacity 0.2s ease;
}

.nov-arrow-left {
  color: #5b6471;
}

.nov-arrow-right {
  color: #5b6471;
}

.nov-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.nov-note {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  margin-left: 55px;
  color: #46607e;
  font-size: 14px;
}

.nov-note-text {
  line-height: 1.35;
}

.nov-note-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.nov-note strong {
  color: var(--blue-dark);
}

/*  SOLUCOES POR AREA  */
.areas {
  background: #ffffff;
  padding: 38px 24px 70px;
}

.areas-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.areas-col {
  display: grid;
  gap: 14px;
}

.areas-col-left {
  grid-template-rows: 300px 200px;
}

.areas-col-right {
  height: 514px;
  grid-template-rows: 47fr 53fr;
}

.areas-col .area-card {
  height: 100%;
}

.area-card.area-card-temos {
  border-radius: 42px 10px 10px 10px;
}

.area-card.area-card-fisio {
  border-radius: 10px 10px 10px 42px;
}

.area-card.area-card-medica {
  border-radius: 10px 42px 10px 10px;
}

.area-card.area-card-estetica {
  border-radius: 10px 10px 42px 10px;
  background: #0a4f80;
}

.area-card.area-card-estetica .area-card-img {
  border-radius: inherit;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  margin: -1px;
}

.area-card {
  position: relative;
  min-height: 0;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(7, 65, 111, 0.12);
}

.area-overlay {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  max-width: 52%;
  color: #ffffff;
}

.area-overlay-left {
  left: 16px;
  text-align: left;
}

.area-overlay-right {
  right: 16px;
  text-align: right;
}

.area-card-temos .area-overlay.area-overlay-right {
  top: 45%;
  right: 0px;
  left: auto;
  text-align: left;
  max-width: 45%;
}

.area-overlay-detail.area-overlay-left {
  left: 60px;
}

.area-overlay-detail.area-overlay-right {
  right: 60px;
}

.area-overlay-estetica {
  top: 40%;
}

.area-title {
  font-size: clamp(20px, 2.2vw, 34px);
  line-height: 1;
  font-weight: 700;
  margin-bottom: 8px;
}

.area-title-light {
  font-weight: 400;
}

.area-list {
  font-size: clamp(11px, 1vw, 14px);
  line-height: 1.38;
  font-weight: 400;
}

.area-more-btn {
  margin-top: 10px;
  background: var(--blue-light);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.area-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 300;
  pointer-events: none;
}

.area-modal.open {
  display: block;
}

.area-modal-backdrop {
  display: none;
}

.area-modal-content {
  position: fixed;
  width: min(360px, calc(100vw - 24px));
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 16px 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  pointer-events: auto;
}

.area-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #4b5563;
  cursor: pointer;
}

.area-modal-list {
  margin: 0;
  padding-left: 18px;
  color: #374151;
  font-size: 14px;
  line-height: 1.5;
}

.area-card-img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  header {
    padding: 0 20px;
  }

  .header-nav {
    gap: 18px;
  }

  .slider-container {
    height: 72vh;
  }
}

@media (max-width: 900px) {
  .quem-somos {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    gap: 40px;
  }

  .qs-content {
    order: 1;
  }

  .qs-visual {
    order: 2;
    max-width: 560px;
    margin: 0 auto;
  }

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

  .nov-card {
    flex-basis: calc((100% - 16px) / 2);
  }

  .nov-bg-shape {
    width: 280px;
    right: -90px;
  }

  .areas {
    padding: 30px 20px 56px;
  }
}

@media (max-width: 768px) {
  .quem-somos {
    padding: 44px 14px;
    gap: 24px;
    overflow: hidden;
  }

  .qs-visual {
    max-width: 100%;
  }

  .qs-img-main {
    filter: drop-shadow(0 10px 22px rgba(7, 65, 111, 0.16));
  }

  header {
    padding: 0;
  }

  .header-inner {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr auto;
    position: relative;
    padding: 0 14px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .header-dropdown {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100vw;
    background: var(--white);
    border-radius: 0;
    box-shadow: 0 10px 26px rgba(7, 65, 111, 0.16);
    padding: 14px 16px 18px;
    z-index: 120;
  }

  .header-dropdown.open {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .header-dropdown .header-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    justify-self: auto;
  }

  .header-dropdown .header-nav a::after {
    display: none;
  }

  .header-dropdown .header-cta {
    width: 100%;
    text-align: center;
    justify-self: auto;
  }

  .slider-container {
    width: 95vw;
    height: min(62vh, 300px);
    border-radius: 14px;
  }

  .especialidades {
    padding: 16px 16px 24px;
  }

  .esp-wrap {
    padding-bottom: 120px;
  }

  .esp-top-band {
    top: auto;
    bottom: 0;
    height: 150px;
  }

  .esp-top-band::before,
  .esp-top-band::after {
    width: 190px;
  }

  .esp-title {
    padding-top: 0;
    font-size: 30px;
  }

  .esp-cards {
    margin-top: 14px;
    grid-template-columns: 1fr;
  }

  .novidades {
    padding: 38px 14px 56px;
  }

  .nov-carousel {
    gap: 8px;
  }

  .nov-card {
    flex-basis: 100%;
  }

  .nov-bg-shape {
    display: none;
  }

  .nov-title {
    font-size: 30px;
    margin-bottom: 18px;
  }

  .nov-note {
    margin-top: 16px;
    font-size: 13px;
    margin-left: 0px;
  }

  .areas {
    padding: 24px 14px 44px;
  }

  .areas-grid {
    grid-template-columns: 1fr;
  }

  .areas-col {
    grid-template-rows: none;
    height: auto;
    grid-auto-rows: 220px;
  }

  .areas-col-left,
  .areas-col-right {
    grid-template-rows: none;
    height: auto;
  }

  .area-card-temos,
  .area-card-fisio,
  .area-card-medica,
  .area-card-estetica {
    grid-column: auto;
    grid-row: auto;
    height: 220px;
    border-radius: 16px;
  }

  .areas .area-card,
  .areas .area-card.area-card-temos,
  .areas .area-card.area-card-fisio,
  .areas .area-card.area-card-medica,
  .areas .area-card.area-card-estetica {
    height: 220px;
    border-radius: 16px;
  }

  .area-overlay {
    max-width: 70%;
  }

  .area-overlay-left {
    left: 14px;
    right: auto;
    text-align: left;
  }

  .area-overlay-right {
    right: 14px;
    left: auto;
    text-align: right;
  }
}

/*  CONTATO  */
.contato {
  background: #ffffff;
  color: #333333;
  padding: 70px 48px 60px;
}

.contato-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contato-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--blue-mid);
  margin-bottom: 24px;
  text-align: center;
}

.contato-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contato-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contato-input {
  width: 100%;
  padding: 15px 18px;
  border: 1.5px solid #dde3ec;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.contato-input:focus {
  border-color: var(--blue-light);
}

.contato-textarea {
  border-radius: 16px;
  resize: none;
  height: 90px;
}

.contato-btn {
  background: var(--blue-dark);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}

.contato-btn:hover {
  background: var(--blue-mid);
}

/* Info side */
.contato-info-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 10px;
}

.contato-logo {
  height: 100px;
  width: auto;
  align-self: flex-start;
}

.contato-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contato-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: #444;
  line-height: 1.5;
}

.contato-info-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 1px;
}

.contato-info-list li:first-child .contato-info-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

/* Footer bar */
.footer-bar {
  background: var(--blue-dark);
  text-align: center;
  padding: 20px 24px;
  width: 95%;
  margin: 0 auto;
  border-radius: 16px 16px 0 0;
}

.footer-bar p {
  color: #fff;
  font-size: 13px;
  font-weight: 400;
}

.wpp-float {
  position: fixed;
  right: 20px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  box-shadow: none;
  z-index: 220;
  transition: transform 0.2s ease;
  animation: wppPulse 2.2s ease-in-out infinite;
}

.wpp-float::before {
  content: "Fale conosco no WhatsApp";
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #ffffff;
  color: #0f2f49;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  padding: 10px 12px;
  border-radius: 999px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.wpp-float:hover {
  transform: translateY(-3px) scale(1.04);
}

.wpp-float:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.wpp-float img {
  width: 28px;
  height: 28px;
  display: block;
  filter: brightness(0) invert(1);
}

@keyframes wppPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.42);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wpp-float {
    animation: none;
  }
}

/* ── Responsive contato ── */
@media (max-width: 768px) {
  .contato {
    padding: 44px 16px 40px;
  }

  .contato-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contato-row {
    grid-template-columns: 1fr;
  }

  .wpp-float {
    width: 54px;
    height: 54px;
    right: 14px;
    bottom: 22px;
  }

  .wpp-float img {
    width: 26px;
    height: 26px;
  }

  .wpp-float::before {
    font-size: 12px;
    padding: 9px 10px;
    right: calc(100% + 8px);
  }
}

/*  BLOG PAGE  */
.blog-page {
  background: #ffffff;
}

.blog-main {
  margin-top: 70px;
  padding: 10px 12px 0;
  background: #ffffff;
}

.blog-hero {
  max-width: 1360px;
  margin: 0 auto 56px;
  position: relative;
}

.blog-hero-img {
  width: 100%;
  display: block;
  border-radius: 14px;
}

.blog-hero-content {
  position: absolute;
  top: 50%;
  left: clamp(220px, 34vw, 470px);
  transform: translateY(-50%);
  color: #ffffff;
}

.blog-hero-content h1 {
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  margin-bottom: 8px;
}

.blog-hero-content p {
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 500;
}

.blog-feed {
  max-width: 1060px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.blog-item {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 22px;
  align-items: start;
}

.blog-item-link {
  text-decoration: none;
  color: inherit;
}

.blog-thumb-wrap {
  border-radius: 10px 32px 10px 10px;
  overflow: hidden;
}

.blog-thumb {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.blog-item-link:hover .blog-thumb {
  transform: scale(1.06);
}

.blog-item-title {
  color: var(--blue-dark);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}

.blog-item-link:hover .blog-item-title {
  text-decoration: underline;
}

.blog-item-excerpt {
  color: #333333;
  font-size: 12px;
  line-height: 1.36;
  margin-bottom: 16px;
}

.blog-item-date {
  display: inline-block;
  background: var(--blue-light);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 600;
  margin-top: 4px;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 6px 0 2px;
}

.blog-pagination a {
  text-decoration: none;
  color: #6f7d8f;
  font-size: 12px;
  font-weight: 500;
}

.blog-pagination a.active {
  color: var(--blue-dark);
  font-weight: 700;
}

.blog-detail-wrap {
  max-width: 1020px;
  margin: 0 auto 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 34px;
  align-items: start;
}

.blog-detail-title {
  color: var(--blue-dark);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
}

.blog-detail-breadcrumb {
  color: #8a9098;
  font-size: 12px;
  margin-bottom: 22px;
}

.blog-detail-cover {
  width: 100%;
  border-radius: 10px;
  display: block;
  margin-bottom: 32px;
}

.blog-detail-meta {
  color: #8a9098;
  font-size: 12px;
  margin-bottom: 24px;
  margin-left: 30px;
}

.blog-detail-meta span {
  padding: 0 8px;
}

.blog-detail-text {
  color: #5f6670;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.blog-detail-side {
  padding-top: 56px;
}

.blog-side-title {
  color: var(--blue-dark);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
}

.blog-side-subtitle {
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 14px;
}

.blog-share-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-share-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-dark);
  border: 1px solid var(--blue-dark);
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.blog-share-link:hover {
  transform: translateY(-2px);
  background: var(--blue-light);
  border-color: var(--blue-light);
}

.blog-share-link img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.blog-share-fb {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  text-transform: lowercase;
  font-family: 'Montserrat', sans-serif;
}

.blog-share-fb:hover {
  color: #ffffff;
}

.blog-side-post {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
  text-decoration: none;
}

.blog-side-thumb {
  width: 86px;
  height: 86px;
  border-radius: 8px;
  object-fit: cover;
}

.blog-side-post span {
  color: var(--blue-light);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
}

.blog-side-all {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 12px;
  background: var(--blue-light);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 28px;
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .blog-feed {
    max-width: 100%;
    padding: 0 6px;
  }

  .blog-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .blog-hero {
    margin-bottom: 34px;
  }

  .blog-hero-content {
    left: auto;
    right: 26px;
    text-align: right;
  }

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

  .blog-item-title {
    font-size: 24px;
  }

  .blog-detail-wrap {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0 6px;
  }

  .blog-detail-title {
    font-size: 24px;
  }

  .blog-detail-side {
    padding-top: 0;
  }

  .blog-side-title {
    font-size: 20px;
  }

  .blog-side-subtitle {
    font-size: 20px;
  }

  .blog-side-post span {
    font-size: 16px;
  }
}