*,
body,
html {
  margin: 0;
  padding: 0
}

html {
  scrollbar-width: thin;
  scrollbar-color: #556b2f #f8f8f0
}

html::-webkit-scrollbar {
  width: 12px;
  background-color: #f8f8f0
}

html::-webkit-scrollbar-thumb {
  background-color: #556b2f;
  border-radius: 6px;
  border: 3px solid #f8f8f0
}

html::-webkit-scrollbar-thumb:hover {
  background-color: #44592a
}

.lightbox-inner::-webkit-scrollbar {
  width: 0;
  height: 0
}

.lightbox-inner {
  scrollbar-width: none;
  -ms-overflow-style: none
}

.logo,
.logo a {
  line-height: 0
}

.sr-only,
.visually-hidden {
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

:focus-visible {
  outline: 2px solid #5D7747;
  outline-offset: 15px;
  border-radius:15px;
}


.lock-scroll {
  overflow: hidden;
  height: 100vh;
  position: fixed;
  width: 100%;
  padding-right: var(--scrollbar-width, 0px)
}

.hero,
section h2 {
  text-align: center
}

body,
section li {
  line-height: 1.6
}

.cottage-description .desc-slide {
  transition: opacity 0.6s ease-in-out;
  opacity: 0
}

h1 {
  font-weight: 700
}

*,
.nav-links li a {
  box-sizing: border-box
}

#form-response.visible,
.desc-slide.active,
.nav-links.active {
  opacity: 1;
  pointer-events: auto
}

body,
html {
  width: 100%
}

body {
  font-family: Lato, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  color: #2c3e50;
  background-color: #fff
}

html.lock-scroll {
  overflow: hidden
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px
}

h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  color: #5d7747;
  margin-bottom: 1rem
}

article h1,
nav h1,
section h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  color: #5d7747;
  margin-bottom: 1rem
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 4%;
  padding-right: 4%
}

.site-header {
  position: sticky
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.site-header h1 a {
  color: #fff;
  text-decoration: none;
  font-size: 1.75rem
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start
}

.logo .strapline {
  font-size: 0.85rem;
  font-weight: 400;
  color: beige;
  margin-top: 0.2rem;
  letter-spacing: 0.3px
}

.hli {
  display: block;
  height: auto;
  max-width: 240px;
  width: 100%
}

.logo a {
  display: inline-block
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0
}

.main-nav {
  display: flex;
  align-items: center;
  padding-right: 1em
}

.nav-links {
  opacity: 0;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s;
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  width: 100%;
  height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(93, 119, 71, 0.95);
  z-index: 9999;
  overflow-y: auto
}

.nav-links.active {
  transform: translateX(0);
  visibility: visible;
  list-style-type: none
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px
}

.nav-links li a:hover {
  color: beige
}

#menu-toggle {
  display: block;
  width: 32px;
  height: 24px;
  position: relative;
  border: none;
  background: 0 0;
  cursor: pointer;
  z-index: 10001
}

#menu-toggle .line {
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: #fff;
  left: 0;
  transition: 0.3s;
  border-radius: 2px;
  transform-origin: center
}

#menu-toggle .top {
  top: 0
}

#menu-toggle .middle {
  top: 50%;
  transform: translateY(-50%)
}

#menu-toggle .bottom {
  bottom: 0
}

#menu-toggle.active .top {
  transform: rotate(45deg);
  top: 50%
}

#menu-toggle.active .middle {
  opacity: 0
}

#menu-toggle.active .bottom {
  transform: rotate(-45deg);
  top: 50%;
  bottom: auto
}

.hero {
  position: relative;
  overflow: hidden;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  width: 100%
}

.hero h2,
.strapline,
section h2 {
  color: #5d7747
}

.parallax-bg {
  position: absolute;
  min-height: 100%;
  height: 100%;
  left: 0;
  width: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
  transform: translateY(0);
  will-change: transform
}

