/*
 * The 14th RAP Symposium Website
 * Copyright (c) 2026 The 14th RAP Symposium. All Rights Reserved.
 * This stylesheet is used for the official website of The 14th RAP Symposium.
 */




/* UPDATE AREA: 年度ポスターに合わせて変更する基本色 */
:root{
  --bg:#f4eee1;
  --red:#a81518;
  --dark:#222;
  --line:#d5caba;
}

body{
  background:var(--bg);
  color:var(--dark);
  font-family:'Noto Sans JP', sans-serif;
  overflow-x:hidden;
}

/* ACCESSIBILITY: visible keyboard focus */
a:focus-visible,
button:focus-visible{
  outline:3px solid rgba(168,21,24,0.65);
  outline-offset:4px;
}



/* HEADER */

.site-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:88px;
  padding:24px 54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:rgba(244,238,225,0.9);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  z-index:1000;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  color:var(--red);
}

.brand-rap{
  font-family:'Playfair Display', serif;
  font-size:30px;
  line-height:0.8;
  font-weight:700;
}

.brand-text{
  color:#222;
  font-size:13px;
  line-height:1.3;
  font-weight:700;
}

.header-symposium{
  position:absolute;
  left:50%;
  transform:translateX(-50%);

  font-size:12px;
  letter-spacing:0.28em;
  text-transform:uppercase;

  color:#8b000f;
  font-weight:700;

  top:18px;
}
.global-nav{
  display:flex;
  gap:34px;
}

.global-nav a{
  position:relative;
  font-size:13px;
  font-weight:700;
  letter-spacing:0.06em;
  transition:0.3s;
}

.global-nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-7px;
  width:0;
  height:1px;
  background:var(--red);
  transition:0.3s;
}

.global-nav a:hover{
  color:var(--red);
}

.global-nav a:hover::after{
  width:100%;
}

/* HERO */

.hero{
  position:relative;
  min-height:760px;
  padding:130px 46px 40px;
  display:grid;
  grid-template-columns:46% 54%;
  align-items:center;
}

.hero-series{
  font-size:13px;
  letter-spacing:0.34em;
  text-transform:uppercase;

  color:#8b000f;

  margin-bottom:26px;

  font-weight:700;
}

.speakers-hero{
  text-align:center;
  padding:120px 20px 90px;
}
.hero-left{
  position:relative;
  z-index:2;
}

.hero-left h1{
  font-family:'Playfair Display', serif;
  color:var(--red);
  font-size:clamp(66px, 7.4vw, 118px);
  line-height:0.9;
  letter-spacing:-3px;
  font-weight:700;
}

.date-area{
  margin-top:34px;
  display:flex;
  align-items:center;
  gap:32px;
  color:var(--red);
}

.date-mark{
  font-size:38px;
  position:relative;
}

.date-mark::before,
.date-mark::after{
  content:"";
  position:absolute;
  left:50%;
  width:1px;
  height:48px;
  background:#222;
}

.date-mark::before{
  bottom:44px;
}

.date-mark::after{
  top:44px;
}

.date-main{
  font-family:'Playfair Display', serif;
  font-size:44px;
  font-weight:700;
  line-height:1;
}

.date-sub{
  font-family:'Playfair Display', serif;
  font-size:29px;
  font-weight:700;
}

.hero-copy{
  margin-top:28px;
  margin-left:76px;
  line-height:1.9;
  font-size:17px;
  font-weight:500;
}

.main-btn{
  display:inline-block;
  margin-top:36px;
  margin-left:0;
  padding:18px 40px;
  background:var(--red);
  color:#fff;
  font-weight:700;
  border-radius:6px;
  transition:0.3s;
}

.main-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 30px rgba(168,21,24,0.25);
}

.sub-link{
  margin-top:18px;
  margin-left:110px;
  font-size:13px;
  font-weight:700;
}

.hero-visual{
  position:relative;
  z-index:1;
  margin-left:0;
  overflow:visible;
  transform:translateY(-18px);
  display:flex;
  justify-content:flex-end;
}

/* UPDATE AREA: トップページのメインビジュアル */
/* 次年度ポスターに準じて、画像、サイズ、配置を調整する */
.hero-visual img{
  width:min(52vw, 760px);
  max-width:760px;
  height:auto;
  object-fit:contain;
  display:block;
}


/* INFO BAR */

.info-bar{
  margin:0 44px;
  border:1px solid var(--line);
  display:grid;
  grid-template-columns:1fr 90px 1fr 90px 1fr;
  background:rgba(255,255,255,0.34);
}

.info-item{
  display:grid;
  grid-template-columns:150px 1fr;
  align-items:center;
  gap:26px;
  padding:34px;
}

