:root {
  --paper: #f8f5ef;
  --ink: #102f35;
  --teal: #124d59;
  --rust: #c96143;
  --line: #e7e1d8;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --script: "Reenie Beanie", cursive;
}

[hidden] { display: none !important; }

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  height: 74px;
  padding: 0 5.8%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: linear-gradient(100deg, #f7f3ec 0%, #fbf9f5 52%, #f5efe5 100%);
  border-bottom: 0;
  position: relative;
  z-index: 2;
}
.logo { font: 400 31px/1 "Aboreto", serif; letter-spacing: .04em; }
.main-nav { height: 100%; display: flex; align-items: center; gap: 48px; }
.main-nav a { height: 100%; display: grid; place-items: center; position: relative; color: #000; font: 16px var(--serif); }
.main-nav a.active { color: #000; }
.header-icons { display: flex; justify-content: flex-end; gap: 18px; }
.icon-button { display: grid; place-items: center; width: 28px; height: 32px; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.icon-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }

.hero {
  height: clamp(220px, 21vw, 330px);
  display: flex;
  align-items: center;
  padding: 0 6%;
  position: relative;
  overflow: hidden;
  background: #f4efe7 url("images/amman-bg.png") center 72% / cover no-repeat;
  
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248,245,239,.96) 0%, rgba(248,245,239,.78) 36%, rgba(248,245,239,0) 72%); }
.hero h1 { position: relative; z-index: 1; margin: 0; color: var(--ink); font: 400 clamp(82px, 10vw, 150px)/.82 var(--script); letter-spacing: .01em; }