.hero-content {
  z-index: 1;
  padding: 2rem 1rem;
  max-width: 800px;
  background: rgba(245, 245, 220, 0.9);
  border-radius: 5px
}

.cta-btn,
.tab-button.active {
  color: #fff
}

.hero p {
  margin-top: 1rem;
  font-size: 1.125rem
}

.cta-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #8b4513;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
  cursor: pointer
}

.cta-btn:hover {
  background-color: #556b2f
}

button#accept-cookies,
button#decline-cookies {
  width: 48%
}

section {
  padding: 3rem 0
}

section h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem
}

section p {
  margin-bottom: 1rem;
  color: #3a4b2a;
  padding: 0 1em
}

section ul {
  padding-left: 1.5rem;
  margin-top: 1rem;
  list-style-type: none
}

section li {
  margin-bottom: 0.5rem
}

.cottage-grid {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  flex-wrap: wrap
}

.cottage-card {
  background-color: beige;
  border-radius: 6px;
  padding: 2rem;
  flex: 1 1 calc(50% - 1rem);
  transition: transform 0.2s
}

.left-accent {
  border-left: 4px solid rgb(139, 69, 19)
}

.left-accent-alt {
  border-left: 4px solid #556b2f;
}
















.local-card {
  padding: 1.5rem;
  background-color: beige;
  text-align: center
}

.cottage-card:hover,
.local-card:hover {
  transform: translateY(-4px)
}

.cottage-card h3 {
  color: #556b2f;
  margin-bottom: 0.5rem
}

.cottage-card ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem
}

.cottage-card ul li {
  list-style: none;
  position: relative;
  padding-left: 2.25rem;
  margin-bottom: 0.75rem;
  color: #3a4b2a
}

.cottage-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.8;
  filter: grayscale(20%) brightness(1.1)
}

.icon-wifi::before {
  background-image: url("/icons/features/wifi-high.svg")
}

.icon-bed::before {
  background-image: url("/icons/features/bed.svg")
}

.icon-lounge::before {
  background-image: url("/icons/features/television.svg")
}

.icon-kitchen-alt::before,
.icon-kitchen::before {
  background-image: url("/icons/features/cooking-pot.svg")
}

.icon-bathroom-alt::before,
.icon-bathroom::before {
  background-image: url("/icons/features/shower.svg")
}

.icon-patio-alt::before,
.icon-patio::before {
  background-image: url("/icons/features/park.svg")
}

.icon-paw::before {
  background-image: url("/icons/features/paw.svg")
}

.cottage-image {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1rem;
  object-fit: cover;
  display: block;
  max-height: 300px
}

.local-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-content: center
}

.local-card {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s
}

.local-card p {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #3a4b2a
}

.local-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  display: block;
  opacity: 0.8
}

.nav-container,
.tabs {
  display: flex
}

.site-footer {
  background-color: beige;
  color: #3a4b2a;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  border-top: 2px solid #7e8c54
}

.site-header,
.tab-button.active {
  background-color: #5d7747
}

.site-footer .container {
  line-height: 1.5;
  text-align: center
}

.site-footer a {
  color: #5d7747;
  text-decoration: underline
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 2px solid #9ba970;
  padding: 1rem 0;
  width: 100%
}

.nav-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2%;
  justify-content: space-between;
  align-items: center
}

.tabs {
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap
}

.tab-button {
  background-color: beige;
  color: #556b2f;
  padding: 0.75rem 1.5rem;
  border: none;
  margin: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s
}

@media (max-width:767px) {
  .tabs {
    flex-wrap: nowrap
  }

  .tab-button {
    flex: 1 1 45%;
    max-width: none;
    white-space: nowrap;
    text-align: center;
    margin-bottom: 1rem
  }
}