.info-icon-img{
  width:150px;
  height:auto;
  object-fit:contain;
}

.info-item h3,

.info-item h2{
  font-size:16px;
  letter-spacing:0.08em;
  margin-bottom:12px;
}

.info-item p{
  line-height:1.8;
  font-size:14px;
}

.info-item strong{
  color:var(--red);
  font-size:20px;
}

.info-divider{
  display:flex;
  align-items:center;
  justify-content:center;
}

.info-divider img{
  width:100px !important;
  height:350px !important;
  object-fit:contain !important;
  display:block;
  opacity:1;
}/* ABOUT */

.about{
  position:relative;
  padding:80px 56px 60px;
  display:grid;
  grid-template-columns:1fr;
  align-items:center;
  overflow:hidden;
}

.about-wave{
  position:absolute;
  left:0;
  bottom:-40px;
  width:100%;
  opacity:0.28;
  z-index:0;
}

.about-text,
.about-illust{
  position:relative;
  z-index:2;
}

.about-text{
  width:100%;
  max-width:760px;
  margin:0 auto;
}

.about-text h2,
.card h2,
.registration h2{
  font-family:'Playfair Display', serif;
  color:var(--red);
  font-size:42px;
  line-height:1;
  margin-bottom:22px;
}

.about-text h2::after,
.card h2::after{
  content:"";
  display:block;
  width:44px;
  height:2px;
  background:var(--red);
  margin-top:10px;
}

.about-text p{
  font-size:14px;
  line-height:2.1;
  margin-bottom:12px;
  max-width:760px;
  font-weight:500;
}

.outline-btn{
  display:inline-block;
  margin-top:18px;
  padding:10px 20px;
  border:1px solid var(--red);
  color:var(--red);
  border-radius:4px;
  font-size:13px;
  font-weight:700;
  background:rgba(244,238,225,0.7);
  transition:0.3s;
}

.outline-btn:hover{
  background:var(--red);
  color:#fff;
}

/* ABOUT IMAGE */

.about-illust{
  display:flex;
  justify-content:center;
}

.about-illust img{
  width:100%;
  border-radius:6px;
  mix-blend-mode:multiply;
  opacity:.96;
  
}

/* CARDS */

.content-cards{
  padding:40px 46px 70px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.card{
  border:1px solid var(--line);
  border-radius:6px;
  padding:24px;
  background:rgba(255,255,255,0.42);
  transition:0.35s ease;
}

.card:hover{
  transform:translateY(-6px);
  box-shadow:0 16px 38px rgba(0,0,0,0.08);
}

.card-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  min-height:70px;
}

.card-head span{
  color:var(--red);
  font-size:36px;
}

.card p{
  font-size:14px;
  line-height:1.7;
  margin-bottom:18px;
}
.card-icon{
  width:54px;
  height:54px;

  object-fit:contain;

  flex-shrink:0;
}
.card-photo{
  width:100%;
  height:145px;
  object-fit:cover;
  border-radius:4px;
  margin-bottom:18px;
}
.card a{
  font-size:13px;
  font-weight:700;
}

/* REGISTRATION */

.registration{
  position:relative;
  padding:70px 56px 90px;
  text-align:center;
  border-top:1px solid var(--line);
  overflow:hidden;
}

.registration::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 20%, rgba(168,21,24,0.08), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,0.16), transparent);
  pointer-events:none;
}

.registration h2,
.registration p,
.registration .main-btn{
  position:relative;
  z-index:1;
}

.registration .main-btn{
  min-width:300px;
  font-size:20px;
  box-shadow:0 12px 28px rgba(168,21,24,0.18);
}.reg-wave{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;

  opacity:0.22;

  mix-blend-mode:multiply;

  transform:scale(1.2);

  pointer-events:none;
}
/* FOOTER */

/* FOOTER */

/* FOOTER */

footer{
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.07), transparent 62%),
    linear-gradient(135deg, #8b000f 0%, #b40018 45%, #9c0015 100%);

  color:#fff;
  padding:64px 76px;

  display:grid;
  grid-template-columns:1.7fr 90px 1.45fr 90px 1.25fr;

grid-template-areas:
"brand divider1 contact divider2 copy";
  gap:34px;
  align-items:center;
}

.footer-brand{
  grid-area:brand;
  display:flex;
  align-items:center;
  gap:42px;
}

.footer-divider1{
  grid-area:divider1;
}

.footer-divider2{
  grid-area:divider2;
}

.footer-divider1,
.footer-divider2{
  width:44px;
  height:100px;

  display:flex;
  align-items:center;
  justify-content:center;
}
.footer-divider1 img,
.footer-divider2 img{
  width:28px;
  height:90px;
  object-fit:contain;
  display:block;
}

