/*
 * Theme Name: Queens Arms Litton (Restored)
 * Description: Reconstructed stylesheet for The Queens Arms, Litton
 */

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, address, big, cite, code, del, dfn, em, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
  margin: 0; padding: 0; border: 0; font-size: 100%;
  font: inherit; vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup,
menu, nav, section { display: block; }
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
table { border-collapse: collapse; border-spacing: 0; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
body {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #333333;
  background-color: #FAF9F4;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #000000;
  line-height: 1.3;
  margin-bottom: 0.6em;
  font-weight: 700;
}
h1 { font-size: 2em; }
h2 { font-size: 1.6em; }
h3 { font-size: 1.3em; }
h4 { font-size: 1.1em; }
h5 { font-size: 1em; }
h6 { font-size: 0.9em; }
p { margin-bottom: 1em; }
a { color: #1f021f; text-decoration: none; }
a:hover { color: #000017; text-decoration: underline; }
strong, b { font-weight: 700; }
em, i { font-style: italic; }
blockquote {
  border-left: 4px solid #d38600;
  padding: 0.5em 1em;
  margin: 1em 0;
  color: #555;
  font-style: italic;
}
ul, ol { margin: 0 0 1em 1.5em; }
ul { list-style: disc; }
ol { list-style: decimal; }

/* ============================================================
   LAYOUT — CONTAINERS
   ============================================================ */
#wrap_all {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.container_wrap {
  width: 100%;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.container::after { content: ''; display: table; clear: both; }

/* Colour zones */
.header_color,
.light_bg_color   { background-color: #FAF9F4; }
.main_color       { background-color: #FAF9F4; }
.footer_color     { background-color: #1f021f; }
.socket_color     { background-color: #160115; }
.slideshow_color  { background-color: #2c2c2c; }

/* ============================================================
   INFO BANNER (top strip)
   ============================================================ */
#info_text_header {
  background: #1f021f;
  color: #FAF9F4;
  text-align: center;
  padding: 8px 20px;
  font-size: 0.85em;
  position: relative;
}
#info_text_header .infotext { display: inline; }
#info_text_header a.close_info_text {
  color: #FAF9F4;
  margin-left: 10px;
  font-weight: bold;
  opacity: 0.6;
}
#info_text_header a.close_info_text:hover { opacity: 1; }

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: relative;
  z-index: 100;
}
#header .container_wrap.header_color {
  border-bottom: 2px solid #e0dcd0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
#header .container#menu_container {
  display: flex;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 20px;
  flex-wrap: wrap;
}

/* Logo */
h1.logo {
  flex-shrink: 0;
  margin: 0;
}
h1.logo a {
  display: block;
  font-size: 1.5em;
  font-weight: 700;
  color: #1f021f;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1;
}
h1.logo a::before {
  content: "The Queens Arms";
  font-family: Georgia, 'Times New Roman', serif;
}
h1.logo a:hover { color: #000017; text-decoration: none; }

/* Navigation */
.main_menu { flex: 1; min-width: 0; }
.main_menu .menu {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.main_menu .menu > li {
  position: relative;
}
.main_menu .menu > li > a {
  display: block;
  padding: 10px 14px;
  font-size: 0.82em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1f021f;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s;
}
.main_menu .menu > li > a:hover,
.main_menu .menu > li.current-menu-item > a,
.main_menu .menu > li.current_page_item > a {
  color: #000017;
  background-color: rgba(0,0,0,0.04);
}

/* Dropdown sub-menus */
.main_menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #1f021f;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  z-index: 200;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.main_menu .menu > li:hover > .sub-menu { display: block; }
.main_menu .sub-menu li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.82em;
  color: #FAF9F4;
  text-decoration: none;
  font-weight: 400;
  white-space: nowrap;
}
.main_menu .sub-menu li a:hover {
  background: #000017;
  color: #FAF9F4;
  text-decoration: none;
}

/* Header meta (social + contact info) */
.header_meta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.social_bookmarks {
  display: flex;
  list-style: none;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.social_bookmarks li a {
  display: inline-block;
  font-size: 0.75em;
  font-weight: 600;
  color: #1f021f;
  padding: 2px 6px;
  border: 1px solid #ccc;
  border-radius: 3px;
  text-decoration: none;
}
.social_bookmarks li a:hover { background: #1f021f; color: #FAF9F4; border-color: #1f021f; }
.small_header_info {
  font-size: 0.8em;
  color: #7D7D7A;
  text-align: right;
  line-height: 1.4;
}
.small_header_info a { color: #7D7D7A; }
.small_header_info a:hover { color: #1f021f; }

/* ============================================================
   SLIDESHOW / HERO
   ============================================================ */
#slideshow_big {
  position: relative;
  overflow: hidden;
}
.slideshow_container {
  position: relative;
  width: 100%;
}
ul.slideshow {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.slideshow li.featured {
  display: none;
  width: 100%;
}
ul.slideshow li.featured:first-child {
  display: block;
}
.slideshow_media_wrap {
  width: 100%;
  min-height: 400px;
  background: url('https://picsum.photos/seed/queensarmsyorkshire/1200/500') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slideshow_media_wrap a { display: block; width: 100%; height: 100%; min-height: 400px; }

/* Page title strip (inner pages) */
.title_container.container_wrap {
  background: #1f021f;
  padding: 30px 0 20px;
  margin-bottom: 0;
}
.title_container h1.main-title {
  color: #FAF9F4;
  font-size: 2em;
  margin-bottom: 4px;
}
.title_container h1.main-title a { color: #FAF9F4; text-decoration: none; }
.breadcrumb { font-size: 0.82em; color: rgba(255,255,255,0.65); }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb .sep { margin: 0 5px; }

/* ============================================================
   GRID SYSTEM (12 columns)
   ============================================================ */
.units      { float: left; margin-left: 2%; }
.alpha      { margin-left: 0; }
.one        { width: 6.5%;  }
.two        { width: 15%;   }
.three      { width: 23.5%; }
.four       { width: 32%;   }
.five       { width: 40.5%; }
.six        { width: 49%;   }
.seven      { width: 57.5%; }
.eight      { width: 66%;   }
.nine       { width: 74.5%; }
.ten        { width: 83%;   }
.eleven     { width: 91.5%; }
.twelve     { width: 100%;  margin-left: 0; }

/* Column helpers */
.two_third  { width: 65.33%; float: left; }
.one_third  { width: 32%;    float: left; margin-left: 2%; }
.one_half   { width: 49%;    float: left; }
.first      { margin-left: 0 !important; }
.last       { float: right; }

.flex_column { float: left; padding: 0 10px; }
.flex_column.first { margin-left: 0; }

.dynamic_template_column_container::after,
.container::after,
#main::after { content: ''; display: table; clear: both; }

/* ============================================================
   MAIN CONTENT AREA
   ============================================================ */
#main { flex: 1; }
#main > .container_wrap { padding: 40px 0; }
#main > .container_wrap > .container { padding-top: 0; }

.content { overflow: hidden; }
.entry-content h1, .entry-content h2, .entry-content h3 { margin-top: 1em; }
.entry-content h1:first-child,
.entry-content h2:first-child,
.entry-content h3:first-child { margin-top: 0; }
.entry-content p + p { margin-top: 0; }

/* Post/page entries */
.post-entry {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e8e4d8;
}
.post-entry:last-child { border-bottom: none; }
.post-title { margin-bottom: 0.4em; }
.post-title a { color: #000000; text-decoration: none; }
.post-title a:hover { color: #1f021f; }
.entry-border-overflow { display: none; }

/* Blog meta date block */
.blog-meta { float: left; margin-right: 20px; }
.side-container { text-align: center; }
.side-container-inner {
  background: #1f021f;
  color: #FAF9F4;
  padding: 8px 12px;
  border-radius: 4px;
  display: inline-block;
  min-width: 60px;
}
.day { display: block; font-size: 1.8em; font-weight: 700; line-height: 1; }
.date_group { display: block; font-size: 0.75em; }
.month, .year { display: block; }
.date-container-mobile { display: none; }
.standard-content { overflow: hidden; }

/* Sidebar */
.sidebar { overflow: hidden; }
.inner_sidebar {
  border: 1px solid #e8e4d8;
  padding: 20px;
  border-radius: 4px;
  background: #f5f2ec;
}
.sidebar_left .content { float: right; }
.sidebar_left .sidebar { float: left; }

/* Widgets */
.widget { margin-bottom: 24px; }
.widgettitle {
  font-size: 1em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid #1f021f;
  padding-bottom: 6px;
  margin-bottom: 12px;
  color: #000;
}
.widget_first { color: #1f021f; }
.textwidget p { margin-bottom: 0.8em; font-size: 0.9em; }

.widget_nav_menu .nested_nav,
.widget_nav_menu ul {
  list-style: none;
  margin: 0; padding: 0;
}
.widget_nav_menu li a {
  display: block;
  padding: 6px 0;
  border-bottom: 1px solid #e8e4d8;
  font-size: 0.88em;
  color: #333;
}
.widget_nav_menu li a:hover { color: #1f021f; text-decoration: none; }
.widget_nav_menu .current_page_item > a { color: #1f021f; font-weight: 700; }

/* Booking widget */
#f2b-widget {
  background: #f5f2ec;
  border: 1px solid #e0dcd0;
  padding: 14px;
  border-radius: 4px;
  font-size: 0.88em;
}
#f2b-widget strong { display: block; margin-bottom: 4px; font-size: 0.85em; }
#f2b-widget input[type="text"] {
  width: 100%; border: 1px solid #ccc; padding: 5px 8px;
  border-radius: 3px; background: #fff;
}
#f2b-widget .searchButtonContainer { margin-top: 10px; }
#f2b-widget input[type="submit"],
#f2b-widget .searchButton {
  display: block;
  width: 100%;
  padding: 8px;
  background: #1f021f;
  color: #FAF9F4;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.9em;
}
#f2b-widget input[type="submit"]:hover { background: #000017; }

/* FTB booking widget */
.ftb-widget { display: none; }

/* Twitter widget */
.widget-do-etfw { display: none; }

/* ============================================================
   DYNAMIC COLUMN TEMPLATES (homepage)
   ============================================================ */
.dynamic_template_column_container {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 -10px;
}
.dynamic_template_columns {
  padding: 0 10px;
}
.dynamic_template_column_container::after { content: ''; display: table; clear: both; }

.dynamic-column-title {
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7D7D7A;
  border-bottom: 1px solid #e8e4d8;
  padding-bottom: 8px;
  margin-bottom: 16px;
  font-weight: 400;
}
.dynamic-column-title a { color: #7D7D7A; text-decoration: none; }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  padding: 40px 0;
}
#footer .container { display: flex; flex-wrap: wrap; gap: 30px; }
#footer .flex_column {
  float: none;
  flex: 1;
  min-width: 200px;
  padding: 0;
}
#footer .widgettitle {
  color: #FAF9F4;
  border-color: rgba(255,255,255,0.3);
}
#footer p, #footer .textwidget, #footer .textwidget p {
  color: rgba(255,255,255,0.75);
  font-size: 0.88em;
}
#footer a { color: rgba(255,255,255,0.75); }
#footer a:hover { color: #FAF9F4; }

/* ============================================================
   SOCKET (copyright bar)
   ============================================================ */
#socket {
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
#socket .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.copyright {
  font-size: 0.78em;
  color: rgba(255,255,255,0.45);
}
.copyright a { color: rgba(255,255,255,0.45); }
.copyright a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs { font-size: 0.82em; color: #7D7D7A; margin-bottom: 24px; }
.breadcrumbs a { color: #7D7D7A; }
.breadcrumbs .sep { margin: 0 4px; }

/* ============================================================
   FORMS
   ============================================================ */
input[type="text"], input[type="email"], input[type="tel"],
textarea, select {
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 0.9em;
  width: 100%;
  background: #fff;
}
input[type="submit"], .button, button {
  background: #1f021f;
  color: #FAF9F4;
  border: none;
  padding: 10px 20px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.9em;
  font-family: inherit;
}
input[type="submit"]:hover, .button:hover, button:hover { background: #000017; }
label { display: block; margin-bottom: 4px; font-size: 0.88em; font-weight: 600; }
.wpcf7-form p { margin-bottom: 12px; }
.wpcf7-form .wpcf7-submit { margin-top: 8px; }

/* ============================================================
   CONTACT INFO
   ============================================================ */
.template-contact .entry-content { max-width: 700px; }

/* ============================================================
   REVIEWS / TESTIMONIALS
   ============================================================ */
.review-block, blockquote.review {
  background: #f5f2ec;
  border-left: 4px solid #1f021f;
  padding: 16px 20px;
  margin: 16px 0;
  border-radius: 0 4px 4px 0;
}

/* ============================================================
   MENUS (food/drink)
   ============================================================ */
.menu-section { margin-bottom: 32px; }
.menu-section h2 { border-bottom: 2px solid #1f021f; padding-bottom: 8px; }
.menu-item-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dotted #e0dcd0;
}
.menu-item-name { font-weight: 600; }
.menu-item-price { font-weight: 700; color: #1f021f; }
.menu-item-desc { font-size: 0.85em; color: #7D7D7A; }

/* ============================================================
   ROOMS
   ============================================================ */
.room-entry { margin-bottom: 40px; }
.room-entry img { width: 100%; border-radius: 4px; margin-bottom: 12px; }

/* ============================================================
   VIDEO / MEDIA
   ============================================================ */
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-wrap iframe, .video-wrap video {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { margin: 30px 0; display: flex; gap: 6px; flex-wrap: wrap; }
.pagination a, .pagination .current {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #e0dcd0;
  border-radius: 3px;
  font-size: 0.88em;
  color: #333;
  text-decoration: none;
}
.pagination .current { background: #1f021f; color: #FAF9F4; border-color: #1f021f; }
.pagination a:hover { background: #f5f2ec; }

/* ============================================================
   SHADOWS / DECORATIVE
   ============================================================ */
.top_stripe_shadow, .bottom_shadow, .bottom_shadow span { display: none; }
.no_css_transition { transition: none !important; }
.rounded { border-radius: 3px; }

/* ============================================================
   NAVIGATION TEMPLATE helpers
   ============================================================ */
.template-blog .content { width: 100%; }
.template-page .content { width: 66%; float: right; }
.template-page .sidebar { width: 30%; float: left; }
.template-dynamic { width: 100%; }
.fullsize > .container > .content { width: 100%; float: none; }
.sidebar_left .content.eight { float: right; }
.sidebar_left .sidebar.four { float: left; }

/* ============================================================
   SINGLE POST / NEWS
   ============================================================ */
.entry-content ul { list-style: disc; margin: 0.5em 0 1em 1.5em; }
.entry-content ol { list-style: decimal; margin: 0.5em 0 1em 1.5em; }
.entry-content li { margin-bottom: 4px; }
.post_nav { display: flex; justify-content: space-between; margin-top: 30px; padding-top: 20px; border-top: 1px solid #e8e4d8; }
.post_nav a { font-size: 0.88em; color: #7D7D7A; }

/* ============================================================
   AUTHOR BOX
   ============================================================ */
.author_box { background: #f5f2ec; padding: 20px; border-radius: 4px; margin-top: 30px; }
.author_box .gravatar { float: left; margin-right: 16px; border-radius: 50%; }
.author_box h3 { margin-bottom: 6px; }

/* ============================================================
   SEARCH
   ============================================================ */
.template-search .content { width: 100%; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  #header .container#menu_container { flex-direction: column; align-items: flex-start; }
  .main_menu .menu { flex-direction: column; }
  .main_menu .menu > li > a { padding: 8px 10px; border-bottom: 1px solid #e8e4d8; }
  .main_menu .sub-menu { position: static; background: #f0ece4; display: none; }
  .main_menu .menu > li:hover > .sub-menu { display: block; }
  .main_menu .sub-menu li a { color: #333; }
  .main_menu .sub-menu li a:hover { color: #1f021f; background: #e8e4d8; }
  .header_meta { align-items: flex-start; }
  .two_third, .one_third { width: 100%; margin-left: 0; }
  .units { float: none; width: 100%; margin-left: 0; }
  .template-page .content, .template-page .sidebar { float: none; width: 100%; }
  .sidebar_left .content.eight, .sidebar_left .sidebar.four { float: none; width: 100%; }
  #footer .container { flex-direction: column; }
  .dynamic_template_column_container { flex-direction: column; }
  .dynamic_template_columns { width: 100%; }
  h1.logo a { font-size: 1.3em; }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  h1 { font-size: 1.6em; }
  h2 { font-size: 1.3em; }
  .slideshow_media_wrap { min-height: 220px; }
  .day { font-size: 1.4em; }
}
