/*
Theme Name: Inside Hotels
Theme URI: https://insidehotels.example
Author: Inside Hotels
Description: Editorial hotel publication theme. Vanilla HTML/CSS/JS — includes interactive Hotels (map + search) and Black Book directory page templates. No build step.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: inside-hotels
*/

/* ============================================================
   GLOBAL SHELL
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #e8e8e8; font-family: 'Quicksand', system-ui, sans-serif; }
.page { background:#fff; color:#111; max-width:1100px; margin:0 auto; border-radius:16px;box-shadow:0 4px 40px rgba(0,0,0,0.1); }
/* Hide the WordPress auto-generated page title */
.entry-title,
.page-title,
h1.page-title,
.wp-block-post-title,
.post-title,
header.entry-header {
  display: none !important;
}

/* NAV */
.nav { display:flex; align-items:center; justify-content:space-between; padding:22px 44px; background:#fff; border-bottom:0.5px solid #e8e8e8; }
.nav-logo { font-family:'Futura','Trebuchet MS',sans-serif; font-size:18px; letter-spacing:0.5px; color:#111; text-decoration:none; }
.nav-logo strong { font-weight:700; }
.nav-links { display:flex; gap:28px; font-size:13px; letter-spacing:0.4px; color:#444; white-space:nowrap; }
.nav-links a { cursor:pointer; transition:color 0.15s; color:inherit; text-decoration:none; position:relative; padding-bottom:4px; }
.nav-links a:hover, .nav-links a.active { color:#1d5494; }
.nav-links a.active { font-weight:600; }
.nav-links a::after { content:""; position:absolute; left:0; right:0; bottom:0; height:1px; background:#1d5494; transform:scaleX(0); transform-origin:center; transition:transform 0.25s ease; }
.nav-links a:hover::after, .nav-links a.active::after { transform:scaleX(1); }

.nav-drop { position:relative; display:flex; align-items:center; padding-bottom:18px; margin-bottom:-18px; }
.nav-drop-trigger { display:inline-flex; align-items:center; gap:5px; }
.nav-drop-menu { position:absolute; top:100%; left:50%; transform:translateX(-50%); background:#fff; border:0.5px solid #e3e3e3; border-radius:12px; box-shadow:0 14px 34px rgba(0,0,0,0.12); padding:8px; min-width:236px; opacity:0; visibility:hidden; transition:opacity 0.18s ease; z-index:60; }
.nav-drop:hover .nav-drop-menu { opacity:1; visibility:visible; }
.nav-drop-menu a { display:block; padding:11px 13px; border-radius:8px; text-decoration:none; }
.nav-drop-menu a::after { display:none; }
.nav-drop-menu a:hover { background:#f5f3ec; }
.ndm-t { display:block; font-size:13px; color:#111; font-weight:600; letter-spacing:0.2px; }
.nav-drop-menu a:hover .ndm-t { color:#1d5494; }
.ndm-d { display:block; font-size:11px; color:#9a9a9a; margin-top:2px; letter-spacing:0.2px; }
.nav-sub { display:inline-block; border:0.5px solid #111; padding:8px 20px; border-radius:999px; font-size:12px; letter-spacing:0.8px; cursor:pointer; color:#111; background:transparent; font-family:'Quicksand',sans-serif; font-weight:500; transition:background 0.15s, color 0.15s, border-color 0.15s; text-decoration:none; }
.nav-sub:hover { background:#1d5494; color:#fff; border-color:#1d5494; }

/* FOOTER */
.footer { background:#111; color:#fff; padding:40px; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:32px; }
.footer-logo { font-family:'Futura',sans-serif; font-size:16px; letter-spacing:0.5px; margin:0 0 12px; }
.footer-body { font-size:12px; line-height:1.65; color:#aaa; margin:0; max-width:260px; }
.footer-col-head { font-family:'Futura',sans-serif; letter-spacing:1.4px; color:#8AC8E6; margin:0 0 12px; font-size:10px; }
.footer-link { font-size:12px; color:#ccc; margin:0 0 8px; display:block; cursor:pointer; transition:color 0.15s; text-decoration:none; }
.footer-link:hover { color:#8AC8E6; }
.footer-bottom { background:#0a0a0a; padding:16px 40px; display:flex; justify-content:space-between; }
.footer-copy { font-size:11px; color:rgba(255,255,255,0.3); }

/* Generic WP page/post content rendered inside the shell */
.entry { padding:64px 60px 80px; }
.entry h1.entry-title { font-family:'DM Serif Display',Georgia,serif; font-weight:400; font-size:46px; line-height:1.08; color:#111; margin:0 0 24px; }
.entry-content { font-size:15px; line-height:1.75; color:#444; max-width:680px; }
.entry-content h2 { font-family:'DM Serif Display',Georgia,serif; font-weight:400; font-size:28px; color:#111; margin:32px 0 12px; }
.entry-content p { margin:0 0 16px; }
.entry-content a { color:#1d5494; }

#app-root { display:contents; }

@media (max-width:760px){
  .nav { padding:16px 20px; flex-wrap:wrap; gap:12px; }
  .nav-links { gap:18px; font-size:12px; flex-wrap:wrap; }
  .footer { grid-template-columns:1fr 1fr; padding:32px 24px; }
  .footer-bottom { padding:14px 24px; flex-direction:column; gap:6px; }
  .entry { padding:40px 28px 64px; }
  .entry h1.entry-title { font-size:34px; }
}
