/* InternationalConference.info — 2026 refresh (public pages only).
   Loaded after style.css by views/layout/public.php. Everything is scoped to
   body.site, so the admin and organizer panels are not affected.
   Same brand: navy, royal blue, orange, continent colours. */

.site {
  --sh-1: 0 1px 2px rgba(11, 31, 75, .06), 0 2px 8px rgba(11, 31, 75, .05);
  --sh-2: 0 4px 10px rgba(11, 31, 75, .07), 0 14px 32px rgba(11, 31, 75, .10);
  --sh-3: 0 18px 50px rgba(6, 18, 48, .35);
  --r-xl: 22px;
  --hero-bg: radial-gradient(1200px 520px at 85% -10%, rgba(31, 79, 209, .55), transparent 60%),
             radial-gradient(900px 480px at -10% 110%, rgba(242, 107, 29, .22), transparent 60%),
             linear-gradient(160deg, #0B1F4B 0%, #0A1A3F 55%, #081533 100%);
  background: var(--paper);
}

/* Header: sticky, light glass ---------------------------------------- */
.site .site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px); box-shadow: 0 1px 0 var(--rule); }
.site .site-nav a:not(.btn) { border-radius: 999px; padding: 8px 14px; }
.site .site-nav a[aria-current]:not(.btn) { background: var(--info-bg); box-shadow: none; color: var(--ink); }
.site .nav-search input { border-radius: 999px; }
.site .btn { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease; }
.site .btn:hover { transform: translateY(-1px); }
.site .btn-signal { box-shadow: 0 6px 16px rgba(242, 107, 29, .28); }
.site .btn-signal:hover { box-shadow: 0 8px 20px rgba(217, 86, 10, .34); }

/* Home hero ------------------------------------------------------------ */
.site .hero-v2 { position: relative; overflow: hidden; background: var(--hero-bg); color: var(--white); border-bottom: 0; padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 4.5vw, 56px); }
.site .hero-v2::before { /* faint latitude/longitude grid */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
}
.site .hero-glow { position: absolute; width: 520px; height: 520px; right: -120px; top: -160px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 200deg, var(--c-europe), var(--c-asia), var(--signal), var(--c-oceania), var(--c-north-america), var(--c-europe));
  filter: blur(90px); opacity: .28; }
