:root {
  color-scheme: light;
  --fest-ink: #24352d;
  --fest-muted: #68776d;
  --fest-green: #28553f;
  --fest-gold: #d89442;
  --fest-paper: #fffdf8;
  --fest-line: #e9e4d9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--fest-ink) !important;
  background: #f1eee6 !important;
  font-family: Roboto, Arial, sans-serif !important;
  line-height: 1.7;
}
a { color: var(--fest-green); transition: color .2s ease, background .2s ease; }
a:hover { color: var(--fest-gold); text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)) !important; max-width: 1120px; margin-right: auto !important; margin-left: auto !important; }

.navbar { margin: 22px auto 0 !important; border: 0 !important; background: transparent !important; }
.navbar-inner {
  min-height: 72px;
  padding: 0 22px;
  border: 1px solid rgba(40, 85, 63, .08) !important;
  border-radius: 16px !important;
  background: rgba(255, 253, 248, .97) !important;
  box-shadow: 0 12px 32px rgba(35, 52, 42, .09);
}
.navbar-inner > .container { width: 100% !important; }
.navbar .brand {
  float: left;
  padding: 0 !important;
  color: var(--fest-green) !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  line-height: 70px !important;
  text-decoration: none;
}
.navbar .brand::after { content: "SAUSAGE & CIDER FEST"; letter-spacing: .04em; }
.nav-collapse.collapse { display: block !important; height: auto !important; overflow: visible !important; }
.nav { display: flex; float: right !important; gap: 3px; margin: 0 !important; padding: 0; }
.nav li { list-style: none; }
.nav a { display: block; padding: 24px 11px !important; border-radius: 8px; color: var(--fest-ink) !important; font-size: 13px; font-weight: 700; }
.nav a:hover, .nav .current_page_item > a { color: var(--fest-green) !important; background: #f4ead9; }
.btn-navbar { display: none !important; }

.hero-unit-small {
  position: relative;
  overflow: hidden;
  margin-top: 22px;
  padding: 54px 0 !important;
  color: #fff;
  background: linear-gradient(110deg, rgba(25, 52, 39, .95), rgba(53, 99, 66, .76)), url("https://images.unsplash.com/photo-1514933651103-005eec06c04b?auto=format&fit=crop&w=1800&q=85") center 48% / cover !important;
}
.hero-unit-small .row-fluid.about_space { display: flex; align-items: center; flex-wrap: wrap; }
.page_head { margin: 0; color: #fff; font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; }
#searchform { margin: 0; }
.search_head { display: flex; justify-content: flex-end; }
#searchform input { min-width: 190px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 8px 0 0 8px; outline: none; }
.Search_btn { padding: 11px 18px; border: 0; border-radius: 0 8px 8px 0; color: #fff; background: var(--fest-gold); font-weight: 700; cursor: pointer; }

body:not(.home) .row-fluid:not(.about_space) { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(240px, .9fr); gap: 28px; align-items: start; }
body:not(.home) .row-fluid:not(.about_space)::before,
body:not(.home) .row-fluid:not(.about_space)::after { display: none !important; }
.Blog_main, .sidebar { float: none !important; width: auto !important; margin: 0 !important; padding: 36px 0 54px !important; }
.post, .blog_single_post, .sidebar_widget, .comment_section, .comment_mn {
  border: 1px solid var(--fest-line);
  border-radius: 18px;
  background: var(--fest-paper);
  box-shadow: 0 14px 38px rgba(35, 52, 42, .08);
}
.post, .blog_single_post { padding: 25px 30px; }
.post h2, .blog_single_post > h2 { margin: 0 0 12px; font-size: clamp(24px, 2.7vw, 32px); line-height: 1.25; }
.post h2 a, .blog_single_post h2 a { color: var(--fest-ink); }
.blog_section2_comment { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 20px; color: var(--fest-muted); font-size: 13px; }
.blog_section2_comment a { color: var(--fest-muted); }
.Blog_main p, .Blog_main li { color: #4f6055; }
.Blog_main p { margin: 0 0 18px; }
.Blog_main h3, .Blog_main h4, .Blog_main h5, .Blog_main h6 { color: var(--fest-green); }
.Blog_main img { max-width: 100%; height: auto; border-radius: 10px; }
.Blog_main iframe { max-width: 100%; border-radius: 12px; }
.sidebar_widget { padding: 22px; text-align: center; }
.sidebar_widget img { display: inline-block; max-width: min(100%, 260px); height: auto; margin: 10px auto; object-fit: contain; }
.sidebar_widget h6 { margin: 12px 0 4px; color: var(--fest-green); font-size: 18px; }
.sidebar_widget p { margin: 0 0 12px; color: var(--fest-muted); font-size: 14px; }
.sidebar_widget hr { width: 46px; margin: 20px auto; border: 0; border-top: 2px solid var(--fest-gold); }

.comment_section, .comment_mn { margin: 24px 0; padding: 24px; }
.comment_section h3, .comment_mn h3 { color: var(--fest-green); }
.leave_comment_field, #comments { width: 100%; max-width: 100%; padding: 11px 13px; border: 1px solid var(--fest-line); border-radius: 8px; background: #fff; }
#comment_btn { padding: 11px 20px; border: 0; border-radius: 8px; color: #fff; background: var(--fest-green); font-weight: 700; }

.main_slider { overflow: hidden; margin-top: 22px; background: #203d30; }
.main_slider .item { position: relative; max-height: 490px; }
.main_slider .item > img { display: block; width: 100%; max-height: 490px; object-fit: cover; }
.main_slider .slider_con { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; color: #fff; pointer-events: none; }
.purchase_main_content { padding: 24px 0; }
.purchase_main_content img { display: block; width: 100%; max-height: 190px; border-radius: 16px; object-fit: cover; box-shadow: 0 12px 30px rgba(35, 52, 42, .12); }
.home_service_section { padding: 46px 0; }
.featured_port_title h1 { margin: 0 0 28px; color: var(--fest-green); text-align: center; font-size: clamp(27px, 4vw, 40px); }
#sidebar-service { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
#sidebar-service::before, #sidebar-service::after { display: none; }
.home_service { float: none !important; width: auto !important; margin: 0 !important; padding: 24px; border: 1px solid var(--fest-line); border-radius: 16px; background: var(--fest-paper); box-shadow: 0 10px 28px rgba(35, 52, 42, .07); }
.home_service h3 { color: var(--fest-green); }
.home_service p { color: var(--fest-muted); }
.footer-section { padding: 24px 0 !important; color: #e5eee7; background: #203d30 !important; }
.footer-section p { margin: 0; }

@media (max-width: 900px) {
  .navbar .brand { font-size: 16px !important; }
  .nav a { padding-right: 7px !important; padding-left: 7px !important; font-size: 12px; }
  body:not(.home) .row-fluid:not(.about_space) { grid-template-columns: minmax(0, 1fr) minmax(210px, .75fr); gap: 20px; }
  #sidebar-service { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .container { width: min(100% - 28px, 600px) !important; }
  .navbar-inner { padding: 0 16px 10px; }
  .navbar .brand { font-size: 15px !important; line-height: 62px !important; }
  .nav { display: flex; float: none !important; clear: both; flex-wrap: wrap; }
  .nav a { padding: 8px !important; font-size: 12px; }
  .hero-unit-small { margin-top: 14px; padding: 34px 0 !important; }
  .hero-unit-small .span8, .hero-unit-small .span4 { width: 100%; }
  .search_head { justify-content: flex-start; margin-top: 15px; }
  body:not(.home) .row-fluid:not(.about_space) { display: flex; flex-direction: column; gap: 0; }
  .Blog_main, .sidebar { width: 100% !important; padding: 24px 0 12px !important; }
  .post, .blog_single_post { padding: 21px 20px; }
  .sidebar_widget { padding: 18px; }
  #sidebar-service { grid-template-columns: 1fr; }
  .main_slider .item, .main_slider .item > img { max-height: 320px; }
  .purchase_main_content img { max-height: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
