html.theme-pembroke { --gold:#1f4d5c; --gold-soft:#4d7c89; --b:#f6efe3; --card:#fffaf1; --line:#e3d6c5; --w:#243b42; --muted:#6d675f; }
html.theme-teifi { --gold:#21563b; --gold-soft:#4a7a5e; --b:#f4f0e5; --card:#fbf7ee; --line:#d7e0d6; --w:#1c2e24; --muted:#5f6b63; }
html.theme-north { --gold:#3f5f78; --gold-soft:#6a8498; --b:#eef1f3; --card:#f7f8f9; --line:#d4dbe1; --w:#2a3137; --muted:#66717a; }
html.theme-carmarthen { --gold:#2f4a32; --gold-soft:#b08a2e; --b:#f7f1e0; --card:#fff8ea; --line:#e4d5b3; --w:#243126; --muted:#6b6248; }
html.theme-south { --gold:#9a5a12; --gold-soft:#c4893a; --b:#f3eee6; --card:#faf6ef; --line:#ddd2c3; --w:#241c16; --muted:#6a5e53; }
html.theme-mid { --gold:#6a4c74; --gold-soft:#7d8a6c; --b:#f5ebdd; --card:#fbf4ea; --line:#e2d3c4; --w:#3a2c3c; --muted:#6d6570; }
html.theme-palestine { --gold:#5f6640; --gold-soft:#8a9168; --b:#f7f6f2; --card:#fffcf7; --line:#ddd8cc; --w:#161616; --muted:#5c5c56; }
html.theme-sunderland { --gold:#8f1d1d; --gold-soft:#b64a4a; --b:#f6efe4; --card:#fff8f2; --line:#e7d4cc; --w:#1a1513; --muted:#6a5c58; }

html[class*="theme-"] body,
html[class*="theme-"] .top,
html[class*="theme-"] .nav,
html[class*="theme-"] .lead,
html[class*="theme-"] .txt { background: var(--b) !important; color: var(--w) !important; border-color: var(--line) !important; }
html[class*="theme-"] .badge { background: transparent !important; color: var(--gold) !important; border: 1px solid var(--gold) !important; }
html[class*="theme-"] a, html[class*="theme-"] .mast b { color: var(--gold) !important; }
html[class*="theme-"] .nav a { color: var(--w) !important; }
html[class*="theme-"] .lead { background: var(--card) !important; }




html[class*="theme-"] .llr-banner {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 280px !important;
  object-fit: cover !important;
  object-position: center 38% !important;
  margin: 20px 0 0 !important;
  padding: 0 !important;
  background: var(--b) !important;
}
html[class*="theme-"] .top { margin-top: 0 !important; }

html[class*="theme-"] footer,
html[class*="theme-"] .foot { background: var(--b) !important; color: var(--w) !important; border-top: 1px solid var(--line) !important; padding: 32px 0 !important; }
html[class*="theme-"] footer .ad { background: var(--card) !important; border: 1px solid var(--line) !important; color: var(--w) !important; padding: 16px 18px !important; }
html[class*="theme-"] footer a { color: var(--gold) !important; }
html[class*="theme-"] footer .legal, html[class*="theme-"] footer .ripe { color: var(--w) !important; }
html[class*="theme-"] footer,
html[class*="theme-"] .foot,
html[class*="theme-"] footer .legal,
html[class*="theme-"] footer .legal strong,
html[class*="theme-"] footer .ad,
html[class*="theme-"] footer .ad b,
html[class*="theme-"] footer .ad p,
html[class*="theme-"] footer .links,
html[class*="theme-"] footer .ripe {
  color: #1a1a1a !important;
  opacity: 1 !important;
}
html[class*="theme-"] footer .ad {
  background: #fff !important;
  border: 1px solid #c9c1b6 !important;
}
html[class*="theme-"] footer .ad b {
  color: #1a1a1a !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
}
html[class*="theme-"] footer .legal strong {
  color: #1a1a1a !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
}
html[class*="theme-"] footer a {
  color: #1f4d5c !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
}
html.theme-sunderland footer a,
html.theme-south footer a { color: #8f1d1d !important; }
html.theme-teifi footer a,
html.theme-carmarthen footer a { color: #21563b !important; }


html.theme-teifi a.llr-mast {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #f4f0e5 !important;
  line-height: 0 !important;
}
html.theme-teifi a.llr-mast .llr-banner,
html.theme-teifi .llr-banner {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center top !important;
}
html.theme-teifi header.mast,
html.theme-teifi .badge { display: none !important; }

/* === teifi masthead paper === */
html.theme-teifi a.llr-mast {
  display: block !important;
  width: 100% !important;
  padding: 12px 0 8px !important;
  margin: 0 !important;
  background: #f4f0e5 !important;
  border-bottom: 1px solid #d7e0d6 !important;
}
html.theme-teifi a.llr-mast::before,
html.theme-teifi a.llr-mast::after { content: none !important; display: none !important; }
html.theme-teifi .llr-banner,
html.theme-teifi a.llr-mast .llr-banner {
  display: block !important;
  width: 100% !important;
  max-width: 1200px !important;
  height: 340px !important;
  max-height: 340px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center !important;
}
@media (max-width: 800px) {
  html.theme-teifi .llr-banner,
  html.theme-teifi a.llr-mast .llr-banner {
    height: 200px !important;
    max-height: 200px !important;
  }
}
html.theme-teifi header.mast,
html.theme-teifi .badge { display: none !important; }

/* === readable story text on cream papers === */
html[class*="theme-"] .story p,
html[class*="theme-"] .story-col p,
html[class*="theme-"] .body p,
html[class*="theme-"] article p,
html[class*="theme-"] main p {
  color: #1a1a1a !important;
  opacity: 1 !important;
}
html[class*="theme-"] .story h2,
html[class*="theme-"] .story h3,
html[class*="theme-"] .story-h,
html[class*="theme-"] article h1,
html[class*="theme-"] article h2,
html[class*="theme-"] article h3 {
  color: #141414 !important;
}
html[class*="theme-"] .meta { color: #4a453e !important; }

/* sunderland story readable */
html.theme-sunderland .story-fig,
html.theme-sunderland .story-fig img,
html.theme-sunderland .story img {
  width: 100% !important;
  max-height: 280px !important;
  height: 280px !important;
  object-fit: cover !important;
  object-position: center 40% !important;
  display: block !important;
}
html.theme-sunderland .story-h { font-size: clamp(32px, 5vw, 44px) !important; color: #1a1a1a !important; }
html.theme-sunderland .story .kicker { font-size: 15px !important; }
html.theme-sunderland .story .body,
html.theme-sunderland .story .body p,
html.theme-sunderland .story p {
  font-size: 20px !important;
  line-height: 1.6 !important;
  color: #1a1a1a !important;
  max-width: 720px !important;
}

html.theme-sunderland .lead,
html.theme-sunderland article.lead {
  max-height: none !important;
}
html.theme-sunderland .lead img,
html.theme-sunderland article.lead img {
  width: 100% !important;
  height: 260px !important;
  max-height: 260px !important;
  object-fit: cover !important;
  object-position: center 35% !important;
  display: block !important;
}
html.theme-sunderland .card img {
  height: 128px !important;
  max-height: 128px !important;
  object-fit: cover !important;
}
@media (max-width: 800px) {
  html.theme-sunderland .lead img,
  html.theme-sunderland article.lead img {
    height: 180px !important;
    max-height: 180px !important;
  }
}

html.theme-sunderland article.card img:nth-of-type(n+2),
html.theme-sunderland article.lead img:nth-of-type(n+2) {
  display: none !important;
}
html.theme-sunderland article.card a + a img {
  display: none !important;
}

html.theme-sunderland img.llr-banner,
html.theme-sunderland .llr-banner {
  display: block !important;
  width: 100% !important;
  max-width: 720px !important;
  height: 140px !important;
  max-height: 140px !important;
  margin: 8px auto !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #f4efe4 !important;
}
@media (max-width: 800px) {
  html.theme-sunderland img.llr-banner,
  html.theme-sunderland .llr-banner {
    height: 96px !important;
    max-height: 96px !important;
    max-width: 100% !important;
  }
}

html.theme-sunderland img.llr-banner,
html.theme-sunderland .llr-banner {
  display: block !important;
  width: 100% !important;
  max-width: 720px !important;
  height: 140px !important;
  max-height: 140px !important;
  margin: 8px auto !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #f4efe4 !important;
}
@media (max-width: 800px) {
  html.theme-sunderland img.llr-banner,
  html.theme-sunderland .llr-banner {
    height: 96px !important;
    max-height: 96px !important;
    max-width: 100% !important;
  }
}

html.theme-sunderland img.llr-banner,
html.theme-sunderland .llr-banner {
  width: 100% !important;
  max-width: 900px !important;
  height: 160px !important;
  max-height: 160px !important;
  margin: 10px auto !important;
  object-fit: contain !important;
}
html.theme-sunderland .lead img {
  width: 100% !important;
  height: 240px !important;
  max-height: 240px !important;
  object-fit: cover !important;
  object-position: center 40% !important;
}
html.theme-sunderland .card img {
  width: 100% !important;
  height: 140px !important;
  object-fit: cover !important;
}

html.theme-sunderland img.llr-banner,
html.theme-sunderland .llr-banner {
  width: 100% !important;
  max-width: 1100px !important;
  height: 220px !important;
  max-height: 220px !important;
  margin: 6px auto !important;
  object-fit: contain !important;
}
html.theme-sunderland img.llr-banner,
html.theme-sunderland .llr-banner {
  width: 100% !important;
  max-width: 100% !important;
  height: 280px !important;
  max-height: 280px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  background: #f4efe4 !important;
}
html.theme-sunderland .card img.ph {
  width: 100% !important;
  height: 140px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #f4efe4 !important;
}
html.theme-sunderland .card img.ph,
html.theme-sunderland .card img[src*="card-mark"] {
  width: 100% !important;
  height: 140px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #f4efe4 !important;
}
html.theme-sunderland .story-h { font-size: clamp(32px, 4.2vw, 48px) !important; line-height: 1.15 !important; }
html.theme-sunderland .body, html.theme-sunderland .body p {
  font-size: 21px !important;
  line-height: 1.55 !important;
  max-width: 42em;
}
html.theme-sunderland .meta, html.theme-sunderland .kicker, html.theme-sunderland .source {
  font-size: 16px !important;
}
html.theme-sunderland .body p::first-letter,
html.theme-sunderland .story-h::first-letter,
html.theme-sunderland .kicker::first-letter,
html.theme-sunderland .meta::first-letter,
html.theme-sunderland .signoff::first-letter,
html.theme-sunderland .back::first-letter,
html.theme-sunderland .source::first-letter {
  all: unset !important;
  float: none !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
  padding: 0 !important;
  margin: 0 !important;
}
html.theme-sunderland main,
html.theme-sunderland .story-wrap,
html.theme-sunderland .body {
  overflow: visible !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  margin-left: 0 !important;
  text-indent: 0 !important;
}
html.theme-sunderland img.llr-banner,
html.theme-sunderland .llr-banner {
  position: relative !important;
  max-height: 180px !important;
}