@media (max-width:360px) and (min-width:320px) {
  .tabs {
    flex-wrap: nowrap;
    justify-content: space-between;
    margin: 1.5em auto;
    margin-top: -1em
  }

  .tab-button {
    flex: 1 1 48%;
    max-width: 48%;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
    text-align: center;
    margin-bottom: 0.5rem
  }
}

.feature-card {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.tab-content img {
  width: 100%;
  max-height: 410px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem
}

.tab-content .container {
  max-width: 800px;
  margin: 0 auto
}

.feature-card-grid {
  grid-template-columns: 1fr;
  display: grid;
  margin-top: 2rem
}

.feature-card h3 {
  margin-top: 0;
  color: #556b2f;
  font-size: 1.1rem;
  margin-bottom: 0.5rem
}

.feature-card-grid {
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem
}

.feature-card {
  border-radius: 8px;
  margin: 0 0.5em
}

/* .feature-card:hover {
  transform: translateY(-3px)
} */

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #3a4b2a;
  line-height: 1.5
}

.tab-flex {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  justify-content: flex-start
}

.carousel-block,
.cottage-description {
  flex: 0 0 48%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  justify-content: stretch
}

.carousel-block {
  margin-left: calc(50.6% - 540px)
}

.cottage-description {
  border-radius: 8px;
  position: relative;
  min-height: 300px;
  overflow: hidden
}

.desc-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none
}

.desc-slide.active {
  position: relative;
  z-index: 1
}

.carousel-image {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.cottage-description .desc-slide {
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0
}

.cottage-description .desc-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
  z-index: 1
}

.gallery-item {
  margin-bottom: 1rem
}

.gallery-container {
  column-count: 1;
  column-gap: 1rem;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease
}

.gallery-item:hover {
  transform: scale(1.02)
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block
}

@media (min-width:576px) {
  .gallery-container {
    column-count: 2
  }
}

@media (min-width:992px) {
  .gallery-container {
    column-count: 3
  }
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem 5rem 1rem;
  flex-direction: column;
  overflow: hidden
}

.lightbox.open {
  display: flex
}

.lightbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  max-height: 100%;
  flex-grow: 1;
  width: 100%;
  overflow-y: auto;
  padding-bottom: 3.5rem;
  box-sizing: border-box
}

.lightbox img {
  max-width: 90vw;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
  flex-shrink: 0
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 1
}

.lightbox-close:focus {
  outline: 2px solid #fff
}

.lightbox-controls {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: nowrap;
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 6px
}

.lightbox-nav {
  flex-grow: 1;
  min-width: 130px;
  font-size: 1.2rem;
  padding: 0.75rem 1.5rem;
  background: #ffffff10;
  border: 1px solid #ffffff40;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
  touch-action: manipulation;
  text-align: center
}

.lightbox-nav:hover,
.lightbox-nav:focus {
  background: #ffffff20;
  outline: 2px solid #fff
}

@media (max-width:400px),
(max-height:600px) {
  .lightbox-inner {
    padding-bottom: 4.5rem
  }

  .lightbox img {
    max-height: calc(100vh - 160px)
  }

  .lightbox-controls {
    padding: 0.25rem 0.75rem;
    font-size: 1rem
  }
}

.lightbox-caption {
  color: #f5f5f5;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1rem;
  max-width: 90vw;
  line-height: 1.4;
  font-style: italic
}

.lightbox-inner {
  max-width: 90vw;
  max-height: 90vh;
  margin: auto;
  border-radius: 8px;
  background: transparent;
  box-sizing: border-box;
  overflow-y: auto;
  position: relative
}

.lightbox {
  pointer-events: auto
}

.lightbox-inner>* {
  pointer-events: auto
}

.lightbox-close,
.lightbox-nav,
.gallery-item img {
  cursor: pointer
}

.lightbox-close,
.lightbox-nav.prev,
.lightbox-nav.next,
#lightbox-img,
.gallery-item img {
  cursor: pointer
}

@keyframes sheenMove {
  from {
    left: -75%
  }

  to {
    left: 125%
  }
}

