/*
 * 3rd ANMC Conference 2027 - delegate accommodation page (/conference2027/accommodation).
 * Builds on conference2027.css (tokens, buttons, hero, sections). Scoped under .a27.
 */

/* ---------- Per-hotel colour "postcards" (no third-party photos) ---------- */
.a27 .a27-cover--sairock { background: radial-gradient(120% 90% at 85% 0%, #2fbf5a 0%, transparent 55%), linear-gradient(135deg, #0d2b5c 0%, #1f5fbf 55%, #1a8a8c 100%); }
.a27 .a27-cover--azul { background: radial-gradient(110% 90% at 15% 0%, #6fd3ff 0%, transparent 55%), linear-gradient(135deg, #0b4f8a 0%, #1b86c9 55%, #35b6d6 100%); }
.a27 .a27-cover--villagio { background: radial-gradient(110% 90% at 85% 10%, #ffd27a 0%, transparent 55%), linear-gradient(135deg, #a3441b 0%, #d9772b 55%, #f0a640 100%); }
.a27 .a27-cover--sarova { background: radial-gradient(110% 90% at 20% 0%, #9be7b8 0%, transparent 55%), linear-gradient(135deg, #0f5132 0%, #17924a 55%, #3fae7c 100%); }

/* ---------- Hero ---------- */
.a27-hero h1 { margin-bottom: .8rem; }
.a27-hero .a27-hero__intro { color: #d7e4fb; font-size: 17px; max-width: 620px; margin-bottom: 1.4rem; }
.a27-hero .c27-facts { margin-bottom: 0; }

.a27-jump { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 18px; padding: 18px; backdrop-filter: blur(4px); }
.a27-jump__label { font-family: var(--c27-head); font-size: 12px !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #a9bfe6 !important; margin: 0 0 .7rem !important; }
.a27-jump ol { display: grid; gap: 8px; }
.a27-jump a {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 9px 12px 9px 9px; border-radius: 12px; background: rgba(255, 255, 255, .07); color: #fff !important; text-decoration: none !important;
  transition: background-color .18s ease, transform .18s ease;
}
.a27-jump a:hover { background: rgba(255, 255, 255, .16); transform: translateX(3px); }
.a27-jump__icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 18px; }
.a27-jump__text { display: grid; line-height: 1.3; }
.a27-jump__text b { font-family: var(--c27-head); font-size: 14.5px; font-weight: 700; }
.a27-jump__text small { color: #a9bfe6; font-size: 12.5px; }
.a27-jump a > .fa-arrow-down { color: #7fe39c; font-size: 13px; }

/* ---------- Notice ---------- */
.a27-notice {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start;
  margin-top: -36px; position: relative; z-index: 2; padding: 22px 24px;
  background: #fff; border: 1px solid var(--c27-line); border-left: 6px solid var(--c27-green); border-radius: var(--c27-radius); box-shadow: var(--c27-shadow);
}
.a27-notice__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--c27-soft-green); color: var(--c27-green); font-size: 18px; }
.a27-notice h2 { font-size: 1.1rem; font-weight: 800; margin-bottom: .35rem; }
.a27-notice p { margin: 0; }

.a27-section { scroll-margin-top: 100px; }

/* ---------- Hotel cards ---------- */
.a27-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }

.a27-hotel {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c27-line); border-radius: 18px;
  box-shadow: var(--c27-shadow); overflow: hidden; scroll-margin-top: 110px; transition: box-shadow .2s ease, transform .2s ease;
}
.a27-hotel:hover { box-shadow: 0 2px 4px rgba(13, 43, 92, .06), 0 18px 40px rgba(13, 43, 92, .14); transform: translateY(-3px); }
.a27-hotel:target { outline: 3px solid #f5b400; outline-offset: 3px; }

.a27-hotel__cover { position: relative; height: 150px; overflow: hidden; color: #fff; }
.a27-hotel__art { position: absolute; right: 18px; top: 50%; transform: translateY(-58%) rotate(-8deg); font-size: 84px; opacity: .22; }
.a27-hotel__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 34px; fill: #fff; }
.a27-hotel__badge {
  position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .8rem; border-radius: 999px; background: var(--c27-red); color: #fff;
  font-family: var(--c27-head); font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 6px 14px rgba(0, 0, 0, .2);
}

.a27-hotel__body { display: flex; flex-direction: column; flex: 1; padding: 6px 24px 24px; }
.a27-hotel__kicker { font-family: var(--c27-head); font-size: 12px !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c27-red) !important; margin: 0 0 .3rem !important; }
.a27-hotel h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: .25rem; }
.a27 .a27-hotel__tag { color: var(--c27-green); font-weight: 600; font-size: 15px; margin-bottom: .8rem; }
.a27 .a27-hotel__about { font-size: 15px; line-height: 1.7; }


.a27-hotel__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.a27-hotel__actions .c27-btn--sm { font-size: 13.5px; padding: .5rem .85rem; }

/* Featured (venue) card: wide, cover on the left */
.a27-hotel--featured { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); border: 2px solid var(--c27-navy); }
.a27-hotel--featured .a27-hotel__cover { height: auto; min-height: 320px; }
.a27-hotel--featured .a27-hotel__art { font-size: 150px; right: 50%; transform: translate(50%, -55%) rotate(-8deg); opacity: .2; }
.a27-hotel--featured .a27-hotel__wave { display: none; }
.a27-hotel--featured .a27-hotel__body { padding: 30px 32px 32px; }
.a27-hotel--featured h3 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.a27-hotel--featured .a27-hotel__actions .c27-btn--sm { font-size: 14px; padding: .6rem 1rem; }

/* ---------- Map ---------- */
.a27-map { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.a27-maplist { display: grid; gap: 8px; }
.a27-maplist a {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--c27-line);
  color: var(--c27-ink) !important; font-weight: 600; text-decoration: none !important; transition: border-color .18s ease, transform .18s ease;
}
.a27-maplist a:hover { border-color: var(--c27-blue); transform: translateX(3px); }
.a27-pin { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 14px; flex: none; }
.a27-ext { margin-left: auto; color: var(--c27-muted); font-size: 12px; }
.a27-map__frame { border-radius: 18px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--c27-shadow); aspect-ratio: 4 / 3; background: #dfe8f3; }
.a27-map__frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- Tips ---------- */
.a27-tips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.a27-tips li { background: #fff; border: 1px solid var(--c27-line); border-top: 4px solid var(--c27-blue); border-radius: var(--c27-radius); padding: 22px 18px; box-shadow: var(--c27-shadow); }
.a27-tips li:nth-child(2) { border-top-color: #1a8a8c; }
.a27-tips li:nth-child(3) { border-top-color: var(--c27-green); }
.a27-tips li:nth-child(4) { border-top-color: var(--c27-navy); }
.a27-tips li:nth-child(5) { border-top-color: var(--c27-red); }
.a27-tips__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--c27-soft); color: var(--c27-blue); font-size: 17px; margin-bottom: .9rem; }
.a27-tips h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: .45rem; }
.a27-tips p { font-size: 14.5px; line-height: 1.65; margin: 0; }
.a27 .a27-disclaimer { display: flex; gap: .6rem; align-items: flex-start; max-width: 860px; margin: 28px auto 0; font-size: 14px; color: var(--c27-muted); text-align: left; }
.a27-disclaimer i { color: var(--c27-muted); margin-top: .3rem; }

/* ---------- CTA ---------- */
.a27-cta .c27-btn-row { justify-content: flex-end; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .a27-tips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .a27-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a27-hotel--featured { grid-template-columns: minmax(0, 1fr); }
  .a27-hotel--featured .a27-hotel__cover { min-height: 180px; }
  .a27-hotel--featured .a27-hotel__art { font-size: 110px; }
  .a27-hotel--featured .a27-hotel__wave { display: block; }
    .a27-map { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .a27-cta .c27-btn-row { justify-content: flex-start; }
}
@media (max-width: 680px) {
  .a27-grid, .a27-tips { grid-template-columns: minmax(0, 1fr); }
  .a27-notice { grid-template-columns: minmax(0, 1fr); margin-top: -30px; padding: 18px; }
  .a27-hotel__body, .a27-hotel--featured .a27-hotel__body { padding: 6px 18px 20px; }
  .a27-hotel__actions .c27-btn { flex: 1 1 100%; }
  .a27-map__frame { aspect-ratio: 1 / 1; }
}

@media print {
  .a27-jump, .a27-hotel__actions, .a27-map__frame { display: none !important; }
  .a27-hotel { break-inside: avoid; box-shadow: none; }
}