.site .hero-v2 .wrap { position: relative; }
.site .hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px 5px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #DCE3F2; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.site .hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .2); }
.site .hero-v2 h1 { color: var(--white); max-width: 20ch; }
.site .hero-v2 .hero-sub { color: #C3CCE0; }
.site .hero-v2 .hero-search { border: 0; border-radius: var(--r-xl); box-shadow: var(--sh-3); padding: 8px; gap: 0; background: var(--white); max-width: 1180px; }
.site .hero-v2 .hs-field { border-right: 1px solid var(--rule); padding: 10px 18px 8px; background: transparent; }
.site .hero-v2 .hs-field:nth-of-type(3) { border-right: 0; }
.site .hero-v2 .hs-field:focus-within { box-shadow: none; background: var(--paper); border-radius: 14px; }
.site .hero-v2 .hero-search .btn { border-radius: 16px; padding-inline: 30px; margin: 0; box-shadow: none; }
.site .hero-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0 0; font-size: 14px; color: #9AA6C2; }
.site .hero-popular span { font-weight: 600; margin-right: 2px; }
.site .hero-popular a { color: var(--white); text-decoration: none; font-weight: 600; padding: 6px 12px 5px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04); }
.site .hero-popular a:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); }
.site .hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 36px 0 0; max-width: 980px; border-top: 1px solid rgba(255,255,255,.14); }
.site .hero-stats div { padding: 18px 20px 0 0; }
.site .hero-stats div + div { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.14); }
.site .hero-stats dt { font-size: 13px; font-weight: 600; color: #9AA6C2; order: 2; }
.site .hero-stats dd { margin: 0 0 2px; font-family: var(--display); font-size: clamp(28px, 3vw, 42px); font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: var(--white); }
.site .hero-stats div { display: flex; flex-direction: column-reverse; }
.site .hero-v2 .world-band { margin-top: 32px; min-height: 84px; border-radius: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.site .hero-v2 .wb-seg.is-empty { opacity: .45; }

/* Section headings ------------------------------------------------------ */
.site .sec-head { border-bottom: 0; padding-bottom: 0; margin-bottom: 18px; position: relative; }
.site .sec-head h2 { padding-bottom: 10px; position: relative; }
.site .sec-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 4px; border-radius: 4px; background: var(--signal); }
.site .sec-head a { text-decoration: none; padding: 6px 12px 5px; border-radius: 999px; background: var(--info-bg); color: var(--route); white-space: nowrap; }
.site .sec-head a:hover { background: var(--route); color: var(--white); }

/* Event rows become cards ---------------------------------------------- */
.site .ev-row { background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--rg, var(--rule)); border-radius: 16px; padding: 16px 18px; margin: 0 0 12px; box-shadow: var(--sh-1); transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
.site .ev-row:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.site .ev-row.is-featured { background: linear-gradient(100deg, #FFF6EF 0%, var(--white) 55%); margin-left: 0; padding-left: 18px; }
.site .ev-row.is-past { box-shadow: none; }
.site .ev-date { border: 0; background: color-mix(in srgb, var(--rg, var(--ink)) 9%, white); border-radius: 12px; }
.site .ev-mon { color: var(--ink); }
.site .month-divider { border-bottom: 0; color: var(--ink); font-family: var(--display); font-size: 18px; margin: 28px 0 10px; display: flex; align-items: center; gap: 12px; }
.site .month-divider::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

/* Featured cards ------------------------------------------------------- */
.site .feat { border: 1px solid var(--rule); border-top: 0; border-radius: 20px; box-shadow: var(--sh-1); transition: box-shadow .2s ease, transform .2s ease; position: relative; }
.site .feat:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.site .feat-img { aspect-ratio: 16 / 7; position: relative; }
.site .feat-img img { transition: transform .4s ease; }
.site .feat:hover .feat-img img { transform: scale(1.04); }
.site .feat-fallback { background: radial-gradient(400px 200px at 80% 0%, rgba(255,255,255,.22), transparent 60%), var(--rg, var(--ink)); }
.site .feat-body { padding: 18px 20px 20px; }

/* Side blocks, deadlines, months -------------------------------------- */
.site .side-block { border-radius: 20px; box-shadow: var(--sh-1); border-color: var(--rule); }
.site .deadline-list li { border-left: 0; padding-left: 0; }
.site .dl-days { background: color-mix(in srgb, var(--rg, var(--signal)) 12%, white); border-radius: 12px; }
.site .dl-days b { color: var(--rg, var(--ink)); }
.site .month-list a { border-radius: 10px; padding: 8px 10px; margin: 0 -10px; border-bottom: 0; }
.site .month-list a:hover { background: var(--paper); }

/* Topics as tiles ------------------------------------------------------ */
.site .topic-grid { gap: 12px; column-gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.site .topic-grid a { background: var(--white); border: 1px solid var(--rule); border-radius: 14px; padding: 14px 16px 12px; box-shadow: var(--sh-1); transition: border-color .15s ease, box-shadow .15s ease; align-items: center; }
.site .topic-grid a:hover { border-color: var(--route); box-shadow: var(--sh-2); }
.site .topic-grid b { background: var(--info-bg); color: var(--route); border-radius: 999px; padding: 2px 10px 1px; font-size: 14px; }

/* Continents ------------------------------------------------------------ */
.site .continent { background: var(--paper); border-radius: 16px; padding: 14px 16px 10px; border-top-width: 5px; }
.site .continent li:last-child { border-bottom: 0; }

/* Organizer band ------------------------------------------------------- */
.site .organizer-band { background: var(--hero-bg); position: relative; overflow: hidden; }
.site .organizer-band .url-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 22px; }
.site .organizer-band .url-box input { border-color: transparent; border-radius: 999px; padding-inline: 18px; }

/* Listing page header ---------------------------------------------------- */
.site .page-head:not(.page-head-signal) { background: radial-gradient(900px 300px at 100% 0%, rgba(31, 79, 209, .10), transparent 70%), linear-gradient(180deg, var(--white), #F8FAFD); }
.site .facts { background: var(--white); border-radius: 16px; box-shadow: var(--sh-1); }
.site .chip { background: var(--white); box-shadow: var(--sh-1); }
.site .chip:hover { border-color: var(--route); color: var(--route); }
.site .chip.is-on { background: var(--ink); color: var(--white); }
.site .filter-form { border-radius: 20px; box-shadow: var(--sh-1); }
.site .pager a, .site .pager span { border-radius: 999px; }

/* Event page ----------------------------------------------------------- */
.site .event-head { background: var(--hero-bg); position: relative; overflow: hidden; padding-bottom: 56px; }
.site .event-head::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 15%, transparent 70%); mask-image: radial-gradient(ellipse at 80% 20%, #000 15%, transparent 70%); }
.site .event-head .wrap { position: relative; }
.site .ticket { border-radius: var(--r-xl); box-shadow: var(--sh-3); }
.site .ticket-tear::before, .site .ticket-tear::after { background: #0A1A3F; }
.site .event-kicker { display: inline-block; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 5px 14px 4px; font-size: 14px; }
.site .summary-box { border-radius: 16px; border-left-width: 5px; background: var(--white); box-shadow: var(--sh-1); }
.site .event-figure { border-radius: 20px; box-shadow: var(--sh-1); }
.site .faq details { border-bottom-color: var(--rule); }
.site .faq summary:hover { color: var(--route); }
@media (min-width: 1081px) { .site .event-side { position: sticky; top: 100px; align-self: start; } }

/* Static pages and forms ----------------------------------------------- */
.site .prose img, .site .prose table, .site .prose pre { max-width: 100%; }
.site .prose table { display: block; overflow-x: auto; }
.site .prose pre { overflow-x: auto; }
.site main { overflow-wrap: anywhere; }
.site main h1, .site main h2, .site main h3 { overflow-wrap: break-word; }
.site .auth-card { border-radius: var(--r-xl); box-shadow: var(--sh-2); }

/* Footer ------------------------------------------------------------- */
.site .site-footer { background: linear-gradient(180deg, #0B1F4B, #081533); }
.site .footer-links a:hover { color: var(--white); }
.site .to-top { border-radius: 999px; box-shadow: var(--sh-2); }

/* Responsive --------------------------------------------------------- */
@media (max-width: 1080px) {
  .site .hero-v2 .hs-field:nth-of-type(3) { border-right: 0; }
  .site .hero-v2 .hs-q { border-right: 0; border-bottom: 1px solid var(--rule); }
  .site .hero-v2 .hs-field:nth-of-type(2) { border-right: 1px solid var(--rule); }
  .site .hero-v2 .hero-search .btn { margin-top: 6px; }
}
@media (max-width: 860px) {
  .site .site-nav { top: 100%; }
  .site .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site .hero-stats div:nth-child(3) { border-left: 0; padding-left: 0; }
  .site .hero-stats div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); margin-top: 16px; }
  .site .hero-glow { width: 320px; height: 320px; right: -140px; top: -120px; }
}
@media (max-width: 640px) {
  .site .hero-v2 { padding-top: 40px; }
  .site .hero-v2 .hero-search { padding: 6px; border-radius: 18px; }
  .site .hero-v2 .hs-field, .site .hero-v2 .hs-field:nth-of-type(2) { border-right: 0; border-bottom: 1px solid var(--rule); }
  .site .hero-v2 .hs-field:nth-of-type(3) { border-bottom: 0; }
  .site .hero-v2 .hero-search .btn { width: 100%; }
  .site .hero-popular { gap: 6px; }
  .site .hero-popular a:nth-of-type(n+5) { display: none; }
  .site .hero-v2 .world-band { box-shadow: none; }
  .site .ev-row { padding: 14px 14px; border-radius: 14px; }
  .site .sec-head { flex-wrap: wrap; }
  .site .event-kicker { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .site .ev-row:hover, .site .feat:hover, .site .btn:hover { transform: none; }
}

/* Media partners page ------------------------------------------------- */
.site .partner-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.site .partner-card { background: var(--white); border: 1px solid var(--rule); border-radius: 20px; padding: 20px; box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: 8px; transition: box-shadow .2s ease, transform .2s ease; }
.site .partner-card:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.site .partner-logo { display: grid; place-items: center; height: 120px; border-radius: 14px; background: var(--paper); padding: 14px; margin-bottom: 6px; text-decoration: none; }
.site .partner-logo img { max-width: 100%; max-height: 92px; object-fit: contain; }
.site .partner-logo span { font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--route); }
.site .partner-card h3 { font-size: 18px; margin: 0; overflow-wrap: anywhere; }
.site .partner-card p { margin: 0; color: var(--slate); font-size: 15px; flex: 1; }
.site .partner-link { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.site .partner-empty { text-align: center; padding: 40px 16px; background: var(--white); border: 1px dashed var(--rule); border-radius: 20px; }
.site .partner-apply { background: var(--hero-bg); color: var(--white); padding: clamp(40px, 6vw, 72px) 0; }
.site .partner-apply-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.site .partner-apply h2 { color: var(--white); font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 12px; }
.site .partner-apply-text p { color: #C3CCE0; font-size: 17px; }
.site .partner-points { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: #DCE3F2; font-weight: 600; }
.site .partner-points li { padding-left: 28px; position: relative; }
.site .partner-points li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--signal); border-bottom: 3px solid var(--signal); transform: rotate(-45deg); }
.site .partner-apply-form { background: var(--white); color: var(--ink); border-radius: var(--r-xl); padding: clamp(18px, 3vw, 28px); box-shadow: var(--sh-3); }
.site .partner-apply-form .notice { color: var(--ink); }
@media (max-width: 860px) { .site .partner-apply-grid { grid-template-columns: 1fr; } }

/* Guides ---------------------------------------------------------------- */
.site .guide-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.site .guide-card a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px; background: var(--white); border: 1px solid var(--rule); border-radius: 20px; box-shadow: var(--sh-1); color: inherit; text-decoration: none; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.site .guide-card a:hover { box-shadow: var(--sh-2); transform: translateY(-2px); border-color: var(--route); }
.site .guide-card h2, .site .guide-card h3 { font-size: 20px; line-height: 1.3; margin: 0; color: var(--ink); }
.site .guide-card p { margin: 0; color: var(--slate); flex: 1; }
.site .guide-meta { font-size: 13px; font-weight: 600; color: var(--slate); }
.site .guide-more { font-weight: 700; color: var(--route); }
.site .guide-more::after { content: " →"; }
.site .guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.site .guide-body { max-width: 72ch; }
.site .guide-body ul, .site .guide-body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.site .guide-body li { margin: 0 0 .45em; }
.site .guide-body h2 { scroll-margin-top: 100px; }
.site .guide-body h3 { font-family: var(--sans); font-size: 18px; margin-top: 1.4em; }
.site .guide-note { font-family: var(--sans); font-size: 14px; color: var(--slate); border-top: 1px solid var(--rule); padding-top: 14px; margin-top: 32px; }
.site .guide-side { position: sticky; top: 100px; display: grid; gap: 16px; }
.site .guide-side .side-block { padding: 20px; }
.site .guide-side h2 { font-size: 16px; margin: 0 0 10px; }
.site .guide-toc ol { margin: 0; padding-left: 1.2em; font-size: 15px; }
.site .guide-toc li { margin: 0 0 6px; }
.site .guide-more-head { margin: 48px 0 16px; }
.site .prose ul, .site .prose ol { padding-left: 1.3em; }
.site .prose li { margin-bottom: .4em; }
@media (max-width: 960px) { .site .guide-layout { grid-template-columns: 1fr; gap: 24px; } .site .guide-side { position: static; } }

/* Header fits seven items on laptop screens */
@media (min-width: 861px) {
  .site .site-nav a:not(.btn) { white-space: nowrap; padding: 8px 10px; }
  .site .site-nav .btn { white-space: nowrap; }
}
@media (min-width: 861px) and (max-width: 1360px) {
  .site .nav-search input { width: 150px; }
  .site .nav-search kbd { display: none; }
}
@media (min-width: 861px) and (max-width: 1180px) {
  .site .nav-search { display: none; }
}
.site .header-row > .logo { flex-shrink: 0; }
@media (min-width: 861px) and (max-width: 1100px) {
  .site .site-nav { gap: 0; }
  .site .site-nav a:not(.btn) { font-size: 14px; padding: 6px 7px; }
  .site .site-nav .btn { font-size: 14px; padding-inline: 14px; }
  .site .header-row .logo-img { width: 150px; height: auto; }
  .site .nav-split { display: none; }
}