.footer-contact{
  grid-area:contact;
  font-size:clamp(20px, 1.7vw, 30px);
  line-height:1.8;
  font-weight:600;
  white-space:nowrap;
}

.footer-copy{
  grid-area:copy;
  font-size:15px;
  line-height:1.8;
  opacity:.92;
  white-space:normal;
}

footer .brand-rap{
  color:#fff;
  font-size:clamp(54px, 6vw, 118px);
  line-height:0.82;
  letter-spacing:-0.04em;
}

.footer-brand span:not(.brand-rap){
  color:#fff;
  font-size:clamp(24px, 2.2vw, 40px);
  line-height:1.45;
  font-weight:600;
}

.footer-contact p:first-child{
  font-size:clamp(28px, 2.4vw, 44px);
  line-height:1.2;
  margin-bottom:16px;
  letter-spacing:0.06em;
  font-weight:700;
}

/* RESPONSIVE */

@media(max-width:1100px){

  .hero{
    grid-template-columns:1fr;
    padding-top:120px;
  }

  .hero-visual{
    margin-left:0;
    margin-top:20px;
    transform:none;
    display:flex;
    justify-content:center;
    text-align:center;
  }

  .hero-visual img{
    width:min(86vw, 680px);
  }

  .about{
    grid-template-columns:1fr;
  }

  .about-illust{
    margin-top:34px;
  }

  .content-cards{
    grid-template-columns:1fr;
  }

}


@media(max-width:900px){

  .info-bar{
    grid-template-columns:1fr;
  }

  .info-divider{
    display:none;
  }

  .info-item{
    grid-template-columns:120px 1fr;
    border-bottom:1px solid var(--line);
  }

  .info-item:last-child{
    border-bottom:none;
  }

  .info-icon-img{
    width:120px;
  }

}

@media(max-width:760px){

  .site-header{
    height:auto;
    padding:18px 20px;
    position:relative;
  }

  .brand-rap{
    font-size:25px;
  }

  .brand-text{
    font-size:11px;
  }

  .global-nav{
    display:none;
  }

  .hero{
    min-height:auto;
    padding:110px 24px 34px;
    display:block;
  }

  .hero-left h1{
    font-size:clamp(48px, 15vw, 64px);
    letter-spacing:-2px;
  }

  .date-area{
    gap:24px;
  }

  .date-main{
    font-size:34px;
  }

  .date-sub{
    font-size:22px;
  }

  .hero-copy{
    margin-left:0;
    font-size:15px;
  }

  .main-btn{
    width:100%;
    text-align:center;
    padding:16px 24px;
  }

  .sub-link{
    margin-left:0;
  }

  .hero-visual{
    margin-top:30px;
    display:block;
  }

  .hero-visual img{
    width:115%;
    max-width:none;
    margin-left:-7.5%;
  }

  .info-bar{
    margin:0 24px;
  }

  .info-item{
    padding:24px 22px;
  }

  .about{
    padding:64px 24px;
  }

  .about-wave{
    opacity:0.22;
  }

  .about-text h2,
  .card h2,
  .registration h2{
    font-size:38px;
  }

  .about-illust img{
    width:100%;
  }

  .content-cards{
    padding:34px 24px 64px;
  }

  .card{
    padding:22px;
  }

 
  .registration{
    padding:64px 24px 76px;
  }

  .registration .main-btn{
    min-width:0;
    font-size:17px;
  }

  footer{
    grid-template-columns:1fr;
    padding:42px 28px;
    text-align:center;
    gap:26px;
  }

  .footer-brand{
    display:flex;
    flex-direction:column;
    gap:14px;
  }

  footer .brand-rap{
    font-size:58px;
  }

  .footer-brand span:not(.brand-rap){
    font-size:22px;
  }

  .footer-divider1,
  .footer-divider2{
    display:none;
  }

}
/* SPEAKERS PAGE */

.speakers-hero{
  background:none;
}

.speakers-hero .about-wave{
  display:none;
}

.speaker-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
  margin-top:50px;
}

.speaker-card{
  text-align:center;
}

.speaker-card img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:14px;
  margin-bottom:18px;
}
/* =========================
   Responsive common fixes
   Added: 2026-06-09
   Purpose:
   - prevent mobile horizontal scroll
   - keep footer visible at page bottom
   - hide decorative hero visual on mobile
   ========================= */

html,
body{
  width:100%;
  min-height:100%;
  overflow-x:hidden;
}

body{
  min-height:100vh;
  min-height:100dvh;
}

main{
  width:100%;
  min-width:0;
}

footer{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  flex-shrink:0;
}

.footer-contact,
.footer-copy,
.footer-brand{
  min-width:0;
}

