/* Poodles in Scandinavia — Restored Site Styles */
/* Original: Microsoft FrontPage (table layout, serif, centered) */
/* Layout: centered 960px, cream tones, dark red accent */

/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; }
body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  line-height: 1.7;
  color: #333333;
  background: #f5f0eb;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #003366; text-decoration: none; transition: color 0.2s; }
a:hover { color: #8B0000; }

/* ═══════════════════════════════════════
   HEADER
   ═══════════════════════════════════════ */
.pd-header {
  background: #1a1a2e;
  padding: 0;
  border-bottom: 3px solid #8B0000;
}
.pd-header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pd-logo {
  text-decoration: none;
  color: #fff;
}
.pd-logo:hover { color: #e8c47a; text-decoration: none; }
.pd-logo-text {
  font-size: 1.6em;
  font-weight: 700;
  color: #ffffff;
  font-style: italic;
  margin: 0;
  line-height: 1.1;
  display: block;
}
.pd-logo .pd-subtitle {
  display: block;
  font-size: 0.45em;
  color: #b0a090;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.03em;
  margin-top: 3px;
}
.pd-menu-toggle {
  display: none;
  background: none;
  border: 1px solid #555;
  color: #ddd;
  font-size: 1.2em;
  padding: 5px 12px;
  cursor: pointer;
  border-radius: 3px;
}
.pd-menu-toggle:hover { border-color: #8B0000; color: #8B0000; }

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.pd-nav {
  background: #22223a;
  border-bottom: 1px solid #333;
}
.pd-nav-links {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  list-style: none;
  gap: 0;
}
.pd-nav-links a {
  display: block;
  color: #c0b8a8;
  padding: 10px 15px;
  font-size: 0.82em;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.pd-nav-links a:hover,
.pd-nav-links a.active {
  color: #fff;
  background: rgba(139,0,0,0.15);
  border-bottom-color: #8B0000;
}

/* ═══════════════════════════════════════
   MAIN CONTAINER
   ═══════════════════════════════════════ */
.pd-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 20px;
}

/* ═══════════════════════════════════════
   HERO SECTION (homepage)
   ═══════════════════════════════════════ */
.pd-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #2a1a2e 60%, #3a1520 100%);
  padding: 42px 36px;
  border-radius: 6px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid #333;
}
.pd-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 35%;
  height: 100%;
  background: linear-gradient(to left, rgba(139,0,0,0.12), transparent);
  pointer-events: none;
}
.pd-hero h1 {
  font-size: 2em;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  font-style: italic;
}
.pd-hero p {
  font-size: 1em;
  color: rgba(255,255,255,0.7);
  max-width: 550px;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   ARTICLE LISTING
   ═══════════════════════════════════════ */
.pd-listing {
  margin: 24px 0;
}
.pd-listing-item {
  background: #ffffff;
  border: 1px solid #d8d0c4;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 16px;
  display: flex;
  gap: 18px;
  transition: border-color 0.2s;
}
.pd-listing-item:hover {
  border-color: #8B0000;
}
.pd-listing-thumb {
  width: 160px;
  min-width: 160px;
  height: 120px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid #d8d0c4;
}
.pd-listing-body h3 {
  font-size: 1.05em;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}
.pd-listing-body h3 a { color: #1a1a2e; }
.pd-listing-body h3 a:hover { color: #8B0000; }
.pd-listing-body p {
  font-size: 0.88em;
  color: #666;
  margin: 0;
  line-height: 1.5;
}
.pd-listing-meta {
  font-size: 0.78em;
  color: #999;
  margin-top: 6px;
}
.pd-category {
  display: inline-block;
  background: #8B0000;
  color: #fff;
  font-size: 0.68em;
  padding: 2px 8px;
  border-radius: 2px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 8px;
}

/* ═══════════════════════════════════════
   SECTION HEADINGS
   ═══════════════════════════════════════ */
.pd-section-heading {
  font-size: 1.1em;
  font-weight: 700;
  color: #1a1a2e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid #8B0000;
  display: inline-block;
}

/* ═══════════════════════════════════════
   ARTICLE PAGE
   ═══════════════════════════════════════ */
.pd-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}
.pd-article-header {
  margin-bottom: 24px;
}
.pd-breadcrumb {
  font-size: 0.8em;
  color: #888;
  margin-bottom: 14px;
}
.pd-breadcrumb a { color: #003366; }
.pd-article-header h1 {
  font-size: 1.9em;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.2;
  margin-bottom: 10px;
  font-style: italic;
}
.pd-meta {
  font-size: 0.82em;
  color: #888;
  padding-bottom: 14px;
  border-bottom: 1px solid #d8d0c4;
  margin-bottom: 20px;
}
.pd-hero-img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 24px;
  border: 1px solid #d8d0c4;
}
.pd-float-img {
  float: right;
  margin: 0 0 14px 20px;
  max-width: 280px;
  border-radius: 3px;
  border: 1px solid #d8d0c4;
}

/* ═══════════════════════════════════════
   ARTICLE BODY (reading content)
   ═══════════════════════════════════════ */
.pd-reading {
  font-size: 1em;
  line-height: 1.8;
  color: #333;
}
.pd-reading h2 {
  color: #1a1a2e;
  font-size: 1.35em;
  margin: 28px 0 12px;
  padding-top: 6px;
  font-style: italic;
}
.pd-reading h3 {
  color: #333;
  font-size: 1.1em;
  margin: 20px 0 8px;
}
.pd-reading p { margin-bottom: 14px; }
.pd-reading ul, .pd-reading ol {
  margin: 8px 0 18px 26px;
}
.pd-reading li { margin-bottom: 5px; }
.pd-reading strong { color: #1a1a2e; }
.pd-reading blockquote {
  border-left: 3px solid #8B0000;
  margin: 18px 0;
  padding: 14px 20px;
  background: #faf6f0;
  font-style: italic;
  color: #555;
  border-radius: 0 4px 4px 0;
}
.pd-reading a { text-decoration: underline; text-underline-offset: 2px; }
.pd-reading a:hover { color: #8B0000; }

/* ═══════════════════════════════════════
   TABLES (pedigree, results)
   ═══════════════════════════════════════ */
.pd-reading table {
  border-collapse: collapse;
  width: 100%;
  margin: 16px 0;
  font-size: 0.88em;
}
.pd-reading th, .pd-reading td {
  padding: 8px 12px;
  border: 1px solid #d8d0c4;
  text-align: left;
}
.pd-reading th {
  background: #8B0000;
  color: #fff;
  font-weight: 600;
}
.pd-reading tr:nth-child(even) { background: #faf6f0; }
.pd-reading tr:hover { background: #f0ebe3; }

/* ═══════════════════════════════════════
   RELATED ARTICLES
   ═══════════════════════════════════════ */
.pd-related {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #d8d0c4;
}
.pd-related h2 {
  font-size: 1.2em;
  color: #1a1a2e;
  margin-bottom: 16px;
  font-style: italic;
}

/* ═══════════════════════════════════════
   SIDEBAR (for breeders/directory pages)
   ═══════════════════════════════════════ */
.pd-two-col {
  display: flex;
  gap: 28px;
}
.pd-content-area { flex: 1; min-width: 0; }
.pd-sidebar {
  width: 240px;
  min-width: 240px;
}
.pd-sidebar-box {
  background: #fff;
  border: 1px solid #d8d0c4;
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 16px;
}
.pd-sidebar-box h3 {
  font-size: 0.9em;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #d8d0c4;
}
.pd-sidebar-box ul { list-style: none; }
.pd-sidebar-box li { margin-bottom: 4px; }
.pd-sidebar-box a { font-size: 0.85em; color: #003366; }
.pd-sidebar-box a:hover { color: #8B0000; }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.pd-footer {
  background: #1a1a2e;
  border-top: 3px solid #8B0000;
  padding: 30px 20px;
  margin-top: 40px;
}
.pd-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.pd-footer-brand {
  flex: 2;
  min-width: 200px;
}
.pd-footer-brand p {
  color: #888;
  font-size: 0.82em;
  margin-top: 8px;
  line-height: 1.5;
}
.pd-footer-col {
  flex: 1;
  min-width: 140px;
}
.pd-footer-col h4 {
  color: #c0b8a8;
  font-size: 0.82em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  font-weight: 600;
}
.pd-footer-col ul { list-style: none; }
.pd-footer-col li { margin-bottom: 5px; }
.pd-footer-col a { color: #888; font-size: 0.82em; }
.pd-footer-col a:hover { color: #e8c47a; }
.pd-footer-copy {
  max-width: 960px;
  margin: 16px auto 0;
  padding-top: 14px;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 0.78em;
  color: #666;
}

/* ═══════════════════════════════════════
   SERVICE PAGES (about, contact, privacy)
   ═══════════════════════════════════════ */
.pd-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px;
}
.pd-page h1 {
  font-size: 1.8em;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 16px;
  font-style: italic;
}
.pd-page h2 {
  color: #333;
  font-size: 1.2em;
  margin: 24px 0 10px;
}
.pd-page p { margin-bottom: 12px; color: #444; }
.pd-page ul { margin: 6px 0 16px 22px; color: #444; }
.pd-page li { margin-bottom: 4px; }

/* ═══════════════════════════════════════
   GALLERY (dog photo pages)
   ═══════════════════════════════════════ */
.pd-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}
.pd-gallery-item {
  width: calc(33.33% - 8px);
  border: 1px solid #d8d0c4;
  border-radius: 3px;
  overflow: hidden;
}
.pd-gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.pd-gallery-caption {
  padding: 6px 8px;
  font-size: 0.75em;
  color: #666;
  text-align: center;
  background: #fff;
}

/* ═══════════════════════════════════════
   RESPONSIVE — 720px
   ═══════════════════════════════════════ */
@media (max-width: 720px) {
  .pd-menu-toggle { display: block; }
  .pd-nav-links { display: none; flex-direction: column; padding: 0; }
  .pd-nav-links.open { display: flex; }
  .pd-nav-links a { padding: 10px 20px; border-bottom: 1px solid #333; }
  .pd-nav-links a:hover, .pd-nav-links a.active { border-bottom-color: #333; }
  .pd-hero { padding: 28px 20px; }
  .pd-hero h1 { font-size: 1.5em; }
  .pd-article-header h1 { font-size: 1.5em; }
  .pd-listing-item { flex-direction: column; }
  .pd-listing-thumb { width: 100%; min-width: auto; height: 180px; }
  .pd-two-col { flex-direction: column; }
  .pd-sidebar { width: 100%; min-width: auto; }
  .pd-footer-inner { flex-direction: column; }
  .pd-float-img { float: none; max-width: 100%; margin: 0 0 16px 0; }
  .pd-gallery-item { width: calc(50% - 6px); }
}

/* ═══════════════════════════════════════
   RESPONSIVE — 460px
   ═══════════════════════════════════════ */
@media (max-width: 460px) {
  .pd-hero h1 { font-size: 1.25em; }
  .pd-hero { padding: 20px 16px; }
  .pd-logo-text { font-size: 1.25em; }
  .pd-logo .pd-subtitle { display: none; }
  .pd-article-header h1 { font-size: 1.3em; }
  .pd-gallery-item { width: 100%; }
  .pd-listing-thumb { height: 160px; }
}
