/* Encyclopedia on Pets - 2026 redesign shell.
   Colours, paw mark and Nunito type match adventures.encyclopediaonpets.com (friendly.css); makes the legacy
   table/font markup fluid and readable without touching the article files. */

:root {
  --eop-brand: #386649;
  --eop-brand-dark: #274b3d;
  --eop-brand-soft: #e4ebd4;
  --eop-gold: #a77338;
  --eop-bg: #fffaf0;
  --eop-card: #ffffff;
  --eop-ink: #274b3d;
  --eop-muted: #5b675c;
  --eop-line: #dedfd0;
  --eop-radius: 14px;
  --eop-shadow: 0 1px 2px rgba(22, 55, 43, .06), 0 6px 18px rgba(22, 55, 43, .07);
  --eop-serif: Nunito, Arial, sans-serif;
  --eop-sans: Nunito, Arial, sans-serif;
  --eop-wrap: 1180px;
}

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body.eop {
  margin: 0; padding: 0;
  background: var(--eop-bg); color: var(--eop-ink);
  font: 17px/1.65 var(--eop-sans); text-align: left; overflow-x: hidden;
}
.eop *, .eop *::before, .eop *::after { box-sizing: border-box; }
.eop a { color: var(--eop-brand); text-underline-offset: 2px; }
.eop a:hover { color: var(--eop-brand-dark); }
.eop :focus-visible { outline: 3px solid var(--eop-gold); outline-offset: 2px; border-radius: 3px; }
.eop-wrap { width: 100%; max-width: var(--eop-wrap); margin: 0 auto; padding: 0 16px; }
.eop-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eop-skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: #fff; color: var(--eop-brand); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.eop-skip:focus { top: 8px; }
.eop-preview-bar { background: #16372b; color: #d8e9ad; font-size: 13px; text-align: center; padding: 6px 16px; letter-spacing: .02em; }
.eop-muted { color: var(--eop-muted); font-size: .9em; }

/* ---------- header ---------- */
.eop-header { background: var(--eop-card); border-bottom: 1px solid var(--eop-line); position: relative; z-index: 5; }
.eop-header-row { display: flex; align-items: center; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.eop-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--eop-ink) !important; flex: none; }
.eop-brand img { width: 60px; height: auto; display: block; }
.eop-brand-name { font: 600 26px/1.1 var(--eop-serif); color: var(--eop-brand); margin: 0; letter-spacing: .005em; }
.eop-brand-name i { font-weight: 400; color: var(--eop-ink); }
.eop-search { display: flex; flex: 1; max-width: 460px; margin-left: auto; }
.eop-search input {
  flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 9px 14px;
  border: 1px solid #7d8a74; border-right: 0; border-radius: 999px 0 0 999px; background: #fff; color: var(--eop-ink);
}
.eop-search button, .eop-menu-btn {
  font: 600 15px/1 var(--eop-sans); border: 0; background: var(--eop-brand); color: #fff; cursor: pointer;
  padding: 0 18px; border-radius: 0 999px 999px 0; min-height: 44px;
}
.eop-search button:hover { background: var(--eop-brand-dark); }
.eop-menu-btn { display: none; border-radius: 999px; background: var(--eop-brand-soft); color: var(--eop-brand-dark); align-items: center; gap: 8px; }
.eop-menu-icon, .eop-menu-icon::before, .eop-menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ""; }
.eop-menu-icon::before { position: absolute; top: -6px; }
.eop-menu-icon::after { position: absolute; top: 6px; }

/* Main menu: one bar, no sideways scrolling. Topics and Directories open as panels (see lib.php for the toggle script). */
.eop-nav { background: var(--eop-brand-dark); }
.eop-nav ul { list-style: none; margin: 0; }
.eop-panel ul { padding: 0; }
.eop-nav-list { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; position: relative; padding-top: 8px; padding-bottom: 8px; margin: 0 auto !important; }
.eop-nav-list > li > a, .eop-nav-toggle {
  display: inline-flex; align-items: center; gap: 7px; color: #fff; text-decoration: none; font: 800 15px/1 var(--eop-sans);
  padding: 11px 15px; border-radius: 999px; border: 0; background: none; cursor: pointer; min-height: 40px; }