.footer-contact,
.footer-copy{
  overflow-wrap:anywhere;
}

@media(max-width:760px){
  html,
  body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  main{
    width:100%;
    max-width:100%;
    min-width:0;
  }

  .hero{
    padding:46px 24px 34px;
  }

  .hero-visual{
    display:none !important;
  }

  .info-bar,
  .about,
  .content-cards,
  .registration{
    max-width:100%;
  }

  footer{
    grid-template-columns:1fr !important;
    grid-template-areas:
      "brand"
      "contact"
      "copy" !important;
    padding:34px 22px 38px !important;
    gap:18px !important;
    text-align:center;
    overflow:visible;
  }

  .footer-brand{
    justify-content:center;
  }

  footer .brand-rap{
    font-size:42px !important;
    line-height:.86;
  }

  .footer-brand span:not(.brand-rap){
    font-size:16px !important;
    line-height:1.45;
  }

  .footer-contact{
    white-space:normal !important;
    font-size:16px !important;
    line-height:1.7;
  }

  .footer-contact p:first-child{
    font-size:22px !important;
    margin-bottom:10px;
  }

  .footer-copy{
    font-size:12px !important;
    line-height:1.7;
  }

  .footer-divider1,
  .footer-divider2{
    display:none !important;
  }
}

/* =========================
   Mobile navigation fix
   Added: 2026-06-09
   Updated: 2026-06-09
   Purpose:
   - keep page navigation available on smartphones
   - show all menu items without requiring horizontal scroll
   ========================= */

@media(max-width:760px){
  .site-header{
    position:relative !important;
    height:auto !important;
    padding:16px 18px 14px !important;
    display:block !important;
  }

  .brand{
    justify-content:center !important;
    margin:0 auto 14px !important;
  }

  .global-nav{
    display:flex !important;
    flex-wrap:wrap !important;
    width:100% !important;
    max-width:100% !important;
    gap:14px 24px !important;
    justify-content:center !important;
    align-items:center !important;
    overflow:visible !important;
    white-space:normal !important;
    padding:8px 0 6px !important;
  }

  .global-nav a{
    flex:0 0 auto !important;
    font-size:12px !important;
    line-height:1.2 !important;
    letter-spacing:0.06em !important;
    padding:4px 0 !important;
  }

  .global-nav a::after{
    bottom:-3px !important;
  }
}

@media(max-width:430px){
  .site-header{
    padding-left:14px !important;
    padding-right:14px !important;
  }

  .global-nav{
    gap:12px 18px !important;
  }

  .global-nav a{
    font-size:11.5px !important;
    letter-spacing:0.05em !important;
  }
}

/* =========================
   Footer layout fix
   Added: 2026-06-09
   Purpose:
   - prevent footer divider illustration from overlapping text
   - keep footer readable on desktop, tablet, and mobile
   ========================= */

footer{
  box-sizing:border-box !important;
  width:100% !important;
  max-width:100% !important;
  overflow:hidden !important;
  padding:46px 48px !important;
  grid-template-columns:minmax(0,1.25fr) 44px minmax(240px,1fr) 44px minmax(220px,.9fr) !important;
  gap:22px !important;
  align-items:center !important;
}

.footer-brand,
.footer-contact,
.footer-copy{
  min-width:0 !important;
}

.footer-brand{
  gap:24px !important;
}

footer .brand-rap{
  font-size:clamp(42px,4.2vw,78px) !important;
  line-height:.86 !important;
}

.footer-brand span:not(.brand-rap){
  font-size:clamp(17px,1.55vw,26px) !important;
  line-height:1.35 !important;
}

.footer-contact{
  white-space:normal !important;
  font-size:clamp(16px,1.35vw,22px) !important;
  line-height:1.65 !important;
  overflow-wrap:anywhere !important;
}

.footer-contact p:first-child{
  font-size:clamp(22px,2vw,34px) !important;
  line-height:1.2 !important;
  margin-bottom:12px !important;
}

.footer-copy{
  font-size:clamp(12px,1vw,15px) !important;
  line-height:1.7 !important;
  overflow-wrap:anywhere !important;
}
/* PC表示：フッター装飾ラインを表示 */
.footer-divider1,
.footer-divider2{
  display:flex !important;
  width:44px !important;
  height:100px !important;
  align-items:center !important;
  justify-content:center !important;
}

.footer-divider1 img,
.footer-divider2 img{
  width:28px !important;
  height:90px !important;
  object-fit:contain !important;
  display:block !important;
}

/* 狭い画面では可読性優先で非表示 */
@media(max-width:900px){
  .footer-divider1,
  .footer-divider2{
    display:none !important;
  }
}


.footer-divider1,
.footer-divider2{
  width:28px !important;
  height:78px !important;
  justify-self:center !important;
}

