/* =========================================================
   EXPLORE PALGHAR
   PLACES LISTING PAGE
   ========================================================= */


/* =========================================================
   PAGE VARIABLES / FALLBACKS
   ========================================================= */

.places-page{
  background:var(--off-white);
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.places-breadcrumb-wrap{
  background:var(--cream);
  border-bottom:1px solid rgba(32,37,34,.07);
}

.places-breadcrumb{
  min-height:48px;
  display:flex;
  align-items:center;
  gap:9px;
  white-space:nowrap;
  overflow:hidden;
  color:var(--gray);
  font-size:.78rem;
}

.places-breadcrumb a{
  color:var(--gray);
}

.places-breadcrumb a:hover{
  color:var(--green);
}

.places-breadcrumb span:last-child{
  overflow:hidden;
  text-overflow:ellipsis;
}


/* =========================================================
   HERO
   ========================================================= */

.places-hero{
  background:
    linear-gradient(
      120deg,
      rgba(22,59,45,.98),
      rgba(18,35,28,.96)
    );

  color:var(--off-white);

  padding:
    clamp(70px,9vw,125px)
    0
    clamp(65px,8vw,105px);
}

.places-hero-inner{
  max-width:900px;
}

.places-hero .eyebrow{
  color:var(--gold);
}

.places-hero h1{
  color:var(--off-white);
  font-size:clamp(2.5rem,6vw,4.7rem);
  line-height:1.04;
  max-width:800px;
  margin:12px 0 20px;
}

.places-hero-lede{
  max-width:720px;
  color:rgba(255,253,249,.82);
  font-size:1.08rem;
  line-height:1.8;
}


/* =========================================================
   DIRECTORY
   ========================================================= */

.places-directory{
  padding:var(--space-2xl) 0;
}

.places-directory-heading{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,.65fr);
  gap:var(--space-xl);
  align-items:end;
  margin-bottom:var(--space-xl);
}

.places-directory-heading h2{
  margin-top:8px;
  font-size:clamp(2rem,3.5vw,3rem);
}

.places-directory-heading>p{
  color:var(--gray);
  line-height:1.75;
  max-width:55ch;
  justify-self:end;
}


/* =========================================================
   FILTER TOGGLE
   ========================================================= */

.places-filter-toggle{
  display:none;

  width:100%;

  border:1px solid rgba(32,37,34,.12);
  background:var(--cream);
  color:var(--green-dark);

  border-radius:var(--radius-md);

  padding:14px 17px;

  font:inherit;
  font-size:.86rem;
  font-weight:700;

  cursor:pointer;

  align-items:center;
  justify-content:center;
  gap:9px;
}

.places-filter-toggle:hover{
  background:var(--sand);
}


/* =========================================================
   FILTER PANEL
   ========================================================= */

.places-filter-panel{
  display:flex;
  align-items:flex-start;
  gap:30px;

  padding:20px 22px;

  background:var(--cream);

  border:1px solid rgba(32,37,34,.08);

  border-radius:var(--radius-lg);

  margin-bottom:var(--space-lg);

  box-shadow:var(--shadow-sm);
}

.places-filter-header{
  display:none;
}

.filter-group{
  flex:1;
  min-width:0;
}

.filter-label{
  display:block;

  color:var(--green-dark);

  font-size:.72rem;
  font-weight:700;

  letter-spacing:.08em;
  text-transform:uppercase;

  margin-bottom:11px;
}

