/*
 * 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.
 */




/* =========================
   ABOUT PAGE ONLY
   Load after css/style.css
   ========================= */

html,
body{
  margin:0;
  padding:0;
  min-height:100%;
}

body.about-page{
  min-height:100vh;
  display:block;
  overflow-x:hidden;
}

.about-page .page-main{
  flex:0 0 auto;
  padding-top:0;
}

.about-page .site-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.about-page .brand,
.about-page .global-nav{
  position:relative;
  z-index:2;
}

.about-page .global-nav a.is-active{
  color:var(--red);
}

.about-page .global-nav a.is-active::after{
  width:100%;
}

/* same position as program page */
.about-page .symposium-title-block{
  width:100%;
  max-width:none;
  margin:0;
  padding:2px 0 0 54px;
  box-sizing:border-box;
  text-align:left;
}

.about-page .symposium-title-block img{
  display:block;
  width:360px;
  max-width:calc(100vw - 108px);
  height:auto;
}

.about-hero{
  text-align:center;
  background:none;
  padding:4px 20px 18px;
}

.about-hero h1{
  font-family:'Playfair Display', serif;
  color:var(--red);
  font-size:clamp(52px, 6.2vw, 78px);
  line-height:1;
  letter-spacing:0.10em;
  margin:0 0 14px;
  font-weight:800;
}

.about-hero .page-lead{
  font-size:clamp(15px, 1.2vw, 18px);
  line-height:1.95;
  font-weight:700;
  margin:0 auto;
}

.about-section{
  width:calc(100% - 36px);
  max-width:1500px;
  margin:0 auto;
  padding:0 0 18px;
}

.about-kicker{
  color:var(--red);
  font-size:15px;
  font-weight:900;
  letter-spacing:0.18em;
  line-height:1.2;
  margin:0 0 16px;
}

.about-intro-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.45fr) minmax(360px, .85fr);
  gap:14px;
  align-items:stretch;
  margin:0 0 14px;
}

.about-lead-card,
.about-info-card,
.about-card,
.about-message-box{
  box-sizing:border-box;
  background:rgba(255,255,255,0.50);
  border:1px solid rgba(213,202,186,0.92);
  border-radius:6px;
  box-shadow:0 10px 26px rgba(0,0,0,0.055);
}

.about-lead-card{
  position:relative;
  overflow:hidden;
  padding:46px 50px 50px;
}


.about-lead-card h2,
.about-concept-heading h2{
  font-family:'Playfair Display', serif;
  color:var(--red);
  font-size:clamp(36px, 4.2vw, 64px);
  line-height:1.05;
  letter-spacing:0.02em;
  font-weight:800;
  margin:0 0 28px;
}

.about-lead-card p:not(.about-kicker){
  position:relative;
  z-index:1;
  font-size:16px;
  line-height:2.05;
  font-weight:600;
  margin:0 0 16px;
  max-width:940px;
}

.about-lead-card p:last-child{
  margin-bottom:0;
}

.about-info-card{
  padding:34px 36px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.about-info-row{
  padding:22px 0;
  border-bottom:1px solid rgba(168,21,24,0.20);
}

.about-info-row:first-child{
  padding-top:0;
}

.about-info-row:last-child{
  padding-bottom:0;
  border-bottom:none;
}

.about-info-row span{
  display:block;
  color:var(--red);
  font-size:13px;
  font-weight:900;
  letter-spacing:0.18em;
  line-height:1.2;
  margin:0 0 8px;
}

.about-info-row strong{
  display:block;
  color:var(--dark);
  font-size:clamp(17px, 1.55vw, 23px);
  line-height:1.45;
  font-weight:900;
}

.about-concept-area{
  display:grid;
  grid-template-columns:minmax(280px, .7fr) minmax(0, 1fr);
  gap:34px;
  align-items:end;
  margin:0 0 14px;
  padding:34px 4px 22px;
}

.about-concept-heading h2{
  color:var(--dark);
  font-size:clamp(32px, 3.4vw, 54px);
  margin-bottom:0;
}

.about-concept-text{
  font-size:16px;
  line-height:2;
  font-weight:700;
  margin:0;
}

.about-card-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  align-items:stretch;
  margin:0 0 14px;
}

.about-card{
  min-height:250px;
  padding:38px 36px 40px;
}

.about-card-number{
  color:var(--red);
  font-family:'Playfair Display', serif;
  font-size:38px;
  line-height:1;
  font-weight:800;
  margin:0 0 26px;
}

.about-card h3{
  color:var(--dark);
  font-size:clamp(22px, 2vw, 30px);
  line-height:1.15;
  font-weight:900;
  margin:0 0 18px;
}

.about-card p:not(.about-card-number){
  font-size:15px;
  line-height:1.85;
  font-weight:600;
  margin:0;
  opacity:.88;
}