.discover {
  max-width: 1600px;
  margin: 0 auto;
  padding: 2px 5.5% 36px;
  display: grid;
  grid-template-columns: 64px minmax(380px, .95fr) minmax(470px, 1.12fr);
  gap: 18px;
  align-items: stretch;
}
.months { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; padding: 2px 0; transform: translateY(-30px); }
.months button { border: 0; background: transparent; color: #29434a; cursor: pointer; font: 16px var(--serif); padding: 7px 5px; border-radius: 22px; transition: background .2s, color .2s; }
.months button:hover { background: #eee8df; }
.months button.selected { background: #76563a; color: #fffdfa; }
.event-card, .place-card { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fffdfa; box-shadow: 0 5px 18px rgba(44, 36, 25, .07); }
.event-card { min-height: 440px; display: grid; grid-template-rows: 1fr auto; cursor: zoom-in; transform: translateY(-30px); transition: width .25s ease, height .25s ease, transform .25s ease, box-shadow .25s ease; }
.event-card.expanded { position: fixed; z-index: 1001; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: min(900px, 90vw); height: min(88vh, 760px); min-height: 0; grid-template-rows: minmax(240px, 1fr) auto; cursor: zoom-out; box-shadow: 0 20px 80px rgba(0,0,0,.3); }
.event-card.expanded .event-image { min-height: 0; }
.place-card.expanded, .place-card.expanded:hover { position: fixed; z-index: 1001; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: min(900px, 92vw); height: min(82vh, 700px); min-height: 0; grid-template-rows: minmax(220px, 42%) auto; cursor: zoom-out; box-shadow: 0 20px 80px rgba(0,0,0,.3); }
.place-card.expanded .place-image { min-height: 0; }
.place-details { display: none; }
.place-card.has-details.expanded { height: min(78vh, 640px); grid-template-rows: minmax(300px, 56%) auto minmax(0, 1fr); background: #f4ecdf; }
.place-card.has-details.expanded .place-image { background: #f4ecdf; }
.place-card.has-details.expanded .place-image img { object-fit: contain; }
.place-card.has-details.expanded .place-title { background: #f4ecdf; }
.place-card.has-details.expanded .place-details { display: block; overflow-y: auto; padding: 10px 16px 14px; background: #f4ecdf; }
.place-card.has-details.expanded .place-arrow { top: 12px; bottom: auto; right: 12px; }
.place-intro { max-width: 760px; margin: 0 auto 10px; color: #5d625f; text-align: center; font: 14px/1.45 var(--sans); }
.place-details-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.place-detail-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px; border: 1px solid #76563a; border-radius: 12px; background: #76563a; }
.place-detail-item > span { font-size: 21px; line-height: 1.3; }
.place-detail-item p { margin: 0; color: #f5eee4; font: 12px/1.4 var(--sans); }
.place-detail-item strong { display: inline-block; margin-bottom: 3px; color: #fffaf2; font: 600 13px var(--sans); }
.event-card.expanded .event-details { min-height: 120px; }
.event-card.switching .event-image img, .event-card.switching .event-date, .event-card.switching .event-copy { animation: event-swap .32s ease both; }
@keyframes event-swap { from { opacity: .45; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .event-card.switching .event-image img, .event-card.switching .event-date, .event-card.switching .event-copy { animation-duration: .01ms; } }
body.event-expanded::before { content: ""; position: fixed; inset: 0; z-index: 1000; background: rgba(24, 30, 28, .58); backdrop-filter: blur(3px); }
body.event-expanded .months { position: relative; z-index: 1002; }
.event-close { position: absolute; z-index: 2; top: 12px; left: 12px; right: auto; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,253,250,.95); color: var(--ink); font: 26px/1 var(--sans); cursor: pointer; }
.month-step { display: none; position: absolute; z-index: 3; top: 42%; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: #76563a; color: #fffdfa; cursor: pointer; box-shadow: 0 3px 14px rgba(30,30,25,.2); transition: background .2s, transform .2s; }
.month-step svg, .event-step svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.month-step-next svg, .event-step-next svg { transform: rotate(180deg); }
.event-card.expanded .month-step { display: grid; }
.month-step-prev { left: 16px; }
.month-step-next { right: 16px; }
.month-step:hover { background: #60452e; transform: scale(1.06); }
.month-step:disabled { opacity: .4; cursor: default; transform: none; }
.month-step:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.event-card.empty .event-image { display: none; }
.event-card.empty { min-height: 160px; }
.event-image { position: relative; min-height: 280px; overflow: hidden; }
.event-image img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 45%; }
.event-label { position: absolute; left: 18px; top: 18px; padding: 9px 15px; color: #fffdfa; background: #76563a; border-radius: 7px; font: 15px var(--serif); }
.event-details { min-height: 112px; padding: 16px 20px; display: flex; align-items: center; gap: 20px; }
.event-date { min-width: 96px; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; color: var(--rust); font-family: var(--serif); padding-right: 18px; }
.event-date strong { font-size: 42px; line-height: 1; font-weight: 400; }
.event-date strong:empty { display: none; }
.event-date span { font-size: clamp(10px, .85vw, 13px); letter-spacing: .04em; white-space: nowrap; margin-top: 4px; }
.event-copy { flex: 1; }
.event-copy h2 { margin: 0 0 7px; font: 600 clamp(22px, 2vw, 32px)/1.1 var(--serif); }
.event-copy p { margin: 0; color: #74736e; font: 16px var(--serif); }
.event-copy .event-subtitle { margin-bottom: 4px; color: var(--rust); font: italic 14px var(--serif); }
.event-note { position: absolute; left: 14px; top: 14px; max-width: calc(100% - 72px); margin: 0; padding: 9px 13px; border: 1px solid rgba(255,255,255,.75); border-radius: 8px; background: var(--rust); color: #fff; font: 600 12px var(--sans); line-height: 1.35; box-shadow: 0 3px 12px rgba(0,0,0,.24); text-decoration: none; }
.event-copy .event-location { margin-top: 6px; color: #858078; font: 12px var(--sans); }
.event-copy .event-location span:first-child { color: var(--rust); font-size: 15px; }
.event-date span.range { font-size: 10px; letter-spacing: 0; }
.event-switcher { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.event-switcher:empty { display: none; }
.event-choice { border: 1px solid var(--line); border-radius: 20px; background: #fffdfa; color: #696760; padding: 5px 9px; font-size: 11px; cursor: pointer; }
.event-choice.selected { border-color: var(--teal); background: #edf3f1; color: var(--teal); }
.event-step { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 28px; border: 0; border-radius: 50%; background: #76563a; color: #fffdfa; cursor: pointer; transition: background .2s, transform .2s; }
.event-step:hover { background: #60452e; transform: scale(1.06); }
.event-step:focus-visible, .event-choice:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.event-link { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; display: grid; place-items: center; background: #76563a; color: #fffdfa; font-size: 23px; transition: transform .2s, background .2s; }
.event-link:hover { transform: translateX(3px); background: #60452e; }
.event-link svg, .place-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 190px; align-content: center; gap: 14px; }
.place-card { min-height: 0; position: relative; display: grid; grid-template-rows: 1fr auto; transition: transform .2s, box-shadow .2s, border-color .2s; }
.place-card:hover, .place-card:focus-visible { transform: translateY(-3px); border-color: #c7d4d2; box-shadow: 0 10px 24px rgba(24, 55, 58, .14); outline: none; }
.place-image { min-height: 0; overflow: hidden; background: #ded5c8; }
.place-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.place-card:hover .place-image img { transform: scale(1.035); }
.place-title { min-height: 54px; padding: 13px 50px 13px 16px; display: flex; align-items: center; font: 600 clamp(15px, 1.3vw, 20px)/1.15 var(--serif); }
.place-arrow { position: absolute; right: 13px; bottom: 10px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fffdfa; background: #76563a; font-size: 20px; text-decoration: none; transition: transform .2s, background .2s; }
.place-arrow svg { width: 15px; height: 15px; }
.place-arrow:hover { background: #60452e; }
.place-card:hover .place-arrow { transform: translateX(3px); }
footer { display: flex; justify-content: space-between; padding: 14px 5.5% 24px; color: #858078; font: 12px var(--serif); letter-spacing: .04em; }

@media (max-width: 1050px) {
  .discover { grid-template-columns: 54px minmax(320px, .9fr) minmax(380px, 1.1fr); padding-inline: 3%; gap: 12px; }
  .event-card { min-height: 390px; }
  .places { grid-auto-rows: 175px; }
}
@media (max-width: 760px) {
  .site-header { height: 64px; padding: 0 5%; grid-template-columns: 1fr auto; }
  .logo { font-size: 25px; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; height: 38px; justify-content: center; gap: 36px; }
  .site-header:has(.main-nav) { height: 102px; padding-bottom: 4px; }
  .main-nav a.active::after { bottom: 3px; }
  .header-icons { grid-column: 2; grid-row: 1; gap: 10px; }
  .hero { height: 225px; padding-inline: 5%; background-position: 65% 72%; }
  .hero h1 { font-size: clamp(72px, 18vw, 112px); }
  .discover { grid-template-columns: 1fr; padding: 6px 4% 28px; }
  .months { order: 0; flex-direction: row; overflow-x: auto; justify-content: flex-start; gap: 5px; padding: 0 0 6px; }
  .months button { flex: 0 0 auto; min-width: 44px; }
  .event-card { min-height: 360px; }
  .event-image { min-height: 235px; }
  .places { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .places { grid-auto-rows: 175px; }
  .place-title { min-height: 50px; padding: 10px 38px 10px 10px; font-size: 14px; }
  .place-details-grid { grid-template-columns: 1fr; }
  .place-arrow { width: 27px; height: 27px; right: 7px; bottom: 11px; font-size: 17px; }
  footer { padding-inline: 4%; }
}
@media (max-width: 420px) {
  .places { grid-template-columns: 1fr; }
  .places { grid-auto-rows: 220px; }
  .event-details { gap: 12px; padding-inline: 12px; }
  .event-date { min-width: 82px; padding-right: 10px; }
  .event-copy p { font-size: 14px; }
}
/* =====================================================
   JOUK HEADER
===================================================== */

.site-header {
    position: relative;

    width: 100%;
    height: 90px;

    padding: 0 5.8%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f8f5ef;

    border-bottom: none;

    z-index: 100;
}


/* ================= LOGO ================= */

.site-header .logo {
    position: absolute;

    left: 5.8%;
    top: 50%;

    transform: translateY(-50%);

    font-family: 'Playfair Display', Georgia, serif;

    font-size: 38px;
    font-weight: 600;

    line-height: 1;

    letter-spacing: 2px;

    color: #24211e;

    text-decoration: none;

    cursor: pointer;

    transition:
        letter-spacing 0.3s ease,
        color 0.3s ease;
}

.site-header .logo:hover {
    letter-spacing: 5px;

    color: #6f4528;
}


/* ================= NAVIGATION ================= */

.site-header .main-nav {
    height: 100%;

    display: flex;
    align-items: center;

    gap: 50px;
}

.site-header .main-nav a {
    position: relative;

    height: auto;

    display: block;

    padding: 8px 3px;

    color: #24211e;

    font-family: 'Plus Jakarta Sans', Arial, sans-serif;

    font-size: 15px;
    font-weight: 500;

    text-decoration: none;

    transition:
        color 0.25s ease,
        opacity 0.25s ease,
        transform 0.25s ease;
}

.site-header .main-nav a:hover {
    color: #6f4528;

    transform: translateY(-2px);
}


/* little line under nav link */

.site-header .main-nav a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 1px;

    width: 0;
    height: 1px;

    background: #6f4528;

    transform: translateX(-50%);

    transition: width 0.25s ease;
}

.site-header .main-nav a:hover::after {
    width: 100%;
}


/* ================= PROFILE ================= */

.site-header .header-icons {
    position: absolute;

    right: 5.8%;
    top: 50%;

    transform: translateY(-50%);

    display: flex;
    align-items: center;

    gap: 0;
}

.site-header .profile-btn {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #24211e;

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.site-header .profile-btn svg {
    display: block;

    width: 29px;
    height: 29px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.4;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-header .profile-btn:hover {
    color: #6f4528;

    transform: scale(1.15);
}


/* ================= MOBILE ================= */

@media (max-width: 760px) {

    .site-header {
        height: 105px;

        padding: 0 5% 38px;
    }

    .site-header .logo {
        left: 5%;

        font-size: 28px;
    }

    .site-header .header-icons {
        right: 5%;
    }

    .site-header .main-nav {
        position: absolute;

        left: 50%;
        bottom: 5px;

        transform: translateX(-50%);

        height: 38px;

        gap: 20px;
    }

    .site-header .main-nav a {
        font-size: 12px;
    }

    .site-header .profile-btn {
        width: 34px;
        height: 34px;
    }

    .site-header .profile-btn svg {
        width: 24px;
        height: 24px;
    }
}
.calendar-year{display:block;flex:0 0 auto;text-align:center;font:500 15px/1.2 Georgia,serif;letter-spacing:.08em;margin:0 0 12px;padding:0 4px 12px;color:#75664f;border-bottom:1px solid #d7cdbd}

.cinema-choices{width:min(400px,90vw);padding:30px;border:1px solid #d6c9b7;border-radius:18px;background:#faf7f0;color:#294542;box-shadow:0 20px 70px #0004}.cinema-choices::backdrop{background:#0008}.cinema-choices h2{font:500 25px Georgia,serif;margin:0 0 20px}.cinema-choices a{display:block;margin:10px 0;padding:14px;border:1px solid #d6c9b7;border-radius:9px;color:inherit;text-decoration:none}.cinema-choices a:hover{background:#e9e2d6}.cinema-close{position:absolute;right:12px;top:8px;border:0;background:none;font-size:25px;cursor:pointer}

.more-experiences{padding:16px 5% 48px;max-width:1600px;margin:0 auto}.more-experiences>h2{font:500 30px/1.2 var(--serif);color:var(--ink);margin:0 0 22px}.places.more-places{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:240px;align-content:start;gap:22px}.venue-detail-icon{flex:0 0 24px;display:inline-flex}.venue-detail-icon svg{width:24px;height:24px;fill:none;stroke:#f5eee4;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.more-places .place-card{border-radius:14px;overflow:hidden}.more-places .place-arrow{border:0;cursor:pointer}.more-places .place-detail-item{padding:15px;gap:12px}.more-places .place-intro{line-height:1.65;margin-bottom:18px}
@media(max-width:900px){.places.more-places{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.places.more-places{grid-template-columns:1fr}}

.cinema-detail-link{color:inherit;text-decoration:underline;text-underline-offset:4px}.cinema-detail-link:hover{color:#e5cf9b}.more-experiences{padding-top:8px}
