/* MyIndiaSpeedPost blog listing — temporary page-scoped CSS.
   This will be consolidated into /assets/css/styles.css after all pages are reviewed. */
.blogs-page {
  color: #263244;
  background: #fff;
}
.blogs-page a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.blogs-main {
  width: calc(100% - 32px);
  max-width: 1120px;
  margin: 24px auto 40px !important;
  background: #fff;
  border: 1px solid #efcfb9 !important;
  border-radius: 24px;
  overflow: clip;
  box-shadow: 0 16px 42px rgba(112, 58, 21, .08) !important;
}
.blogs-hero {
  background: linear-gradient(135deg, #fff1e5 0%, #fffaf5 54%, #ffffff 100%);
  border-bottom: 1px solid #f4dfcf;
  position: relative;
  isolation: isolate;
}
.blogs-hero > div > div:first-child {
  color: #9a3d0a !important;
  background: #fff0e3 !important;
  border-color: #f5d0b2 !important;
}
.blogs-hero h1 span {
  color: #bd4c0b !important;
}
.blogs-hero p {
  color: #536072;
}
.blogs-hero .flex.flex-wrap a {
  color: #8f3b0b !important;
  background: #fff0e3 !important;
  border: 1px solid #f5d0b2 !important;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.blogs-hero .flex.flex-wrap a:hover {
  color: #fff !important;
  background: #c94d08 !important;
  border-color: #c94d08 !important;
}
.blogs-content {
  background: #fffaf5 !important;
  border-color: #f4e5d8 !important;
}
.blogs-grid {
  align-items: stretch;
  min-width: 0;
}
.blogs-grid article {
  min-width: 0;
  height: 100%;
  background: #fff !important;
  border-color: #eadfd6 !important;
  border-radius: 1.1rem;
  box-shadow: 0 3px 12px rgba(31, 41, 55, .045);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.blogs-grid article:hover {
  border-color: #efb78f !important;
  box-shadow: 0 10px 26px rgba(82, 48, 20, .09);
}
.blogs-grid article > a:first-child {
  background: #fff3e8 !important;
}
.blogs-grid article img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blogs-grid article h2 a {
  color: #172033 !important;
  text-decoration: none;
  transition: color .18s ease;
}
.blogs-grid article h2 a:hover,
.blogs-grid article h2 a:focus-visible {
  color: #b74608 !important;
}
.blogs-grid article .text-xs.font-semibold.uppercase {
  color: #98400c !important;
  background: #fff0e3 !important;
  border: 1px solid #f7d8c0;
}
.blogs-grid article p,
.blogs-grid article .text-slate-500 {
  color: #667085 !important;
}
.blogs-grid article a.inline-flex {
  color: #b74608 !important;
  text-decoration: none;
}
.blogs-grid article a.inline-flex:hover {
  color: #8f3505 !important;
  text-decoration: underline;
}
.blogs-sidebar > div {
  border-color: #eadfd6 !important;
  border-radius: 1rem;
  box-shadow: 0 3px 12px rgba(31, 41, 55, .04);
}
.blogs-sidebar > div h3,
.blogs-sidebar > div h4 {
  letter-spacing: -.01em;
}
.blogs-main a:focus-visible {
  outline: 3px solid rgba(233, 101, 18, .4);
  outline-offset: 3px;
}
.blogs-grid article:focus-within {
  border-color: #efb78f !important;
  box-shadow: 0 10px 26px rgba(82, 48, 20, .09);
}
.blogs-sidebar h3,
.blogs-sidebar h4 {
  color: #172033 !important;
}
.blogs-sidebar > div:first-child a {
  background: #fff !important;
  border-color: #eadfd6 !important;
  text-decoration: none;
}
.blogs-sidebar > div:first-child a:hover {
  border-color: #efb78f !important;
  background: #fffaf5 !important;
}
.blogs-sidebar > div:first-child a h5 {
  color: #344054 !important;
  transition: color .18s ease;
}
.blogs-sidebar > div:first-child a:hover h5 {
  color: #b74608 !important;
}
.blogs-sidebar > div:nth-child(2) a {
  color: #344054 !important;
  background: transparent;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}
.blogs-sidebar > div:nth-child(2) a:hover,
.blogs-sidebar > div:nth-child(2) a:focus-visible {
  color: #9a3d0a !important;
  background: #fff0e3 !important;
}
.blogs-sidebar > div:nth-child(3) {
  color: #263244;
  background: #fff3e8 !important;
  border-color: #f3d7c2 !important;
}
.blogs-sidebar > div:nth-child(3) .bg-purple-100,
.blogs-sidebar > div:nth-child(3) .bg-rose-100,
.blogs-sidebar > div:nth-child(3) .bg-emerald-100 {
  background: #ffead8 !important;
}
.blogs-sidebar > div:nth-child(3) .text-purple-600,
.blogs-sidebar > div:nth-child(3) .text-rose-600,
.blogs-sidebar > div:nth-child(3) .text-emerald-600 {
  color: #b74608 !important;
}
.blogs-sidebar > div:nth-child(3) a {
  border-color: #eadfd6 !important;
  text-decoration: none;
}
.blogs-sidebar > div:nth-child(3) a:hover {
  border-color: #e96512 !important;
  background: #fffaf5 !important;
}
.blogs-sidebar > div:nth-child(3) a span.font-medium {
  color: #344054 !important;
  transition: color .18s ease;
}
.blogs-sidebar > div:nth-child(3) a:hover span.font-medium {
  color: #b74608 !important;
}
.blogs-sidebar > div:nth-child(3) a > span:last-child {
  color: #b74608 !important;
}
.blogs-page a:focus-visible {
  outline: 3px solid rgba(233, 101, 18, .35);
  outline-offset: 3px;
  border-radius: .4rem;
}
@media (max-width: 639px) {
  .blogs-content > div > .grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .blogs-main {
    width: calc(100% - 16px);
    margin: 14px auto 24px !important;
    border: 1px solid #efcfb9 !important;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(112, 58, 21, .07) !important;
  }
  .blogs-hero {
    padding: 2rem 1rem;
  }
  .blogs-hero h1 {
    font-size: clamp(1.55rem, 6vw, 2rem);
    line-height: 1.25;
  }
  .blogs-hero p {
    font-size: 1rem;
    line-height: 1.7;
  }
  .blogs-content > div {
    padding: 1.1rem .85rem;
  }
  .blogs-grid {
    gap: 1rem;
  }
  .blogs-grid article > div.p-5 {
    padding: 1rem;
  }
  .blogs-sidebar {
    position: static;
  }
}
@media (prefers-reduced-motion: reduce) {
  .blogs-page *,
  .blogs-page *::before,
  .blogs-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Keep the blog sidebar visible while scrolling on sm+ screens. */
.blogs-content > div > .grid {
  align-items: start;
}
@media (min-width: 640px) {
  /* Keep the article list and sidebar in two separate columns from SM upward. */
  .blogs-content > div > .grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 30%) !important;
    align-items: start;
  }
  .blogs-content .blogs-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .blogs-page .blogs-sidebar {
    position: sticky !important;
    top: 24px !important;
    align-self: start !important;
    height: fit-content;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    scrollbar-width: thin;
    z-index: 2;
  }
}

/* Extracted from the original inline style attribute; keeps the existing layout behavior. */
.blogs-overflow-clip { overflow-x: clip !important; }
