/* South Jewellery — the live WordPress look (Newspaper theme, dark "black pro" style): same colours,
   fonts and logo, lighter markup, no page builder.
   Layout: centered logo, menu bar, main column + 300px sidebar, 3-column card grid. */
:root {
  /* Measured on the live WordPress site (Newspaper theme, "black pro" style), 2 Nov 2026 */
  --accent: #ffd700;        /* links, pager, block-title rule (live #ffd700) */
  --accent-ink: #ffd700;    /* link text on the dark background */
  --ink: #fff;              /* headings and post titles: white */
  --text: #fff;             /* post text: white Verdana 15px/26px */
  --muted: #767676;         /* dates, excerpts (live #767676) */
  --crumb: #c3c3c3;         /* breadcrumbs (live #c3c3c3) */
  --line: #4d4d4d;          /* rules on the dark background */
  --bg: #383838;            /* page background (live body #383838) */
  --menu: #3b3b3a;          /* menu bar (live #3b3b3a) */
  --panel: #2f2f2f;
  --black: #222;            /* category and tag labels (live #222) */
  --serif: Verdana, Geneva, sans-serif;   /* live headings and body */
  --sans: "Open Sans", "Open Sans Regular", sans-serif;   /* live menu and meta */
  --wrap: 1068px;           /* live content width */
  --gap: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.6 var(--serif); }
img { max-width: 100%; height: auto; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--black); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }

/* ---------- header */
.site-header { border-bottom: 1px solid var(--line); box-shadow: 0 6px 12px -10px rgba(0,0,0,.18); background: var(--bg); position: relative; z-index: 20; }
.brand { text-align: center; padding: 18px 16px 6px; }
.logo img { width: 300px; height: auto; }
.nav { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; justify-content: center; position: relative; padding: 0 56px; }
.menu, .menu ul { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; flex-wrap: wrap; justify-content: center; }
.menu > li > a, .menu > li > .menu-label { display: block; padding: 14px 16px; font: 700 14px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .02em; color: var(--black); cursor: pointer; }
.menu > li > a:hover, .menu > li:hover > .menu-label { color: var(--accent-ink); text-decoration: none; }
.menu li { position: relative; }
.menu .has-sub > a::after, .menu .has-sub > .menu-label::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.sub { position: absolute; left: 0; top: 100%; min-width: 230px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--accent); box-shadow: 0 10px 24px -12px rgba(0,0,0,.25); padding: 6px 0; display: none; }
.sub .sub { left: 100%; top: -8px; border-top-width: 1px; max-height: 70vh; overflow-y: auto; }
.sub a, .sub .menu-label { display: block; padding: 7px 18px; font: 600 13px/1.4 var(--sans); color: var(--ink); }
.sub .has-sub > .menu-label::after, .sub .has-sub > a::after { transform: translateY(-1px) rotate(-45deg); float: right; margin-top: 6px; }
.sub a:hover, .sub li:hover > .menu-label { color: var(--accent-ink); text-decoration: none; background: var(--panel); }
.menu li:hover > .sub, .menu li:focus-within > .sub { display: block; }
.nav-search { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--black); display: inline-flex; padding: 6px; }
.nav-toggle { display: none; }