.lightbox-inner {
  cursor: auto
}

.lightbox,
.lightbox-inner {
  cursor: zoom-out
}

@media (max-width:1023px) {
  #lightbox .lightbox-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 3.5rem
  }

  #lightbox-img {
    max-width: 90vw !important;
    max-height: 80vh !important;
    object-fit: contain;
    margin: auto;
    display: block
  }
}

#lightbox-img {
  transition: opacity 0.4s ease-in-out;
  opacity: 1;
  max-width: 100%;
  height: auto;
  display: block
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.skip-link:focus,
.skip-link:active {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: #5d7747;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  z-index: 10000;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
}

.footer-airbnb-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  line-height: 1;
  vertical-align: middle
}

footer.footer-airbnb-link img {
  height: 15px;
  width: auto;
  display: block;
  margin: 0
}

.hero h2 {
  font-size: 2rem
}

.nav-links li a {
  display: inline-block;
  padding: 0.5rem 1rem 0.25rem;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s
}

.nav-links li a:hover,
.nav-links li a[aria-current="page"] {
  border-bottom-color: beige
}

#form-response {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  padding: 0;
  margin: 0 auto;
  width: 80%;
  background: beige;
  border-radius: 5px;
  text-align: center;
  pointer-events: none;
  transition: opacity 0.4s, max-height 0.4s, padding 0.4s, margin 0.4s
}

#form-response.visible {
  max-height: 200px;
  padding: 1em;
  margin-top: -1em;
  margin-bottom: 2em
}

.contact-form,
.contact-form .form-group {
  flex-grow: 1
}

@media (min-width:576px) {
  .gallery-container {
    column-count: 2
  }

  .feature-card-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (min-width:768px) {
  h1 {
    font-size: 2.5rem
  }

  .feature-card-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .tab-flex {
    align-items: stretch
  }

  .carousel-block,
  .cottage-description {
    display: flex;
    flex-direction: column
  }

  .carousel-block {
    justify-content: stretch
  }

  .carousel-image {
    flex-grow: 1;
    height: 100%;
    object-fit: cover;
    border-radius: 6px
  }

  .cottage-description {
    padding: 1.5rem 2rem;
    box-sizing: border-box
  }

  .desc-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%
  }
}

@media (min-width:769px) {
  .nav-links li:first-child {
    margin-top: 0
  }

  #menu-toggle {
    display: none
  }

  .nav-links {
    position: static;
    width: auto;
    height: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: 0 0;
    flex-direction: row
  }

  .nav-links li {
    margin-left: 0.5rem;
    width: auto;
    padding: 0;
    text-align: left;
    list-style-type: none
  }

  .nav-links li a {
    font-size: 1.2rem
  }
}

@media (min-width:992px) {
  .local-grid {
    grid-template-columns: repeat(4, 1fr)
  }

  .local-card:nth-last-child(-n + 2):nth-child(odd) {
    grid-column: auto
  }

  .feature-card-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .gallery-container {
    column-count: 3
  }
}

@media (min-width:1024px) and (max-width:1330px) {

  .carousel-block,
  .cottage-description {
    flex: 0 1 48%;
    max-width: 48%
  }

  .carousel-block {
    margin-left: 0
  }

  .cottage-description {
    min-height: auto
  }

  .carousel-image {
    height: auto
  }
}

@media (max-width:1024px) {
  .cottage-card {
    flex: 1 1 100%
  }

  .tab-flex {
    flex-direction: column;
    align-items: center
  }

  .carousel-block,
  .cottage-description {
    flex: 1 1 100%;
    max-width: 100%;
    margin-left: 0
  }

  .cottage-description {
    margin-top: 1rem;
    min-height: auto
  }

  .carousel-image {
    height: auto
  }
}

:root {
  --card-padding: 2rem
}

