[hidden] { display: none !important; }
.blog-page :lang(mr) { font-family: 'Nirmala UI', 'Mangal', var(--sans); line-height: 1.65; }
.blog-page h1, .blog-page h2 { overflow-wrap: anywhere; }
.blog-intro { padding: 28px 0 44px; background: var(--pink-light); border-bottom: 1px solid #efd7df; }
.blog-breadcrumbs { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin-bottom: 32px; }
.blog-breadcrumbs svg { width: 14px; height: 14px; }
.blog-breadcrumbs a:hover { color: var(--green); text-decoration: underline; }
.blog-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.blog-heading-row h1 { color: var(--green); font-size: 48px; font-weight: 500; }
.blog-intro-copy { color: var(--muted); font-size: 17px; margin-top: 18px; max-width: 650px; }
.language-switch { display: inline-flex; padding: 4px; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 6px; flex-shrink: 0; align-self: flex-start; }
.language-switch button { border: 0; border-radius: 3px; background: transparent; min-width: 86px; min-height: 42px; padding: 7px 12px; font-size: 14px; font-weight: 600; line-height: 1.5; }
.language-switch button[aria-pressed='true'] { background: var(--green); color: #fff; }
.language-switch button[aria-pressed='false']:hover { background: var(--green-light); }
.blog-list { padding: 44px 0 80px; }
.blog-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.blog-list-heading h2 { font-size: 25px; }
.blog-list-heading > span { color: var(--muted); font-size: 13px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.blog-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.blog-card-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.blog-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:last-child .blog-card-photo img { object-position: center 46%; }
.blog-card-photo:hover img { transform: scale(1.025); }
.blog-card-copy { display: flex; flex-direction: column; flex: 1; padding: 25px; }
.blog-card h2 { font-size: 25px; line-height: 1.3; }
.blog-card h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.blog-excerpt { color: var(--muted); margin-top: 16px; font-size: 14px; }
.blog-card .text-link { margin-top: auto; padding-top: 24px; font-size: 13px; }
.article-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 28px; }
.article-topbar .text-link { font-size: 14px; }
.article-heading { max-width: 900px; margin: 14px auto 36px; text-align: center; }
.article-heading h1 { font-size: 46px; line-height: 1.2; color: var(--green); font-weight: 500; }
.article-subtitle { color: var(--muted); font-size: 20px; margin-top: 20px; }
.article-byline { color: var(--muted); font-size: 12px; padding-top: 12px; }
.article-photo { width: auto; height: auto; max-width: 100%; max-height: 540px; margin-inline: auto; border-radius: 4px; }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 740px); justify-content: space-between; gap: 60px; margin: 50px 0 80px; }
.article-contents { align-self: start; position: sticky; top: calc(var(--header-height) + 28px); border-top: 3px solid var(--pink); padding-top: 20px; }
.article-contents h2 { font-family: var(--sans); font-size: 15px; line-height: 1.6; margin-bottom: 14px; }
.article-contents nav { display: grid; gap: 14px; }
.article-contents a { color: var(--muted); font-size: 13px; line-height: 1.6; }
.article-contents a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.article-body { min-width: 0; font-size: 17px; line-height: 1.9; }
.article-body h2 { font-size: 28px; line-height: 1.35; margin: 38px 0 18px; scroll-margin-top: calc(var(--header-height) + 24px); }
.article-body h2:first-child { margin-top: 0; }
.article-body p + p { margin-top: 20px; }
.article-body ul { padding-left: 25px; margin-block: 20px; }
.article-body li + li { margin-top: 12px; }
.article-body strong { font-weight: 650; }
.related-articles { background: var(--pink-light); padding-block: 42px; border-top: 1px solid #efd7df; }
.related-articles h2 { font-size: 28px; margin-bottom: 22px; }
.related-links { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.related-links a { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 17px; font-weight: 600; padding-block: 16px; border-top: 1px solid #e4c7d1; }
.related-links a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1100px) {
  .blog-grid { gap: 20px; }
  .blog-card-copy { padding: 20px; }
  .blog-card h2 { font-size: 22px; }
  .article-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 35px; }
}
@media (max-width: 760px) {
  .blog-heading-row { align-items: flex-start; flex-direction: column; gap: 24px; }
  .blog-heading-row h1 { font-size: 36px; }
  .blog-intro-copy { font-size: 16px; }
  .blog-intro { padding-bottom: 30px; }
  .blog-breadcrumbs { margin-bottom: 24px; }
  .blog-list { padding-block: 30px 50px; }
  .blog-grid { grid-template-columns: 1fr; gap: 28px; }
  .blog-card h2 { font-size: 26px; }
  .article-topbar { padding-block: 20px; gap: 12px; flex-wrap: wrap; }
  .article-heading { margin-top: 10px; text-align: left; }
  .article-heading h1 { font-size: 32px; }
  .article-subtitle { font-size: 18px; }
  .article-photo-portrait { max-height: 420px; }
  .article-layout { grid-template-columns: 1fr; gap: 30px; margin-block: 30px 50px; }
  .article-contents { position: static; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
  .article-contents nav { gap: 10px; }
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 25px; }
  .related-links { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 360px) {
  .article-topbar { flex-direction: column; align-items: flex-start; gap: 18px; }
  .article-heading h1 { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) { .blog-card-photo img { transition: none; } }
