/* ============================= */
/* THE GAZETTE — HERO */
/* ============================= */
.gazette-hero .hero-text {
  margin-bottom: 0;
}

.hero-btn {
  margin-top: 16px;
}


/* HERO LATEST ARTICLE BLOCK (HIDDEN FOR NOW) */
.gazette-hero__btn {
  margin-top: 30px;
  min-width: 240px;
}

.hero-featured {
  width: 100%;
  max-width: 520px;
  margin: 22px auto 0;
  padding: 0 38px;
}

.hero-featured__divider {
  display: flex;
  align-items: center;
  max-width: 400px;
  margin: 0 auto 16px;
  gap: 18px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b69a6f;
}

.hero-featured__divider::before,
.hero-featured__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(142, 101, 64, 0.32);
}

.hero-featured__card {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 22px;

  padding: 16px 24px 16px 16px;
  border-radius: 22px;

  background: rgba(255, 250, 243, 0.55);
  box-shadow:
    0 14px 34px rgba(80, 60, 38, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);

  color: inherit;
  text-decoration: none;

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}

.hero-featured__card:hover {
  transform: translateY(-2px);
  background: rgba(255, 250, 243, 0.75);
  box-shadow:
    0 18px 42px rgba(80, 60, 38, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.hero-featured__media {
  height: 86px;
  border-radius: 14px;
  overflow: hidden;
}

.hero-featured__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-featured__title {
  margin: 0 0 8px;

  font-family: "Merriweather", serif;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;

  color: #191818;
}

.hero-featured__meta {
  font-size: 14px;
  font-weight: 700;
  color: #b08a58;
}

.hero-featured__arrow {
  font-size: 34px;
  line-height: 1;
  color: #b08a58;

  transition: transform 0.28s ease;
}

.hero-featured__card:hover .hero-featured__arrow {
  transform: translateX(6px);
}


/* =========================
   HERO FEATURED. RESPONSIVE - 900px
   ========================= */

@media (max-width: 900px) {
  .hero-featured {
    max-width: 480px;
    margin-top: 20px;
    padding: 0 24px;
  }

  .hero-featured__divider {
    max-width: 360px;
    margin-bottom: 14px;
    gap: 14px;

    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .hero-featured__card {
    grid-template-columns: 130px 1fr auto;
    gap: 16px;

    padding: 14px 18px 14px 14px;
    border-radius: 20px;
  }

  .hero-featured__media {
    height: 76px;
    border-radius: 12px;
  }

  .hero-featured__title {
    font-size: 15px;
  }

  .hero-featured__meta {
    font-size: 13px;
  }

  .hero-featured__arrow {
    font-size: 30px;
  }
}


/* =========================
   HERO FEATURED. RESPONSIVE - 700px
   ========================= */

@media (max-width: 700px) {
  .hero-featured {
    max-width: 440px;
    padding: 0 18px;
  }

  .hero-featured__divider {
    max-width: 320px;
    gap: 12px;

    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .hero-featured__card {
    grid-template-columns: 112px 1fr auto;
    gap: 14px;

    padding: 12px 16px 12px 12px;
    border-radius: 18px;
  }

  .hero-featured__media {
    height: 70px;
    border-radius: 11px;
  }

  .hero-featured__title {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.18;
  }

  .hero-featured__meta {
    font-size: 12px;
  }

  .hero-featured__arrow {
    font-size: 26px;
  }
}


/* =========================
   HERO FEATURED. RESPONSIVE - 600px
   ========================= */

@media (max-width: 600px) {
  .hero-featured {
    max-width: 360px;
    margin-top: 24px;
    padding: 0 10px;
  }

  .hero-featured__divider {
    max-width: 280px;
    margin-bottom: 12px;
  }

  .hero-featured__card {
    grid-template-columns: 92px 1fr auto;
    gap: 12px;

    padding: 12px 14px 12px 12px;
  }

  .hero-featured__media {
    height: 62px;
  }

  .hero-featured__title {
    font-size: 13px;
  }

  .hero-featured__meta {
    font-size: 12px;
  }

  .hero-featured__arrow {
    font-size: 24px;
  }
}


/* =========================
   HERO FEATURED. RESPONSIVE - 400px
   ========================= */

@media (max-width: 400px) {
  .hero-featured {
    max-width: 320px;
    padding: 0;
  }

  .hero-featured__divider {
    gap: 10px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .hero-featured__card {
    grid-template-columns: 74px 1fr auto;
    gap: 10px;

    padding: 10px 12px;
    border-radius: 16px;
  }

  .hero-featured__media {
    display: block;
    height: 52px;
    border-radius: 10px;
  }

  .hero-featured__title {
    margin-bottom: 4px;
    font-size: 12px;
    line-height: 1.18;
  }

  .hero-featured__meta {
    font-size: 11px;
  }

  .hero-featured__arrow {
    font-size: 20px;
  }
}


/* =========================
   LM EDITORS HEAD
   ========================= */

.blog--authors .blog-head {
  position: relative;
  display: block;
  margin-bottom: 52px;
}

.blog--authors .section-kicker {
  margin: 0 0 22px;
  text-align: center;
}

.blog-author-intro {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  max-width: 860px;
}

.blog-author-avatar {
  flex: 0 0 auto;
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(25, 24, 24, 0.08);
}

.blog--authors .blog-title {
  margin: 0 0 16px;
  text-align: left;
}

.blog--authors .blog-subtitle {
  max-width: 620px;
  margin: 0;
  text-align: left;
}

.blog--authors .blog-link {
  position: absolute;
  top: 4px;
  right: 0;
}

/* =========================
   LM EDITORS RESPONSIVE
   ========================= */

@media (max-width: 1100px) {
  .blog-author-intro {
    max-width: 760px;
    gap: 24px;
  }

  .blog-author-avatar {
    width: 102px;
    height: 102px;
  }
}

@media (max-width: 900px) {
  .blog--authors .blog-head {
    margin-bottom: 42px;
  }

  .blog--authors .blog-link {
    top: 0;
  }

  .blog-author-intro {
    max-width: 100%;
    gap: 20px;
  }

  .blog-author-avatar {
    width: 120px;
    height: 120px;
  }

  .blog--authors .blog-subtitle {
    max-width: 620px;
  }
}

/* =========================
   LM EDITORS — 600
   ========================= */

@media (max-width: 600px) {
  .blog--authors .blog-head {
    position: relative;
    display: block;
    margin-bottom: 36px;
  }

  .blog--authors .section-kicker {
    margin: 0 0 18px;
    text-align: center;
  }

  .blog--authors .blog-link {
    display: none;
  }

  .blog-author-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .blog-author-intro > div {
    width: 100%;
  }

  .blog-author-avatar {
    width: 92px;
    height: 92px;
  }

  .blog--authors .blog-title {
    position: relative;
    max-width: none;
    margin: 0 0 28px;
    text-align: center;
  }

  .blog--authors .blog-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: rgba(25, 24, 24, 0.16);
  }

  .blog--authors .blog-subtitle {
    max-width: 520px;
    width: auto;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    text-wrap: pretty;
  }
}

/* =========================
   LM EDITORS — 400
   ========================= */

@media (max-width: 400px) {
  .blog--authors .blog-head {
    margin-bottom: 32px;
  }

  .blog-author-intro {
    gap: 16px;
  }

  .blog-author-avatar {
    width: 82px;
    height: 82px;
  }

  .blog--authors .blog-title {
    margin-bottom: 24px;
  }

  .blog--authors .blog-title::after {
    width: 120px;
    bottom: -12px;
  }

  .blog--authors .blog-subtitle {
    max-width: 300px;
    font-size: 15px;
    line-height: 1.65;
    text-wrap: pretty;
  }
}

/* header */
.blog-head {
  gap: 34px;
  margin-bottom: 34px;
}

.blog-title {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 700;
}

.blog-subtitle {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.5);
}


/* grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

/* card */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-media {
  display: block;
  overflow: hidden;
}

.blog-media img {
  /* height: 260px; */
  display: block;
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  border-radius: 14px;
}

/* content */
.blog-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 18px;
}

.blog-meta {
  margin-bottom: 18px;
  font-size: 16px;
  opacity: 0.5;
}

.blog-h3 {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 700;
  display: -webkit-box;
  overflow: hidden;
  /* min-height: 2.3em; */
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blog-h3 a {
  color: inherit;
  font-size: 22px;
  text-decoration: none;
  cursor: pointer;

  background-image: linear-gradient(#191818, #191818);
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: 0 100%;

  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;

  transition: background-size 0.22s ease;
}

.blog-h3 a:hover {
  color: inherit;
  background-size: 100% 2px;
}

.blog-h3 a {
  line-height: 1.25;
  background-size: 0% 1.5px;
}

.blog-h3 a:hover {
  background-size: 100% 1.5px;
}

.blog-excerpt {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(17, 17, 17, 0.5);
  display: -webkit-box;
  overflow: hidden;
  min-height: 4.65em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.blog-rule {
  margin: auto 0 20px;
  border: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.25);
}

.blog-footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 14px;
}

.blog-by {
  width: fit-content;
  color: inherit;
  font-size: 16px;
  opacity: 0.75;
  text-decoration: none;

  background-image: linear-gradient(
    rgba(25, 24, 24, 0.45),
    rgba(25, 24, 24, 0.45)
  );
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: 0 100%;

  transition:
    background-size 0.22s ease,
    opacity 0.22s ease;
}

.blog-tag {
  width: fit-content;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: 0.69;
  text-decoration-color: rgba(25, 24, 24, 0.4);
  text-decoration-thickness: 1px;
}

.mini-banner {
  background-color: #e6d7c3;
}

.blog-title a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.blog-title a:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.blog-link {
  color: rgba(25, 24, 24, 0.5);
  text-decoration: none;
  text-underline-offset: 4px;
  text-decoration-color: rgba(25, 24, 24, 0.3);
  white-space: nowrap;
  border-bottom: 1px solid rgba(25, 24, 24, 0.3);
  flex-shrink: 0;
  font-size: 20px;
}

.blog-head-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline; /* або flex-end */
  gap: 24px;
  margin-bottom: 12px;
}

.blog-title {
  margin: 0;
  flex: 1;
}

.blog-subtitle {
  margin: 0;
}

/* ============================= */
/* RESPONSIVE. TABLET 1100px */
/* ============================= */

@media (max-width: 1100px) {

  .gazette-hero-content {
    padding: 56px 44px;
  }

  .gazette-hero-content h1 {
    font-size: 38px;
    margin-bottom: 24px;
  }

  .blog-inner {
    padding: 46px 34px;
  }

  .blog-grid {
    gap: 32px;
  }

  .blog-title {
    font-size: 30px;
  }

  .blog-h3 {
    font-size: 24px;
  }

  .blog-h3 a {
    font-size: 21px;
  }

  .blog-excerpt {
    font-size: 17px;
  }
}

@media (max-width: 1000px) {
  .blog-link {
    font-size: 18px;
  }
}

/* ============================= */
/* RESPONSIVE. TABLET 900px */
/* ============================= */

@media (max-width: 900px) {

  .gazette-hero-panel {
    grid-template-columns: 1fr;
    border-radius: 32px;
  }

  .gazette-hero-image {
    height: 340px;
  }

  .gazette-hero-content {
    padding: 40px 24px 14px;
  }

  .gazette-hero-content h1 {
    font-size: 30px;
    margin-bottom: 18px;
  }

  .gazette-hero-subtitle {
    max-width: 46ch;
    font-size: 16px;
    margin-bottom: 16px;
  }

  .gazette-hero .consult-btn {
    width: min(320px, 100%);
    text-align: center;
  }

  .blog-inner {
    padding: 40px 24px;
    border-radius: 32px;
  }

  .blog-head {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
  }

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

  .blog-media img {
    height: 240px;
  }

  .blog-title {
    font-size: 28px;
  }

  .blog-subtitle {
    font-size: 17px;
  }

  .blog-h3 {
    font-size: 22px;
  }

  .blog-h3 a {
    font-size: 22px;
  }

  .blog-excerpt {
    font-size: 16px;
    min-height: auto;
  }
}

@media (max-width:800px) {
    .blog-link {
        font-size: 16px;
    }

    .blog-subtitle {
        font-size: 16px;
    }
}

/* ============================= */
/* RESPONSIVE. MOBILE 600px */
/* ============================= */

@media (max-width: 600px) {

  .gazette-hero-panel {
    border-radius: 32px;
  }

  .gazette-hero-image {
    height: auto;
    overflow: hidden;
  }

  .gazette-hero-image img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    display: block;
    object-fit: cover;
  }

  .gazette-hero-content {
    padding: 36px 22px 10px;
  }

  .gazette-hero-content h1 {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .gazette-hero-subtitle {
    font-size: 15px;
    margin-bottom: 14px;
  }

  .blog-grid {
    gap: 22px;
  }

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

  .blog-media img {
    height: 240px;
  }

  .blog-body {
    display: flex;
    flex-direction: column;
  }

  .blog-meta {
    order: 1;
    margin-bottom: 18px;
    font-size: 14px;
  }

  .blog-h3 {
    order: 2;
    font-size: 22px;
  }

  .blog-h3 a {
    font-size: 22px;
    line-height: 1.22;
    background-size: 0% 1px;
  }

  .blog-h3 a:hover {
    background-size: 100% 1px;
  }

  .blog-excerpt {
    order: 3;
    margin-bottom: 18px;
    font-size: 16px;
    min-height: auto;
  }

  .blog-footer {
    order: 4;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0;
    margin-top: 6px;
    margin-bottom: 18px;
    white-space: nowrap;
    text-align: left;
  }

  .blog-by,
  .blog-tag {
    margin: 0;
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    font-size: 14px;
  }

  .blog-by {
    opacity: 0.8;
  }

  .blog-tag {
    position: relative;
    opacity: 0.69;
    text-decoration-color: rgba(25, 24, 24, 0.4);
    text-underline-offset: 3px;
  }

  .blog-tag::before {
    content: "•";
    display: inline-block;
    margin: 0 8px 0 8px;
    opacity: 0.5;
    text-decoration: none;
  }

  .blog-rule {
    order: 5;
    margin-bottom: 18px;
  }
}

/* ============================= */
/* RESPONSIVE. MOBILE 400px */
/* ============================= */

@media (max-width: 400px) {
  .gazette-hero-panel {
    border-radius: 26px;
  }

  .gazette-hero-content {
    padding: 30px 16px 8px;
  }

  .gazette-hero-content h1 {
    font-size: 24px;
  }

  .gazette-hero-subtitle {
    font-size: 14px;
  }

  .blog-inner {
    padding: 32px 16px;
    border-radius: 26px;
  }

  .blog-head {
    margin-bottom: 22px;
  }

  .blog-link {
  margin-left: 0;
  }

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

  .blog-subtitle {
    font-size: 15px;
  }

  .blog-grid {
    gap: 18px;
  }

  .blog-media img {
    height: 210px;
  }

  .blog-meta {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .blog-h3 {
    font-size: 19px;
    margin-bottom: 12px;
  }

  .blog-h3 a {
    font-size: 19px;
  }

  .blog-excerpt {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .blog-footer {
    margin-top: 4px;
    margin-bottom: 16px;
  }

  .blog-by,
  .blog-tag {
    font-size: 13px;
  }

  .blog-tag::before {
    margin: 0 6px 0 2px;
  }
}




@media (max-width: 500px) {
  .blog-head-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}