.section__label {
  color: var(--Secondory, #6f7945);
  text-align: center;

  /* Button and Nav */
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.ranch-history__content-wrap .container {
  padding: 0 0 0 60px;
}
.section__title {
  color: var(--Primary-One, #a05b3f);
  text-align: center;
  font-family: "EB Garamond";
  font-size: 60px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.section__text {
  color: #121212;
  text-align: center;
  margin-top: 20px;
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px; /* 155.556% */
}

.section__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ranch-story {
  background: #efefef;
}

.ranch-story__intro {
  position: relative;
  overflow: hidden;
  padding: 140px 0 180px;
  border-bottom: 1px solid rgba(35, 31, 28, 0.08);
  background-image: url(../image/Event-bg.png);
  background-size: auto;
  background-position: bottom;
}

.ranch-story__intro-inner {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
}

.ranch-story__button {
  margin-top: 40px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
p.ranch-history__description.section__text {
  text-align: left;
}
.ranch-story__stickers {
  position: absolute;
  top: 0px;
  right: 12%;
  width: 20%;
  z-index: 3;
  pointer-events: none;
}

.ranch-story__sticker {
  position: absolute;
  width: 116px;
  background: #fff;
  padding: 7px 7px 22px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

.ranch-story__sticker img {
  height: 130px;
}

.ranch-story__video-band {
  background: #08415C;
  padding: 64px 0;
}

.ranch-story__video-card {
  position: relative;
  display: block;
  max-width: 1200px;
  margin: 0 auto;
   border: 1px solid rgba(255, 255, 255, 0.28); 
  transition: all 0.35s ease;
}

.ranch-story__video-card:hover {
  transform: translateY(-3px);
}

.ranch-story__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.04) 0%,
    rgba(0, 0, 0, 0.34) 100%
  );
}

.ranch-story__video-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #ffffff;
}

.ranch-story__video-logo {
  width: 112px;
  height: 112px;
}

.ranch-story__video-play {
  display: inline-flex;
  text-align: center;
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  gap: 5px;
  color: #ffffff;
  align-items: center;
}

.ranch-story__video-icon {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  position: relative;
}

.ranch-story__video-icon::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 8px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #fff;
}

.ranch-video-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
}

.ranch-video-popup.is-open {
  display: flex;
}

.ranch-video-popup__dialog {
  position: relative;
  width: min(100%, 980px);
}

.ranch-video-popup__close {
  position: absolute;
  top: -42px;
  right: 0;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #111111;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.ranch-video-popup__frame-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000000;
}

.ranch-video-popup__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000000;
}

.ranch-history {
  background: #FBF5E5;
}

.ranch-history__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.ranch-history__media {
  border-radius: 0;
  overflow: hidden;
  min-height: 340px;
}

.ranch-history__content-wrap {
  display: flex;
  align-items: center;
  background: #FBF5E5;
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 100% 50%;
  min-height: 340px;

}
.ranch-history__grid{
  position: relative;
}
.ranch-history__content-wrap::after{
    content: "";
    position: absolute;
    /* top: 0; */
    bottom: 0;
    right: 0;
    width: 53%;
    height: 100%;
    /*background-image: url("../image/ChatGPT\ Image\ Mar\ 26\,\ 20\ 1.png");*/
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 100% 50%;
}

.ranch-history__content-wrap .container {
  width: 100%;
}

.ranch-history-slider,
.ranch-history-slider .swiper-wrapper,
.ranch-history-slider .swiper-slide,
.ranch-history-slider .section__image {
  height: 100%;
}

.ranch-history__content {
  align-self: center;
  padding: 34px 0;
  max-width: 790px;
  position: relative;
}

.ranch-history__title {
  text-align: left;
}

.ranch-history__button {
  margin-top: 40px;
  color: #fff;
  text-align: center;
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.ranch-history__controls {
  margin-top: -26px;
  padding: 0 20px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 5;
}

.ranch-history__nav {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  margin: 0;
}

.ranch-history__pagination {
  position: static;
}
.ranch-history__pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0 4px !important;
  opacity: 1;
  background: #ffffff;
}

