/* ============================================================
   PHC Country Hub Pages - shared stylesheet
   Loaded only on /public-holidays-in-{slug}/ pages.
   Uses the site's existing --phc-* design tokens.
   ============================================================ */

/* ============================================================
   Strip the post-template chrome so the hub layout owns the page
   ============================================================ */
body.phc-country-hub .phc-article{padding-top:0;padding-bottom:0;background-color:transparent}
body.phc-country-hub .phc-article-shell{width:100%;max-width:none;margin:0}
body.phc-country-hub .phc-article-header{display:none}
body.phc-country-hub .phc-article-body{
  padding:0;background-color:transparent;border:0;border-radius:0;
}
body.phc-country-hub .oxy-rich-text{max-width:none}

.hub-wrap{max-width:1180px;margin:0 auto;padding:0 24px}

/* ---------- HERO (full-bleed banner) ---------- */
.hub-hero{
  position:relative;
  width:100%;
  min-height:440px;display:flex;align-items:flex-end;
  background-color:#0f2942;overflow:hidden;
  background-image:linear-gradient(115deg,#1e40af 0%,#0e7490 48%,#155e75 100%);
}
.hub-hero__flag{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center;opacity:.22;
}
.hub-hero__scrim{
  position:absolute;inset:0;
  background-image:linear-gradient(180deg,rgba(15,23,42,.30) 0%,rgba(15,23,42,.60) 45%,rgba(15,23,42,.88) 100%);
}
.hub-hero__inner{position:relative;z-index:2;width:100%;padding:56px 0 44px}
.hub-crumbs{font-size:.8125rem;color:rgba(255,255,255,.78);margin-bottom:14px}
.hub-crumbs a{color:rgba(255,255,255,.92)}
.hub-crumbs a:hover{color:#fff;text-decoration:underline}
.hub-crumbs .sep{margin:0 8px;opacity:.55}
.hub-flagpill{
  display:inline-flex;align-items:center;gap:10px;margin-bottom:14px;
  background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);
  border-radius:9999px;padding:6px 16px 6px 12px;
  color:#fff;font-size:.8125rem;font-weight:600;letter-spacing:.02em;
}
.hub-flagpill .fi{font-size:1.15rem;line-height:1}
.hub-hero h1{
  color:#fff;font-size:clamp(2rem,5.2vw,3.35rem);font-weight:800;
  margin:0 0 14px;text-shadow:0 2px 18px rgba(0,0,0,.35);max-width:18ch;
  font-family:var(--phc-font-heading),sans-serif;line-height:1.2;letter-spacing:-.02em;
}
.hub-sub{
  color:rgba(255,255,255,.92);font-size:clamp(1rem,1.9vw,1.15rem);
  max-width:62ch;margin:0 0 22px;text-shadow:0 1px 10px rgba(0,0,0,.3);
}
.hub-meta{display:flex;flex-wrap:wrap;gap:10px}
.hub-chip{
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.24);
  color:#fff;border-radius:9999px;padding:5px 14px;font-size:.8125rem;
}
.hub-chip b{
  font-weight:600;opacity:.72;margin-right:6px;font-size:.75rem;
  text-transform:uppercase;letter-spacing:.06em;
}

