/* BookAyurvedDoctor.com — "Explore by health concern" carousel (plain CSS, no build step).
   Colours follow the site: forest #0B4F3F, ivory #F8F6EF, gold #C9A85D, ink #173D35. */

.hc,.hc *,.hc-chip,.hc-chip *{box-sizing:border-box}
.hc{margin-top:40px}
.hc[hidden]{display:none}
.hc-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}
.hc-eyebrow{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#8A6A1F;margin:0 0 6px}
.hc-heading{font-family:"Playfair Display",Georgia,serif;font-weight:700;color:#0B4F3F;font-size:24px;line-height:1.2;margin:0}
.hc-sub{font-size:13px;line-height:1.55;color:rgba(23,61,53,.75);margin:6px 0 0;max-width:520px}

/* arrows */
.hc-nav{display:none;gap:8px;flex-shrink:0}
.hc-arrow-btn{width:40px;height:40px;border-radius:50%;border:1px solid #E5EADF;background:#fff;color:#0B4F3F;font-size:18px;line-height:1;
  display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s,border-color .2s,opacity .2s}
.hc-arrow-btn:hover{background:#0B4F3F;border-color:#0B4F3F;color:#fff}
.hc-arrow-btn:disabled{opacity:.35;cursor:default;background:#fff;border-color:#E5EADF;color:#0B4F3F}
.hc-arrow-btn[hidden]{display:none}

/* track: only this box scrolls sideways, never the page */
.hc-track{display:flex;gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:2px;-webkit-overflow-scrolling:touch;
  scrollbar-width:none;padding:4px 2px 14px;margin:0 -2px;border-radius:20px}
.hc-track::-webkit-scrollbar{display:none}
.hc-track:focus-visible{outline:2px solid #0B4F3F;outline-offset:4px}

/* cards */
.hc-card{flex:0 0 82%;max-width:330px;scroll-snap-align:start;display:flex;flex-direction:column;background:#fff;border:1px solid #E5EADF;border-radius:20px;
  overflow:hidden;box-shadow:0 8px 24px -14px rgba(11,79,63,.28);transition:border-color .25s,box-shadow .25s}
.hc-card:hover{border-color:rgba(11,79,63,.32);box-shadow:0 14px 30px -16px rgba(11,79,63,.38)}
.hc-card.is-selected{border-color:#C9A85D;box-shadow:0 0 0 1px rgba(201,168,93,.6),0 14px 30px -16px rgba(11,79,63,.38)}

.hc-media{position:relative;display:block;width:100%;aspect-ratio:4/3;padding:0;border:0;margin:0;overflow:hidden;cursor:pointer;background:#EEF1EA}
.hc-panel{position:absolute;inset:0;background:
  radial-gradient(120% 90% at 15% 10%,rgba(201,168,93,.20),rgba(201,168,93,0) 60%),
  linear-gradient(145deg,#E9EEE6 0%,#F3F1E8 55%,#E3EAE2 100%)}
.hc-panel::after{content:"";position:absolute;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;
  border:1.5px solid rgba(11,79,63,.22);box-shadow:0 0 0 14px rgba(11,79,63,.05)}
.hc-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%;display:block;transition:transform .6s ease}
.hc-card:hover .hc-img{transform:scale(1.04)}
.hc-flag{position:absolute;left:12px;top:12px;padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.92);color:#7a6224;
  font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;border:1px solid rgba(201,168,93,.6)}

.hc-body{display:flex;flex-direction:column;flex:1;padding:16px 18px 18px}
.hc-title{font-family:"Playfair Display",Georgia,serif;font-weight:700;color:#0B4F3F;font-size:18px;line-height:1.25;margin:0}
.hc-text{font-size:13px;line-height:1.5;color:rgba(23,61,53,.8);margin:6px 0 0}
.hc-examples{font-size:11.5px;line-height:1.4;color:rgba(23,61,53,.6);margin:8px 0 0}
.hc-count{font-size:11px;font-weight:700;color:#0B4F3F;margin:10px 0 0}
.hc-count[hidden]{display:none}
.hc-cta{margin-top:auto;align-self:flex-start;display:inline-flex;align-items:center;gap:8px;padding:14px 0 0;border:0;background:none;cursor:pointer;
  font:inherit;font-size:13px;font-weight:700;color:#0B4F3F;text-align:left}
.hc-cta span:first-child{border-bottom:1px solid rgba(201,168,93,.9);padding-bottom:2px}
.hc-arrow{transition:transform .2s}
.hc-cta:hover .hc-arrow{transform:translateX(3px)}
.hc-cta:focus-visible,.hc-arrow-btn:focus-visible,.hc-dot:focus-visible,.hc-chip-clear:focus-visible{outline:2px solid #0B4F3F;outline-offset:3px;border-radius:6px}

/* last card: browse everything */
.hc-card-all{background:#0B4F3F;border-color:#0B4F3F;justify-content:center}
.hc-card-all .hc-body{justify-content:center;padding:28px 22px}
.hc-card-all .hc-title{color:#F8F6EF;font-size:22px}
.hc-card-all .hc-text{color:rgba(248,246,239,.82)}
.hc-card-all .hc-cta{color:#F8F6EF;margin-top:18px}
.hc-card-all .hc-eyebrow{margin-bottom:10px}
.hc-card-all .hc-cta:focus-visible{outline-color:#C9A85D}

/* dots */
.hc-dots{display:flex;justify-content:center;gap:4px;margin-top:6px}
.hc-dots[hidden]{display:none}
.hc-dot{width:24px;height:24px;padding:0;border:0;background:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.hc-dot::before{content:"";width:7px;height:7px;border-radius:999px;background:rgba(11,79,63,.22);transition:width .25s,background-color .25s}
.hc-dot.is-active::before{width:20px;background:#0B4F3F}
.hc-dots-many{gap:0;flex-wrap:wrap}
.hc-dots-many .hc-dot{width:17px}
.hc-dots-many .hc-dot::before{width:6px;height:6px}
.hc-dots-many .hc-dot.is-active::before{width:13px}
.hc-note{font-size:11.5px;line-height:1.5;color:rgba(23,61,53,.62);text-align:center;margin:10px auto 0;max-width:620px}

/* "showing doctors for …" strip above the results */
.hc-chip{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:20px;padding:12px 16px;border-radius:14px;background:#fff;border:1px solid rgba(201,168,93,.55)}
.hc-chip[hidden]{display:none}
.hc-chip-text{font-size:13px;color:#173D35;margin:0;flex:1;min-width:200px;line-height:1.45}
.hc-chip-text b{color:#0B4F3F}
.hc-chip-clear{border:0;background:none;padding:6px 0;cursor:pointer;font:inherit;font-size:12px;font-weight:700;color:#0B4F3F;text-decoration:underline}

@media (min-width:640px){
  .hc{margin-top:48px}
  .hc-heading{font-size:28px}
  .hc-nav{display:flex}
  .hc-card{flex-basis:calc((100% - 16px)/2);max-width:none}
}
@media (min-width:1000px){
  .hc-card{flex-basis:calc((100% - 32px)/3)}
}
@media (prefers-reduced-motion:reduce){
  .hc-img,.hc-arrow,.hc-card,.hc-dot::before{transition:none}
  .hc-card:hover .hc-img{transform:none}
}
/* v3.9: sub-types of a concern */
.hc-subs{flex:1 1 100%;display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}
.hc-subs[hidden]{display:none}
.hc-sub{min-height:36px;padding:0 14px;border-radius:999px;border:1px solid #D9E0D4;background:#F7FAF7;color:#173D35;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.hc-sub.is-on{background:#0B4F3F;border-color:#0B4F3F;color:#fff}
.hc-subnote{display:block;margin-top:4px;font-size:12.5px;color:#8A5A00}