.footer-divider1 img,
.footer-divider2 img{
  width:20px !important;
  height:72px !important;
  object-fit:contain !important;
}

@media(max-width:1400px){
  footer{
    grid-template-columns:minmax(0,1.1fr) 28px minmax(0,1fr) 28px minmax(0,.85fr) !important;
    grid-template-areas:"brand divider1 contact divider2 copy" !important;
    gap:18px !important;
    padding:42px 36px !important;
  }

  .footer-divider1,
  .footer-divider2{
    display:flex !important;
    width:28px !important;
    height:78px !important;
    justify-self:center !important;
  }

  .footer-divider1 img,
  .footer-divider2 img{
    width:20px !important;
    height:72px !important;
    object-fit:contain !important;
  }
}
  
@media(max-width:900px){
  footer{
    grid-template-columns:1fr !important;
    grid-template-areas:
      "brand"
      "contact"
      "copy" !important;
    gap:20px !important;
    padding:36px 24px 40px !important;
    text-align:center !important;
  }

  .footer-brand{
    justify-content:center !important;
    flex-direction:column !important;
    gap:12px !important;
  }

  .footer-divider1,
  .footer-divider2{
    display:none !important;
  }

  footer .brand-rap{
    font-size:42px !important;
  }

  .footer-brand span:not(.brand-rap){
    font-size:16px !important;
  }

  .footer-contact{
    font-size:16px !important;
  }

  .footer-contact p:first-child{
    font-size:22px !important;
  }

  .footer-copy{
    font-size:12px !important;
  }
}

/* =========================
   Footer divider final override
   Added: 2026-06-09
   Purpose:
   - keep footer divider lines in the correct grid columns on PC
   - hide divider lines on tablet/mobile for readability
   ========================= */

@media(min-width:901px){
  footer{
    display:grid !important;
    grid-template-columns:minmax(0,1.1fr) 28px minmax(0,1fr) 28px minmax(0,.85fr) !important;
    grid-template-areas:"brand divider1 contact divider2 copy" !important;
    gap:18px !important;
    align-items:center !important;
    padding:42px 36px !important;
    overflow:hidden !important;
  }

  .footer-brand{
    grid-area:brand !important;
  }

  .footer-contact{
    grid-area:contact !important;
  }

  .footer-copy{
    grid-area:copy !important;
  }

  .footer-divider1{
    grid-area:divider1 !important;
  }

  .footer-divider2{
    grid-area:divider2 !important;
  }

  .footer-divider1,
  .footer-divider2{
    display:flex !important;
    width:28px !important;
    height:78px !important;
    align-items:center !important;
    justify-content:center !important;
    justify-self:center !important;
    align-self:center !important;
  }

  .footer-divider1 img,
  .footer-divider2 img{
    width:20px !important;
    height:72px !important;
    object-fit:contain !important;
    display:block !important;
  }
}

@media(max-width:900px){
  footer{
    display:grid !important;
    grid-template-columns:1fr !important;
    grid-template-areas:
      "brand"
      "contact"
      "copy" !important;
    gap:20px !important;
    padding:36px 24px 40px !important;
    text-align:center !important;
  }

  .footer-brand{
    grid-area:brand !important;
    justify-content:center !important;
    flex-direction:column !important;
    gap:12px !important;
  }

  .footer-contact{
    grid-area:contact !important;
  }

  .footer-copy{
    grid-area:copy !important;
  }

  .footer-divider1,
  .footer-divider2{
    display:none !important;
  }
}



/* =========================================================
   TOP PAGE PRINT FIX — 2026-10-29
   1) print nav overlap
   2) footer white gap
   3) venue overflow
   4) registration print artifact
   5) speakers photo handled by replacement image
   ========================================================= */

.venue-icon{
  width:120px;
  height:auto;
}

#speakers .card-photo{
  object-position:left center;
}

