/**
 * ZH Travel Calendar
 *
 * Home-page month hub, the month nav strip, and the "Where's hot" destination
 * cards. Colours come from the zh-design-tweaks custom properties, with literal
 * fallbacks so the section still renders if that stylesheet is not loaded.
 */

.zh-cal{padding:0 0 40px}
.zh-cal__head{margin-bottom:18px}
.zh-cal__head h3{font-family:"Montserrat",sans-serif;color:var(--zh-blue,#004661);font-weight:800;letter-spacing:-.01em;font-size:clamp(22px,3vw,28px);line-height:1.2;margin:0!important;padding:0!important}
.zh-cal__head h3::after{content:"";display:block;width:48px;height:3px;background:var(--zh-pink,#EC5A5B);margin-top:12px;border-radius:2px}
.zh-cal__sub{margin:12px 0 0;color:#4F5E71;font-size:15px;line-height:1.5;max-width:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:1180px){.zh-cal__sub{white-space:normal;font-size:14px}}
.zh-cal__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.zh-cal__card{position:relative;display:flex;flex-direction:column;border-radius:14px;overflow:hidden;background:#fff;box-shadow:var(--zh-shadow,0 6px 20px rgba(0,70,97,.08));text-decoration:none;transition:transform .18s ease,box-shadow .18s ease}
.zh-cal__card:hover,.zh-cal__card:focus{transform:translateY(-3px);box-shadow:var(--zh-shadow-lg,0 12px 32px rgba(0,70,97,.14));text-decoration:none}
.zh-cal__media{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--zh-cream,#F0EDE8)}
.zh-cal__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.zh-cal__card:hover .zh-cal__media img{transform:scale(1.04)}
.zh-cal__media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,51,74,0) 38%,rgba(0,51,74,.72) 100%)}
.zh-cal__num{position:absolute;top:12px;left:12px;z-index:2;background:var(--zh-pink,#EC5A5B);color:#fff;font-family:"Montserrat",sans-serif;font-weight:700;font-size:12px;letter-spacing:.04em;text-transform:uppercase;padding:5px 10px;border-radius:999px}
.zh-cal__month{position:absolute;left:16px;bottom:14px;z-index:2;color:#fff;font-family:"Montserrat",sans-serif;font-weight:800;font-size:clamp(20px,2.2vw,26px);line-height:1;letter-spacing:-.01em;text-shadow:0 1px 8px rgba(0,51,74,.4)}
.zh-cal__body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:8px;flex:1;align-items:flex-start}
.zh-cal__btn{display:inline-block;padding:9px 18px;border-radius:999px;background:var(--zh-pink,#EC5A5B);color:#fff;font-family:"Montserrat",sans-serif;font-weight:700;font-size:14px;line-height:1;letter-spacing:.01em;transition:background .18s ease}
.zh-cal__card:hover .zh-cal__btn,.zh-cal__card:focus .zh-cal__btn{background:var(--zh-blue,#004661)}
.zh-cal__kicker{color:var(--zh-blue,#004661);font-family:"Montserrat",sans-serif;font-weight:700;font-size:15px;line-height:1.3}
.zh-cal__meta{color:#4F5E71;font-size:13px;line-height:1.45;margin:0}
.zh-cal__cta{margin-top:auto;color:var(--zh-pink,#EC5A5B);font-family:"Montserrat",sans-serif;font-weight:700;font-size:13px;display:inline-flex;align-items:center;gap:6px}
.zh-cal__cta::after{content:"\\2192";transition:transform .18s ease}
.zh-cal__card:hover .zh-cal__cta::after{transform:translateX(3px)}
.zh-cal__all{display:inline-block;margin-top:22px;padding:10px 20px;border:1px solid var(--zh-pink,#EC5A5B);border-radius:999px;color:var(--zh-blue,#004661);font-family:"Montserrat",sans-serif;font-weight:700;font-size:14px;text-decoration:none}
.zh-cal__all:hover,.zh-cal__all:focus{background:var(--zh-pink,#EC5A5B);color:#fff;text-decoration:none}
@media (max-width:1024px){.zh-cal__grid{grid-template-columns:repeat(2,1fr);gap:16px}}
@media (max-width:560px){.zh-cal{padding:0 0 26px}.zh-cal__grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;margin:0 -15px;padding:2px 15px 12px}.zh-cal__card{flex:0 0 78%;scroll-snap-align:start}}
/* month-page strip */
.zh-cal--strip{padding:6px 0 26px;margin-top:-17px}
.zh-cal--strip .zh-cal__grid{grid-template-columns:repeat(4,1fr);gap:12px}
.zh-cal--strip .zh-cal__card{flex-direction:row;align-items:center;gap:12px;padding:10px 14px 10px 10px;border-radius:999px;box-shadow:none;border:1px solid var(--zh-line,#e6e2dc)}
.zh-cal--strip .zh-cal__card[aria-current="page"]{border-color:var(--zh-pink,#EC5A5B);background:#fff7f7}
.zh-cal--strip .zh-cal__media{width:44px;height:44px;flex:none;aspect-ratio:1;border-radius:50%}
.zh-cal--strip .zh-cal__media::after{display:none}
.zh-cal--strip .zh-cal__label{font-family:"Montserrat",sans-serif;font-weight:700;color:var(--zh-blue,#004661);font-size:15px}
@media (max-width:700px){.zh-cal--strip .zh-cal__grid{grid-template-columns:repeat(2,1fr)}}
/* month page climate tables */
/* theme sets .content-block to display:flex with flex:0 1 auto children, so a short block shrinks to its content */
.content-block.content-text-image>.content-text{flex:1 1 100%;width:100%;max-width:100%}
.zh-climate__note{color:#8b93a1;font-size:13px;margin:4px 0 0}
.zh-month-dests h3{font-family:"Montserrat",sans-serif;color:var(--zh-blue,#004661);font-weight:700;font-size:20px;margin-top:26px!important;margin-bottom:8px!important;padding-top:0!important}
.zh-month-dests h3 .zh-rank{color:var(--zh-pink,#EC5A5B);margin-right:8px}
.zh-empty{margin:18px 0 4px;padding:22px 24px;border:1px dashed var(--zh-line,#e6e2dc);border-radius:14px;background:var(--zh-cream,#F0EDE8);display:flex;flex-direction:column;gap:8px;align-items:flex-start;font-family:"Montserrat",sans-serif}
.zh-empty strong{color:var(--zh-blue,#004661);font-size:16px;font-weight:700}
.zh-empty span{color:#4F5E71;font-size:14.5px;line-height:1.5}
.zh-empty a{margin-top:6px;display:inline-block;padding:9px 18px;border-radius:999px;background:var(--zh-pink,#EC5A5B);color:#fff;font-weight:700;font-size:14px;text-decoration:none}
.zh-empty a:hover{background:var(--zh-blue,#004661);color:#fff;text-decoration:none}
/* Where's Hot destination cards */
.zh-hot{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:22px 0 8px}
.zh-hot--ranked{grid-template-columns:repeat(5,1fr);gap:14px}
.zh-hot--ranked .zh-hot__card{min-height:238px}
.zh-hot--ranked .zh-hot__body{min-height:238px;padding:15px}
.zh-hot--ranked .zh-hot__name{font-size:17px!important;min-height:0}
.zh-hot__rank{position:absolute;top:12px;left:12px;z-index:3;width:30px;height:30px;border-radius:50%;background:var(--zh-blue,#004661);color:#fff;font-family:"Montserrat",sans-serif;font-weight:800;font-size:12px;display:inline-flex;align-items:center;justify-content:center;letter-spacing:.02em}
.zh-hot--ranked .zh-hot__flag{top:12px;left:auto;right:12px;width:30px;height:30px;font-size:16px}
.zh-hot--special{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:14px}
.zh-hot--special .zh-hot__note{font-size:12px;line-height:1.35}
.zh-hot--special .zh-hot__body{padding:14px 13px}
.zh-hot--special .zh-hot__name{font-size:17px!important}
.zh-hot--special .zh-hot__row{font-size:12.5px;gap:6px;overflow:hidden}
.zh-hot--special .zh-hot__k{flex:none}
.zh-hot--special .zh-hot__v{min-width:0;overflow:hidden;text-overflow:ellipsis}
.zh-hot--special .zh-hot__flight{font-size:11.5px;padding:5px 10px}
.zh-hot__card{position:relative;display:block;border-radius:14px;overflow:hidden;min-height:258px;text-decoration:none;box-shadow:var(--zh-shadow,0 6px 20px rgba(0,70,97,.08));transition:transform .18s ease,box-shadow .18s ease}
.zh-hot__card:hover,.zh-hot__card:focus{transform:translateY(-3px);box-shadow:var(--zh-shadow-lg,0 12px 32px rgba(0,70,97,.14));text-decoration:none}
.zh-hot__card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s ease}
.zh-hot__card:hover>img{transform:scale(1.05)}
.zh-hot__card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,51,74,.28) 0%,rgba(0,51,74,.66) 40%,rgba(0,51,74,.94) 100%)}
.zh-hot__body{position:relative;z-index:2;min-height:258px;padding:18px;display:flex;flex-direction:column;justify-content:flex-end}
.zh-hot__flag{position:absolute;top:14px;left:14px;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.92);display:inline-flex;align-items:center;justify-content:center;font-size:18px;line-height:1}
.zh-hot__name{font-family:"Montserrat",sans-serif!important;font-weight:800!important;font-size:20px!important;line-height:1.2!important;color:#fff!important;margin:0 0 11px!important;padding:0!important;letter-spacing:-.01em;min-height:2.4em;display:flex;align-items:flex-end}
.zh-hot__stats{margin:0!important;padding:0;display:grid;gap:5px}
.zh-hot__row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-family:"Montserrat",sans-serif;font-size:13.5px;line-height:1.35}
.zh-hot__k{margin:0;color:rgba(255,255,255,.8);font-weight:500}
.zh-hot__v{margin:0;color:#fff;font-weight:700;white-space:nowrap}
.zh-hot__flight{margin-top:13px;align-self:flex-start;background:var(--zh-pink,#EC5A5B);color:#fff;border-radius:999px;padding:5px 12px;font-family:"Montserrat",sans-serif;font-size:12px;font-weight:700;letter-spacing:.01em}
@media (max-width:1200px){.zh-hot--ranked{grid-template-columns:repeat(3,1fr)}}
@media (max-width:1024px){.zh-hot{grid-template-columns:repeat(2,1fr);gap:14px}.zh-hot--ranked{grid-template-columns:repeat(2,1fr)}
.zh-hot--special{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin:22px -15px 8px;padding:2px 15px 14px}.zh-hot--special .zh-hot__card{flex:0 0 68%;scroll-snap-align:start}}
@media (max-width:560px){.zh-hot{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;margin:22px -15px 8px;padding:2px 15px 14px}.zh-hot__card{flex:0 0 76%;scroll-snap-align:start}}

/* --- Best places to visit: reel-style vertical cards ---------------------- */
/* Five across, at 5/7. --zh-reel-ratio is the one knob: 9/16 is true Reels,
   4/5 is Instagram portrait, 5/7 sits between them. The deal library has no
   vertical photography, so the sources are landscape and a taller frame means
   a tighter crop — 5/7 is about as far as these images stretch. */
.zh-reels{--zh-reel-ratio:5/7;display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin:22px 0 8px}
.zh-reel{position:relative;display:block;border-radius:16px;overflow:hidden;aspect-ratio:var(--zh-reel-ratio);text-decoration:none;box-shadow:var(--zh-shadow,0 6px 20px rgba(0,70,97,.08));transition:transform .18s ease,box-shadow .18s ease}
.zh-reel:hover,.zh-reel:focus{transform:translateY(-3px);box-shadow:var(--zh-shadow-lg,0 12px 32px rgba(0,70,97,.14));text-decoration:none}
.zh-reel img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block;transition:transform .45s ease}
.zh-reel:hover img{transform:scale(1.05)}
.zh-reel::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,51,74,.16) 0%,rgba(0,51,74,.28) 38%,rgba(0,51,74,.9) 100%)}
.zh-reel__no{position:absolute;top:10px;left:10px;z-index:2;width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.9);color:var(--zh-blue,#004661);font-family:"Montserrat",sans-serif;font-weight:800;font-size:12px;display:inline-flex;align-items:center;justify-content:center}
.zh-reel__body{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:16px 15px;display:flex;flex-direction:column;gap:6px}
.zh-reel__name{font-family:"Montserrat",sans-serif!important;font-weight:800!important;font-size:19px!important;line-height:1.15!important;color:#fff!important;margin:0!important;padding:0!important;letter-spacing:-.01em}
.zh-reel__facts{display:flex;flex-direction:column;gap:4px}
.zh-reel__fact{display:block;font-family:"Montserrat",sans-serif;font-weight:500;font-size:12.5px;line-height:1.35;color:rgba(255,255,255,.94);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-left:12px;position:relative}
.zh-reel__fact::before{content:"";position:absolute;left:0;top:.52em;width:5px;height:5px;border-radius:50%;background:var(--zh-pink,#EC5A5B)}
@media (max-width:1200px){.zh-reels{grid-template-columns:repeat(3,1fr)}}
@media (max-width:820px){.zh-reels{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.zh-reels{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:22px -15px 8px;padding:2px 15px 14px}.zh-reel{flex:0 0 58%;scroll-snap-align:start}}

/* --- City breaks (same card as Where's hot, plus an editorial line) ------- */
.zh-hot__note{margin-top:8px;font-family:"Montserrat",sans-serif;font-size:12.5px;line-height:1.4;color:rgba(255,255,255,.88)}
.zh-hot--city .zh-hot__card{min-height:286px}
.zh-hot--city .zh-hot__body{min-height:286px}

/* --- Related guides ------------------------------------------------------- */
.zh-related{margin:34px 0 8px}
.zh-related__title{font-family:"Montserrat",sans-serif!important;font-weight:800!important;color:var(--zh-blue,#004661)!important;font-size:clamp(22px,3vw,28px)!important;line-height:1.2!important;margin:0 0 16px!important;padding:0!important;letter-spacing:-.01em}
.zh-related__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.zh-related__card{display:flex;flex-direction:column;border:1px solid var(--zh-line,#e6e2dc);border-radius:14px;overflow:hidden;background:#fff;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.zh-related__card:hover,.zh-related__card:focus{transform:translateY(-3px);box-shadow:var(--zh-shadow,0 6px 20px rgba(0,70,97,.08));border-color:var(--zh-pink,#EC5A5B);text-decoration:none}
.zh-related__thumb{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--zh-cream,#F0EDE8)}
.zh-related__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.zh-related__text{display:flex;flex-direction:column;gap:6px;padding:14px 15px 16px}
.zh-related__kicker{font-family:"Montserrat",sans-serif;font-weight:700;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--zh-pink,#EC5A5B)}
.zh-related__name{font-family:"Montserrat",sans-serif;font-weight:700;font-size:15px;line-height:1.35;color:var(--zh-blue,#004661)}
@media (max-width:1024px){.zh-related__grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.zh-related__grid{grid-template-columns:1fr}}
.zh-related__thumb--empty{background:linear-gradient(135deg,var(--zh-cream,#F0EDE8) 0%,#e2ddd4 100%);position:relative}
.zh-related__thumb--empty::after{content:"";position:absolute;left:50%;top:50%;width:44px;height:32px;transform:translate(-50%,-50%);border-radius:22px 22px 20px 20px/26px 26px 16px 16px;background:var(--zh-pink,#EC5A5B);opacity:.22}


/* Tighter vertical rhythm between the month-page sections (halved on request).
   The theme forces a margin-top on every heading, so both ends need trimming:
   the heading's own margin, and the space the preceding block leaves behind.
   Card row -> next heading: the original 28px less 20%, i.e. 22px (8px grid
   margin + 14px block padding). Text -> next heading: the original 50px less
   10%, i.e. 45px (14px block padding + 31px on the closing paragraph). */
.content-block.content-text-image > .content-text > h2:first-child{margin-top:0!important}
/* A block that ends in prose needs a little more air before the next heading
   than one ending in a card row; the climate note is excluded because that
   section already has two lines of text sitting in the gap. */
.content-block.content-text-image > .content-text > p:last-child{margin-bottom:0}
.content-block.content-text-image > .content-text > p:last-child:not(.zh-climate__note){margin-bottom:31px}
.zh-climate__note{margin-bottom:0}
.content-block.content-text-image{margin-top:0;margin-bottom:0;padding-top:14px;padding-bottom:0}
