/* Pearl post layout – itineraries + blogs (single posts only) */
.pnh-post-body{--pnh-teal:#002C35;--pnh-orange:#FD9E12;--pnh-beige:#F7F5EF;--pnh-sand:#F2EEE5;--pnh-line:#ECE7DC;--pnh-ink:#1D2B2F;--pnh-muted:#55605F;--pnh-brown:#8A5A0B;
  font-family:'Libre Franklin',sans-serif;color:var(--pnh-ink);display:flex;flex-direction:column;gap:44px}
.pnh-post-body>*{margin-top:0;margin-bottom:0}
.pnh-post-body .pnh-dup-title{display:none}
.pnh-post-body p{font-size:17px;line-height:1.75;margin:0 0 14px}
.pnh-post-body p:last-child{margin-bottom:0}
.pnh-post-body a{color:var(--pnh-teal);text-decoration-color:var(--pnh-orange);text-underline-offset:3px}
.pnh-post-body a:hover{color:var(--pnh-brown)}
.pnh-post-body .pnh-lead{font-size:19px;line-height:1.65;font-weight:500}
.pnh-eyebrow{display:block;font-size:13px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;color:var(--pnh-brown);margin-bottom:8px}
.pnh-post-body .pnh-h2{margin:0 0 16px;font-size:30px;line-height:1.2;font-weight:700;color:var(--pnh-teal)}
.pnh-post-body .pnh-h3{margin:0 0 12px;font-size:22px;line-height:1.3;font-weight:700;color:var(--pnh-teal)}

/* Section headings with the orange bar */
.pnh-post-body .pnh-bar{margin:0 0 16px;border-left:4px solid var(--pnh-orange);padding:2px 0 2px 16px;font-size:24px;line-height:1.3;font-weight:700;color:var(--pnh-teal)}
.pnh-post-body h3.pnh-bar{font-size:22px}
.pnh-post-body h4.pnh-bar{font-size:19px}
.pnh-post-body [id]{scroll-margin-top:110px}