@media (max-width:768px) {
  .nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.8rem;
    letter-spacing: 0.5px;
    transition: color 0.3s
  }

  .nav-links li:first-child {
    margin-top: -10em
  }

  .hero {
    background-attachment: scroll;
    padding: 1.5rem 0
  }

  .hero-content {
    padding: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.4
  }

  .hero h2 {
    font-size: 1.75rem
  }

  .hero p {
    font-size: 1rem
  }

  :root {
    --card-padding: 1rem
  }
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: #5d7747 solid 2px;
  border-color: #5d7747;
  background: beige
}

.directions {
  background-color: beige;
  padding: 2rem 1.5rem;
  margin: -1rem auto 0;
  border-radius: 8px;
  width: 95%;
  max-width: 1100px;
  text-align: left
}

.directions h3 {
  color: #5d7747;
  margin-top: 0
}

.directions p {
  margin-bottom: 1rem;
  line-height: 1.5
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: beige;
  color: #2c3e50;
  padding: 1em;
  text-align: center;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  border-top: 4px solid #5d7747
}

.cookie-banner p {
  margin: 0 0 0.5em
}

.cookie-banner a,
.cookie-card-banner a {
  color: #8b4513;
  text-decoration: underline
}

.cookie-banner .cta-btn.secondary {
  background: #fff;
  color: #8b4513;
  border: 1px solid #8b4513
}

.cookie-card-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  max-width: 420px;
  padding: 2em;
  z-index: 9999;
  text-align: left;
  font-family: sans-serif
}

.cookie-card-banner h2 {
  margin-top: 0
}

.cookie-card-banner p {
  font-size: 0.95em;
  margin-bottom: 1em
}

.cookie-options {
  margin: 1em 0
}

.cookie-options label {
  display: block;
  margin-bottom: 0.5em;
  font-size: 0.9em
}

.cookie-options span {
  color: #555;
  font-size: 0.85em
}

.cookie-actions {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25em;
  margin-top: 0.5em;
  margin-bottom: 0.5em
}

button#save-cookie-preferences {
  width: 100%
}

@media (max-width:900px) {
  .hero-content {
    margin: 5%
  }

  .cookie-card-banner {
    width: 95%
  }
}

.cookie-actions .cta-btn {
  border: 1px solid transparent;
  margin: 0;
  line-height: 1
}

.cookie-actions .cta-btn:focus {
  outline: #8b4513 solid 2px;
  outline-offset: 2px
}

.feature-card {
  background-color: #f8f8f0;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid #8b4513;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08)
}

.contact-form,
.licence-card-grid .feature-card {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border-radius: 8px
}

@media (max-width:960px) {}

.contact-form-wrap {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-self: flex-start;
  border-right: 4px solid #8b4513;
  border-radius: 10px
}

.contact-form {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  max-height: 100%;
  background: beige;
  padding: 1.5rem
}

.contact-form .button-row {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: flex-start
}

.licence-card-grid {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  justify-content: center
}

.licence-card-grid .feature-card {
  flex: 1 1 280px;
  background-color: #e8e8c8;
  padding: 1.25rem 1.5rem;
  text-align: center
}

.epc {
  font-style: italic;
  color: #8b4513
}

.desc-slide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s
}

.image-wipe,
.text-wipe,
.wipe-content.image-wipe,
.wipe-content.text-wipe {
  transition: transform 0.6s ease-in-out, clip-path 0.6s ease-in-out
}

.wipe-show .desc-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto
}

.cottage-description {
  background: 0 0;
  padding: 0
}

@media (min-width:1024px) {
  h1 {
    font-size: 2.75rem
  }

  .container {
    padding-left: 10%;
    padding-right: 10%
  }

  .carousel-block,
  .cottage-description {
    display: flex;
    flex-direction: column;
    justify-content: stretch
  }

  .carousel-image,
  .text-wipe {
    flex-grow: 1;
    height: 350px;
    max-height: 350px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3))
  }

  .carousel-block,
  .cottage-description {
    height: 350px;
    max-height: 350px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2))
  }
}