.about-message-box{
  position:relative;
  padding:34px 42px 36px;
  margin:0;
  background:rgba(255,255,255,0.36);
  box-shadow:none;
}

.about-message-box p:not(.about-kicker){
  font-size:15px;
  line-height:1.95;
  font-weight:700;
  margin:0;
}

.about-section .back-link-area{
  display:flex;
  justify-content:center;
  margin:12px auto 0;
}

.about-section .back-link{
  color:var(--red);
  font-size:18px;
  font-weight:900;
  letter-spacing:0.02em;
  text-decoration:none;
}

.about-section .back-link:hover{
  opacity:.75;
}

.about-page .footer-divider1 img,
.about-page .footer-divider2 img{
  width:36px;
  height:180px;
  object-fit:contain;
  display:block;
}

.about-page footer{
  flex-shrink:0;
  margin-top:0 !important;
  margin-bottom:0 !important;
}

@media(max-width:1200px){
  .about-page .site-header{
    padding:18px 32px;
  }

  .about-page .symposium-title-block{
    padding-left:32px;
  }

  .about-page .symposium-title-block img{
    width:320px;
    max-width:calc(100vw - 64px);
  }

  .about-page .global-nav{
    gap:22px;
  }

  .about-page .global-nav a{
    font-size:12px;
  }

  .about-section{
    width:calc(100% - 24px);
  }

  .about-lead-card{
    padding:38px 36px 42px;
  }

  .about-info-card,
  .about-card{
    padding-left:30px;
    padding-right:30px;
  }
}

@media(max-width:980px){
  .about-intro-grid,
  .about-concept-area,
  .about-card-grid{
    grid-template-columns:1fr;
  }

  .about-info-card{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:0 28px;
  }

  .about-info-row:nth-last-child(2){
    border-bottom:none;
    padding-bottom:0;
  }

  .about-concept-area{
    gap:14px;
    padding:24px 4px 18px;
  }
}

@media(max-width:760px){
  .about-page .site-header{
    height:auto;
    padding:18px 20px;
    position:relative;
  }

  .about-page .global-nav{
    display:none;
  }

  .about-page .page-main{
    padding-top:0;
  }

  .about-page .symposium-title-block{
    padding:14px 24px 0;
    text-align:center;
  }

  .about-page .symposium-title-block img{
    width:min(78vw, 330px);
    margin:0 auto;
  }

  .about-hero{
    padding:10px 20px 18px;
  }

  .about-hero h1{
    font-size:42px;
  }

  .about-section{
    width:auto;
    padding:0 24px 22px;
  }

  .about-kicker{
    font-size:14px;
  }

  .about-lead-card,
  .about-info-card,
  .about-card,
  .about-message-box{
    padding:28px 22px 30px;
  }


  .about-lead-card p:not(.about-kicker),
  .about-concept-text,
  .about-message-box p:not(.about-kicker){
    font-size:14px;
  }

  .about-info-card{
    display:block;
  }

  .about-info-row:nth-last-child(2){
    border-bottom:1px solid rgba(168,21,24,0.20);
    padding-bottom:22px;
  }

  .about-card{
    min-height:auto;
  }

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

/* =========================
   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;
}

.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.15fr) minmax(0,1fr) minmax(0,.85fr) !important;
    grid-template-areas:"brand contact copy" !important;
    gap:28px !important;
    padding:42px 42px !important;
  }

  .footer-divider1,
  .footer-divider2{
    display:none !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 .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 display fix
   PC: show decorative star lines
   Mobile/tablet: hide them for readability
   ========================= */

@media(min-width:901px){
  .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;
  }

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

@media(max-width:900px){
  .footer-divider1,
  .footer-divider2{
    display:none !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;
  }
}



/* =========================
   PRINT FIX — About page
   Added: 2026-10-29
   ========================= */
@media print {
  .about-page .site-header{
    position:static !important;
    top:auto !important;
    left:auto !important;
    width:100% !important;
    height:auto !important;
    break-inside:avoid !important;
    page-break-inside:avoid !important;
  }

  .about-page .page-main,
  .about-page .about-section{
    overflow:visible !important;
  }

  .about-lead-card,
  .about-info-card,
  .about-card,
  .about-message-box,
  .about-intro-grid,
  .about-concept-area,
  .about-card-grid{
    break-inside:avoid !important;
    page-break-inside:avoid !important;
  }

  .about-lead-card,
  .about-info-card,
  .about-card,
  .about-message-box{
    box-shadow:none !important;
  }

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

  .about-page footer{
    background:#8b000f !important;
    background-image:none !important;
    overflow:hidden !important;
    break-inside:avoid !important;
    page-break-inside:avoid !important;
  }

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

  .about-page footer::before,
  .about-page footer::after{
    content:none !important;
    display:none !important;
  }

  .about-page,
  .about-page *{
    -webkit-print-color-adjust:exact !important;
    print-color-adjust:exact !important;
  }
}
