/* =========================================================
   TourMeAway — Partners page (GYG-style design system)
   Self-contained: header/drawer/footer + page-specific sections.
   ========================================================= */

:root{
  --tma-orange:#F37342;
  --tma-orange-dark:#d95c2c;
  --tma-pink:#F34269;
  --ink:#08243d;
  --navy:#0d2438;
  --navy-2:#12324c;
  --text:#3c4450;
  --muted:#6c7480;
  --line:#e4e7ea;
  --chip:#f2f3f5;
  --bg:#ffffff;
  --star:#F37342;
  --radius:14px;
  --shadow:0 6px 24px rgba(16,24,40,.10);
  --header-h:64px;
  --hdr-bg:#ffffff;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;padding-top:64px;
  font-family:"Figtree",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit}
img{max-width:100%;display:block}
h1,h2,h3,h4{color:var(--ink);margin:0;line-height:1.25;letter-spacing:-.01em}
button{font-family:inherit;cursor:pointer}
body.nav-open{overflow:hidden}
.wrap{max-width:1150px;margin:0 auto;padding:0 20px}

/* ============ HEADER / DRAWER (shared navigation.ejs partial) ============ */
.site-header{position:fixed;top:0;left:0;width:100%;background:var(--hdr-bg);z-index:1000;border-bottom:1px solid var(--line);transition:box-shadow .2s}
.site-header.scrolled{box-shadow:0 2px 14px rgba(16,24,40,.08)}
.hdr-main{max-width:1150px;margin:0 auto;padding:0 20px;height:var(--header-h);display:flex;align-items:center;gap:16px}
.hdr-logo{flex:0 0 auto;display:flex;align-items:center;text-decoration:none}
.hdr-logo img{height:40px;width:auto}
.hdr-logo .logo-fallback{font-weight:800;color:var(--tma-orange);font-size:21px;letter-spacing:-.02em;white-space:nowrap}
.hdr-utils{margin-left:auto;display:flex;align-items:center;gap:4px}
.hdr-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:var(--ink);position:relative;text-decoration:none;background:none;border:0}
.hdr-icon:hover{background:var(--chip)}
.hdr-icon i{font-size:19px}
.cart-badge{position:absolute;top:3px;right:3px;background:var(--tma-pink);color:#fff;border-radius:50%;min-width:18px;height:18px;padding:0 4px;display:flex;align-items:center;justify-content:center;font-size:10.5px;font-weight:800;border:2px solid #fff}
.hdr-burger{background:none;border:0;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:var(--ink);font-size:19px}
.hdr-burger:hover{background:var(--chip)}

.drawer{position:fixed;top:0;right:-320px;width:300px;max-width:86%;height:100vh;background:#fff;z-index:1200;box-shadow:-6px 0 24px rgba(0,0,0,.15);transition:right .28s ease;display:flex;flex-direction:column;padding:14px 0}
.drawer.open{right:0}
.drawer-close{align-self:flex-end;background:none;border:0;font-size:26px;color:var(--ink);padding:4px 20px;cursor:pointer}
.drawer nav{display:flex;flex-direction:column;padding:4px 0}
.drawer nav a{padding:14px 24px;font-size:16px;font-weight:600;color:var(--ink);text-decoration:none}
.drawer nav a:hover{background:var(--chip)}
.drawer-foot{margin-top:auto;padding:18px 24px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
.drawer-foot a{color:var(--tma-orange-dark);font-weight:700;text-decoration:none}
.drawer-overlay{position:fixed;inset:0;background:rgba(8,20,32,.45);z-index:1100;opacity:0;visibility:hidden;transition:.25s}
.drawer-overlay.open{opacity:1;visibility:visible}

/* ============ FOOTER (shared footer.ejs partial) ============ */
.site-footer{border-top:1px solid var(--line);padding:40px 0 30px}
.site-footer-inner{text-align:center}
.footer-brand{font-size:22px;font-weight:800;color:var(--tma-orange);letter-spacing:-.02em;margin-bottom:12px}
.footer-social{display:flex;gap:10px;margin-bottom:16px;justify-content:center}
.footer-social a{width:40px;height:40px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;color:var(--ink);font-size:16px;transition:.15s}
.footer-social a:hover{background:var(--chip);border-color:#d7dbe0}
.footer-meta{font-size:13.5px;color:var(--muted);line-height:1.8}
.footer-meta a{color:var(--tma-orange-dark);font-weight:600;text-decoration:none}
.footer-meta a:hover{text-decoration:underline}
.footer-top{display:flex;justify-content:space-between;align-items:flex-start;gap:40px;text-align:left;margin-bottom:28px;flex-wrap:wrap}
.footer-nav{display:flex;gap:48px}
.footer-nav-col h4{font-size:13px;font-weight:800;color:var(--ink);text-transform:uppercase;letter-spacing:.06em;margin-bottom:12px}
.footer-nav-col a{display:block;font-size:14px;color:var(--muted);text-decoration:none;margin-bottom:9px}
.footer-nav-col a:hover{color:var(--tma-orange-dark)}
@media (max-width:575px){
  .footer-top{flex-direction:column;align-items:center;text-align:center;gap:28px}
  .footer-nav{gap:32px}
}

/* ============ SECTION SHELL ============ */
.section-wrap{max-width:1150px;margin:0 auto;padding:52px 20px 12px}
.section-head{text-align:center;max-width:700px;margin:0 auto 34px}
.section-head h2{font-size:30px;margin-bottom:8px}
.section-head p{color:var(--muted);font-size:15.5px;margin:0}
@media (max-width:575px){
  .section-wrap{padding:38px 18px 8px}
  .section-head{margin-bottom:24px}
  .section-head h2{font-size:24px}
}

/* ============ PARTNER HERO ============ */
.partner-hero{position:relative;overflow:hidden;background:#0d2438}
.partner-hero img{width:100%;height:44vh;min-height:240px;max-height:400px;object-fit:cover;opacity:.75}
.partner-hero-copy{
  position:absolute;inset:0;display:flex;flex-direction:column;
  align-items:center;justify-content:center;text-align:center;
  color:#fff;padding:0 20px;
}
.partner-hero-copy h1{color:#fff;font-size:42px;font-weight:800;letter-spacing:-.02em;margin-bottom:14px;text-shadow:0 2px 10px rgba(0,0,0,.3)}
.partner-hero-copy p{color:#fff;max-width:720px;font-size:16px;line-height:1.65;opacity:.95;margin:0;text-shadow:0 1px 6px rgba(0,0,0,.3)}
@media (max-width:575px){
  .partner-hero-copy h1{font-size:28px}
  .partner-hero-copy p{font-size:14px}
}

/* ============ FEATURED PARTNER CARD (Free Tour Community) ============ */
.featured-partner{max-width:900px;margin:0 auto;padding:56px 20px 12px}
.featured-partner-card{
  display:flex;align-items:center;gap:32px;
  background:var(--chip);border-radius:var(--radius);padding:30px 36px;
}
.featured-partner-card img{flex:0 0 200px;width:200px;border-radius:10px}
.featured-partner-card p{font-size:15.5px;line-height:1.7;color:var(--text);margin:0}
.featured-partner-card a{color:var(--tma-orange-dark);font-weight:700;text-decoration:underline}
@media (max-width:700px){
  .featured-partner-card{flex-direction:column;text-align:center;padding:26px 22px}
  .featured-partner-card img{flex:0 0 auto;width:160px}
}

/* ============ LOGO WALL ============ */
.logo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px}
.logo-tile{
  display:flex;align-items:center;justify-content:center;
  background:#fff;border:1px solid var(--line);border-radius:12px;
  padding:18px;height:96px;transition:.18s;
}
a.logo-tile:hover{box-shadow:var(--shadow);border-color:transparent;transform:translateY(-2px)}
.logo-tile img{max-width:100%;max-height:56px;width:auto;object-fit:contain}

/* ============ VIDEO GRID (Media Coverage) ============ */
.video-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.video-tile{position:relative;width:100%;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#000;box-shadow:var(--shadow)}
.video-tile iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media (max-width:700px){
  .video-grid{grid-template-columns:1fr}
}

@media (max-width:575px){
  .logo-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px}
  .logo-tile{height:76px;padding:14px}
  .logo-tile img{max-height:42px}
  .featured-partner{padding:40px 18px 8px}
}