.ranch-history__pagination .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 999px;
  background: #a05b3f;
}

.ranch-experience {
  padding: 100px 0;
  background: #f3f3f3;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.ranch-experience__inner {
  width: min(100%, 1160 px);
  margin: 0 auto;
  text-align: center;
}

.ranch-experience__button {
  color: #fff;
  text-align: center;
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  margin-top: 40px;
}

.ranch-gallery {
  padding: 0 0 100px 0;
  background: #f3f3f3;
}

.ranch-gallery .container {
  max-width: none;
  padding: 0;
}

.ranch-gallery__heading {
  display: none;
}

.ranch-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.gallery__item {
  border-radius: 0;
  overflow: hidden;
  min-height: 190px;
}
.gallery__item img {
  transition: transform 0.5s ease;
}
.gallery__item:hover img {
  transform: scale(1.06);
}

.ranch-map {
  background: #08415C;
  padding: 56px 0 38px;
}

.ranch-map .container {
  max-width: 1620px;
  width: 100%;
  position: relative;
}

.ranch-map__content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 34px;
}

.ranch-map__title {
  color: #fff;
  text-align: center;
  font-family: "EB Garamond";
  font-size: 60px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.ranch-map__text {
  color: #ffffff;
  margin: 40px 0;
}

.ranch-map__button {
  margin-bottom: 45px;
  color: #fff;
  text-align: center;
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.44px;
  text-transform: uppercase;
}

.ranch-map__icon {
  position: absolute;
  top: 0;
  object-fit: cover;
  opacity: 0.9;
}

.ranch-map__icon--left {
  left: 3%;
}

.ranch-map__icon--right {
  right: 3%;
}
.ranch-history .welcome-slider{
  background: transparent;
}
@media (min-width: 768px) {
  .ranch-history__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    padding: 100px 0;
  }
   

  .ranch-history__media {
    min-height: 500px;
  }

  .ranch-history__content-wrap {
    min-height: 500px;
  }

  .ranch-gallery__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .ranch-map {
    padding: 100px 0;
  }
}

@media (min-width: 1200px) {
  .ranch-history__grid {
    grid-template-columns: 48% 47.5%;
  }

  .ranch-history__content {
    padding-top: 20px;
  }
}

@media (max-width: 991px) {
  .ranch-history {
    padding-top: 0;
  }

  .ranch-history__content-wrap {
    background-size: 70% auto;
  }

  .ranch-history__content::after {
    display: none;
  }

  .ranch-history__title,
  .ranch-experience__title {
    font-size: 40px;
  }

  .ranch-map__text {
    font-size: 14px;
  }
     .ranch-map__icon--left {
       
        width: 21%;
    }
}

@media (max-width: 575px) {
  .ranch-history__title,
  .ranch-experience__title {
    font-size: 34px;
  }

  .ranch-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ranch-map {
    padding: 56px 0 28px;
  }

  .ranch-map__title {
    font-size: 34px;
    line-height: 1.08;
  }

  .ranch-map__button {
    min-height: 38px;
    padding: 10px 16px;
  }

  .ranch-map__content {
    margin-bottom: 22px;
  }
}

/* =========================================================
   Requested breakpoint system (desktop unchanged)
   ========================================================= */

@media only screen and (max-width: 1599px) {
  .section__title,
  .ranch-map__title {
    font-size: 54px;
  }

  .ranch-story__intro {
    padding: 124px 0 160px;
  }

  .ranch-story__intro-inner,
  .ranch-experience__inner {
    max-width: 1080px;
  }

  .ranch-map .container {
    max-width: 1480px;
  }
}

