/*
Theme Name: Hotel al centdo ri amsterdam Theme
Theme URI: https://themelab.app
Author: Themelab
Author URI: https://themelab.app
Description: Tema generato automaticamente con Themelab + Claude AI
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hotel-al-centdo-ri-amsterdam-theme
Tags: custom, ai-generated, full-site-editing
*/

/* Tutto il CSS "di base" del tema è dentro @layer base: senza layer
   batterebbe SEMPRE le utility Tailwind (es. .p-8, .mt-3) indipendentemente
   dalla specificità — un `* { margin: 0; padding: 0; }` non a layer, ad
   esempio, azzera ogni utility di spaziatura su ogni elemento del tema,
   a prescindere da quante classi p-*/m-* vengano aggiunte. Vedi anche
   wrap_in_base_layer. */
@layer base {

/* --color-primary/--color-secondary NON si ridichiarano qui: vivono
   già nel blocco @theme compilato da compile_tailwind_css, che ora
   legge la STESSA @brand_manifest usata per costruire questo file
   (stesso valore di `primary`/`secondary` sopra) — una seconda
   dichiarazione qui sarebbe sempre stata ridondante, e prima di
   questa consolidazione rischiava di diventare un valore DIVERSO da
   quello nel blocco @theme (due calcoli indipendenti), con questo
   qui dentro (@layer base) che vinceva sempre su @layer theme
   nell'ordine fisso di Tailwind v4 — bug di disallineamento silenzioso,
   mai una differenza visibile ovvia da notare. */
:root {
  --font-main: 'Jost', sans-serif;
}

/* Esclude #wpadminbar (la admin bar nativa di WordPress, visibile a
   qualunque utente loggato con permessi di editing anche sul front-end)
   — senza questa esclusione il reset globale rompe il suo layout
   interno (dropdown, icone, spaziature), che si basa su un proprio
   box model non azzerato. :where() mantiene specificità 0 come * da
   solo, quindi non altera nient'altro nella cascata. */
:where(*:not(#wpadminbar, #wpadminbar *)) { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: #ffffff;
        color: #1a1a1a;
  line-height: 1.6;
}

/* Safety net: caps any unclassed/oversized image (e.g. an embedded
   base64 logo with no sizing utility) so it can never blow out the
   layout width — mirrors Tailwind's own preflight reset, but applies
   even if the Tailwind CDN script fails to load. */
img, svg { max-width: 100%; height: auto; }

.elz-btn {
  display: inline-block; padding: .75rem 1.75rem;
  border-radius: 8px; text-decoration: none; font-weight: 700;
  background: var(--color-primary); color: #fff; transition: opacity .2s;
}
.elz-btn:hover { opacity: .85; color: #fff; }
.elz-btn--outline { background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); }
.elz-btn--sm { padding: .45rem 1rem; font-size: .85rem; }
.elz-btn--lg { padding: 1rem 2.25rem; font-size: 1.1rem; }

/* ── CSS estratto dal layout HTML originale ─────────────────── */

    :root {
      --color-primary: #8B6F47;
      --color-secondary: #C4A882;
      --color-accent: #2C3E50;
      --color-text: #1a1a1a;
      --color-muted: #6c757d;
      --color-background: #faf9f7;
      --color-surface: #f3ede4;
      --color-border: #e5ddd0;
      --r-sm: 4px;
      --r-md: 8px;
      --r-lg: 12px;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: 'Jost', sans-serif;
      background-color: var(--color-background);
      color: var(--color-text);
    }

    h1, h2, h3, h4 {
      font-family: 'Cormorant Garamond', serif;
    }

    /* ── NAV ── */
    .nav-fixed {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      background: rgba(26, 26, 26, 0.92);
      backdrop-filter: blur(8px);
      transition: background 0.3s;
    }

    .nav-logo {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.5rem;
      font-weight: 400;
      color: #f0e6d3;
      letter-spacing: 0.04em;
    }

    .nav-link {
      font-family: 'Jost', sans-serif;
      font-size: 0.78rem;
      font-weight: 500;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #c8b99a;
      transition: color 0.2s;
    }
    .nav-link:hover { color: #f0e6d3; }

    .nav-cta {
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      background: var(--color-primary);
      color: #fff;
      padding: 10px 22px;
      border-radius: var(--r-sm);
      transition: background 0.2s;
    }
    .nav-cta:hover { background: #7a5e38; }

    /* ── HERO SLIDER ── */
    .hero-slide {
      position: absolute;
      inset: 0;
      transition: opacity 0.9s ease;
    }
    .hero-slide.active { opacity: 1; z-index: 1; }
    .hero-slide.inactive { opacity: 0; z-index: 0; }

    .slide-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(26,26,26,0.72) 0%, rgba(44,62,80,0.35) 100%);
    }

    .hero-content {
      position: relative;
      z-index: 2;
    }

    .slide-label {
      font-family: 'Jost', sans-serif;
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--color-secondary);
    }

    .slide-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.8rem, 6vw, 5.5rem);
      font-weight: 300;
      line-height: 1.05;
      color: #f8f2ea;
    }

    .slide-subtitle {
      font-family: 'Jost', sans-serif;
      font-size: 1rem;
      font-weight: 300;
      color: #c8b99a;
      max-width: 480px;
    }

    .btn-primary {
      display: inline-block;
      background: var(--color-primary);
      color: #fff;
      font-family: 'Jost', sans-serif;
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      padding: 15px 36px;
      border-radius: var(--r-sm);
      transition: background 0.2s, transform 0.2s;
      text-decoration: none;
    }
    .btn-primary:hover { background: #7a5e38; transform: translateY(-2px); }

    .btn-outline {
      display: inline-block;
      border: 1px solid rgba(240,230,211,0.5);
      color: #f0e6d3;
      font-family: 'Jost', sans-serif;
      font-size: 0.75rem;
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      padding: 14px 34px;
      border-radius: var(--r-sm);
      transition: border-color 0.2s, background 0.2s;
      text-decoration: none;
    }
    .btn-outline:hover { border-color: #f0e6d3; background: rgba(240,230,211,0.1); }

    /* Slider dots */
    .slider-dot {
      width: 28px; height: 2px;
      background: rgba(240,230,211,0.3);
      transition: background 0.3s, width 0.3s;
      cursor: pointer;
      border: none;
    }
    .slider-dot.active { background: var(--color-secondary); width: 48px; }

    /* ── SECTION LABELS ── */
    .section-label {
      font-family: 'Jost', sans-serif;
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--color-primary);
    }

    .section-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2rem, 4vw, 3.2rem);
      font-weight: 400;
      line-height: 1.15;
      color: var(--color-text);
    }

    .section-title-light {
      color: #f8f2ea;
    }

    .divider-gold {
      display: block;
      width: 48px; height: 1px;
      background: var(--color-primary);
      margin: 0 auto;
    }

    /* ── ABOUT ── */
    .about-img-frame {
      position: relative;
    }
    .about-img-frame::before {
      content: '';
      position: absolute;
      top: -16px; left: -16px;
      right: 16px; bottom: 16px;
      border: 1px solid var(--color-secondary);
      border-radius: var(--r-md);
      z-index: 0;
    }
    .about-img-frame img {
      position: relative;
      z-index: 1;
      border-radius: var(--r-md);
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* ── CARDS ── */
    .service-card {
      background: #fff;
      border: 1px solid var(--color-border);
      border-radius: var(--r-lg);
      padding: 36px 28px;
      transition: box-shadow 0.3s, transform 0.3s;
    }
    .service-card:hover {
      box-shadow: 0 12px 40px rgba(139,111,71,0.12);
      transform: translateY(-4px);
    }

    .icon-wrap {
      width: 52px; height: 52px;
      background: var(--color-surface);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 20px;
    }

    /* ── ROOM CARD ── */
    .room-card {
      background: #fff;
      border-radius: var(--r-lg);
      overflow: hidden;
      border: 1px solid var(--color-border);
      transition: box-shadow 0.3s, transform 0.3s;
    }
    .room-card:hover {
      box-shadow: 0 16px 48px rgba(139,111,71,0.14);
      transform: translateY(-4px);
    }
    .room-placeholder {
      

/* ── CSS personalizzato generato da Claude ───────────────────── */


/* ── Nav menu WordPress ──────────────────────────────────────── */
.nav-menu { list-style: none; display: flex; align-items: center; gap: 1.5rem; margin: 0; padding: 0; }
.nav-menu li { margin: 0; }
.nav-menu a {
  text-decoration: none; font-weight: 500; font-size: .95rem;
  color: inherit; transition: opacity .2s; white-space: nowrap;
}
.nav-menu a:hover { opacity: .7; }
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .main-navigation.open .nav-menu { display: flex; flex-direction: column; gap: .75rem; }
}

/* ── Collasso responsive delle sezioni custom a colonne ───────────
   render_custom_section (ThemelabBuilderPhp) fissa grid-template-columns
   con uno style INLINE (necessario per rispettare width_percent per-
   colonna quando non c'è wrap, vedi tlColWidthUpdate) — un inline style
   non è sormontabile da un @media query su un'altra regola con la
   stessa specificità, serve !important qui. Senza questa regola
   qualunque sezione custom multi-colonna (footer, booking, blocchi
   futuri) resta affiancata anche su mobile: nessuna ne aveva mai una,
   bug generico scoperto lavorando sulla sezione rooms dell'hotel. */
@media (max-width: 768px) {
  .tl-custom-grid { grid-template-columns: 1fr !important; }
}

/* ── Page header banner — page.php / single.php / archive.php ──
   Stessa identità visiva (colori/font) dell'header/hero generato, ma
   generica: usata per contenuti WP "reali" (pagine statiche, articoli,
   archivi) che non hanno un design AI dedicato come front-page.php. */
.tl-page-header {
  background: var(--color-surface, #f8f9fb);
  border-bottom: 1px solid var(--color-border, #ececec);
  padding: 72px 24px 56px;
  text-align: center;
}
.tl-page-header-inner { max-width: 820px; margin: 0 auto; }
.tl-page-header-eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--color-primary); margin-bottom: .75rem;
}
.tl-page-header-title {
  font-family: var(--font-main); font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700; line-height: 1.15; margin: 0 0 .5rem;
}
.tl-page-header-desc { font-size: 1.05rem; color: var(--color-muted, #666); margin-top: .5rem; }
.tl-page-header-meta {
  display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 1rem;
  margin-top: 1rem; font-size: .9rem; color: var(--color-muted, #777);
}

/* ── Contenuto pagina/articolo (output di the_content(), non AI-generated:
   va tipografato a parte perché non passa dallo scan Tailwind statico) ── */
.tl-prose { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; line-height: 1.75; font-size: 1.05rem; }
.tl-prose h1, .tl-prose h2, .tl-prose h3, .tl-prose h4 { font-weight: 700; line-height: 1.3; margin: 2em 0 .6em; }
.tl-prose > *:first-child { margin-top: 0; }
.tl-prose h2 { font-size: 1.6rem; }
.tl-prose h3 { font-size: 1.3rem; }
.tl-prose p { margin: 0 0 1.25em; }
.tl-prose a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.tl-prose ul, .tl-prose ol { margin: 0 0 1.25em 1.4em; }
.tl-prose li { margin-bottom: .4em; }
.tl-prose img { border-radius: var(--r-lg, 12px); margin: 1.5em 0; height: auto; max-width: 100%; }
.tl-prose blockquote {
  border-left: 3px solid var(--color-primary); margin: 1.5em 0; padding: .5em 0 .5em 1.25em;
  font-style: italic; color: var(--color-muted, #555);
}
.tl-prose figcaption { font-size: .85rem; color: var(--color-muted, #888); text-align: center; margin-top: .5em; }
.tl-prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.tl-prose table th, .tl-prose table td { border: 1px solid var(--color-border, #eee); padding: .6em .8em; text-align: left; }
.tl-page-links { margin-top: 2em; font-size: .9rem; }

.tl-archive-empty { text-align: center; padding: 60px 20px; color: var(--color-muted, #888); }

/* ── Paginazione archivi (paginate_links()) ── */
.tl-pagination { display: flex; justify-content: center; gap: .5rem; padding: 40px 24px 80px; flex-wrap: wrap; }
.tl-pagination a, .tl-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 .75rem; border-radius: var(--r-md, 8px);
  border: 1px solid var(--color-border, #eee); text-decoration: none; color: inherit; font-size: .9rem;
}
.tl-pagination a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.tl-pagination .current { background: var(--color-primary); border-color: var(--color-primary); color: #fff; font-weight: 600; }

/* ── Single post: tag + navigazione articolo precedente/successivo ── */
.tl-single-footer { max-width: 760px; margin: 0 auto; padding: 0 24px 40px; }
.tl-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; }
.tl-tags a {
  font-size: .8rem; padding: .3rem .75rem; border-radius: 999px; background: var(--color-surface, #f4f4f5);
  color: inherit; text-decoration: none; border: 1px solid var(--color-border, #eee);
}
.tl-tags a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.tl-post-nav { display: flex; justify-content: space-between; gap: 1.5rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--color-border, #eee); }
.tl-post-nav > div { flex: 1 1 0; }
.tl-post-nav .next { text-align: right; }
.tl-post-nav a { color: inherit; text-decoration: none; }
.tl-post-nav a:hover .tl-post-nav-title { color: var(--color-primary); }
.tl-post-nav-label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--color-muted, #999); margin-bottom: .25rem; }
.tl-post-nav-title { font-weight: 600; }

/* ── Commenti (markup di default WP — html5 support già dichiarato in
   functions.php, quindi <article>/<ol class="comment-list"> reali,
   non le <ul> legacy). Nessun comments.php custom: si stila il
   markup core così i temi restano aggiornati con qualunque fix di
   WordPress sul form invece di congelare un fork del template. ── */
.tl-single-footer .comments-title,
.tl-single-footer .comment-reply-title { font-family: var(--font-main); font-weight: 700; font-size: 1.3rem; margin: 0 0 1.5rem; }
.tl-single-footer .comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.tl-single-footer .comment-list .children { list-style: none; margin: 0; padding-left: 2.5rem; }
.tl-single-footer .comment-body { padding: 1.5rem 0; border-bottom: 1px solid var(--color-border, #eee); }
.tl-single-footer .comment-author.vcard { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.tl-single-footer .comment-author .avatar { border-radius: 999px; width: 36px; height: 36px; }
.tl-single-footer .comment-author .fn { font-style: normal; font-weight: 600; }
.tl-single-footer .comment-metadata { font-size: .8rem; color: var(--color-muted, #999); margin-bottom: .6rem; }
.tl-single-footer .comment-metadata a { color: inherit; }
.tl-single-footer .comment-content p { margin: 0 0 .75em; line-height: 1.65; }
.tl-single-footer .reply { margin-top: .5rem; }
.tl-single-footer .comment-reply-link {
  font-size: .8rem; font-weight: 600; color: var(--color-primary); text-decoration: none;
}
.tl-single-footer .comment-reply-link:hover { text-decoration: underline; }
.tl-single-footer .comment-respond { margin-top: 1rem; }
.tl-single-footer .comment-notes,
.tl-single-footer .comment-form p:not(.form-submit) { margin: 0 0 1rem; }
.tl-single-footer .comment-form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; }
.tl-single-footer .comment-form input[type="text"],
.tl-single-footer .comment-form input[type="email"],
.tl-single-footer .comment-form input[type="url"],
.tl-single-footer .comment-form textarea {
  width: 100%; padding: .65rem .85rem; border: 1px solid var(--color-border, #ddd);
  border-radius: var(--r-md, 8px); font-family: inherit; font-size: .95rem;
}
.tl-single-footer .comment-form textarea { min-height: 130px; resize: vertical; }
.tl-single-footer .comment-form input:focus,
.tl-single-footer .comment-form textarea:focus { outline: none; border-color: var(--color-primary); }
.tl-single-footer .form-submit input[type="submit"] {
  display: inline-block; padding: .75rem 1.75rem; border: none; cursor: pointer;
  border-radius: var(--r-md, 8px); font-weight: 700; font-size: .95rem;
  background: var(--color-primary); color: #fff; transition: opacity .2s;
}
.tl-single-footer .form-submit input[type="submit"]:hover { opacity: .85; }
.tl-single-footer .no-comments { color: var(--color-muted, #999); }

} /* /@layer base */