@media print{
  @page{
    size:A3 landscape;
    margin:10mm;
  }

  html,
  body{
    background:var(--bg) !important;
    overflow:visible !important;
    -webkit-print-color-adjust:exact !important;
    print-color-adjust:exact !important;
  }

  /* 1) fixed navigation overlap */
  .site-header{
    position:static !important;
    top:auto !important;
    left:auto !important;
    width:100% !important;
    height:auto !important;
    padding:0 0 7mm !important;
    margin:0 0 7mm !important;
    background:transparent !important;
    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;
    border-bottom:1px solid var(--line) !important;
    break-inside:avoid !important;
    page-break-inside:avoid !important;
  }

  .global-nav{
    display:none !important;
  }

  .global-nav a::after{
    display:none !important;
    content:none !important;
  }

  main{
    width:100% !important;
    max-width:none !important;
    overflow:visible !important;
  }

  /* Hero */
  .hero{
    min-height:auto !important;
    padding-top:0 !important;
    padding-bottom:7mm !important;
    break-inside:avoid-page !important;
    page-break-inside:avoid !important;
  }

  /* 3) venue must stay inside the info bar */
  .info-bar{
    margin-left:0 !important;
    margin-right:0 !important;
    grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr) 28px minmax(0,1fr) !important;
    break-inside:avoid-page !important;
    page-break-inside:avoid !important;
  }

  .info-item{
    min-width:0 !important;
    grid-template-columns:82px minmax(0,1fr) !important;
    gap:12px !important;
    padding:14px 14px !important;
    overflow:hidden !important;
  }

  .info-icon-img{
    width:78px !important;
    max-width:78px !important;
    height:auto !important;
  }

  .venue-icon{
    width:68px !important;
    max-width:68px !important;
  }

  .info-item > div{
    min-width:0 !important;
    overflow-wrap:anywhere !important;
  }

  .info-item h3,

  .info-item h2{
    font-size:13px !important;
    margin-bottom:5px !important;
  }

  .info-item p{
    font-size:10.5px !important;
    line-height:1.45 !important;
  }

  .info-item strong{
    font-size:13px !important;
  }

  .info-divider img{
    width:14px !important;
    height:76px !important;
  }

  /* Content cards */
  .content-cards{
    break-inside:avoid-page !important;
    page-break-inside:avoid !important;
  }

  .card{
    break-inside:avoid !important;
    page-break-inside:avoid !important;
    box-shadow:none !important;
    transform:none !important;
  }

  #speakers .card-photo{
    object-position:left center !important;
  }

  /* 4) registration red print artifact */
  .registration{
    position:relative !important;
    overflow:visible !important;
    background:none !important;
    border-top:1px solid var(--line) !important;
    break-inside:avoid-page !important;
    page-break-inside:avoid !important;
  }

  .registration::before,
  .registration::after,
  .reg-wave{
    display:none !important;
    content:none !important;
    background:none !important;
  }

  .registration h2,
  .registration p,
  .registration .main-btn{
    position:relative !important;
    z-index:auto !important;
  }

  .registration .main-btn{
    box-shadow:none !important;
  }

  /* 2) footer white gap */
  footer{
    display:grid !important;
    grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,.85fr) !important;
    grid-template-areas:"brand contact copy" !important;
    gap:16px !important;
    padding:10mm !important;
    background:#111 !important;
    background-image:none !important;
    color:#fff !important;
    overflow:hidden !important;
    break-inside:avoid-page !important;
    page-break-inside:avoid !important;
  }

  .footer-divider1,
  .footer-divider2,
  .footer-divider1 img,
  .footer-divider2 img{
    display:none !important;
  }

  footer::before,
  footer::after{
    display:none !important;
    content:none !important;
  }

  .footer-brand{
    grid-area:brand !important;
  }

  .footer-contact{
    grid-area:contact !important;
    white-space:normal !important;
  }

  .footer-copy{
    grid-area:copy !important;
  }

  *{
    text-shadow:none !important;
  }
}


/* =========================================================
   TOP VISUAL TUNING — 2026-10-29
   Theme visibility + info-bar readability
   ========================================================= */

/* --- 1) THEME: restore hierarchy and RAP red accents --- */

.hero-theme-block{
  margin-top:20px !important;
  max-width:760px;
}

.hero-theme-kicker{
  display:block !important;
  margin:0 0 7px !important;
  color:var(--red) !important;
  font-family:'Noto Sans JP', sans-serif !important;
  font-size:17px !important;
  line-height:1.45 !important;
  font-weight:700 !important;
  letter-spacing:.025em !important;
}

.hero-theme-kicker::after{
  content:"" !important;
  display:block !important;
  width:42px !important;
  height:2px !important;
  margin-top:7px !important;
  background:var(--red) !important;
}

.hero-theme-label{
  display:block !important;
  margin:10px 0 1px !important;
  color:#222 !important;
  font-family:'Playfair Display', serif !important;
  font-size:17px !important;
  line-height:1.2 !important;
  font-weight:700 !important;
}

.hero-theme-main{
  display:block !important;
  margin:0 !important;
  color:#171717 !important;
  font-family:'Playfair Display', serif !important;
  font-size:clamp(40px,3.6vw,58px) !important;
  line-height:1.02 !important;
  font-weight:600 !important;
  letter-spacing:-.02em !important;
}

.hero-theme-main em{
  color:var(--red) !important;
  font-style:normal !important;
}