/* ---------- layout */
main.wrap { padding-top: 28px; padding-bottom: 48px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.archive-main, .entry { min-width: 0; }

/* ---------- block titles (the old theme's black tab with a notch) */
.block-title { margin: 0 0 18px; font: 600 15px/1 var(--sans); border-bottom: 2px solid var(--black); }
.block-title span { display: inline-block; background: var(--black); color: #fff; padding: 9px 14px 8px; position: relative; }
.block-title span::after { content: ""; position: absolute; left: 12px; bottom: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--black); }

/* ---------- cards */
.grid { display: grid; gap: 34px 18px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.card-img { display: block; width: 100%; aspect-ratio: 5 / 6; overflow: hidden; background: var(--panel); }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.03); }
.pill { margin-top: -14px; position: relative; background: var(--accent); color: #111; font: 600 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .04em; padding: 7px 10px; }
.pill:hover { text-decoration: none; background: var(--accent-ink); }
.card-title { margin: 12px 4px 0; font: 400 19px/1.35 var(--serif); color: var(--ink); text-wrap: balance; }
.card-title a { color: inherit; }
.card-meta { margin: 6px 0 0; font-size: 12px; color: var(--muted); }

/* ---------- archive */
.archive-head { margin-bottom: 26px; }
.archive-title { font: 400 40px/1.15 var(--serif); color: var(--ink); margin: 6px 0 14px; text-wrap: balance; }
.archive-intro { font-size: 14px; }
.pager { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; font-size: 13px; }
.pager-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pager a, .pager span.current, .pager .dots { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 8px; border: 1px solid var(--line); color: var(--ink); }
.pager span.current { background: var(--accent); border-color: var(--accent); color: #111; }
.pager .dots { border: 0; }
.pager-count { color: var(--muted); }

/* ---------- breadcrumbs */
.crumbs { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.crumbs .sep { margin: 0 6px; }

/* ---------- single post */
.entry-cats { list-style: none; padding: 0; margin: 0 0 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.entry-cats a { display: inline-block; background: var(--ink); color: #fff; font: 600 11px/1 var(--sans); padding: 6px 8px; }
.entry-cats a:hover { background: var(--accent-ink); text-decoration: none; }
.entry-title { font: 400 44px/1.18 var(--serif); color: var(--ink); margin: 0 0 12px; letter-spacing: -.01em; text-wrap: balance; }
.byline { font-size: 13px; color: var(--muted); margin: 0 0 26px; }
.byline a { color: var(--ink); font-weight: 700; }
.entry-content { font-size: 16.5px; color: var(--text); overflow-wrap: break-word; }
.entry-content p { margin: 0 0 1.25em; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.3; margin: 1.6em 0 .6em; }
.entry-content img { display: block; margin: 0 auto 10px; }
.entry-content figure, .entry-content .wp-caption { max-width: 100% !important; margin: 0 0 1.4em; }
.entry-content figcaption, .entry-content .wp-caption-text { font-size: 13px; color: var(--muted); text-align: center; }
.entry-content iframe, .entry-content video, .entry-content embed { max-width: 100%; }
.entry-content table { display: block; overflow-x: auto; border-collapse: collapse; }
.entry-content blockquote { border-left: 3px solid var(--accent); margin: 1.4em 0; padding: 2px 0 2px 18px; font-style: italic; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content .alignleft { float: left; margin: 4px 18px 12px 0; }
.entry-content .alignright { float: right; margin: 4px 0 12px 18px; }
.entry-tags { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.entry-tags .label { background: var(--ink); color: #fff; padding: 4px 8px; font-weight: 700; text-transform: uppercase; }
.entry-tags a { border: 1px solid var(--line); color: var(--text); padding: 3px 8px; }
.share { display: flex; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; margin: 28px 0; }
.share a { color: #fff; font: 600 12px/1 var(--sans); padding: 9px 12px; }
.share a:hover { text-decoration: none; opacity: .9; }
.sh-fb { background: #3b5998; } .sh-x { background: #111; } .sh-pin { background: #ca212a; } .sh-wa { background: #25a244; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; font-size: 14px; }
.prevnext a { color: var(--ink); }
.prevnext span { display: block; font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.pn-next { text-align: right; }
.related { margin-top: 10px; }
.related .card-title { font-size: 15px; }
.comments { margin-top: 44px; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { margin-left: 28px; }
.comment { border-bottom: 1px solid var(--line); padding: 14px 0; font-size: 14px; }
.comment-meta { margin: 0 0 4px; color: var(--muted); font-size: 12px; }
.comment-meta b { color: var(--ink); font-size: 14px; margin-right: 6px; }
.comment-body p { margin: 0 0 .6em; }
.comments-closed { color: var(--muted); font-size: 13px; }

/* ---------- sidebar */
.sidebar { display: flex; flex-direction: column; gap: 38px; }
.widget { min-width: 0; }
.sj-banner { text-align: center; }
.social { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.social a { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 4px; color: #fff; text-align: center; line-height: 1.25; min-height: 92px; }
.social a:hover { text-decoration: none; filter: brightness(1.06); }
.social b { font-size: 17px; }
.social span { font-size: 12px; opacity: .9; }
.social .s-name { font-style: normal; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; opacity: .75; margin-top: 2px; }
.s-facebook a { background: #516eab; } .s-instagram a { background: #417096; } .s-pinterest a { background: #ca212a; }
.s-rss a { background: #ff6600; } .s-x a { background: #29c5f6; } .s-youtube a { background: #e14e42; }
.mini-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.mini { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 14px; align-items: start; }
.mini-img img { width: 100px; height: 75px; object-fit: cover; display: block; }
.mini-title { display: block; color: var(--ink); font: 600 14px/1.4 var(--sans); }
.mini time { font-size: 12px; color: var(--muted); }

/* ---------- search / 404 */
.nf-search { display: flex; gap: 8px; margin: 18px 0 34px; max-width: 520px; }
.nf-search input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); font: inherit; }
.nf-search button { background: var(--black); color: #fff; border: 0; padding: 0 18px; font: 600 14px var(--sans); cursor: pointer; }
#search { --pagefind-ui-primary: var(--accent-ink); --pagefind-ui-font: var(--sans); --pagefind-ui-border: var(--line); }

/* ---------- footer */
.site-footer { background: #111; color: #bbb; margin-top: 20px; }
.footer-inner { padding-top: 36px; padding-bottom: 28px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-logo img { filter: brightness(0) invert(1); opacity: .9; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; font-size: 13px; }
.footer-menu a { color: #eee; }
.footer-note, .footer-copy { margin: 0; font-size: 12px; }
.email { user-select: all; color: #eee; }

/* ---------- responsive */
@media (max-width: 1020px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
}
@media (max-width: 860px) {
  .nav { justify-content: flex-start; padding: 0 16px; min-height: 48px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; font: 700 14px var(--sans); text-transform: uppercase; color: var(--black); padding: 12px 0; cursor: pointer; }
  .nav-toggle::before { content: ""; width: 18px; height: 12px; border-top: 2px solid; border-bottom: 2px solid; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; max-height: 75vh; overflow-y: auto; box-shadow: 0 12px 20px -14px rgba(0,0,0,.3); }
  .nav.open .menu { display: flex; }
  .menu > li > a, .menu > li > .menu-label { padding: 12px 16px; border-top: 1px solid var(--line); }
  .sub, .sub .sub { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 6px 14px; max-height: none; }
  .menu li.open > .sub { display: block; }
  .menu li:hover > .sub, .menu li:focus-within > .sub { display: none; }
  .menu li.open:hover > .sub, .menu li.open:focus-within > .sub { display: block; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry-title { font-size: 32px; }
  .archive-title { font-size: 30px; }
}
@media (max-width: 520px) {
  .logo img { width: 230px; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .card-img { aspect-ratio: 4 / 5; }
  .entry-title { font-size: 28px; }
  .prevnext { grid-template-columns: 1fr; }
  .pn-next { text-align: left; }
  .entry-content .alignleft, .entry-content .alignright { float: none; margin: 0 auto 12px; }
}
@media (prefers-reduced-motion: reduce) { .card-img img { transition: none; } }

/* ---------- dark theme details (live values) */
.topbar { background: #fff; }
.topbar ul { list-style: none; margin: 0 auto; padding: 0 16px; max-width: var(--wrap); display: flex; flex-wrap: wrap; gap: 0 16px; }
.topbar a { display: block; color: #000; font: 400 11px/30px var(--sans); }
.site-header { background: var(--bg); border-bottom: 0; box-shadow: none; }
.brand { padding: 24px 16px 22px; }
.logo img { width: 272px; }
.nav { max-width: none; background: var(--menu); }
.menu > li > a, .menu > li > .menu-label, .nav-search { color: #fff; }
.menu > li > a { font: 700 14px/1.2 var(--sans); }
.menu > li > a:hover, .menu > li:hover > .menu-label { color: var(--accent); }
.sub { background: var(--menu); border-color: #222; border-top-color: var(--accent); }
.sub a, .sub .menu-label { color: #fff; }
.sub a:hover, .sub li:hover > .menu-label { color: var(--accent); background: #333; }
.crumbs, .crumbs a { color: var(--crumb); }
.entry-title, .archive-title { font-family: var(--serif); color: #fff; }
.entry-title { font-size: 41px; line-height: 50px; }
.entry-content { font: 15px/26.1px var(--serif); color: #fff; }
.entry-content a, .archive-intro a { color: var(--accent); }
.entry-cats a, .entry-tags .label, .pill { background: var(--black); color: #fff; font: 400 10px/1 var(--sans); }
.pill:hover, .entry-cats a:hover { background: var(--accent); color: #111; }
.entry-tags a { border-color: #555; color: #ddd; }
.byline, .byline a { color: var(--muted); font-family: var(--sans); font-size: 11px; }
.block-title { border-bottom: 2px solid var(--accent); }
.block-title span { background: var(--accent); color: #fff; font-family: var(--serif); font-weight: 400; }
.block-title span::after { border-top-color: var(--accent); }
.card-img, .mini-img img { background: var(--panel); }
.card-title, .card-title a { color: #fff; font-family: var(--serif); }
.mini-title { color: #fff; font-family: var(--serif); font-weight: 400; }
.prevnext a { color: #fff; } .prevnext span { color: #c1c1c1; }
.pager a, .pager span.current, .pager .dots { border-color: #555; color: #fff; }
.pager span.current { background: var(--accent); border-color: var(--accent); color: #fff; }
.share { border-color: var(--line); }
.comment { border-color: var(--line); }
.comment-meta b { color: #fff; }
.nf-search input { background: #2f2f2f; color: #fff; border-color: #555; }
.site-footer { background: var(--bg); color: #aaa; border-top: 1px solid var(--line); }
.footer-menu a { color: #aaa; font-family: "Heebo", var(--sans); font-weight: 500; }
.footer-logo img { filter: none; opacity: 1; }
#search { --pagefind-ui-primary: var(--accent); --pagefind-ui-text: #fff; --pagefind-ui-background: #2f2f2f; --pagefind-ui-border: #555; --pagefind-ui-tag: #222; }
@media (max-width: 860px) {
  .nav-toggle { color: #fff; }
  .menu { background: var(--menu); border-color: #222; }
  .menu > li > a, .menu > li > .menu-label { border-top-color: #4a4a4a; }
}