@media only screen and (max-width: 1439px) {
  .section__label {
    font-size: 18px;
  }

  .section__title,
  .ranch-map__title {
    font-size: 50px;
  }

  .section__text {
    font-size: 17px;
    line-height: 27px;
  }

  .ranch-story__stickers {
    right: 7%;
    width: 19%;
  }

  .ranch-story__video-card {
    max-width: 1080px;
  }

  .ranch-history__content {
    max-width: 700px;
    padding: 26px 16px 26px 0;
  }

  .ranch-map__icon--left {
    left: 1.5%;
  }

  .ranch-map__icon--right {
        right: 2.5%;
        top: -30px;
        width: 16%;
  }
}

@media only screen and (max-width: 1365px) {
  .section__label {
    font-size: 16px;
    letter-spacing: 1.2px;
  }

  .section__title,
  .ranch-map__title {
    font-size: 46px;
  }

  .section__text {
    font-size: 16px;
    line-height: 26px;
  }

  .ranch-story__intro {
    padding: 108px 0 146px;
  }

  .ranch-story__intro-inner {
    max-width: 980px;
  }

  .ranch-story__stickers {
    right: 5%;
    width: 18%;
  }

  .ranch-history__grid {
    grid-template-columns: 50% 50%;
  }

  .ranch-history__media,
  .ranch-history__content-wrap {
    min-height: 460px;
  }

  .ranch-map {
    padding: 84px 0;
  }
}

@media only screen and (max-width: 1279px) {
  .section__title,
  .ranch-map__title {
    font-size: 42px;
  }

  .section__text {
    font-size: 15px;
    line-height: 24px;
  }

  .ranch-story__intro {
    padding: 96px 0 124px;
  }

  .ranch-story__button,
  .ranch-history__button,
  .ranch-experience__button,
  .ranch-map__button {
    font-size: 15px;
    letter-spacing: 1px;
    padding: 11px 18px;
    margin-top: 28px;
  }

  .ranch-story__video-logo {
    width: 92px;
    height: 92px;
  }

  .ranch-story__video-play {
    font-size: 16px;
  }

  .ranch-map__icon--left,
  .ranch-map__icon--right {
    transform: scale(0.85);
    transform-origin: center;
  }
  .ranch-map__icon--right {
        right: 3.5%;
        top: -8%;
        width: 21%;
    }
    .ranch-map__icon--left {
        left: 3.5%;
        TOP: -7%;
        /* width: 21%; */
    }
	
  .ranch-history__grid {
    grid-template-columns: 1fr;
  }
  .ranch-history__content-wrap {
    min-height: auto;
    background-size: 100% auto;
  }
  .ranch-history__content {
    max-width: 100%;
    padding: 44px 0 54px;
  }
	
  .ranch-history__content-wrap .container {
    padding: 0 24px;
  }

}

@media only screen and (max-width: 1023px) {
  .ranch-story__intro {
    padding: 84px 0 100px;
  }

  .ranch-story__intro-inner {
    max-width: 860px;
  }

  .ranch-story__stickers {
    display: none;
  }

  .ranch-history__media {
    min-height: 430px;
  }




  .ranch-experience {
    padding: 80px 0;
  }

  .ranch-gallery {
    padding-bottom: 72px;
  }

  .ranch-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ranch-map {
    padding: 72px 0;
  }

  


  .ranch-map__content {
    max-width: 760px;
    margin-bottom: 28px;
    padding: 0 24px;
  }

  .ranch-map__text {
    margin: 24px 0 0;
  }
}