.filter-options{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.place-filter{
  border:1px solid rgba(32,37,34,.12);

  background:var(--off-white);

  color:var(--gray);

  border-radius:50px;

  padding:8px 13px;

  font:inherit;
  font-size:.76rem;
  font-weight:600;

  cursor:pointer;

  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.place-filter:hover{
  color:var(--green);
  border-color:rgba(22,59,45,.25);
  transform:translateY(-1px);
}

.place-filter.is-active{
  background:var(--green-dark);
  border-color:var(--green-dark);
  color:var(--off-white);
}


/* =========================================================
   RESET
   ========================================================= */

.places-reset{
  border:0;
  background:transparent;

  color:var(--terracotta);

  font:inherit;
  font-size:.76rem;
  font-weight:700;

  cursor:pointer;

  white-space:nowrap;
}

.places-reset:hover{
  text-decoration:underline;
}


/* =========================================================
   RESULTS BAR
   ========================================================= */

.places-results-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;

  margin-bottom:18px;

  color:var(--gray);

  font-size:.82rem;
}

.places-results-bar strong{
  color:var(--green-dark);
}


/* =========================================================
   PLACES GRID
   ========================================================= */

/*
   DESKTOP
   4 cards per row
*/

.places-grid{
  display:grid;

  grid-template-columns:
    repeat(4,minmax(0,1fr));

  gap:18px;
}


/* =========================================================
   PLACE CARD
   ========================================================= */

.place-card{
  min-width:0;

  background:var(--off-white);

  border:1px solid rgba(32,37,34,.08);

  border-radius:var(--radius-lg);

  overflow:hidden;

  box-shadow:var(--shadow-sm);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.place-card:hover{
  transform:translateY(-5px);

  box-shadow:var(--shadow-md);

  border-color:rgba(22,59,45,.14);
}

.place-card-content{
  padding:25px 22px 23px;

  display:flex;
  flex-direction:column;

  min-height:315px;
}

.place-card-category{
  display:inline-flex;

  align-self:flex-start;

  color:var(--terracotta);

  font-size:.66rem;
  font-weight:800;

  letter-spacing:.1em;
  text-transform:uppercase;

  margin-bottom:10px;
}

.place-card h2{
  color:var(--green-dark);

  font-size:clamp(1.2rem,1.6vw,1.45rem);

  line-height:1.2;

  margin:0 0 11px;
}

.place-card p{
  color:var(--gray);

  font-size:.84rem;

  line-height:1.7;

  margin:0;

  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.place-card-meta{
  display:flex;
  flex-wrap:wrap;
  gap:7px;

  margin-top:auto;
  padding-top:20px;
  margin-bottom:16px;

  color:#737b75;

  font-size:.7rem;
}

.place-card-meta span{
  padding:5px 8px;

  background:var(--cream);

  border-radius:4px;
}

.place-card .text-link{
  display:inline-flex;

  align-items:center;
  gap:6px;

  color:var(--green);

  font-size:.8rem;
  font-weight:700;

  text-decoration:none;
}

.place-card .text-link:hover{
  color:var(--terracotta);
}

.place-card .arrow{
  transition:transform .2s ease;
}

.place-card:hover .arrow{
  transform:translateX(4px);
}


/* =========================================================
   HIDDEN CARDS
   ========================================================= */

.place-card[hidden]{
  display:none;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.places-empty{
  text-align:center;

  padding:
    65px
    25px;

  background:var(--cream);

  border-radius:var(--radius-lg);

  margin-top:20px;
}

.places-empty-icon{
  width:46px;
  height:46px;

  display:flex;
  align-items:center;
  justify-content:center;

  margin:0 auto 15px;

  border-radius:50%;

  background:var(--sand);

  color:var(--terracotta);

  font-size:1.3rem;
  font-weight:700;
}

.places-empty h2{
  color:var(--green-dark);
  margin-bottom:8px;
}

.places-empty p{
  color:var(--gray);
  max-width:480px;
  margin:0 auto 20px;
  line-height:1.7;
}

.places-empty[hidden]{
  display:none;
}


/* =========================================================
   SEO CONTENT
   ========================================================= */

.places-seo-content{
  padding:var(--space-2xl) 0;

  background:var(--cream);

  border-top:1px solid rgba(32,37,34,.06);
}

/* .places-seo-inner{
  max-width:850px;
} */


/* above is giving width error so below is fixed code for it */ 
.places-seo-inner{
  max-width: 100%;
}

.places-seo-inner h2{
  font-size:clamp(1.9rem,3vw,2.6rem);
  margin:9px 0 20px;
}

.places-seo-inner p{
  color:var(--gray);
  line-height:1.85;
  margin-bottom:var(--space-md);
}


/* =========================================================
   CTA
   ========================================================= */

.places-cta{
  padding:var(--space-2xl) 0;
}

.places-cta-inner{
  background:
    linear-gradient(
      120deg,
      var(--green-dark),
      var(--green)
    );

  color:var(--off-white);

  border-radius:var(--radius-lg);

  padding:
    clamp(40px,6vw,75px)
    clamp(25px,6vw,75px);

  text-align:center;
}

.places-cta-inner .eyebrow{
  color:var(--gold);
}

.places-cta-inner h2{
  color:var(--off-white);
  font-size:clamp(2rem,4vw,3rem);
  margin:10px 0 13px;
}

.places-cta-inner>p:not(.eyebrow){
  max-width:620px;
  margin:0 auto;

  color:rgba(255,253,249,.78);

  line-height:1.75;
}

.places-cta-actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;

  margin-top:25px;
}


/* =========================================================
   MOBILE FILTER OVERLAY
   ========================================================= */

.places-filter-overlay{
  display:none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:1100px){

  /*
     3 cards on medium desktop/tablet
  */

  .places-grid{
    grid-template-columns:
      repeat(3,minmax(0,1fr));
  }

  .places-filter-panel{
    gap:20px;
  }

}


/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:850px){

  .places-directory-heading{
    grid-template-columns:1fr;
    gap:12px;
  }

  .places-directory-heading>p{
    justify-self:start;
  }


  /*
     2 cards per row
  */

  .places-grid{
    grid-template-columns:
      repeat(2,minmax(0,1fr));

    gap:15px;
  }


  /*
     Turn filters into mobile drawer
  */

  .places-filter-toggle{
    display:flex;
    margin-bottom:15px;
  }

  .places-filter-panel{

    position:fixed;

    top:0;
    left:0;

    width:min(360px,88vw);

    height:100vh;

    z-index:1001;

    margin:0;

    border-radius:0;

    overflow-y:auto;

    padding:22px;

    display:flex;

    flex-direction:column;

    align-items:stretch;

    gap:25px;

    background:var(--off-white);

    transform:translateX(-105%);

    transition:transform .3s ease;

    box-shadow:var(--shadow-md);
  }

  .places-filter-panel.is-open{
    transform:translateX(0);
  }

  .places-filter-header{
    display:flex;

    align-items:flex-start;
    justify-content:space-between;

    padding-bottom:18px;

    border-bottom:1px solid rgba(32,37,34,.09);
  }

  .filter-eyebrow{
    color:var(--terracotta);

    font-size:.68rem;
    font-weight:700;

    text-transform:uppercase;
    letter-spacing:.08em;

    margin:0 0 4px;
  }

  .places-filter-header h2{
    color:var(--green-dark);
    font-size:1.6rem;
    margin:0;
  }

  .places-filter-close{
    border:0;

    background:var(--cream);

    color:var(--green-dark);

    width:38px;
    height:38px;

    border-radius:50%;

    font-size:1.4rem;

    cursor:pointer;
  }

  .places-filter-overlay{
    position:fixed;

    inset:0;

    z-index:1000;

    background:rgba(8,20,16,.48);

    backdrop-filter:blur(3px);
  }

  .places-filter-overlay.is-visible{
    display:block;
  }

  body.filter-open{
    overflow:hidden;
  }

  .desktop-reset{
    display:none;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:560px){

  .places-breadcrumb{
    min-height:43px;
    font-size:.7rem;
  }

  .places-hero{
    padding:
      58px
      0
      58px;
  }

  .places-hero h1{
    font-size:clamp(2.25rem,11vw,3.2rem);
  }

  .places-hero-lede{
    font-size:.95rem;
    line-height:1.7;
  }


  .places-directory{
    padding:55px 0;
  }

  .places-directory-heading h2{
    font-size:2rem;
  }


  /*
     STILL 2 CARDS ON MOBILE
  */

  .places-grid{
    grid-template-columns:
      repeat(2,minmax(0,1fr));

    gap:10px;
  }

  .place-card-content{
    padding:17px 14px 16px;
    min-height:300px;
  }

  .place-card-category{
    font-size:.56rem;
    letter-spacing:.07em;
  }

  .place-card h2{
    font-size:1rem;
    line-height:1.25;
  }

  .place-card p{
    font-size:.72rem;
    line-height:1.55;

    -webkit-line-clamp:5;
  }

  .place-card-meta{
    padding-top:14px;
    margin-bottom:12px;

    font-size:.58rem;
  }

  .place-card-meta span{
    padding:4px 5px;
  }

  .place-card .text-link{
    font-size:.68rem;
  }


  .places-results-bar{
    font-size:.74rem;
  }


  .places-seo-content{
    padding:55px 0;
  }


  .places-cta{
    padding:45px 0;
  }

  .places-cta-inner{
    border-radius:var(--radius-md);
    padding:42px 20px;
  }

  .places-cta-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .places-cta-actions .btn{
    width:100%;
    justify-content:center;
  }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media(max-width:380px){

  .places-grid{
    gap:8px;
  }

  .place-card-content{
    padding:14px 11px;
  }

  .place-card h2{
    font-size:.92rem;
  }

  .place-card p{
    font-size:.67rem;
  }

  .place-card-meta{
    display:none;
  }

  .place-card .text-link{
    margin-top:auto;
  }

}