/* Paw Connection — Blog Styles
   Blue-gray / navy palette to match paw-connection.co.uk */

:root {
  --pc-navy: #2c3e50;
  --pc-navy-dark: #1c2833;
  --pc-blue-gray: #5d7285;
  --pc-accent: #7f9cb5;
  --pc-bg: #f7f9fb;
  --pc-text: #333e48;
  --pc-text-light: #6b7785;
  --pc-border: #e1e6ea;
  --pc-white: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background-color: var(--pc-bg);
  color: var(--pc-text);
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
}

a { text-decoration: none; }

/* ============================================
   BREADCRUMB NAV (post pages + index)
============================================ */

.post-breadcrumb {
  max-width: 760px;
  padding: 24px 0 0;
  display: flex;
  gap: 24px;

  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
}

.post-breadcrumb a {
  color: var(--pc-blue-gray);
  font-weight: 600;
}

.post-breadcrumb a:hover {
  color: var(--pc-navy);
}

.post-breadcrumb-bottom {
  border-top: 1px solid var(--pc-border);
  padding-top: 24px;
  padding-bottom: 40px;
}

/* ============================================
   SINGLE POST PAGE
============================================ */

.post-page-wrap {
  max-width: 760px;
  margin: 0 auto;
}

article {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 24px 40px;
}

.post-featured-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0 0 28px;
  display: block;
}

.post-date {
  color: var(--pc-text-light);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--pc-border);
}

h1 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--pc-navy);
  font-size: 2.1rem;
  line-height: 1.3;
  margin: 0 0 12px;
  font-weight: 700;
}

.post-content h2 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--pc-navy);
  font-size: 1.5rem;
  margin: 40px 0 16px;
}

.post-content h3 {
  color: var(--pc-blue-gray);
  font-size: 1.2rem;
  margin: 32px 0 12px;
}

.post-content p { margin: 0 0 20px; font-size: 1.05rem; }

.post-content a {
  color: var(--pc-blue-gray);
  text-decoration: underline;
  text-decoration-color: var(--pc-accent);
}
.post-content a:hover { color: var(--pc-navy); }

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 24px 0;
  display: block;
}

.post-content ul, .post-content ol { margin: 0 0 20px; padding-left: 24px; }
.post-content li { margin-bottom: 8px; }

.post-content blockquote {
  border-left: 4px solid var(--pc-accent);
  margin: 24px 0;
  padding: 8px 20px;
  color: var(--pc-blue-gray);
  font-style: italic;
  background: var(--pc-white);
}

.post-content hr { border: none; border-top: 1px solid var(--pc-border); margin: 40px 0; }
.post-content strong { color: var(--pc-navy); }

@media (max-width: 600px) {
  article { padding: 16px 16px 32px; }
  h1 { font-size: 1.6rem; }
  .post-breadcrumb { padding: 20px 16px 0; }
}

/* ============================================
   BLOG INDEX PAGE (index.html)
============================================ */

.blog-index-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.blog-index-header {
  margin: 32px 0 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--pc-border);
}

.blog-index-header h1 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--pc-navy);
  font-size: 2.3rem;
  margin: 0 0 12px;
}

.blog-index-header p {
  color: var(--pc-text-light);
  font-size: 1.05rem;
  margin: 0;
  max-width: 640px;
}

.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-index-card {
  display: block;
  color: inherit;
  background: var(--pc-white);
  border: 1px solid var(--pc-border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.blog-index-card:hover {
  box-shadow: 0 8px 22px rgba(44, 62, 80, 0.12);
  transform: translateY(-3px);
}

.blog-index-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: var(--pc-border);
}

.blog-index-img-placeholder { height: 180px; }

.blog-index-card-body { padding: 20px; }

.blog-index-date {
  display: block;
  color: var(--pc-text-light);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.blog-index-title {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--pc-navy);
  font-size: 1.2rem;
  margin: 0 0 10px;
  line-height: 1.35;
}

.blog-index-excerpt {
  color: var(--pc-text);
  font-size: 0.92rem;
  margin: 0 0 10px;
}

.blog-index-readmore {
  color: var(--pc-blue-gray);
  font-size: 0.85rem;
  font-weight: 600;
}

@media (max-width: 860px) {
  .blog-index-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .blog-index-grid { grid-template-columns: 1fr; }
}

/* ============================================
   LATEST POSTS SECTION (for main/home page)
============================================ */

.blog-latest-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 24px;
}

.blog-latest-heading {
  display: flex;
  gap: 24px;
  align-items: baseline;

  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.blog-latest-heading h2 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--pc-navy);
  font-size: 1.9rem;
  margin: 0;
}

.blog-latest-viewall {
  color: var(--pc-blue-gray);
  font-weight: 600;
  font-size: 0.95rem;
}
.blog-latest-viewall:hover { color: var(--pc-navy); }

.blog-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-latest-card {
  display: block;
  color: inherit;
  background: var(--pc-white);
  border: 1px solid var(--pc-border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.blog-latest-card:hover {
  box-shadow: 0 6px 18px rgba(44, 62, 80, 0.1);
  transform: translateY(-2px);
}

.blog-latest-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  background: var(--pc-border);
}

.blog-latest-card-body { padding: 20px; }

.blog-latest-date {
  display: block;
  color: var(--pc-text-light);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.blog-latest-title {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--pc-navy);
  font-size: 1.15rem;
  margin: 0 0 10px;
  line-height: 1.35;
}

.blog-latest-excerpt {
  color: var(--pc-text);
  font-size: 0.92rem;
  margin: 0 0 12px;
}

.blog-latest-readmore {
  color: var(--pc-blue-gray);
  font-size: 0.85rem;
  font-weight: 600;
}

@media (max-width: 860px) {
  .blog-latest-grid { grid-template-columns: 1fr; }
}

/* ============================================
   INLINE IMAGES (within post body)
============================================ */

.post-inline-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 32px 0;
  display: block;
}

/* ============================================
   POST CTA BOX
============================================ */

.post-cta {
  background: #eef2f6;
  border-left: 4px solid #2c3e50;
  border-radius: 8px;
  padding: 28px 32px;
  margin: 48px 0 32px;
}

.post-cta h3 {
  font-family: Georgia, 'Times New Roman', serif;
  color: #2c3e50;
  font-size: 1.25rem;
  margin: 0 0 10px;
}

.post-cta p {
  margin: 0 0 16px;
  font-size: 1rem;
}

.post-cta-link {
  display: inline-block;
  background: #2c3e50;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background 0.15s ease;
}

.post-cta-link:hover {
  background: #5d7285;
}

/* ============================================
   REFERENCE BLOCK
============================================ */

.post-reference {
  border-top: 1px solid #e1e6ea;
  margin-top: 48px;
  padding-top: 24px;
}

.post-reference h3 {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7785;
  margin: 0 0 10px;
}

.post-reference p {
  font-size: 0.88rem;
  color: #6b7785;
  line-height: 1.6;
}

/* ============================================
   FOOD COMPARISON BOX
============================================ */

.post-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.post-comparison-col {
  background: #eef2f6;
  border-radius: 8px;
  padding: 20px 24px;
}

.post-comparison-col h4 {
  font-family: Georgia, 'Times New Roman', serif;
  color: #2c3e50;
  font-size: 1rem;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-comparison-col p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
  color: #333e48;
}

@media (max-width: 600px) {
  .post-comparison {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   IMAGE CAPTION
============================================ */

.post-image-caption {
  text-align: center;
  font-size: 0.85rem;
  color: #6b7785;
  font-style: italic;
  margin-top: -20px;
  margin-bottom: 32px;
}
