/* Lady Godiva English Pub – site styles (2026 refresh)
   Colours and fonts are taken from the original site: black ground, gold frame (#D5D331),
   cream text (#F2E7AF), gold links (#FFCC66). Headings and sidebar titles use Bookman Old Style; the menu uses Old English Text MT (owner's choices, Nov 2026). */

/* Free gothic web font (SIL Open Font License, licence in assets/fonts). Only downloaded by browsers that do not have
   Old English Text MT (phones, Macs, Firefox private windows), so menus and page titles look gothic everywhere. */
@font-face {
  font-family: "LG Gothic";
  src: url("fonts/UnifrakturMaguntia-Book.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #000;
  --panel: #0d0b05;
  --panel-2: #17140a;
  --frame: #d5d331;
  --gold: #e2d281;
  --gold-hi: #ffe300;
  --link: #ffcc66;
  --text: #f2e7af;
  --muted: #cfc497;
  --rule: #5c5320;
  --ok: #9be29b;
  --warn: #ffb36b;
  --script: "Monotype Corsiva", "Apple Chancery", "URW Chancery L", "Lucida Calligraphy", cursive;
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  /* Page headings and sidebar titles (owner's choice). Bookman Old Style comes with Windows/Office;
     other devices use the closest Bookman, then Georgia. */
  /* Menu (owner's choice, 27 Nov 2026). Comes with Windows/Office; other devices get the free "LG Gothic" web font. */
  --menu: "Old English Text MT", "LG Gothic", "Bookman Old Style", Bookman, Georgia, serif;
  --heading: "Bookman Old Style", Bookman, "URW Bookman", "URW Bookman L", Georgia, serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--sans);
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 2px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold-hi); color: #000; padding: .6em 1em; z-index: 10; font-weight: bold; }
.skip:focus { left: 8px; top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Page frame (the gold-bordered 1024px box) ---------- */
.frame { max-width: 1024px; margin: 0 auto; border: 1px solid var(--frame); background: var(--bg); }
.banner { display: block; line-height: 0; }
.banner img { width: 100%; aspect-ratio: 1024 / 205; display: block; }
.mobilebar { display: none; }

.layout {
  display: grid;
  grid-template-columns: 229px minmax(0, 1fr) 230px;
  gap: 0 18px;
  padding: 14px 14px 0 0;
}

/* ---------- Left column: the ornate gold-framed navigation ---------- */
.nav-col { padding-top: 2px; }
.navframe {
  background:
    url(../images/ladygodiva_09.gif) top left no-repeat,
    url(../images/ladygodiva_39.gif) bottom left no-repeat,
    url(../images/ladygodiva_20.gif) left 45px repeat-y,
    url(../images/ladygodiva_22.gif) right 45px repeat-y,
    #000;
  padding: 45px 35px 34px 37px;
  width: 229px;
}
.navframe ul { list-style: none; margin: 0; padding: 4px 0; }
.navframe li + li { border-top: 1px solid #2a2510; }
.navframe a {
  display: block;
  padding: 7px 4px 7px 12px;
  min-height: 44px;
  font: 22px/30px var(--menu);
  color: var(--gold);
  text-decoration: none;
}
.navframe a:hover, .navframe a[aria-current="page"] { color: var(--gold-hi); background: #1c1806; }
.navframe a[aria-current="page"]::before { content: "\2022\00a0"; }
.social { text-align: center; margin: 18px 0; font-size: 14px; }
.social a { display: inline-block; margin: 4px 6px; padding: 8px; min-width: 44px; }

/* ---------- Centre column ---------- */
main { min-width: 0; padding-bottom: 28px; }
.page-title {
  margin: 4px 0 14px;
  padding: 0 0 8px;
  font: 36px/1.2 var(--menu);   /* top heading of each page: same font as the menu */
  color: var(--gold);
  text-align: center;
  border-bottom: 3px double var(--rule);
}
h2 { font: 24px/1.25 var(--heading); color: var(--gold); margin: 30px 0 10px; }
h3 { font-size: 18px; color: var(--gold-hi); margin: 22px 0 6px; }
p { margin: 0 0 1em; }
.lead { font-size: 19px; }
.note { color: var(--muted); font-size: 15px; }
.box { border: 1px solid var(--frame); background: var(--panel); padding: 14px 16px; margin: 0 0 18px; }
.box > :last-child { margin-bottom: 0; }
.photo { margin: 0 0 18px; }
.photo img { display: block; width: 100%; border: 1px solid var(--rule); }
.photo figcaption { font-size: 14px; color: var(--muted); padding-top: 4px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 46px; padding: 10px 18px; margin: 4px 8px 4px 0;
  border: 1px solid var(--frame); background: var(--panel-2);
  color: var(--gold-hi); font-weight: bold; text-decoration: none; border-radius: 3px;
}
.btn:hover { background: #2b2509; color: #fff; }
.btn-primary { background: var(--frame); color: #000; }
.btn-primary:hover { background: var(--gold-hi); color: #000; }

/* opening hours */
.hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours th { text-align: left; font-weight: normal; padding: 3px 8px 3px 0; }
.hours td { text-align: right; padding: 3px 0; white-space: nowrap; }
.hours tr.today th, .hours tr.today td { color: var(--gold-hi); font-weight: bold; }
.status { font-weight: bold; margin: 0 0 6px; }
.status.open { color: var(--ok); }
.status.closed { color: var(--warn); }
.status:empty { display: none; }

/* ---------- Right column ---------- */
aside.side { font-size: 15px; }
.side-head {
  font: 18px/1.3 var(--heading); color: var(--gold); text-align: center;
  border-top: 3px double var(--rule); border-bottom: 3px double var(--rule);
  padding: 4px 0; margin: 0 0 10px;
}
.side section { margin-bottom: 22px; }
.botm { text-align: center; }
.botm img { border: 1px solid var(--frame); padding: 2px; width: 131px; }
.botm .name { color: #fff; font-weight: bold; font-size: 17px; margin: 6px 0 2px; }
.upcoming { list-style: none; margin: 0; padding: 0; }
.upcoming li { padding: 7px 0; border-bottom: 1px solid #2a2510; }
.upcoming .when { display: block; color: var(--gold-hi); font-size: 14px; }
.side address { font-style: normal; }

/* ---------- Footer ---------- */
.foot {
  border-top: 9px solid transparent;
  border-image: url(../images/12_63.gif) 9 0 0 0 stretch;
  padding: 14px 16px 18px; text-align: center; font-size: 14px; color: var(--muted);
}
.foot a { color: var(--link); }

/* ---------- Menus ---------- */
.menu-section { margin-bottom: 26px; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { padding: 10px 0; border-bottom: 1px dotted var(--rule); }
.item { display: flex; align-items: baseline; gap: 10px; }
.item .name { font-weight: bold; color: #fff; }
.item .portion { color: var(--muted); font-weight: normal; font-size: 15px; }
.item .price { margin-left: auto; white-space: nowrap; color: var(--gold-hi); font-weight: bold; }
.item .price small { font-weight: normal; color: var(--muted); }
.desc { color: var(--text); font-size: 15px; margin-top: 2px; }
.menu-jump { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; list-style: none; }
.menu-jump a { display: inline-block; padding: 8px 12px; min-height: 44px; border: 1px solid var(--rule); text-decoration: none; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 8px 6px; border-bottom: 1px dotted var(--rule); text-align: left; }
.price-table td.num, .price-table th.num { text-align: right; white-space: nowrap; }
.price-table td.num { color: var(--gold-hi); font-weight: bold; }
.price-table thead th { color: var(--muted); font-weight: normal; font-size: 14px; }
.plain-list { columns: 2; column-gap: 24px; padding-left: 1.1em; }
.plain-list li { break-inside: avoid; padding: 2px 0; }

/* ---------- Fixtures (sports.html) ---------- */
.competition { margin-bottom: 30px; }
.competition h2 { text-align: center; }
.competition .logo { display: block; margin: 0 auto 6px; max-width: 300px; }
.fixtures { width: 100%; border-collapse: collapse; }
.fixtures th, .fixtures td { padding: 9px 6px; border-bottom: 1px solid #2a2510; vertical-align: top; }
.fixtures thead th { color: var(--muted); font-weight: normal; font-size: 14px; text-align: left; }
.fixtures td:first-child { white-space: nowrap; width: 7em; }
.fixtures td:last-child { white-space: nowrap; width: 4.5em; text-align: right; color: var(--gold-hi); font-weight: bold; }
.fixtures td:nth-child(2) { color: #fff; }
.fixtures tr.month th { color: var(--gold); font: 17px var(--heading); padding-top: 16px; }
.fixtures tr.is-today td { background: #1c1806; }
.fixtures tr.is-live td { background: #22300f; }
.tag { display: inline-block; font-size: 12px; font-weight: bold; padding: 1px 6px; margin-left: 6px; border-radius: 2px; vertical-align: 2px; }
.tag-today { background: var(--gold-hi); color: #000; }
.tag-live { background: var(--ok); color: #000; }
.tag-tbc { border: 1px solid var(--muted); color: var(--muted); }
.empty-msg { border: 1px dashed var(--rule); padding: 12px; color: var(--muted); }
.show-past { margin: 4px 0 0; }

/* ---------- Archive ---------- */
.archive-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.archive-grid a { display: block; text-decoration: none; }
.archive-grid img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--rule); }
.archive-grid .t { display: block; color: var(--link); text-decoration: underline; margin-top: 4px; }
.archive-grid .d { display: block; color: var(--muted); font-size: 14px; }
button.btn { font: inherit; font-weight: bold; cursor: pointer; }
/* drop-down advert (home page) */
.promo {
  position: fixed; z-index: 50; top: 0; left: 50%;
  width: min(94vw, 600px);
  transform: translate(-50%, -115%);
  transition: transform .7s cubic-bezier(.34, 1.45, .64, 1);
  display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: center;
  padding: 16px 18px; background: var(--panel);
  border: 3px double var(--frame); border-top: 0; border-radius: 0 0 6px 6px;
  box-shadow: 0 12px 40px rgba(0,0,0,.85), 0 0 0 1px #000;
}
.promo.promo-in { transform: translate(-50%, 0); }
.promo-pic img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
.promo-text p { margin: 0 0 8px; }
.promo-kicker { color: var(--gold-hi); font-weight: bold; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.promo-title { font: 24px/1.15 var(--heading); color: var(--gold); }
.promo .btn { margin: 4px 0 0; }
.promo-close {
  position: absolute; top: 6px; right: 6px; width: 44px; height: 44px;
  font: bold 20px/1 var(--sans); color: var(--gold-hi); background: transparent;
  border: 1px solid var(--rule); border-radius: 3px; cursor: pointer;
}
.promo-close:hover { background: var(--panel-2); color: #fff; }
@media (max-width: 560px) {
  .promo { grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 12px 12px; }
  .promo-text { padding-right: 40px; }
  .promo-text p { margin-bottom: 4px; }
  .promo-text .promo-desc { display: none; }
  .promo-kicker { font-size: 13px; }
  .promo-title { font-size: 19px; }
  .promo .btn { min-height: 44px; padding: 8px 14px; }
}
@media (prefers-reduced-motion: reduce) { .promo { transition: none; } }
@media print { .promo { display: none !important; } }

.gallery { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.gallery a { display: block; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--rule); }
.gallery a:hover img { border-color: var(--gold); }
.ss-btn { margin-top: 6px; min-height: 44px; padding: 6px 12px; font: inherit; font-size: 15px; font-weight: bold;
  color: var(--gold-hi); background: var(--panel-2); border: 1px solid var(--frame); border-radius: 3px; cursor: pointer; }
.ss-btn:hover { background: #2b2509; color: #fff; }
.archive-flag { background: #3a2a05; border: 1px solid var(--warn); color: #ffe2b8; padding: 10px 12px; margin: 0 0 14px; font-size: 15px; }

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
  .layout { grid-template-columns: 229px minmax(0, 1fr); padding-right: 14px; }
  aside.side { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 22px; padding: 0 0 0 14px; }
}

/* ---------- Phone ---------- */
@media (max-width: 700px) {
  body { font-size: 17px; }
  .frame { border-width: 0; }
  .banner { display: none; }
  .mobilebar {
    display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px;
    border-bottom: 1px solid var(--frame);
    background: #000 url(img/banner.jpg) right center / auto 100% no-repeat;
    position: relative;
  }
  .mobilebar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #000 45%, rgba(0,0,0,.55)); pointer-events: none; }
  .mobilebar > * { position: relative; z-index: 1; }
  .mobilebar .home { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--gold); }
  .mobilebar img { width: 56px; height: 60px; object-fit: cover; }
  .mobilebar .name { font: 19px/1.1 var(--heading); }
  .mobilebar .name small { display: block; font: 13px var(--sans); color: var(--muted); }
  .menu-btn {
    margin-left: auto; min-height: 46px; min-width: 64px; padding: 8px 12px;
    background: #000; color: var(--gold-hi); border: 1px solid var(--frame); border-radius: 3px; font: bold 16px var(--sans);
  }
  .quick { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; padding: 8px 12px; border-bottom: 1px solid #2a2510; }
  .quick a { min-height: 48px; display: flex; align-items: center; justify-content: center; text-align: center; border: 1px solid var(--rule); background: var(--panel-2); color: var(--gold-hi); font-weight: bold; text-decoration: none; font-size: 15px; line-height: 1.15; padding: 4px; }
  .layout { display: block; padding: 0 16px; }
  .nav-col { padding: 0; }
  .js .nav-col:not(.open) .navframe { display: none; }
  .navframe { width: auto; background: #000; border: 1px solid var(--frame); padding: 6px 10px; margin: 10px 0; }
  .navframe ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
  .navframe li + li { border-top: 0; }
  .navframe li { border-bottom: 1px solid #2a2510; }
  .navframe a { font-size: 19px; padding-left: 8px; padding-right: 2px; white-space: nowrap; }
  .social { display: none; }
  .page-title { font-size: 30px; margin-top: 14px; }
  aside.side { display: block; padding: 0; margin-top: 10px; }
  .cols { grid-template-columns: 1fr; }
  .plain-list { columns: 1; }
  /* fixtures as stacked rows */
  .fixtures thead { display: none; }
  .fixtures tr { display: grid; grid-template-columns: auto 1fr; padding: 8px 0; border-bottom: 1px solid #2a2510; }
  .fixtures td { border: 0; padding: 0 6px 0 0; }
  .fixtures td:first-child { width: auto; color: var(--muted); font-size: 15px; }
  .fixtures td:first-child br { display: none; }
  .fixtures td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 18px; }
  .fixtures td:last-child { grid-column: 2; grid-row: 1; text-align: left; width: auto; }
  .fixtures tr.month { display: block; }
  .item { flex-wrap: wrap; }
}
@media (min-width: 701px) { .quick, .mobilebar { display: none; } }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

@media print {
  body { background: #fff; color: #000; font-size: 12pt; }
  .banner, .mobilebar, .quick, .nav-col, aside.side, .menu-jump, .btn, .foot { display: none !important; }
  .frame { border: 0; }
  .layout { display: block; padding: 0; }
  .item .name, .fixtures td, .item .price, .page-title, h2, h3 { color: #000 !important; }
  .desc, .note { color: #333; }
  a { color: #000; }
}
