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




*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  font-size:100%;
  scroll-behavior:smooth;
}

body{
  margin:0;
  padding:0;
}

h1,h2,h3,h4,h5,h6,
p,
ul,
ol,
figure{
  margin:0;
  padding:0;
}

ul,
ol{
  list-style:none;
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
  display:block;
}

button,
input,
textarea,
select{
  font:inherit;
}

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