/* Lists */
.pnh-post-body ul.pnh-ticks,.pnh-post-body ul.pnh-crosses{list-style:none;margin:0 0 14px;padding:18px 22px;background:#fff;border-radius:16px;display:flex;flex-direction:column;gap:10px}
.pnh-post-body ul.pnh-ticks li,.pnh-post-body ul.pnh-crosses li{position:relative;padding-left:36px;font-size:16px;line-height:1.55;margin:0}
.pnh-post-body ul.pnh-ticks li::before,.pnh-post-body ul.pnh-crosses li::before{content:"";position:absolute;left:0;top:0;width:24px;height:24px;border-radius:999px;background:#FFF3DF center/13px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B36F06' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")}
.pnh-post-body ul.pnh-crosses li::before{background-color:#F2EEE5;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355605F' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E")}

/* Images */
.pnh-post-body figure,.pnh-post-body .wp-caption{margin:6px 0 16px;max-width:100%!important}
.pnh-post-body figure img,.pnh-post-body .wp-caption img,.pnh-post-body p>img{border-radius:18px;box-shadow:0 14px 34px rgba(0,44,53,.14);height:auto}
.pnh-post-body figcaption,.pnh-post-body .wp-caption-text{font-size:14px;color:var(--pnh-muted);font-style:italic;padding:8px 4px 0;text-align:left}

/* Contents box */
.pnh-toc{background:#fff;border-radius:18px;box-shadow:0 10px 30px rgba(0,44,53,.07);padding:24px 26px}
.pnh-post-body .pnh-toc-title{margin:0 0 12px;font-size:13px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;color:var(--pnh-brown)}
.pnh-toc ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 28px}
.pnh-toc li{position:relative;padding-left:15px;margin:0;font-size:15px;line-height:1.45}
.pnh-toc li::before{content:"";position:absolute;left:0;top:3px;width:3px;height:15px;border-radius:2px;background:var(--pnh-orange)}
.pnh-toc a{text-decoration:none;font-weight:600}

/* Trip at a glance */
.pnh-glance{background:#fff;border-radius:18px;box-shadow:0 10px 30px rgba(0,44,53,.07);padding:8px;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
.pnh-glance-cell{padding:16px 20px;display:flex;flex-direction:column;gap:6px}
.pnh-glance-cell+.pnh-glance-cell{border-left:1px solid var(--pnh-line)}
.pnh-glance-k{font-size:12px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:var(--pnh-brown)}
.pnh-glance-v{font-size:19px;font-weight:700;color:var(--pnh-teal)}
.pnh-glance-v a{text-decoration:none}

/* Day-by-day */
.pnh-sec-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:14px 16px;margin-bottom:6px}
.pnh-sec-top .pnh-eyebrow{flex-basis:100%;margin-bottom:-6px}
.pnh-sec-top .pnh-h2{margin:0}
.pnh-expand{font-family:inherit;font-size:14px;font-weight:700;color:var(--pnh-teal);background:transparent;border:1.5px solid var(--pnh-teal);border-radius:999px;height:42px;padding:0 18px;cursor:pointer}
.pnh-expand:hover{background:var(--pnh-teal);color:#fff}
.pnh-days{list-style:none;margin:18px 0 0;padding:0}
.pnh-day{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr);gap:0 18px;padding-bottom:14px;margin:0}
.pnh-day::before{content:"";position:absolute;left:31px;top:46px;bottom:0;width:2px;background:#DCD5C6}
.pnh-day:last-child::before{display:none}
.pnh-day-num{justify-self:center;width:44px;height:44px;border-radius:999px;background:var(--pnh-teal);color:#fff;font-weight:800;font-size:15px;display:inline-flex;align-items:center;justify-content:center;position:relative;z-index:1}
.pnh-day:has(details[open]) .pnh-day-num{background:var(--pnh-orange);color:var(--pnh-teal)}
.pnh-day-card{background:#fff;border-radius:16px;border:1px solid transparent;box-shadow:0 4px 14px rgba(0,44,53,.05);transition:box-shadow .2s}
.pnh-day-card[open]{border-color:#F1D7A8;box-shadow:0 10px 28px rgba(0,44,53,.10)}
.pnh-day-card>summary{list-style:none;cursor:pointer;padding:16px 20px;display:flex;align-items:center;gap:14px}
.pnh-day-card>summary::-webkit-details-marker,.pnh-faq-item>summary::-webkit-details-marker{display:none}
.pnh-day-head{flex:1;display:flex;flex-direction:column;gap:4px}
.pnh-day-label{font-size:12px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;color:var(--pnh-brown)}
.pnh-post-body .pnh-day-title{margin:0;font-size:18px;line-height:1.3;font-weight:700;color:var(--pnh-teal)}
.pnh-chev{flex:none;width:36px;height:36px;border-radius:999px;background:var(--pnh-sand) center/18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002C35' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");transition:transform .2s}
.pnh-day-card[open] .pnh-chev{transform:rotate(180deg)}
.pnh-day-body{padding:0 20px 20px}
.pnh-day-body p{font-size:16px;line-height:1.7;color:#33403F}
.pnh-post-body .pnh-stay{margin:12px 0 0;background:var(--pnh-beige);border-radius:12px;padding:12px 14px 12px 42px;font-size:14px;position:relative;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002C35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20V9l9-6 9 6v11'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:14px center;background-size:18px}
.pnh-stay strong{color:var(--pnh-teal)}

/* Highlights */
.pnh-highlights ul.pnh-ticks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px;background:transparent;padding:0}

/* Included / not included */
.pnh-incl{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.pnh-incl.is-pair{grid-template-columns:repeat(2,minmax(0,1fr))}
.pnh-incl-card{background:#fff;border-radius:18px;padding:24px;box-shadow:0 8px 24px rgba(0,44,53,.06)}
.pnh-incl-card ul.pnh-ticks,.pnh-incl-card ul.pnh-crosses{padding:0;background:transparent;margin-top:8px}

/* FAQ */
.pnh-faq-list{background:#fff;border-radius:18px;box-shadow:0 8px 24px rgba(0,44,53,.06);overflow:hidden}
.pnh-faq-item+.pnh-faq-item{border-top:1px solid var(--pnh-line)}
.pnh-faq-item>summary{list-style:none;cursor:pointer;padding:18px 22px;display:flex;align-items:center;gap:14px;font-size:17px;font-weight:700;color:var(--pnh-teal)}
.pnh-faq-item>summary>span:first-child{flex:1}
.pnh-plus{flex:none;width:32px;height:32px;border-radius:999px;background:var(--pnh-sand) center/16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002C35' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");transition:transform .2s}
.pnh-faq-item[open] .pnh-plus{background-color:var(--pnh-orange);transform:rotate(45deg)}
.pnh-faq-a{padding:0 22px 20px}
.pnh-faq-a p{font-size:16px;line-height:1.7;color:#33403F}

/* Closing band */
.pnh-band{background:var(--pnh-teal);color:#fff;border-radius:22px;padding:40px;display:flex;flex-wrap:wrap;gap:28px;align-items:center;justify-content:space-between}
.pnh-band-text{flex:1 1 380px}
.pnh-band .pnh-eyebrow{color:var(--pnh-orange)}
.pnh-post-body .pnh-band .pnh-h2{color:#fff;font-size:28px;margin-bottom:10px}
.pnh-post-body .pnh-band p{color:rgba(255,255,255,.85);font-size:16px;line-height:1.65}
.pnh-post-body .pnh-band strong,.pnh-post-body .pnh-band b{color:#fff}
.pnh-post-body .pnh-band a:not(.pnh-btn){color:#fff}
.pnh-band-btns{display:flex;flex-wrap:wrap;gap:12px}
.pnh-post-body .pnh-btn{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 26px;border-radius:999px;font-weight:700;font-size:16px;text-decoration:none;transition:background .2s,color .2s}
.pnh-post-body .pnh-btn-plan{background:var(--pnh-orange);color:var(--pnh-teal)}
.pnh-post-body .pnh-btn-plan:hover{background:#fff;color:var(--pnh-teal)}
.pnh-post-body .pnh-btn-quote{border:1.5px solid rgba(255,255,255,.6);color:#fff}
.pnh-post-body .pnh-btn-quote:hover{background:var(--pnh-orange);border-color:var(--pnh-orange);color:var(--pnh-teal)}
/* The band already has the buttons, so hide the separate end-of-post buttons */
body:has(.pnh-band) .pnh-cta{display:none!important}

/* Mobile */
@media (max-width:767px){
  .pnh-post-body{gap:36px}
  .pnh-post-body .pnh-lead{font-size:18px}
  .pnh-post-body .pnh-h2{font-size:26px}
  .pnh-post-body .pnh-bar{font-size:21px;padding-left:14px}
  .pnh-glance{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr))}
  .pnh-glance-cell:last-child:nth-child(odd){grid-column:1/-1}
  .pnh-glance-cell{padding:14px}
  .pnh-glance-cell+.pnh-glance-cell{border-left:0}
  .pnh-glance-v{font-size:17px}
  .pnh-toc{padding:20px}
  .pnh-toc ol,.pnh-highlights ul.pnh-ticks,.pnh-incl.is-pair{grid-template-columns:minmax(0,1fr)}
  .pnh-day{grid-template-columns:40px minmax(0,1fr);gap:0 12px}
  .pnh-day::before{left:19px;top:38px}
  .pnh-day-num{width:36px;height:36px;font-size:14px}
  .pnh-day-card>summary{padding:14px}
  .pnh-day-body{padding:0 14px 16px}
  .pnh-band{padding:28px 20px}
  .pnh-post-body .pnh-band .pnh-h2{font-size:24px}
  .pnh-band-btns{width:100%}
  .pnh-post-body .pnh-btn{flex:1 1 100%}
  .pnh-faq-item>summary{padding:16px 18px;font-size:16px}
  .pnh-faq-a{padding:0 18px 18px}
}

/* Override theme heading spacing inside the layout (ID selectors beat theme/Customizer rules) */
#pnh-post h2,#pnh-post h3,#pnh-post h4{margin-top:0!important}
#pnh-post h3.pnh-day-title,#pnh-post .pnh-sec-top h2.pnh-h2{margin:0!important}
#pnh-post .pnh-eyebrow{color:#8A5A0B!important}
#pnh-post .pnh-band .pnh-eyebrow{color:#FD9E12!important}
#pnh-post .pnh-sec-top+.pnh-itin{margin-top:-26px}
@media (max-width:767px){#pnh-post p,#pnh-post li{text-align:left!important}}

/* Tables – desktop: teal header card */
#pnh-post .pnh-table{position:relative;margin:4px 0 18px;background:#fff;border-radius:18px;box-shadow:0 10px 30px rgba(0,44,53,.08);overflow:hidden}
#pnh-post .pnh-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
#pnh-post .pnh-table table{width:100%;margin:0;border:0;border-collapse:separate;border-spacing:0;font-size:15px;line-height:1.5;background:transparent}
#pnh-post .pnh-table thead th,#pnh-post .pnh-table thead td{background:#002C35;color:#fff;text-align:left;padding:16px 20px;font-size:13px;font-weight:700;letter-spacing:1px;text-transform:uppercase;border:0;vertical-align:bottom}
#pnh-post .pnh-table tbody td,#pnh-post .pnh-table tbody th{background:#fff;padding:14px 20px;border:0;border-top:1px solid #ECE7DC;text-align:left;vertical-align:top;color:#1D2B2F;font-weight:400}
#pnh-post .pnh-table tbody tr:first-child>*{border-top:0}
#pnh-post .pnh-table tbody tr:nth-child(even)>*{background:#FBF9F4}
#pnh-post .pnh-table tbody tr>:first-child{font-weight:700;color:#002C35}
#pnh-post .pnh-table td.pnh-price{font-weight:700;color:#8A5A0B}
#pnh-post .pnh-table-cap{font-size:14px;color:#55605F;font-style:italic;margin:-8px 4px 16px}

/* Tables – mobile: swipe, first column fixed */
@media (max-width:767px){
  #pnh-post .pnh-table{border-radius:16px}
  #pnh-post .pnh-table table{font-size:14px;line-height:1.45}
  #pnh-post .pnh-table thead th,#pnh-post .pnh-table thead td{padding:13px 14px;font-size:12px}
  #pnh-post .pnh-table tbody td,#pnh-post .pnh-table tbody th{padding:12px 14px}
  #pnh-post .pnh-cols-3 table,#pnh-post .pnh-cols-4 table,#pnh-post .pnh-cols-5 table,#pnh-post .pnh-cols-6 table{min-width:560px}
  #pnh-post .pnh-cols-3 tr>:not(:first-child),#pnh-post .pnh-cols-4 tr>:not(:first-child),#pnh-post .pnh-cols-5 tr>:not(:first-child),#pnh-post .pnh-cols-6 tr>:not(:first-child){min-width:180px}
  #pnh-post .pnh-table tr>:first-child{position:sticky;left:0;z-index:1;max-width:130px;box-shadow:2px 0 0 rgba(0,44,53,.06)}
  #pnh-post .pnh-table thead tr>:first-child{z-index:2}
  #pnh-post .pnh-table.is-scroll::after{content:"Swipe to see more \2192";display:block;padding:10px 14px;font-size:12px;color:#8A5A0B;font-weight:600;border-top:1px solid #ECE7DC}
}

/* Tighter spacing between loose paragraphs/lists that sit directly in the post (e.g. intro) */
#pnh-post>:is(p,ul,ol,figure,blockquote,.pnh-table){margin-bottom:0!important}
#pnh-post>:is(p,ul,ol,figure,blockquote,.pnh-table)+:is(p,ul,ol,figure,blockquote,.pnh-table){margin-top:-26px!important}