.tab-content {
  animation: 0.3s ease-in-out fadeIn;
  display: none
}

.tab-content.active {
  display: block
}

@media (max-width:414px) {
  .contact-form .button-row {
    gap: 0.5rem;
    flex-wrap: nowrap
  }

  .contact-form .button-row .cta-btn {
    min-width: 0 !important;
    flex: 1 1 0 !important;
    max-width: 50%;
    padding: 0.65rem 1rem;
    font-size: 1rem;
    box-sizing: border-box
  }

  .directions {
    width: 87%
  }

  .contact-form {
    margin-top: -1em
  }
}

@media (max-width:360px) {

  .contact-form-wrap,
  .directions {
    width: 100% !important;
    margin: 0 !important;
    padding: 0.5rem !important;
    box-sizing: border-box
  }

  .contact-form {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 1rem !important
  }

  .contact-form .form-group+.form-group {
    margin-top: 0.8rem
  }

  .contact-form .button-row {
    flex-direction: column;
    gap: 0.5rem
  }

  .contact-form .button-row .cta-btn {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    padding: 0.6rem;
    font-size: 0.9rem
  }

  .directions h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem
  }

  .directions p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.8rem
  }
}

.tab-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: flex-start
}

.wipe-content.image-wipe,
.wipe-content.text-wipe {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transform: translateX(0) translateY(0);
  height: 100%
}

.wipe-transition.wipe-show .image-wipe,
.wipe-transition.wipe-show .text-wipe {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%)
}

.wipe-transition {
  display: flex;
  flex-wrap: wrap
}

.wipe-content {
  overflow: hidden;
  position: relative
}

.wipe-transition.wipe-show .image-wipe {
  transform: translateX(0) translateY(0);
  border-radius: 6px;
  overflow: hidden;
  display: block;
  position: relative
}

.wipe-transition.wipe-show .text-wipe {
  transform: translateX(0) translateY(0)
}

.carousel-image {
  opacity: 1;
  transition: opacity 0.6s ease-in-out
}

.text-wipe {
  background-color: beige;
  padding: 1.5rem 2rem;
  border-radius: 8px;
  height: 100%;
  transition: transform 0.6s ease-in-out
}

.feature-card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem 2.5rem;
  box-shadow: 0 4px 12px rgba(93, 119, 71, 0.1);
  margin-bottom: 2.5rem;
  transition: box-shadow 0.3s ease
}

.feature-card:hover,
.feature-card:focus-within {
  box-shadow: 0 8px 24px rgba(93, 119, 71, 0.18)
}

.feature-card h2 {
  color: #5D7747;
  font-size: 2rem;
  margin-bottom: 1rem
}

.feature-card ul {
  list-style: none;
  padding-left: 0
}

.feature-card ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  color: #3a4b2a
}

.feature-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1rem;
  height: 1rem;
  background-image: url('/images/tree-icon.svg');
  background-size: contain;
  background-repeat: no-repeat
}

.feature-card {
  background: #F5F5DC;
  border-radius: 10px;
  padding: 2rem 2.5rem;
  box-shadow: 0 4px 12px rgba(93, 119, 71, 0.1);
  margin-bottom: 2.5rem;
  transition: box-shadow 0.3s ease
}

.feature-card:hover,
.feature-card:focus-within {
  box-shadow: 0 8px 24px rgba(93, 119, 71, 0.18)
}

.feature-card h2 {
  color: #5D7747;
  font-size: 2rem;
  margin-bottom: 1rem
}

.feature-card ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem
}

.feature-card ul li {
  margin-bottom: 0.75rem;
  color: #3a4b2a;
  list-style: disc
}

.feature-card a {
  color: #8B4513;
  text-decoration: underline;
  transition: color 0.3s ease
}

.feature-card a:hover,
.feature-card a:focus {
  color: #9BA970;
  outline: none;
  text-decoration: none
}