.hero-theme-sub{
  display:block !important;
  margin:6px 0 0 !important;
  color:#222 !important;
  font-family:'Playfair Display', serif !important;
  font-size:clamp(20px,1.8vw,28px) !important;
  line-height:1.25 !important;
  font-weight:600 !important;
}

.hero-theme-sub em{
  color:var(--red) !important;
  font-style:normal !important;
}

/* Fallback in case the current top HTML uses the older grouped title selector */
.hero-theme-title .hero-theme-kicker{ color:var(--red) !important; }
.hero-theme-title .hero-theme-main{
  color:#171717 !important;
  font-size:clamp(40px,3.6vw,58px) !important;
}
.hero-theme-title .hero-theme-main em{ color:var(--red) !important; }
.hero-theme-title .hero-theme-sub{
  color:#222 !important;
  font-size:clamp(20px,1.8vw,28px) !important;
}
.hero-theme-title .hero-theme-sub em{ color:var(--red) !important; }


/* --- 2) INFO BAR: make details easier to scan --- */

.info-item{
  grid-template-columns:132px minmax(0,1fr) !important;
  gap:24px !important;
  padding:30px 28px !important;
  min-width:0 !important;
}

.info-icon-img{
  width:132px !important;
  max-width:132px !important;
  height:auto !important;
}

.info-item > div{
  min-width:0 !important;
}

.info-item h3,

.info-item h2{
  margin:0 0 15px !important;
  color:#222 !important;
  font-size:18px !important;
  line-height:1.25 !important;
  font-weight:900 !important;
  letter-spacing:.075em !important;
}

.info-item p{
  margin:0 !important;
  color:#292929 !important;
  font-size:16px !important;
  line-height:1.75 !important;
  font-weight:600 !important;
  overflow-wrap:anywhere !important;
}

.info-item strong{
  color:var(--red) !important;
  font-size:18px !important;
  line-height:1.55 !important;
  font-weight:900 !important;
}

.venue-icon{
  width:112px !important;
  max-width:112px !important;
  justify-self:center;
}

/* Keep the three columns comfortable on medium desktop widths */
@media(max-width:1250px) and (min-width:901px){
  .info-item{
    grid-template-columns:104px minmax(0,1fr) !important;
    gap:18px !important;
    padding:25px 20px !important;
  }

  .info-icon-img{
    width:104px !important;
    max-width:104px !important;
  }

  .venue-icon{
    width:90px !important;
    max-width:90px !important;
  }

  .info-item h3,

  .info-item h2{
    font-size:16px !important;
  }

  .info-item p{
    font-size:14.5px !important;
  }

  .info-item strong{
    font-size:16px !important;
  }
}

@media(max-width:760px){
  .hero-theme-kicker{ font-size:15px !important; }
  .hero-theme-label{ font-size:15px !important; }
  .hero-theme-main{ font-size:36px !important; }
  .hero-theme-sub{ font-size:19px !important; }

  .info-item h3,

  .info-item h2{ font-size:17px !important; }
  .info-item p{ font-size:15px !important; }
  .info-item strong{ font-size:16px !important; }
}


/* Print: retain hierarchy without making the theme dominate the page */
@media print{
  .hero-theme-kicker{
    color:var(--red) !important;
    font-size:11.5pt !important;
  }

  .hero-theme-label{
    font-size:11pt !important;
  }

  .hero-theme-main{
    font-size:27pt !important;
  }

  .hero-theme-sub{
    font-size:15pt !important;
  }

  .info-item h3,

  .info-item h2{
    font-size:12pt !important;
    font-weight:900 !important;
  }

  .info-item p{
    font-size:9.5pt !important;
    font-weight:600 !important;
    line-height:1.45 !important;
  }

  .info-item strong{
    font-size:10.5pt !important;
    font-weight:900 !important;
  }
}


/* =========================================================
   INFO BAR READABILITY REFINEMENT — 2026-10-29
   Keep current content; improve line breaks and hierarchy.
   ========================================================= */

.info-bar{
  grid-template-columns:minmax(0,1fr) 56px minmax(0,1.18fr) 56px minmax(0,1.08fr) !important;
}

.info-item{
  grid-template-columns:104px minmax(0,1fr) !important;
  gap:18px !important;
  padding:28px 24px !important;
  align-items:center !important;
}

.info-icon-img{
  width:104px !important;
  max-width:104px !important;
  height:auto !important;
}

.venue-icon{
  width:92px !important;
  max-width:92px !important;
}

.info-item > div{
  min-width:0 !important;
}

.info-item h3,

.info-item h2{
  margin:0 0 12px !important;
  font-size:17px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  letter-spacing:.07em !important;
}

.info-item p{
  margin:0 !important;
  font-size:14px !important;
  line-height:1.65 !important;
  font-weight:600 !important;
  color:#2a2a2a !important;
}

