/* ==========================================================================
   Private Medical Service — Publications (Blog) styles
   Colors & font as given:
     heading color: #dd9933
     text color:    #363636
     font-family:   "Roboto"
   Sab kuch CSS variables mein hai — future mein badalna easy hai.
   ========================================================================== */

:root {
  --pms-heading: #dd9933;      /* heading / accent gold */
  --pms-heading-dark: #b87a1f; /* hover / active shade of the accent */
  --pms-text: #363636;         /* body text */
  --pms-text-light: #6b6b6b;   /* meta / muted text */
  --pms-bg: #ffffff;
  --pms-bg-alt: #f7f5f2;
  --pms-border: #e9e5df;
  --pms-radius: 6px;
  --pms-shadow: 0 6px 20px rgba(54, 54, 54, 0.08);
  --pms-font: "Roboto", sans-serif;
}

/* ---------- Page header ---------- */
.pms-page-header {
  background: var(--pms-bg-alt);
  padding: 48px 0;
  text-align: center;
  border-bottom: 1px solid var(--pms-border);
  font-family: var(--pms-font);
}

.pms-page-header h1 {
  color: var(--pms-heading);
  font-family: var(--pms-font);
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 8px;
}

.pms-breadcrumb {
  font-size: 14px;
  color: var(--pms-text-light);
  font-family: var(--pms-font);
}

.pms-breadcrumb a { color: var(--pms-heading); text-decoration: none; }

/* ---------- Publications grid ---------- */
.pms-publications-section {
  padding: 60px 0;
  font-family: var(--pms-font);
}

.pms-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.pms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pms-card {
  background: var(--pms-bg);
  border: 1px solid var(--pms-border);
  border-radius: var(--pms-radius);
  overflow: hidden;
  box-shadow: var(--pms-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pms-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(54, 54, 54, 0.14);
}

.pms-card__thumb { aspect-ratio: 4 / 3; overflow: hidden; }

.pms-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.pms-card:hover .pms-card__thumb img { transform: scale(1.05); }

.pms-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }

.pms-card__meta {
  font-size: 12.5px;
  color: var(--pms-text-light);
  margin-bottom: 8px;
}

.pms-card__title {
  font-family: var(--pms-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--pms-heading);
  margin: 0 0 10px;
  line-height: 1.4;
}

.pms-card__title a { color: inherit; text-decoration: none; }
.pms-card__title a:hover { color: var(--pms-heading-dark); }

.pms-card__excerpt {
  font-size: 14.5px;
  color: var(--pms-text);
  line-height: 1.7;
  margin: 0 0 18px;
  flex: 1;
}

/* ---------- Read More button ---------- */
.pms-readmore-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--pms-font);
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: var(--pms-heading);
  padding: 10px 22px;
  border-radius: 4px;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.2s ease;
}

.pms-readmore-btn:hover {
  background: var(--pms-heading-dark);
  color: #fff;
}

/* ---------- Pagination ---------- */
.pms-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pms-pagination a,
.pms-pagination span {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pms-border);
  border-radius: 50%;
  font-size: 13.5px;
  color: var(--pms-text);
  text-decoration: none;
}

.pms-pagination a:hover,
.pms-pagination .current {
  background: var(--pms-heading);
  border-color: var(--pms-heading);
  color: #fff;
}

/* ---------- Publication detail page ---------- */
.pms-post-hero { padding: 40px 0 0; font-family: var(--pms-font); }

.pms-post-hero__image {
  border-radius: var(--pms-radius);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  margin-top: 24px;
  box-shadow: var(--pms-shadow);
}

.pms-post-hero__image img { width: 100%; height: 100%; object-fit: cover; }

.pms-post-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  font-size: 13.5px;
  color: var(--pms-text-light);
}

.pms-post-title {
  font-family: var(--pms-font);
  font-weight: 700;
  font-size: 30px;
  color: var(--pms-heading);
  text-align: center;
  max-width: 760px;
  margin: 14px auto 0;
  line-height: 1.35;
}

.pms-post-body-section { padding: 48px 0 72px; font-family: var(--pms-font); }

.pms-post-content {
  max-width: 78ch;
  margin: 0 auto;
  font-size: 16px;
  color: var(--pms-text);
  line-height: 1.8;
}

.pms-post-content h2,
.pms-post-content h3 {
  color: var(--pms-heading);
  font-family: var(--pms-font);
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
}

.pms-post-content h2 { font-size: 22px; }
.pms-post-content h3 { font-size: 19px; }
.pms-post-content p { margin: 0 0 16px; }

.pms-post-content blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--pms-heading);
  background: var(--pms-bg-alt);
  color: var(--pms-text);
  font-style: italic;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .pms-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .pms-grid { grid-template-columns: 1fr; }
  .pms-post-title { font-size: 24px; }
}