/* ---------- YEAR BAR ---------- */
.hub-yearbar{
  position:relative;z-index:3;margin-top:-34px;
  background:#fff;border:1px solid var(--phc-line,#DCE6F1);
  border-radius:16px;box-shadow:0 4px 12px rgba(15,23,42,.08);
  padding:18px 22px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;
}
.hub-yearbar__label{
  font-family:var(--phc-font-heading),sans-serif;font-weight:700;font-size:.9375rem;
  color:var(--phc-ink,#0F172A);
}
.hub-years{display:flex;gap:10px;flex-wrap:wrap;flex:1}
.hub-ypill{
  display:inline-flex;align-items:center;gap:7px;padding:9px 18px;
  border:1px solid var(--phc-line,#DCE6F1);border-radius:9999px;
  background:#fff;color:var(--phc-ink,#0F172A);
  font-size:.9rem;font-weight:500;text-decoration:none;transition:all .16s ease;
}
.hub-ypill:hover{
  border-color:#3b82f6;color:#1e40af;transform:translateY(-1px);
  box-shadow:0 1px 2px rgba(15,23,42,.06);
}
.hub-ypill.is-current{
  background:#1e40af;border-color:#1e40af;color:#fff;
  box-shadow:0 4px 14px rgba(30,64,175,.3);
}
.hub-ypill.is-current:hover{color:#fff;background:#3b82f6}
.hub-ypill .yr{font-family:var(--phc-font-heading),sans-serif;font-weight:700}
.hub-yearbar__note{font-size:.8125rem;color:var(--phc-muted,#475569)}

/* ---------- SECTION SHELL ---------- */
.hub-section{padding:64px 0 0}
.hub-section:first-of-type{padding-top:48px}
.hub-sechead{margin-bottom:24px}
.hub-eyebrow{
  display:inline-block;font-size:.75rem;font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;color:#047857;background:#DFF7EC;
  padding:5px 12px;border-radius:9999px;margin-bottom:12px;
}
.hub-sechead h2{
  font-family:var(--phc-font-heading),sans-serif;
  font-size:clamp(1.5rem,3vw,2rem);font-weight:700;margin:0 0 10px;line-height:1.25;
}
.hub-sechead p{color:var(--phc-muted,#475569);max-width:70ch;margin:0;font-size:1.03rem}
.hub-card{
  background:#fff;border:1px solid var(--phc-line,#DCE6F1);
  border-radius:16px;box-shadow:0 1px 2px rgba(15,23,42,.06);
}

/* ---------- OVERVIEW + FACTS ---------- */
.hub-overview{display:grid;grid-template-columns:1.65fr 1fr;gap:28px;align-items:start}
.hub-prose p{color:#334155;margin:0 0 1.05em}
.hub-prose p:last-child{margin-bottom:0}
.hub-prose strong{color:var(--phc-ink,#0F172A);font-weight:600}
.hub-facts{padding:24px}
.hub-facts h3{
  font-family:var(--phc-font-heading),sans-serif;font-size:1.05rem;
  margin:0 0 16px;padding-bottom:12px;border-bottom:1px solid var(--phc-line,#DCE6F1);
}
.hub-facts dl{margin:0}
.hub-fact{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px dashed var(--phc-line,#DCE6F1);font-size:.9rem}
.hub-fact:last-child{border-bottom:0}
.hub-fact dt{color:var(--phc-muted,#475569);margin:0;flex-shrink:0}
.hub-fact dd{margin:0;font-weight:600;text-align:right;color:var(--phc-ink,#0F172A)}

/* ---------- HOLIDAY TABLE ---------- */
.hub-tablewrap{overflow-x:auto;border-radius:16px;border:1px solid var(--phc-line,#DCE6F1);background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.06)}
.hub-table{width:100%;border-collapse:collapse;font-size:.9375rem;min-width:560px}
.hub-table thead th{
  text-align:left;font-family:var(--phc-font-heading),sans-serif;font-size:.8125rem;
  font-weight:700;text-transform:uppercase;letter-spacing:.06em;
  color:var(--phc-muted,#475569);background:#EEF6FF;
  padding:14px 18px;border-bottom:1px solid var(--phc-line,#DCE6F1);white-space:nowrap;
}
.hub-table td{padding:14px 18px;border-bottom:1px solid var(--phc-line,#DCE6F1);vertical-align:middle}
.hub-table tbody tr:last-child td{border-bottom:0}
.hub-table tbody tr:hover{background:#FAFCFF}
.hub-date{font-weight:600;white-space:nowrap}
.hub-dow{color:var(--phc-muted,#475569);font-size:.8125rem;margin-left:6px;font-weight:400}
.hub-cap{font-size:.8125rem;color:var(--phc-muted,#475569);margin:12px 0 0}
.hub-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px;align-items:center}
.hub-btn{
  display:inline-flex;align-items:center;gap:8px;padding:11px 22px;border-radius:10px;
  font-weight:600;font-size:.9375rem;text-decoration:none;transition:all .16s ease;
}
.hub-btn--primary{background:#1e40af;color:#fff;box-shadow:0 4px 14px rgba(30,64,175,.25)}
.hub-btn--primary:hover{background:#3b82f6;color:#fff;transform:translateY(-1px)}
.hub-btn--ghost{background:#fff;color:#1e40af;border:1px solid var(--phc-line,#DCE6F1)}
.hub-btn--ghost:hover{border-color:#3b82f6;color:#1e40af;background:#EEF6FF}
.hub-callout{
  display:flex;gap:14px;padding:16px 20px;border-radius:10px;
  background:#FFFBEB;border:1px solid #FDE68A;margin-top:22px;font-size:.9375rem;color:#78350F;
}
.hub-callout .ci{flex-shrink:0;line-height:1.5}

/* ---------- TILE CARDS ---------- */
.hub-grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.hub-tile{overflow:hidden;display:flex;flex-direction:column;transition:transform .18s ease,box-shadow .18s ease}
.hub-tile:hover{transform:translateY(-3px);box-shadow:0 12px 32px rgba(15,23,42,.12)}
.hub-tile__body{padding:18px 20px 20px;flex:1;display:flex;flex-direction:column}
.hub-tile__body h3{
  font-family:var(--phc-font-heading),sans-serif;font-size:1.06rem;margin:0 0 8px;
}
.hub-tile__body p{color:var(--phc-muted,#475569);font-size:.9rem;margin:0 0 14px;flex:1}
.hub-tile__foot{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  font-size:.8125rem;padding-top:12px;border-top:1px solid var(--phc-line,#DCE6F1);
}
.hub-tile__foot .k{color:var(--phc-muted,#475569)}
.hub-tile__foot .v{font-weight:600;color:var(--phc-ink,#0F172A)}

/* ---------- CULTURE / FOOD / TRANSPORT ---------- */
.hub-split{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}
.hub-feats{list-style:none;margin:0;padding:0}
.hub-feats li{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid var(--phc-line,#DCE6F1)}
.hub-feats li:last-child{border-bottom:0}
.hub-fico{
  flex-shrink:0;width:42px;height:42px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;font-size:1.2rem;
  background:#DFF7EC;color:#047857;
}
.hub-fico--warm{background:#FEF3C7;color:#B45309}
.hub-fico--blue{background:#DBEAFE;color:#1E40AF}
.hub-ftx h4{font-family:var(--phc-font-heading),sans-serif;margin:0 0 4px;font-size:1rem}
.hub-ftx p{margin:0;color:var(--phc-muted,#475569);font-size:.9rem}
.hub-panel{padding:26px}
.hub-panel h3{font-family:var(--phc-font-heading),sans-serif;font-size:1.15rem;margin:0 0 16px}
.hub-chips{display:flex;flex-wrap:wrap;gap:9px;margin-top:6px}
.hub-chip2{
  background:#EEF6FF;border:1px solid var(--phc-line,#DCE6F1);
  border-radius:9999px;padding:6px 14px;font-size:.85rem;color:#334155;
}
.hub-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:4px}
.hub-stat{background:#F8FAFC;border:1px solid var(--phc-line,#DCE6F1);border-radius:10px;padding:16px}
.hub-stat .n{font-family:var(--phc-font-heading),sans-serif;font-size:1.4rem;font-weight:800;color:#1e40af;line-height:1.1}
.hub-stat .l{font-size:.8125rem;color:var(--phc-muted,#475569);margin-top:4px}

/* ---------- TIPS ---------- */
.hub-tips{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.hub-tip{padding:20px;display:flex;gap:14px}
.hub-tip .ti{font-size:1.3rem;flex-shrink:0;line-height:1.3}
.hub-tip h4{font-family:var(--phc-font-heading),sans-serif;margin:0 0 6px;font-size:.98rem}
.hub-tip p{margin:0;font-size:.875rem;color:var(--phc-muted,#475569)}

/* ---------- FAQ ---------- */
.hub-faq{border:1px solid var(--phc-line,#DCE6F1);border-radius:16px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.06);overflow:hidden}
.hub-faq details{border-bottom:1px solid var(--phc-line,#DCE6F1)}
.hub-faq details:last-child{border-bottom:0}
.hub-faq summary{
  cursor:pointer;padding:18px 22px;font-weight:600;font-size:1rem;
  font-family:var(--phc-font-heading),sans-serif;list-style:none;
  display:flex;justify-content:space-between;gap:16px;align-items:center;
}
.hub-faq summary::-webkit-details-marker{display:none}
.hub-faq summary::after{content:"+";font-size:1.4rem;font-weight:400;color:#1e40af;line-height:1;flex-shrink:0}
.hub-faq details[open] summary::after{content:"\2212"}
.hub-faq details[open] summary{background:#EEF6FF}
.hub-faq .a{padding:0 22px 20px;color:var(--phc-muted,#475569);font-size:.9375rem;max-width:80ch}
.hub-faq .a p{margin:0 0 .8em}
.hub-faq .a p:last-child{margin:0}

/* ---------- RELATED COUNTRIES ---------- */
.hub-rel{display:grid;grid-template-columns:repeat(auto-fill,minmax(178px,1fr));gap:12px}
.hub-rel a{
  display:flex;align-items:center;gap:10px;padding:12px 16px;
  background:#fff;border:1px solid var(--phc-line,#DCE6F1);
  border-radius:10px;font-size:.9rem;font-weight:500;
  color:var(--phc-ink,#0F172A);text-decoration:none;transition:all .16s ease;
}
.hub-rel a:hover{
  border-color:#3b82f6;background:#EEF6FF;color:#1e40af;
  transform:translateY(-2px);box-shadow:0 1px 2px rgba(15,23,42,.06);
}
.hub-rel .fi{font-size:1.25rem;line-height:1;flex-shrink:0}
.hub-rel .nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ---------- RESPONSIVE ---------- */
@media (max-width:1023px){
  .hub-hero{min-height:400px}
  .hub-overview,.hub-split{grid-template-columns:1fr}
  .hub-grid3{grid-template-columns:repeat(2,1fr)}
  .hub-tips{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:639px){
  .hub-wrap{padding:0 18px}
  .hub-hero{min-height:360px}
  .hub-hero__inner{padding:40px 0 34px}
  .hub-grid3,.hub-tips,.hub-stats{grid-template-columns:1fr}
  .hub-yearbar{margin-top:-24px;padding:16px}
  .hub-section{padding-top:48px}
}