/* Keep each intended line together; explicit <br> still creates the line breaks */
.info-item p,
.info-item strong{
  white-space:nowrap !important;
}

.info-item strong{
  color:var(--red) !important;
  font-size:15.5px !important;
  line-height:1.5 !important;
  font-weight:900 !important;
}

.info-divider{
  min-width:0 !important;
}

.info-divider img{
  width:54px !important;
  height:190px !important;
  object-fit:contain !important;
}

/* Slightly tighter treatment for the time and venue columns */
.info-item:nth-of-type(3) p,
.info-item:nth-of-type(5) p{
  letter-spacing:-.01em !important;
}

@media(max-width:1250px) and (min-width:901px){
  .info-bar{
    grid-template-columns:minmax(0,1fr) 36px minmax(0,1.15fr) 36px minmax(0,1.05fr) !important;
  }

  .info-item{
    grid-template-columns:86px minmax(0,1fr) !important;
    gap:14px !important;
    padding:22px 16px !important;
  }

  .info-icon-img{
    width:86px !important;
    max-width:86px !important;
  }

  .venue-icon{
    width:76px !important;
    max-width:76px !important;
  }

  .info-item h3,

  .info-item h2{
    font-size:15px !important;
  }

  .info-item p{
    font-size:12.5px !important;
  }

  .info-item strong{
    font-size:13.5px !important;
  }

  .info-divider img{
    width:36px !important;
    height:150px !important;
  }
}

@media(max-width:900px){
  .info-item p,
  .info-item strong{
    white-space:normal !important;
  }
}

/* Print: preserve the clean one-line grouping inside the 3 boxes */
@media print{
  .info-bar{
    grid-template-columns:minmax(0,1fr) 20px minmax(0,1.15fr) 20px minmax(0,1.05fr) !important;
  }

  .info-item{
    grid-template-columns:70px minmax(0,1fr) !important;
    gap:10px !important;
    padding:10px 12px !important;
  }

  .info-icon-img{
    width:68px !important;
    max-width:68px !important;
  }

  .venue-icon{
    width:60px !important;
    max-width:60px !important;
  }

  .info-item h3,

  .info-item h2{
    font-size:10.5pt !important;
    margin-bottom:5px !important;
  }

  .info-item p{
    font-size:8.8pt !important;
    line-height:1.45 !important;
    white-space:nowrap !important;
  }

  .info-item strong{
    font-size:9.6pt !important;
    white-space:nowrap !important;
  }

  .info-divider img{
    width:18px !important;
    height:78px !important;
  }
}


/* =========================================================
   PRINT BACKGROUND RESTORE — 2026-10-29
   Keep the symposium ivory/beige background when printing.
   ========================================================= */
@media print{
  html,
  body{
    background:var(--bg) !important;
    -webkit-print-color-adjust:exact !important;
    print-color-adjust:exact !important;
  }

  main,
  .hero,
  .info-bar,
  .about,
  .content-cards,
  .registration{
    background-color:transparent !important;
    -webkit-print-color-adjust:exact !important;
    print-color-adjust:exact !important;
  }

  .info-bar{
    background:rgba(255,255,255,0.34) !important;
  }

  .card{
    background:rgba(255,255,255,0.42) !important;
  }
}

/* Mobile info cards: override later desktop grid rules on screens only. */
@media screen and (max-width:900px){
  .info-bar{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    grid-template-rows:none !important;
    grid-auto-flow:row !important;
    gap:0 !important;
  }
  .info-bar > .info-divider{display:none !important;}
  .info-bar > .info-item{
    display:grid !important;
    grid-template-columns:72px minmax(0,1fr) !important;
    grid-column:auto !important;
    grid-row:auto !important;
    gap:16px !important;
    padding:24px 18px !important;
    width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
    align-items:center !important;
  }
  .info-bar .info-icon-img,
  .info-bar .venue-icon{
    width:72px !important;
    max-width:100% !important;
    height:auto !important;
  }
  .info-bar .info-item > div{min-width:0 !important;}
  .info-bar .info-item h3,
  .info-bar .info-item h2{
    font-size:16px !important;
    white-space:normal !important;
    letter-spacing:.04em !important;
  }
  .info-bar .info-item p,
  .info-bar .info-item strong{
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:break-word !important;
    font-size:14px !important;
    line-height:1.7 !important;
  }
}
@media screen and (max-width:480px){
  .info-bar > .info-item{grid-template-columns:minmax(0,1fr) !important;gap:14px !important;}
}

/* Align venue icon with the other mobile card icons. */
@media screen and (max-width:900px){
  .info-bar .venue-icon{justify-self:start !important;}
}