@media only screen and (max-width: 801px) {
  .section__title,
  .ranch-map__title {
    font-size: 40px;
  }

  .section__text {
    font-size: 14px;
    line-height: 23px;
  }

  .ranch-story__intro {
    padding: 72px 0 84px;
    background-size: cover;
  }

  .ranch-story__video-band {
    padding: 44px 0;
  }

  .ranch-history__media {
    min-height: 370px;
  }

  .ranch-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 767px) {
  .section__label {
    font-size: 14px;
    letter-spacing: 1.12px;
  }

  .section__title,
  .ranch-map__title {
    font-size: 40px;
    line-height: 1.06;
  }

  .section__text {
    font-size: 18px;
    line-height: 22px;
    margin-top: 16px;
  }

  .ranch-story__intro {
    padding: 56px 0 78px;
    background-position: center bottom;
  }

  .ranch-story__button,
  .ranch-history__button,
  .ranch-experience__button,
  .ranch-map__button {
    margin-top: 22px;
    font-size: 13px;
    letter-spacing: 1px;
    min-height: 40px;
    padding: 10px 16px;
  }

  .ranch-story__video-logo {
    width: 140px;
    height: 150px;
  }

  .ranch-story__video-play {
    font-size: 14px;
    gap: 4px;
  }

  .ranch-story__video-band {
    padding: 26px 0 20px;
  }

  .ranch-story__video-band .container {
    display: flex;
    justify-content: center;
    padding: 0 12px;
  }

  .ranch-story__video-card {
    width: 100%;

    aspect-ratio: 16 / 14;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.45);
  }

  .ranch-story__video-card .section__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .ranch-story__video-content {
    gap: 14px;
    justify-content: center;
    padding-top: 8px;
  }

  .ranch-history__content-wrap .container {
    padding: 0 18px;
  }

  .ranch-history__content {
    padding: 34px 0 44px;
  }

  .ranch-experience {
    padding: 60px 0;
  }

  .ranch-gallery {
    padding-bottom: 60px;
  }

  .ranch-map {
    padding: 48px 0 24px;
  }

  .ranch-map__content {
    padding: 0 18px;
    margin-bottom: 20px;
  }

  .ranch-map .container {
    padding: 0 10px;
  }

  .ranch-map__icon {
    display: block;
    top: 115px;
    opacity: 0.95;
  }

  .ranch-map__icon--left {
    left: 18px;
    width: 100px;
    height: auto;
  }

  .ranch-map__icon--right {
    right: 18px;
    height: auto;
  }

  .ranch-map__media {
    margin-top: 10px;

    overflow: hidden;
  }

  .ranch-map__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 28% top;
    aspect-ratio: auto;
  }
}

@media only screen and (max-width: 639px) {
  .section__title,
  .ranch-map__title {
    font-size: 36px;
  }
    .ranch-map__icon {
        
        top: 132px;
        
    }
  .section__text {
    font-size: 17px;
  }

  .ranch-story__intro {
    padding: 52px 0 66px;
  }

  .ranch-history__media {
    min-height: 300px;
    padding: 60px 16px 0px;
  }

  .ranch-gallery__grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery__item {
    min-height: 150px;
    aspect-ratio: 14 / 17;
  }
}

@media only screen and (max-width: 539px) {
  .section__title,
  .ranch-map__title {
    font-size: 32px;
    margin-top: 20px;
  }

  .section__text {
    font-size: 16px;
  }

  .ranch-story__video-band {
    padding: 60px 0;
  }

  .ranch-history__content {
    padding: 28px 16px 36px;
  }

  .ranch-map {
    padding: 60px 0;
  }

  

  .ranch-map__icon--left {
    left: 12px;
  }

  .ranch-map__icon--right {
    right: 12px;

  }
}

@media only screen and (max-width: 413px) {
  .section__text {
    font-size: 14px;
  }

  .ranch-story__intro {
    padding: 46px 0 58px;
  }

  .ranch-story__button,
  .ranch-history__button,
  .ranch-experience__button,
  .ranch-map__button {
    font-size: 12px;
    min-height: 36px;
    padding: 9px 14px;
  }

  .ranch-story__video-card {
    aspect-ratio: 13 / 15;
  }

  a.btn.btn-primary.ranch-map__button {
    margin-bottom: 32px;
  }

  .ranch-map {
    padding: 60px 0;
  }

  .ranch-map__icon {
    top: 145px;
  }

  .ranch-map__icon--left {
    left: 10px;
  }

  .ranch-map__icon--right {
    right: 10px;
    width: 100px;
  }

  .ranch-history__content-wrap .container,
  .ranch-map__content {
    padding-left: 0;
    padding-right: 0;
  }

  .ranch-video-popup {
    padding: 12px;
  }

  .ranch-video-popup__close {
    top: -34px;
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
}
