/* IEEE ISMAR 2027 — shared styles */

/* Self-hosted Poppins (SIL OFL, see ../fonts/OFL.txt). No requests to Google Fonts. */
@font-face { font-family:Poppins; font-style:normal; font-weight:300; font-display:swap; src:url('../fonts/poppins-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family:Poppins; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/poppins-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family:Poppins; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/poppins-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family:Poppins; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/poppins-latin-700-normal.woff2') format('woff2'); }

:root { --nav-height:70px; --blue:#3a8bf3; --ink:#353535; --brown:#3d1209; --sand:#f4e8d4; --overlay:41,70,95; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; padding-top:80px; color:var(--ink); background:#fff; font-family:Poppins,Arial,sans-serif; overflow-x:hidden; }

/* Navigation */
.navbar { height:var(--nav-height); background:#fff; position:fixed; top:0; width:100%; z-index:10; display:flex; justify-content:space-between; align-items:center; padding:0 3.5vw; box-shadow:0 4px 10px rgba(0,0,0,.2); }
.logo { color:var(--brown); text-decoration:none; font-size:1.3rem; font-weight:700; letter-spacing:-.05em; }
.logo small { display:block; font-size:.58rem; letter-spacing:.14em; text-align:right; margin-top:-.45rem; color:#565656; }
.nav-links { display:flex; list-style:none; padding:0; margin:0; gap:.2rem; }
.nav-links a { display:block; padding:.55rem .7rem; color:var(--brown); text-decoration:none; font-size:.85rem; font-weight:600; text-transform:uppercase; }
.nav-links a:hover { background:var(--sand); border-radius:4px; }

/* Hero — photo: © KOBE TOURISM BUREAU (feel-photo.info) */
.hero { height:70vh; min-height:600px; position:relative; display:flex; align-items:center; justify-content:center; overflow:hidden; text-align:center; color:white;
  background:#547b92 url('../img/kobe-hero-1920.jpg') center 60%/cover no-repeat; }
.hero:before { content:""; position:absolute; inset:0; background:rgba(var(--overlay),.5); }
.photo-credit { position:absolute; right:.8rem; bottom:.5rem; z-index:1; font-size:.7rem; color:rgba(255,255,255,.85); }
.content { position:relative; z-index:1; width:min(900px,100%); padding:0 20px; }
.hero-mark { width:150px; height:150px; margin:0 auto 1.1rem; border:4px solid white; border-radius:50%; display:grid; place-items:center; font-weight:700; font-size:1.45rem; line-height:1; box-shadow:0 2px 12px rgba(0,0,0,.25); }
.hero-mark span { display:block; font-size:.57rem; letter-spacing:.12em; margin-top:.45rem; }
.heading { font-size:3rem; line-height:.8; margin:.5rem 0; color:white; font-weight:600; }
.subheading { font-size:1.5rem; line-height:1.1; margin:1rem 0; color:white; font-weight:400; }

/* Home sections */
.announcement { padding:20px 1.5rem; margin:20px auto 10px; text-align:center; max-width:1000px; }
.announcement h2 { margin:0 0 1rem; color:var(--blue); font-size:2rem; font-weight:600; }
.announcement p { font-size:1.1rem; line-height:1.6; margin:0; }
.ismar-glance-section { padding:4rem 1.5rem; text-align:center; }
.ismar-glance-inner { max-width:1100px; margin:auto; }
.ismar-glance-title { margin:0 0 2.25rem; color:var(--blue); font-size:2rem; font-weight:600; }
.ismar-glance-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; }
.ismar-stat { min-height:112px; display:flex; flex-direction:column; justify-content:center; border:1px solid #e6e6e6; border-radius:8px; box-shadow:0 2px 8px rgba(0,0,0,.06); background:#fff; }
.ismar-counter { color:var(--blue); font-size:2.2rem; font-weight:600; line-height:1; }
.ismar-stat-label { margin-top:.5rem; font-size:.95rem; }
.notice { max-width:900px; margin:20px auto; padding:16px 20px; background:#f1f6ff; border-left:6px solid rgb(37,37,197); border-radius:8px; box-shadow:0 2px 10px rgba(0,0,0,.06); text-align:left; }
.notice h3 { color:#0f172a; margin:0 0 .4rem; font-size:1.1rem; }
.notice p { margin:.4rem 0 0; line-height:1.6; }
.main-sections { max-width:1100px; margin:3.5rem auto 0; padding:0 1.5rem; display:grid; grid-template-columns:1.35fr .85fr; gap:2rem; }
.section-title { color:var(--blue); font-size:1.55rem; font-weight:600; margin:0 0 1rem; }
.news { display:grid; gap:1rem; }
.news-item { border:1px solid #e2e2e2; border-radius:7px; padding:1.15rem 1.25rem; }
.news-item h3 { margin:0 0 .45rem; font-size:1rem; color:#222; }
.news-item p { margin:0; font-size:.94rem; line-height:1.55; }
.news-item a { display:inline-block; color:#006df2; text-decoration:none; font-weight:600; margin-top:.65rem; font-size:.9rem; }
.deadline-table { width:100%; border-collapse:collapse; font-size:.94rem; }
.deadline-table th, .deadline-table td { padding:.8rem .3rem; border-bottom:1px solid #ddd; text-align:left; }
.deadline-table th { color:#222; }
.deadline-table td:last-child { color:#6a6a6a; }
.sponsors { margin-top:4.5rem; padding:3.5rem 1.5rem; background:#fafafa; text-align:center; }
.sponsors h2 { margin:0; color:var(--blue); font-size:2rem; font-weight:600; }
.sponsors p { margin:1rem auto 0; max-width:620px; }

/* Text pages (statement, privacy) */
.page { max-width:820px; margin:3rem auto 4rem; padding:0 1.5rem; line-height:1.7; }
.page h1 { color:var(--blue); font-size:2rem; font-weight:600; line-height:1.25; margin:0 0 1.5rem; }
.page h2 { color:#222; font-size:1.2rem; font-weight:600; margin:2rem 0 .5rem; }
.page a { color:#006df2; }
.page .meta { color:#6a6a6a; font-size:.9rem; }

/* Footer */
footer { position:relative; color:white; text-align:center; padding:2.5rem 1.5rem 1.2rem; background:#1f3a52; }
.footer-title { font-size:.96rem; margin:0 0 1rem; }
.footer-links { display:flex; flex-wrap:wrap; justify-content:center; gap:.4rem 1.4rem; list-style:none; padding:0; margin:0 0 1.2rem; font-size:.85rem; }
.footer-links a { color:white; text-decoration:underline; text-underline-offset:3px; }
.footer-small { font-size:.72rem; opacity:.85; margin:0; }

@media (min-width:2000px) { .hero { background-image:url('../img/kobe-hero-2560.jpg'); } }
@media (max-width:800px) {
  .navbar { padding:0 1rem; } .nav-links { display:none; }
  .hero { min-height:540px; height:65vh; background-image:url('../img/kobe-hero-1280.jpg'); }
  .heading { font-size:2.25rem; } .subheading { font-size:1.2rem; }
  .announcement h2, .ismar-glance-title { font-size:1.6rem; }
  .ismar-glance-grid { grid-template-columns:repeat(2,1fr); }
  .main-sections { grid-template-columns:1fr; }
}
@media (max-width:480px) {
  .hero-mark { width:118px; height:118px; font-size:1.1rem; }
  .heading { font-size:1.8rem; }
  .ismar-glance-section { padding:2.8rem 1rem; }
}

/* IEEE cookie banner (cookieconsent 3.0.3): larger and more prominent */
html body .cc-window.cc-banner { padding:1.2rem 3.5vw; font-family:Poppins,Arial,sans-serif; font-size:1rem; line-height:1.5; border-top:4px solid var(--blue); box-shadow:0 -6px 20px rgba(0,0,0,.3); }
html body .cc-window .cc-link { opacity:1; font-weight:600; text-decoration:underline; }
html body .cc-window .cc-btn { font-size:.95rem; font-weight:600; padding:.65rem 1.6rem; border-radius:6px; }
html body .cc-window .cc-btn:hover { filter:brightness(1.1); }
.page ul { padding-left:1.2rem; }
.page li { margin:.3rem 0; }
.page code { font-size:.9em; background:#f3f3f3; padding:.1em .35em; border-radius:4px; }