.eop-nav-list > li > a:hover, .eop-nav-toggle:hover, .eop-nav-toggle[aria-expanded="true"] { background: rgba(255, 255, 255, .13); color: #fff; }
.eop-nav-list > li > a[aria-current], .eop-nav-toggle[data-current] { background: #e4edb7; color: var(--eop-ink); }
.eop-nav-list > li:last-child { margin-left: auto; }
.eop-nav-list > li:last-child > a { box-shadow: inset 0 0 0 2px rgba(228, 237, 183, .55); }
.eop-chev { width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.eop-nav-toggle[aria-expanded="true"] .eop-chev { transform: translateY(1px) rotate(225deg); }
.eop-panel { display: none; position: absolute; z-index: 20; top: calc(100% - 2px); background: #fff; color: var(--eop-ink);
  border: 1px solid var(--eop-line); border-radius: 24px; box-shadow: 0 18px 40px rgba(22, 55, 43, .18), 0 4px 0 #e4ebd4; padding: 14px; }
.eop-nav-toggle[aria-expanded="true"] + .eop-panel { display: block; }
.eop-mega { left: 16px; right: 16px; }
.eop-mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.eop-panel a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; text-decoration: none; color: var(--eop-ink); }
.eop-panel a:hover, .eop-panel a:focus-visible, .eop-panel a[aria-current] { background: #f3f6e8; }
.eop-panel strong { display: block; font: 850 15px/1.25 var(--eop-sans); }
.eop-panel small { display: block; font-size: 13px; line-height: 1.3; color: var(--eop-muted); margin-top: 2px; }
.eop-mega-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #e4ebd4; font-size: 21px; line-height: 1; }
.eop-mega-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 10px 0 0; padding: 12px 12px 2px; border-top: 1px solid var(--eop-line); color: var(--eop-muted); font-size: 14px; }
.eop-mega-foot a { display: inline-flex; background: var(--eop-brand); color: #fff; font-weight: 850; padding: 10px 20px; border-radius: 999px; box-shadow: 0 4px 0 #16372b; }
.eop-mega-foot a:hover, .eop-mega-foot a[aria-current] { background: #3d694e; color: #fff; }
.eop-has-drop { position: relative; }
.eop-drop { left: 0; width: 320px; }
.eop-drop a { flex-direction: column; align-items: flex-start; gap: 0; }
@media (hover: hover) and (min-width: 761px) {
  .eop-has-panel:hover > .eop-panel { display: block; }
  .eop-has-panel:hover > .eop-nav-toggle .eop-chev { transform: translateY(1px) rotate(225deg); }
}
@media (max-width: 1100px) and (min-width: 761px) { .eop-mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .eop-chev { transition: none; } }

/* ---------- home ---------- */
.eop-hero { background: linear-gradient(180deg, var(--eop-brand) 0, var(--eop-brand) 62%, var(--eop-bg) 62%); padding: 22px 0 6px; }
.eop-hero-art { display: block; width: 100%; height: auto; border-radius: var(--eop-radius); box-shadow: 0 10px 30px rgba(22, 55, 43, .28); aspect-ratio: 850 / 270; object-fit: cover; background: #274b3d; }
.eop-hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.eop-hero-stats a { background: var(--eop-card); border: 1px solid var(--eop-line); border-radius: var(--eop-radius); padding: 14px 16px; text-decoration: none; color: var(--eop-muted); font-size: 15px; box-shadow: var(--eop-shadow); }
.eop-hero-stats strong { display: block; font: 600 28px/1.1 var(--eop-serif); color: var(--eop-brand); }
.eop-home-topics { padding: 26px 0 8px; }
.eop-h1, .eop-h2, .eop-card h3, .eop-aside h2, .eop-footer h2 { font-family: var(--eop-serif); color: var(--eop-ink); font-weight: 600; }
.eop-h1 { font-size: 34px; line-height: 1.2; margin: 6px 0 18px; }
.eop-h2 { font-size: 26px; margin: 8px 0 16px; }
.eop-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.eop-card { background: var(--eop-card); border: 1px solid var(--eop-line); border-radius: var(--eop-radius); padding: 16px 18px; box-shadow: var(--eop-shadow); border-top: 4px solid var(--eop-brand); }
.eop-card h3 { font-size: 20px; margin: 0; }
.eop-card h3 a { color: var(--eop-ink); text-decoration: none; }
.eop-card h3 a:hover { color: var(--eop-brand); }
.eop-count { margin: 2px 0 8px; color: var(--eop-muted); font-size: 14px; }
.eop-card ul { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.45; }
.eop-card li { padding: 4px 0; border-top: 1px dashed var(--eop-line); }

/* ---------- page layout ---------- */
.eop-main { padding: 18px 0 40px; outline: none; }
.eop-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.eop-has-aside { grid-template-columns: minmax(0, 1fr) 300px; }
.eop-has-aside .eop-crumbs { grid-column: 1 / -1; }
.eop-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 14px; color: var(--eop-muted); }
.eop-crumbs li + li::before { content: "\203A"; margin: 0 6px 0 2px; color: #8f9a86; }
.eop-crumbs a { color: var(--eop-muted); }
.eop-legacy {
  background: var(--eop-card); border: 1px solid var(--eop-line); border-radius: var(--eop-radius);
  padding: 28px clamp(16px, 4vw, 44px); box-shadow: var(--eop-shadow); min-width: 0; overflow-wrap: break-word;
}
.eop-home .eop-legacy { max-width: 900px; margin: 0 auto; width: 100%; }
.eop-tool .eop-legacy { max-width: 900px; }
.eop-aside { align-self: start; position: sticky; top: 12px; background: var(--eop-card); border: 1px solid var(--eop-line); border-radius: var(--eop-radius); padding: 16px 18px; box-shadow: var(--eop-shadow); }
.eop-aside h2 { font-size: 18px; margin: 0 0 8px; }
.eop-aside ul { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.4; }
.eop-aside li { padding: 7px 0; border-top: 1px solid var(--eop-line); }
.eop-aside a { text-decoration: none; }
.eop-aside a:hover { text-decoration: underline; }
.eop-notice { margin: 18px 0; padding: 14px 18px; border-radius: 10px; background: #fff7e6; border: 1px solid #f0d49b; color: #5b3d00; }

/* ---------- legacy article content (original markup, made fluid) ---------- */
.eop-legacy, .eop-legacy p, .eop-legacy td, .eop-legacy li, .eop-legacy div, .eop-legacy span { font-size: 17px; line-height: 1.7; }
.eop-legacy font { font-family: inherit !important; font-size: inherit !important; }
.eop-legacy font[size="1"] { font-size: 14px !important; }
.eop-legacy font[size="5"], .eop-legacy font[size="6"], .eop-legacy font[size="7"] { font-size: 1.4em !important; }
.eop-legacy font[face="Monotype Corsiva"] { font-family: var(--eop-serif) !important; font-style: italic; }
.eop-legacy font[color="#808080"], .eop-legacy font[color="#999999"], .eop-legacy font[color="#C0C0C0"] { color: var(--eop-muted) !important; }
.eop-legacy p { margin: 0 0 1em; text-align: left !important; }
.eop-legacy [align="justify"], .eop-legacy [style*="justify"] { text-align: left !important; }
.eop-legacy h1, .eop-legacy h2, .eop-legacy h3, .eop-legacy h4 { font-family: var(--eop-serif); font-weight: 600; line-height: 1.25; height: auto; margin: 1.2em 0 .5em; color: var(--eop-ink); }
.eop-legacy h1 { font-size: 30px; } .eop-legacy h2 { font-size: 25px; } .eop-legacy h3 { font-size: 21px; }
.eop-legacy ul, .eop-legacy ol { list-style: revert; padding-left: 1.4em; margin: 0 0 1em; }
.eop-legacy img { max-width: 100%; height: auto; border-radius: 6px; }
/* Inside the old fixed-width tables, a percentage max-width lets columns collapse;
   those tables were built for 660px and fit the desktop column as they are. */
@media (min-width: 761px) { .eop-legacy td img { max-width: none; } }
.eop-legacy img[width="1"], .eop-legacy img[height="1"] { border-radius: 0; }
.eop-legacy table { max-width: 100% !important; height: auto !important; border-collapse: collapse; margin: 0 auto 1em; }
.eop-legacy td, .eop-legacy th { vertical-align: top; padding: 4px 6px; }
.eop-legacy table[width="600"], .eop-legacy table[width="660"], .eop-legacy table[width="650"],
.eop-legacy table[width="640"], .eop-legacy table[width="100%"] { width: 100% !important; }
.eop-legacy hr { border: 0; border-top: 1px solid var(--eop-line); margin: 1.5em 0; }
.eop-legacy embed, .eop-legacy object, .eop-legacy iframe, .eop-legacy video { max-width: 100%; }
.eop-legacy b, .eop-legacy strong { font-weight: 700; color: var(--eop-ink); }
.eop-legacy > table:first-child b:first-child { font-family: var(--eop-serif); }
.eop-legacy form input[type="text"], .eop-legacy form input[type="email"], .eop-legacy form input[type="tel"], .eop-legacy form input:not([type]), .eop-legacy form textarea, .eop-legacy form select { font: inherit; font-size: 16px; padding: 8px 10px; border: 1px solid #7d8a74; border-radius: 8px; max-width: 100%; }
.eop-legacy form input[type="submit"], .eop-legacy form input[type="button"] { font: 600 16px var(--eop-sans); background: var(--eop-brand); color: #fff; border: 0; border-radius: 999px; padding: 10px 22px; cursor: pointer; }

/* Gallery: thumbnails flow in a grid instead of fixed tables */
.eop-sec-gallery .eop-legacy td { text-align: center; }
.eop-sec-gallery .eop-legacy img { box-shadow: var(--eop-shadow); }

/* ---------- tools: topics + search ---------- */
.eop-jump ul { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.eop-jump a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--eop-brand-soft); text-decoration: none; font-size: 15px; }
.eop-jump span { color: var(--eop-muted); }
.eop-topic { border-top: 1px solid var(--eop-line); padding-top: 10px; margin-top: 18px; }
.eop-linklist { columns: 2 260px; column-gap: 32px; list-style: none; padding: 0; margin: 0; }
.eop-linklist li { break-inside: avoid; padding: 4px 0; font-size: 16px; line-height: 1.45; }
.eop-search-page { max-width: none; margin: 0 0 14px; }
.eop-results { list-style: none; padding: 0; margin: 0; }
.eop-results li { padding: 14px 0; border-top: 1px solid var(--eop-line); }
.eop-results a { font: 600 19px/1.3 var(--eop-serif); }
.eop-results p { margin: 4px 0 0; color: var(--eop-muted); font-size: 15px; }
.eop-results mark { background: #fde9c8; color: inherit; padding: 0 2px; border-radius: 3px; }
.eop-tag { display: inline-block; margin-left: 8px; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--eop-brand-soft); color: var(--eop-brand-dark); vertical-align: 2px; }

/* ---------- footer ---------- */
.eop-footer { background: #274b3d; color: #eef2df; padding: 34px 0 18px; margin-top: 10px; }
.eop-footer a { color: #fff; }
.eop-footer-cols { display: grid; grid-template-columns: 1.1fr 2fr 1fr; gap: 28px; }
.eop-footer .eop-brand-name { color: #fff; font-size: 24px; }
.eop-footer .eop-brand-name i { color: #fff; }
.eop-footer h2 { color: #fff; font-size: 17px; margin: 0 0 8px; }
.eop-footer ul { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.5; }
.eop-footer nav[aria-label="Topics in footer"] ul { columns: 2 180px; }
.eop-footer li { padding: 2px 0; }
.eop-footer a { text-decoration: none; }
.eop-footer a:hover { text-decoration: underline; }
.eop-search-footer { margin: 14px 0 0; max-width: 320px; }
.eop-legal { margin-top: 26px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 13px; color: #d8e9ad; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .eop-has-aside { grid-template-columns: minmax(0, 1fr); }
  .eop-aside { position: static; }
  .eop-footer-cols { grid-template-columns: 1fr 1fr; }
  .eop-footer-cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body.eop { font-size: 16px; }
  .eop-header-row { flex-wrap: wrap; gap: 10px; }
  .eop-brand-name { font-size: 21px; }
  .eop-brand img { width: 46px; }
  .eop-menu-btn { display: inline-flex; margin-left: auto; padding: 0 14px; }
  .eop-header-row .eop-search { order: 3; flex-basis: 100%; max-width: none; }
  .eop-nav { display: none; }
  .eop-nav-open .eop-nav { display: block; }
  .eop-nav-list { flex-direction: column; align-items: stretch; gap: 2px; padding-top: 10px; padding-bottom: 14px; }
  .eop-nav-list > li > a, .eop-nav-toggle { width: 100%; justify-content: space-between; padding: 13px 16px; font-size: 16px; }
  .eop-nav-list > li:last-child { margin: 8px 0 0; }
  .eop-nav-list > li:last-child > a { justify-content: center; }
  .eop-panel { position: static; margin: 6px 0 8px; border-radius: 20px; padding: 8px; box-shadow: none; }
  .eop-mega-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
  .eop-panel a { gap: 9px; padding: 8px; }
  .eop-panel strong { font-size: 14px; }
  .eop-mega-ico { width: 34px; height: 34px; font-size: 17px; }
  .eop-drop { width: auto; }
  .eop-hero { padding-top: 12px; }
  .eop-hero-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .eop-hero-stats a { padding: 10px 12px; font-size: 14px; }
  .eop-hero-stats strong { font-size: 22px; }
  .eop-h1 { font-size: 28px; }
  .eop-legacy { padding: 18px 14px; border-radius: 10px; }
  .eop-legacy, .eop-legacy p, .eop-legacy td, .eop-legacy li, .eop-legacy div, .eop-legacy span { font-size: 16px; }
  /* Fixed-width layout tables stack into a single readable column. */
  .eop-legacy table, .eop-legacy tbody, .eop-legacy tr, .eop-legacy td, .eop-legacy th { display: block; width: auto !important; max-width: 100% !important; }
  .eop-legacy td { padding: 2px 0; }
  .eop-sec-gallery .eop-legacy tr { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .eop-footer-cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print {
  .eop-header, .eop-footer, .eop-aside, .eop-preview-bar, .eop-crumbs { display: none !important; }
  .eop-legacy { border: 0; box-shadow: none; padding: 0; }
}

/* Home page: original image buttons and the Pet's Gallery tab keep their 2009 sizing. */
.eop-legacy td[background] font, .eop-legacy td[background] b { font-size: 13px !important; line-height: 1.25; }
.eop-legacy td[background] { line-height: 1.25; text-align: center; background-size: 100% 100%; padding: 8px 4px; }
.eop-legacy td[background] p { margin: 0; text-align: center !important; }
.eop-legacy ul.navigationTabs { list-style: none; padding-left: 0; }
@media (max-width: 760px) {
  .eop-legacy table, .eop-legacy td { height: auto !important; }
  .eop-legacy div, .eop-legacy table, .eop-legacy object, .eop-legacy embed { max-width: 100% !important; }
  .eop-legacy td[background] { display: inline-block !important; width: 31% !important; min-height: 54px; margin: 0 1% 6px 0; vertical-align: top; }
  .eop-legacy td[width="4"] { display: none !important; }
  .eop-legacy .wrapper, .eop-legacy .tabsContent { width: auto !important; height: auto !important; }
  .eop-legacy .spacegallery { margin: 0 auto; }
}

/* Very wide legacy tables (e.g. the A-Z name lists) scroll inside the article. */
.eop-legacy { overflow-x: auto; }
/* Old banner include inside a few pages duplicates the new header. */
.eop-legacy table[background*="pets5.jpg"] { display: none; }
.eop-legacy form input:not([type]), .eop-legacy form input[type="email"], .eop-legacy form input[type="file"] { font: inherit; font-size: 16px; padding: 8px 10px; border: 1px solid #7d8a74; border-radius: 8px; max-width: 100%; }
.eop-legacy form input[type="reset"] { font: 600 16px var(--eop-sans); background: #fff; color: var(--eop-brand); border: 1px solid var(--eop-brand); border-radius: 999px; padding: 9px 20px; cursor: pointer; }

/* ---- 2026 repairs: forms, directories, videos ---------------------------------- */
.eop-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.eop-consent { margin: 14px 0; padding: 12px 14px; background: var(--eop-brand-soft); border-radius: 10px; font-size: 15px; text-align: left; }
.eop-consent input { width: auto; margin-right: 6px; }
.eop-preview-note { margin: 6px 0 0; font-size: 13px; color: var(--eop-muted); }
.eop-form-page { max-width: 760px; }
.eop-form-page h1 { font-size: 28px; margin: 0 0 16px; color: var(--eop-brand-dark); }
.eop-form fieldset { border: 1px solid var(--eop-line); border-radius: var(--eop-radius); margin: 0 0 16px; padding: 14px 16px; background: var(--eop-card); }
.eop-form legend { font-weight: 700; padding: 0 6px; }
.eop-form label, .eop-filter label { display: block; margin: 8px 0; font-weight: 600; font-size: 15px; }
.eop-form input:not([type=checkbox]):not([type=hidden]), .eop-form select, .eop-form textarea,
.eop-filter select { display: block; width: 100%; max-width: 100%; margin-top: 4px; padding: 9px 10px; font: inherit; font-weight: 400;
  border: 1px solid #7d8a74; border-radius: 8px; background: #fff; box-sizing: border-box; }
.eop-form small { display: block; color: var(--eop-muted); font-size: 13px; }
.eop-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; }
.eop-form button, .eop-filter button { padding: 10px 20px; border: 0; border-radius: 999px; background: var(--eop-brand); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.eop-form button[type=reset] { background: #5b675c; }
#eop-avail { font-size: 14px; font-weight: 700; }
.eop-notice.eop-ok { border-left: 4px solid #2f7d32; }
.eop-notice.eop-error { border-left: 4px solid var(--eop-brand); }
.eop-directory { list-style: none; padding: 0; }
.eop-directory li { padding: 12px 0; border-bottom: 1px solid var(--eop-line); }
.eop-directory span, .eop-directory small { display: block; color: var(--eop-muted); }
.eop-profile dt { font-weight: 700; margin-top: 8px; }
.eop-profile dd { margin: 2px 0 0; }
.eop-legacy video { max-width: 100%; height: auto; background: #000; border-radius: 8px; }
.eop-legacy figure { margin: 0; }
.eop-legacy figcaption { font-size: 14px; color: var(--eop-muted); margin-top: 4px; }
@media (max-width: 700px) { .eop-row { grid-template-columns: 1fr; } }

/* ---- 2026 review fixes: content review labels, privacy page, profiles, mobile forms ---- */
.eop-review { margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; font-size: 15px; line-height: 1.5; }
.eop-review-archive { background: #f4efe9; color: var(--eop-muted); }
.eop-review-flag { background: #fff7e6; border: 1px solid #f0d49b; color: #5b3d00; }
.eop-review-high { background: #fdecea; border: 1px solid #e8a9a3; color: #6d1410; }
.eop-home-review { margin-top: 14px; }
.eop-privacy-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.eop-privacy-table th, .eop-privacy-table td { border: 1px solid var(--eop-line); padding: 8px; text-align: left; vertical-align: top; }
.eop-profile-photo { float: right; margin: 0 0 12px 16px; border-radius: 10px; max-width: 40%; height: auto; }
.eop-consent label { display: block; margin: 6px 0; font-weight: 400; }
fieldset.eop-consent { border: 0; }
/* The 2009 "flying butterfly" decorations float across the page (and off its edge on phones) and
   cover form fields; the script and images are kept, the floating copies are not shown. */
div#pic0, div#pic1 { display: none !important; }
/* Legacy form controls must never be wider than the screen. */
.eop-legacy input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=reset]):not([type=hidden]),
.eop-legacy select, .eop-legacy textarea { max-width: 100%; box-sizing: border-box; }
@media (max-width: 700px) {
  .eop-legacy form table, .eop-legacy form tbody, .eop-legacy form tr, .eop-legacy form td { display: block; width: auto !important; }
  .eop-legacy form textarea, .eop-legacy form input[type=text], .eop-legacy form input:not([type]),
  .eop-legacy form input[type=email], .eop-legacy form input[type=tel] { width: 100%; }
  .eop-privacy-table thead { display: none; }
  .eop-privacy-table tr, .eop-privacy-table td { display: block; }
  .eop-privacy-table td:first-child { font-weight: 700; background: var(--eop-brand-soft); }
  .eop-profile-photo { float: none; display: block; max-width: 100%; margin: 0 0 12px; }
}

/* ---------- Adventures brand (2 Nov 2026) ----------
   Same paw mark, Nunito type and pill buttons as adventures.encyclopediaonpets.com. */
@font-face { font-family: Nunito; src: url('/includes/eop/brand/nunito.ttf') format('truetype'); font-weight: 200 1000; font-display: swap; }
.eop h1, .eop h2, .eop h3 { font-family: var(--eop-sans); font-weight: 900; letter-spacing: -.01em; }
.eop-brand-name { font: 1000 26px/1.1 var(--eop-sans); color: var(--eop-ink); letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 8px; }
.eop-brand-name i { font-style: normal; font-weight: inherit; color: inherit; }
.eop-brand-name::before { content: ""; flex: none; width: 32px; height: 34px; background: url('/includes/eop/brand/paw.svg') center/contain no-repeat; transform: rotate(-15deg); }
.eop-footer .eop-brand-name::before { filter: brightness(0) invert(1); }
.eop-hero { background: linear-gradient(180deg, var(--eop-brand-dark) 0, var(--eop-brand-dark) 62%, var(--eop-bg) 62%); }
.eop-hero-stats a { border-radius: 22px; }
.eop-hero-stats strong { font-weight: 950; }
.eop-search button { font-weight: 850; }
.eop-form button, .eop-filter button, .eop-legacy form input[type="submit"], .eop-legacy form input[type="button"] {
  font-weight: 850; box-shadow: 0 4px 0 #16372b; transition: transform .18s, background .18s; }
.eop-form button:hover, .eop-filter button:hover, .eop-legacy form input[type="submit"]:hover, .eop-legacy form input[type="button"]:hover {
  background: #3d694e; transform: translateY(-2px); }
.eop-form button[type=reset] { box-shadow: 0 4px 0 #3c4540; }
.eop-results mark { background: #e4edb7; }
@media (prefers-reduced-motion: reduce) { .eop-form button, .eop-filter button, .eop-legacy form input[type="submit"], .eop-legacy form input[type="button"] { transition: none; } }
@media (max-width: 760px) { .eop-brand-name { font-size: 21px; gap: 6px; } .eop-brand-name::before { width: 24px; height: 26px; }
  .eop-menu-btn { padding: 0 13px; gap: 7px; font-size: 14px; } }

/* Home hero: Adventures photo and wordmark replace the red 2009 banner (/images/pets5.jpg is kept in the site). */
.eop-hero { padding: 34px 0 6px; }
.eop-hero-main { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; margin-bottom: 26px; }
.eop-hero-copy { color: #fff; }
.eop .eop-hero-copy h1 { font: 1000 clamp(38px, 5vw, 62px)/1.05 var(--eop-sans); letter-spacing: -.02em; margin: 0 0 16px; color: #fff;
  height: auto; text-transform: none; }  /* the home page's legacy css/layout.css sets h1 to 47px tall, uppercase */
.eop-hero-copy p { font-size: 19px; margin: 0 0 22px; color: #eef2df; max-width: 32em; }
.eop-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.eop-btn { display: inline-block; background: #fffaf0; color: var(--eop-ink) !important; text-decoration: none; font-weight: 850;
  padding: 13px 24px; border-radius: 999px; box-shadow: 0 4px 0 #16372b; transition: transform .18s; }
.eop-btn:hover { transform: translateY(-2px); }
.eop-btn-light { background: #e4edb7; }
.eop-hero-photo { display: block; width: 100%; max-width: 440px; justify-self: end; aspect-ratio: 1 / 1.05; height: auto; object-fit: cover;
  object-position: 50% 40%; border-radius: 45% 45% 28px 28px; border: 8px solid #fff; box-shadow: 0 12px 0 #ece9d9; transform: rotate(2deg); background: #d6dac7; }
@media (max-width: 760px) {
  .eop-hero { padding-top: 22px; background: linear-gradient(180deg, var(--eop-brand-dark) 0, var(--eop-brand-dark) 80%, var(--eop-bg) 80%); }
  .eop-hero-main { grid-template-columns: 1fr; gap: 22px; }
  .eop-hero-copy p { font-size: 17px; }
  .eop-hero-photo { justify-self: center; max-width: 320px; }
}
@media (prefers-reduced-motion: reduce) { .eop-btn { transition: none; } }

/* Legacy red button images ("Read more", "More pics", "More videos", dog-name letter tabs) shown in the
   Adventures green; the image files are unchanged. */
.eop-legacy img[src*="read_more_www"], .eop-legacy img[src*="more_pics_www"], .eop-legacy img[src*="more_videos_WWW"],
.eop-legacy img[src$="A-B.png"], .eop-legacy img[src$="C-G.png"], .eop-legacy img[src$="H-R.png"], .eop-legacy img[src$="S-Y.png"] {
  filter: hue-rotate(140deg) saturate(.5) brightness(.78); }
/* Gallery thumbnails have a red frame baked into the 2009 images; trim it off and round the corners. */
.eop-legacy img[src*="gallery/images/"][width="100"][height="68"] { clip-path: inset(3px round 8px); }
/* Home page ribbon buttons (Breeders / Veterinarians / Share): green copies of images/button*.png (tools/greenify.py). */
.eop-legacy td[background$="images/button.png"] { background-image: url('/includes/eop/brand/button-green.png') !important; }
.eop-legacy td[background$="images/button%20copy.png"], .eop-legacy td[background$="images/button copy.png"] {
  background-image: url('/includes/eop/brand/button-copy-green.png') !important; }

/* ---------- Pet's Gallery (3 Nov 2026): albums, photo grid and viewer (markup from gallery.php) ---------- */
.eop-gal h1 { font: 1000 clamp(30px, 4vw, 44px)/1.1 var(--eop-sans); color: var(--eop-ink); margin: 0 0 8px; letter-spacing: -.02em; height: auto; text-transform: none; }
.eop-gal-head { text-align: center; margin: 4px auto 26px; max-width: 40em; }
.eop-gal-head p { margin: 0; color: var(--eop-muted); font-size: 17px; }
.eop-gal-head .eop-gal-eyebrow { margin-bottom: 4px; font-weight: 850; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.eop-gal-eyebrow a { color: var(--eop-brand); text-decoration: none; }
.eop-gal ul { list-style: none; margin: 0; padding: 0; }
.eop-gal-tabs ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; }
.eop-gal-tabs a { display: block; padding: 8px 16px; border-radius: 999px; background: #f3f6e8; color: var(--eop-ink); text-decoration: none; font-weight: 800; font-size: 14px; border: 1px solid #dfe5cc; }
.eop-gal-tabs a:hover { background: #e4edb7; }
.eop-gal-tabs a[aria-current] { background: var(--eop-brand); border-color: var(--eop-brand); color: #fff; box-shadow: 0 3px 0 #16372b; }
.eop-albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.eop-album { display: block; height: 100%; background: #fff; border: 1px solid var(--eop-line); border-radius: 26px; overflow: hidden; text-decoration: none; color: var(--eop-ink);
  box-shadow: 0 5px 0 #e4ebd4; transition: transform .2s, box-shadow .2s; }
.eop-album:hover, .eop-album:focus-visible { transform: translateY(-4px); box-shadow: 0 9px 0 #d8e3c0, 0 16px 30px rgba(22, 55, 43, .12); }
.eop-album-pics { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; aspect-ratio: 3 / 2; background: #e4ebd4; }
.eop-album-pics img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eop-album-pics img:first-child { grid-row: 1 / 3; }
.eop-album-meta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 12px; padding: 16px 20px 18px; }
.eop-album-name { font: 950 20px/1.2 var(--eop-sans); text-transform: lowercase; }
.eop-album-name::first-letter { text-transform: uppercase; }
.eop-album-meta small { grid-row: 2; color: var(--eop-muted); font-size: 14px; }
.eop-album-go { grid-row: 1 / 3; grid-column: 2; background: #e4edb7; color: var(--eop-ink); font-weight: 850; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
.eop-album-go::after { content: " \2192"; }
.eop-album:hover .eop-album-go { background: var(--eop-brand); color: #fff; }
.eop-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.eop-photos a { display: block; position: relative; border-radius: 20px; overflow: hidden; background: #e4ebd4; box-shadow: 0 4px 0 #e4ebd4; }
.eop-photos img { display: block; width: 100%; height: auto; aspect-ratio: 400 / 270; object-fit: cover; transition: transform .35s; }
.eop-photos a::after { content: ""; position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; opacity: 0; transition: opacity .2s;
  background: #fffaf0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23274b3d' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15l5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center/18px no-repeat; }
.eop-photos a:hover img, .eop-photos a:focus-visible img { transform: scale(1.06); }
.eop-photos a:hover::after, .eop-photos a:focus-visible::after { opacity: 1; }
.eop-lightbox { border: 0; padding: 0; background: none; max-width: none; max-height: none; width: 100%; height: 100%; overflow: hidden; }
.eop-lightbox::backdrop { background: rgba(22, 40, 32, .9); }
.eop-lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 60px 70px; box-sizing: border-box; }
.eop-lightbox img { display: block; width: min(640px, 100%); height: auto; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 22px; border: 6px solid #fff; background: #fff; }
.eop-lightbox figcaption { display: flex; gap: 16px; align-items: center; color: #eef2df; font-weight: 800; }
.eop-lb-page { color: #e4edb7 !important; }
.eop-lb-btn { position: fixed; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: #fffaf0; color: var(--eop-ink);
  font: 900 32px/1 var(--eop-sans); cursor: pointer; box-shadow: 0 4px 0 #16372b; }
.eop-lb-btn:hover { background: #e4edb7; }
.eop-lb-close { top: 18px; right: 18px; }
.eop-lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.eop-lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.eop-gal-photo table, .eop-gal-photo tbody { display: block; width: 100%; }
/* Photo first, then the 2009 side ad slots underneath, so the photo sits centred. */
.eop-gal-photo tr { display: flex; flex-direction: column; align-items: center; }
.eop-gal-photo td { display: block; width: auto !important; }
.eop-gal-photo td:has(.eop-photo) { order: -1; width: 100% !important; }
.eop-photo { margin: 0 auto; max-width: 560px; }
.eop-photo img { display: block; width: 100%; height: auto; border-radius: 26px; border: 8px solid #fff; box-shadow: 0 8px 0 #e4ebd4, 0 14px 30px rgba(22, 55, 43, .14); background: #e4ebd4; }
.eop-photo-nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 30px 0 6px; }
.eop-photo-nav a { padding: 10px 18px; border-radius: 999px; background: #f3f6e8; border: 1px solid #dfe5cc; color: var(--eop-ink); text-decoration: none; font-weight: 850; }
.eop-photo-nav a:hover { background: #e4edb7; }
.eop-photo-nav .eop-photo-back { background: var(--eop-brand); border-color: var(--eop-brand); color: #fff; box-shadow: 0 3px 0 #16372b; }
.eop-photo-back small { opacity: .8; font-weight: 700; margin-left: 4px; }
@media (max-width: 760px) {
  .eop-albums { grid-template-columns: 1fr; gap: 18px; }
  .eop-photos { grid-template-columns: 1fr 1fr; gap: 10px; }
  .eop-photos a { border-radius: 14px; }
  .eop-gal-tabs ul { gap: 6px; margin-bottom: 20px; }
  .eop-gal-tabs a { padding: 7px 12px; font-size: 13px; }
  .eop-lightbox figure { padding: 70px 12px 90px; }
  .eop-lb-prev, .eop-lb-next { top: auto; bottom: 22px; transform: none; }
  .eop-lb-prev { left: calc(50% - 62px); }
  .eop-lb-next { right: calc(50% - 62px); }
}
@media (prefers-reduced-motion: reduce) { .eop-album, .eop-photos img, .eop-photos a::after { transition: none; } .eop-album:hover, .eop-photos a:hover img { transform: none; } }
/* Photos with no larger 2009 copy: trim the red frame baked into the 100x68 thumbnail. */
.eop-gal img.eop-thumb-only { transform: scale(1.09); }
.eop-photos a:hover img.eop-thumb-only, .eop-photos a:focus-visible img.eop-thumb-only { transform: scale(1.15); }
.eop-lightbox img.eop-thumb-only { width: min(320px, 100%); border: 0; clip-path: inset(3px round 18px); }
.eop .eop-gal-head, .eop-legacy .eop-gal-head p { text-align: center !important; }
.eop-sec-gallery .eop-legacy .eop-gal img { box-shadow: none; border-radius: 0; max-width: none; }
.eop-legacy .eop-photo { width: 560px; max-width: 100%; margin: 0 auto !important; }
.eop-sec-gallery .eop-legacy .eop-photo img { width: 100%; max-width: 100%; border-radius: 26px; box-shadow: 0 8px 0 #e4ebd4, 0 14px 30px rgba(22, 55, 43, .14); }

/* ---------- Home body (3 Nov 2026): the 2009 table as cards (markup from home.php) ---------- */
.eop-home .eop-legacy:has(.eop-homex) { background: none; border: 0; box-shadow: none; padding: 0; max-width: none; }
.eop-homex ul { list-style: none; margin: 0; padding: 0; }
.eop .eop-homex-title { font: 1000 28px/1.15 var(--eop-sans); color: var(--eop-ink); margin: 6px 0 16px; height: auto; text-transform: none; letter-spacing: -.01em; }
.eop-features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.eop-feature { display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 1px solid var(--eop-line); border-radius: 26px; padding: 24px; box-shadow: 0 5px 0 #e4ebd4; }
.eop-legacy .eop-feature-img { flex: none; width: 104px; height: 124px; object-fit: cover; border-radius: 22px; border: 4px solid #fff; box-shadow: 0 0 0 1px var(--eop-line), 0 4px 0 #e4ebd4; }
.eop-legacy .eop-feature-eyebrow { margin: 0 0 6px; font-weight: 900; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--eop-brand); }
.eop-legacy .eop-feature-text { margin: 0 0 16px; font-size: 16px; line-height: 1.65; color: var(--eop-ink); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.eop-pill { display: inline-block; background: #e4edb7; color: var(--eop-ink) !important; text-decoration: none; font-weight: 850; font-size: 15px; padding: 9px 18px; border-radius: 999px; box-shadow: 0 3px 0 #c9d48f; transition: transform .18s; }
.eop-pill::after { content: " \2192"; }
.eop-pill:hover { transform: translateY(-2px); }
.eop-pill-solid { background: var(--eop-brand); color: #fff !important; box-shadow: 0 4px 0 #16372b; }
.eop-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0 34px !important; }
.eop-quick a { display: flex; align-items: center; gap: 14px; height: 100%; box-sizing: border-box; padding: 18px 20px; border-radius: 22px; background: var(--eop-brand-dark); color: #fff; text-decoration: none; box-shadow: 0 5px 0 #16372b; transition: transform .18s; }
.eop-quick a:hover { transform: translateY(-3px); background: #2f5a48; }
.eop-quick-ico { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #e4edb7; font-size: 24px; }
.eop-quick strong { display: block; font: 900 18px/1.2 var(--eop-sans); color: #fff; }
.eop-quick small { display: block; font-size: 14px; color: #d8e9ad; margin-top: 3px; }
.eop-home-gallery { background: #fff; border: 1px solid var(--eop-line); border-radius: 28px; padding: 26px; box-shadow: 0 5px 0 #e4ebd4; }
.eop-home-gallery-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.eop-home-gallery-head .eop-homex-title { margin: 0; }
.eop-legacy .eop-home-gallery-head p { margin: 2px 0 0; color: var(--eop-muted); font-size: 16px; }
.eop-home-mosaic { display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: 132px; grid-auto-flow: dense; gap: 10px; }
.eop-home-mosaic li:first-child { grid-column: span 2; grid-row: span 2; }
.eop-home-mosaic li:nth-child(6), .eop-home-mosaic li:nth-child(10) { grid-column: span 2; }
.eop-home-mosaic a { display: block; height: 100%; border-radius: 18px; overflow: hidden; background: #e4ebd4; }
.eop-legacy .eop-home-mosaic img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .35s; }
.eop-home-mosaic a:hover img { transform: scale(1.06); }
.eop-cse { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 22px; padding: 14px 20px; border-radius: 20px; background: #f3f6e8; }
.eop-legacy .eop-cse p { margin: 0; font-weight: 850; color: var(--eop-ink); }
.eop-cse form, .eop-cse form div { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.eop-cse input[type="text"] { min-width: 0; width: 260px; max-width: 100%; }
@media (max-width: 900px) { .eop-features { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .eop-feature { flex-direction: column; padding: 20px; }
  .eop-legacy .eop-feature-img { width: 84px; height: 100px; border-radius: 18px; }
  .eop-feature { gap: 14px; }
  .eop-quick { grid-template-columns: 1fr; gap: 12px; }
  .eop-home-gallery { padding: 18px; border-radius: 22px; }
  .eop-home-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 104px; gap: 8px; }
  .eop-home-mosaic li:first-child { grid-column: span 2; grid-row: span 2; }
  .eop-home-mosaic li:nth-child(6), .eop-home-mosaic li:nth-child(10) { grid-column: auto; }
  .eop-home-mosaic li:nth-child(10) { grid-column: span 2; }
}
@media (prefers-reduced-motion: reduce) { .eop-pill, .eop-quick a, .eop-home-mosaic img { transition: none; } }