.cta-btn {
  background-color: #8B4513;
  color: #fff;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 8px rgba(139, 69, 19, 0.3)
}

.cta-btn:hover,
.cta-btn:focus {
  background-color: #9BA970;
  outline-offset: 3px
}

@media (max-width:768px) {
  .feature-card {
    padding: 1.5rem 1.5rem
  }
}

.cta-btn {
  background-color: #8B4513;
  color: #fff;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 8px rgba(139, 69, 19, 0.3)
}

.cta-btn:hover,
.cta-btn:focus {
  background-color: #9BA970;
  outline-offset: 3px
}

@media (max-width:768px) {
  .feature-card {
    padding: 1.5rem 1.5rem
  }

  .feature-card ul li::before {
    font-size: 1rem
  }
}

.legal-page.container[role="main"] {
  max-width: 960px;
  margin: 2rem auto 4rem;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(93, 119, 71, 0.1);
  padding: 2rem;
  color: #2c3e50;
  font-size: 1rem;
  line-height: 1.6
}

.legal-page.container[role="main"] h1,
.legal-page.container[role="main"] h2,
.legal-page.container[role="main"] h3 {
  color: #5d7747;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1rem
}

.legal-page .tabs {
  display: flex;
  border-bottom: 2px solid #9ba970;
  margin-bottom: 1.5rem;
  gap: 0.25rem
}

.legal-page .tab-button {
  flex: 1 1 auto;
  background-color: #e8e8c8;
  border: none;
  border-bottom: 4px solid transparent;
  color: #556b2f;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease
}

.legal-page .tab-button[aria-selected="true"] {
  background-color: #f5f5dc;
  border-bottom-color: #8b4513;
  color: #8b4513;
  cursor: default
}

.legal-page .tab-button:focus-visible {
  outline: 3px solid #5d7747;
  outline-offset: 3px;
  z-index: 2
}

.legal-page .tab-panel {
  display: none;
  animation: fadeIn 0.4s ease forwards
}

.legal-page .tab-panel[aria-hidden="false"] {
  display: block
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.legal-page.container[role="main"] a {
  color: #8b4513;
  text-decoration: underline;
  transition: color 0.3s ease
}

.legal-page.container[role="main"] a:hover,
.legal-page.container[role="main"] a:focus {
  color: #5d7747;
  outline: none;
  text-decoration: none
}

.legal-page.container[role="main"] ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  list-style: disc;
  color: #3a4b2a
}

.legal-page.container[role="main"] ul li {
  margin-bottom: 0.6rem
}

.legal-page.container[role="main"] table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem
}

.legal-page.container[role="main"] th,
.legal-page.container[role="main"] td {
  border: 1px solid #9ba970;
  padding: 0.6rem 1rem;
  text-align: left;
  vertical-align: top;
  color: #2c3e50
}

.legal-page.container[role="main"] th {
  background-color: #5d7747;
  color: white;
  font-weight: 700
}

@media (max-width:600px) {
  .legal-page .tabs {
    flex-direction: column
  }

  .legal-page .tab-button {
    flex: none;
    border-bottom: none;
    border-left: 4px solid transparent;
    text-align: left
  }

  .legal-page .tab-button[aria-selected="true"] {
    border-left-color: #8b4513;
    border-bottom: none
  }

  .legal-page.container[role="main"] {
    padding: 1.5rem 1rem;
    font-size: 0.95rem
  }

  .legal-page.container[role="main"] th,
  .legal-page.container[role="main"] td {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem
  }
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
  border-radius: 6px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1)
}

.table-responsive table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px
}

@media (min-width:600px) and (max-width:1024px) {}

@media (max-width:1024px) {
  #bump {
    margin-top: -2.5em
  }

  .feature-card {
    padding: 1.5rem 2.5rem
  }
}

@media (max-width:414px) {
  .directions {
    width: 95% !important;
    max-width: 1100px !important;
    margin: 1rem auto 0 auto !important;
    padding-left: 1.5rem;
    padding-right: 1.5rem
  }
}

.pdf-link {
  display: inline-flex;
  align-items: center;
  color: #007acc;
  text-decoration: none;
  gap: 0.4em
}

.pdf-link:hover {
  text-decoration: underline
}

.pdf-icon {
  flex-shrink: 0
}

.contact-section {
  display: flex;
  gap: 2rem;
  align-items: stretch;
  flex-wrap: nowrap;
  padding: 0 1.5rem
}

.contact-info,
.contact-form-wrap {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-width: 300px;
  max-width: 50%
}

.contact-form {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background: beige;
  padding: 1.5rem
}

.contact-form textarea {
  resize: none;
  min-height: 8.5em;
  margin-bottom: -3em;
}

.contact-feature-card {
  border-left-color: #556b2f;
  /* Slightly different accent */
}

#bump {
  margin-top: -0.1em;
}

  #name{
    width:100%
  }
@media (max-width:1060px) {
  .contact-section {
    flex-direction: column;
    padding-left: 1rem;
    padding-right: 1rem;
    flex-wrap: wrap;
  }

  .contact-form {
    max-width: 98%;
    margin: 0 1%;
    border-right: 4px solid #8b4513;
    margin-right: calc(1% - 4px);
    margin-bottom: 2.5rem;
    margin-top: 4em;
  }

  .contact-info,
  .contact-form-wrap {
    flex: none;
    width: 100%;
    max-width: 100%;
    min-width: auto;
    border-right: none;
  }

  .contact-feature-card {
    padding: 1rem 1.5rem;
    margin-bottom: -2.5rem;
    border-left-color: #556b2f;
    box-shadow: none;
    max-width: 98%;
  }

  #bump {
    margin-top: 4em;
    margin-bottom: -4em
  }
  
  #name{
    width:99%
  }
}

@media (min-width:600px) and (max-width:800px) {
.contact-form-wrap {
    margin-top: -12em;
}
    #bump {
    margin-top: 4em;
    margin-bottom: 8em
  }
}

@media (max-width:414px) {
  #name{
    width:100%
  }
    .contact-form {
    max-width: 100%;
  margin-bottom: 1em;
  }
    .contact-section {
        flex-direction: column;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}
@media (max-width:360px) {
  #bump {
    margin-bottom: -1em
  }
      .contact-section {
        flex-direction: column;
        padding-left: 0rem;
        padding-right: 0rem;
    }
}

















/* Preserve your original negative margins on #bump */
#bump {
  /* keep your margin-top: -0.1em as is */
  min-height: 1em; /* ensure some height reserved */
}

/* On smaller screens, override only the minimum necessary */
@media (max-width: 1060px) {
  /* Keep column layout */
  .contact-section {
    flex-direction: column;
    padding-left: 1rem;
    padding-right: 1rem;
    flex-wrap: wrap; /* allow wrapping to prevent overlap */
  }

  /* Force full width but keep margins/padding */
  .contact-info,
  .contact-form-wrap {
    flex: none;
    width: 100%;
    max-width: 100%;
    min-width: auto;
    box-sizing: border-box;
  }

  /* Remove conflicting margin-bottom from bump, keep margin-top */
  #bump {
    margin-top: 4em; /* keep for visual spacing */
    margin-bottom: 0; /* remove bottom negative margin */
    min-height: 4em;
  }

  /* Keep form margins consistent */
  .contact-form {
    max-width: 100%;
    margin: 0 0 2rem 0;
    box-sizing: border-box;
  }
}

/* At mobile widths, keep padding consistent but don't override layout */
@media (max-width: 414px) {
  .contact-section {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  .contact-form {
    margin-bottom: 1em;
    padding: 1rem !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  #name {
    width: 100% !important;
  }
}

@media (max-width: 360px) {
  .contact-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}








































































