*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  background:#d7e3ea;
  color:#3b4a59;
}

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

a{
  color:#3fa0ff;
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

.page{
  width:100%;
  max-width:1020px;
  margin:0 auto;
  background:#f8f9fb;
  box-shadow:0 0 0 1px rgba(0,0,0,.04);
}

/* =========================
   HEADER
========================= */
.hero{
  position:relative;
  min-height:320px;
  overflow:hidden;
  display:flex;
  align-items:stretch;
  background:#0f437e;
}

.top-header{
  width:75%;
  flex:0 0 75%;
  position:relative;
  overflow:hidden;
  background:#0f437e;
}

.top-header img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

.right-rail{
  width:25%;
  flex:0 0 25%;
  position:relative;
  background:#595959;
  min-height:320px;
}

.rail-item{
  position:relative;
  height:64px;
  border-bottom:1px solid rgba(255,255,255,.45);
  overflow:hidden;
}

.rail-item.tall{
  height:80px;
}

.rail-item .thumb{
  position:absolute;
  right:0;
  top:0;
  bottom:0;
  width:34%;
  background:linear-gradient(135deg,#d8d8d8,#6a6a6a);
  filter:grayscale(1);
}

.rail-item.donate{
  background:#efad2c;
  height:72px;
}

.rail-item .big{
  position:absolute;
  left:14px;
  right:38%;
  top:18px;
  font-size:26px;
  font-weight:bold;
  color:#f1f1e8;
  letter-spacing:-1px;
}

.rail-item .label{
  position:absolute;
  left:14px;
  right:38%;
  top:14px;
  font-size:16px;
  line-height:1.02;
  color:rgba(255,255,255,.42);
  font-weight:bold;
}

.rail-item.project .label,
.rail-item.article .label{
  font-size:18px;
  top:10px;
}

.rail-item.conf .label{
  font-size:17px;
  top:28px;
}

/* =========================
   MENU
========================= */
.top-nav{
  min-height:40px;
  background:#0f437e;
  border-top:1px solid rgba(255,255,255,.18);
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  padding:8px 12px;
  gap:10px 18px;
}

.top-nav a{
  color:#fff;
  font-size:14px;
  font-weight:bold;
  white-space:nowrap;
}

/* =========================
   CONTENT
========================= */
.content-wrap{
  position:relative;
  padding:46px 40px 58px 40px;
  background:
    linear-gradient(125deg, rgba(255,255,255,.8), rgba(255,255,255,.96)),
    radial-gradient(circle at 30% 70%, rgba(210,234,247,.55), transparent 35%),
    radial-gradient(circle at 75% 65%, rgba(190,220,240,.5), transparent 30%),
    linear-gradient(135deg, rgba(205,233,247,.45), rgba(255,255,255,0) 40%),
    repeating-radial-gradient(circle at 70% 78%, rgba(193,225,241,.18) 0 2px, transparent 2px 11px);
}

.content-wrap::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(120deg, transparent 0 52%, rgba(198,226,244,.32) 52% 52.5%, transparent 52.5% 100%),
    linear-gradient(60deg, transparent 0 67%, rgba(207,233,246,.35) 67% 67.5%, transparent 67.5% 100%);
  pointer-events:none;
}

.two-col{
  position:relative;
  z-index:1;
  display:flex;
  gap:34px;
  align-items:flex-start;
}

.main-col{
  width:calc(100% - 274px);
  min-width:0;
}

.side-col{
  width:240px;
  flex:0 0 240px;
}

h1,h2{
  margin:0 0 26px 0;
  color:#2b5b9a;
  font-weight:normal;
}

h1{
  font-size:28px;
}

h2{
  font-size:26px;
}

p{
  font-size:15px;
  line-height:1.9;
  margin:0 0 28px;
  color:#465463;
}

.link-list{
  list-style:none;
  padding:0;
  margin:0 0 34px 0;
}

.link-list li{
  margin:0 0 11px 0;
}

.link-list a{
  font-size:14px;
  font-weight:bold;
  color:#4fa5ff;
}

.flash-box{
  margin:24px 0 10px;
  width:100%;
  min-height:144px;
  border:1px solid #f06a31;
  background:linear-gradient(180deg,#f94c48,#f6a32a);
  color:#fff;
  text-align:center;
  padding:12px 22px;
  position:relative;
}

.flash-box .scroll{
  position:absolute;
  right:0;
  top:0;
  bottom:0;
  width:14px;
  background:linear-gradient(180deg,#ddd,#888);
}

.flash-box h3{
  margin:0;
  font-size:28px;
}

.flash-box p{
  color:#fff;
  margin:10px 0;
  font-size:14px;
  line-height:1.6;
}

.section-kicker{
  font-style:italic;
  color:#294f82;
  font-size:20px;
  line-height:1.2;
  margin:42px 0 18px;
}

.placeholder-photo{
  width:100%;
  max-width:480px;
  height:285px;
  background:linear-gradient(180deg,#867557,#2b2b2b),
             radial-gradient(circle at 50% 18%,rgba(255,255,255,.35),transparent 15%);
  position:relative;
  overflow:hidden;
  box-shadow:0 1px 3px rgba(0,0,0,.18);
}

.placeholder-photo::before{
  content:"";
  position:absolute;
  left:40px;
  right:40px;
  bottom:18px;
  top:100px;
  border-top:16px solid rgba(255,255,255,.2);
}

.placeholder-photo::after{
  content:"UN Conference Hall";
  position:absolute;
  left:0;
  right:0;
  bottom:18px;
  text-align:center;
  color:#ddd;
  font-size:22px;
  letter-spacing:1px;
}

.conference-title{
  text-align:center;
  color:#113b70;
  font-size:20px;
  font-weight:bold;
  line-height:1.15;
  margin:16px 0 14px;
  text-transform:uppercase;
}

.meta-center{
  text-align:center;
  color:#8b8b8b;
  font-style:italic;
  font-size:13px;
  margin:8px 0;
}

.small-links{
  text-align:center;
  font-size:12px;
  margin-top:16px;
}

.small-links a{
  color:#4ea4ff;
}

.side-buttons img,
.side-buttons .btnimg{
  display:block;
  width:100%;
  max-width:200px;
  height:72px;
  margin:0 0 18px auto;
  background:linear-gradient(180deg,#0a74ef,#0b2b8f);
  position:relative;
  box-shadow:0 0 0 1px rgba(0,0,0,.12) inset;
}

.side-buttons .btnimg.news{
  background:linear-gradient(180deg,#d7eefb,#7a97bf 48%,#4065a7 100%);
}

.side-buttons .btnimg.chapters{
  background:linear-gradient(180deg,#adb8d0,#5d6d97 48%,#213c6a 100%);
}

.side-buttons .btnimg.archives{
  background:linear-gradient(180deg,#d7dfed,#7e8fb0 48%,#5d74a7 100%);
}

.side-buttons .btnimg span{
  position:absolute;
  right:12px;
  bottom:6px;
  color:#fff;
  font-size:20px;
  font-weight:bold;
  text-transform:lowercase;
}

.side-buttons .btnimg.donate span{
  color:#ffe617;
  left:16px;
  right:auto;
  top:10px;
  bottom:auto;
  font-size:20px;
  text-transform:uppercase;
}

.footer{
  position:relative;
  z-index:1;
  text-align:center;
  padding-top:24px;
  color:#5b6b78;
  font-size:12px;
}

.backtotop{
  text-align:center;
  margin-top:26px;
}

.backtotop a{
  font-size:12px;
  color:#4ea4ff;
}

.membership-lines p{
  margin-bottom:16px;
}

.price-list{
  margin:18px 0 26px;
  font-size:15px;
  line-height:2;
}

.price-list b{
  display:inline-block;
  min-width:130px;
}

.pay-row{
  display:flex;
  align-items:center;
  gap:20px;
  margin:12px 0 28px;
  flex-wrap:wrap;
}

.pay-row select{
  padding:4px 6px;
  border:1px solid #888;
  font-size:12px;
}

.pay-now{
  display:inline-block;
  background:linear-gradient(180deg,#ffc567,#f09600);
  border-radius:16px;
  padding:4px 18px;
  color:#fff;
  font-weight:bold;
  font-size:14px;
  border:1px solid #d18a00;
}

.contact-block p{
  margin-bottom:10px;
  line-height:1.6;
}

.follow a{
  margin-right:18px;
}

.home-welcome p{
  font-size:14px;
  line-height:1.8;
}

/* =========================
   EVENTS PAGE
========================= */
.hero.hero-events{
  background:#55651d;
}

.events-page .main-col{
  width:calc(100% - 244px);
}

.events-page .side-col{
  width:210px;
  flex:0 0 210px;
}

.events-page h1{
  font-size:29px;
  margin-bottom:26px;
}

.event-intro p{
  font-size:12px;
  line-height:1.6;
  color:#3f4d57;
  margin-bottom:10px;
}

.event-intro .mini-links{
  font-size:11px;
  line-height:1.8;
  margin-top:14px;
}

.program-divider{
  font-size:11px;
  color:#575757;
  text-align:center;
  margin:20px 0 18px;
  letter-spacing:.5px;
}

.program-divider.inner{
  margin:34px 0 22px;
}

.program-sheet{
  background:rgba(255,255,255,.78);
  padding:22px 38px 28px;
  border:1px solid #ecf1f5;
  box-shadow:0 0 0 1px rgba(235,240,244,.75) inset;
}

.program-center{
  text-align:center;
  font-size:11px;
  line-height:1.8;
  color:#333;
  margin:0 0 4px;
}

.program-center.small-gap{
  margin-top:2px;
}

.program-center.title-block{
  font-size:12px;
  line-height:1.55;
  margin:10px 0;
}

.program-center.italic,
.italic{
  font-style:italic;
}

.program-text{
  font-size:10.5px;
  line-height:1.7;
  color:#404040;
  text-align:center;
  margin:18px 18px 24px;
}

.program-center.date-line{
  margin-top:20px;
}

.program-center.section-space{
  margin-top:16px;
}

.day-title{
  text-align:center;
  font-size:12px;
  font-weight:bold;
  color:#333;
  margin:28px 0 22px;
  text-decoration:underline;
}

.agenda-item{
  display:flex;
  align-items:flex-start;
  gap:18px;
  margin:0 0 13px;
}

.agenda-item .time{
  width:64px;
  font-size:10px;
  color:#333;
  text-align:left;
  padding-top:1px;
  flex:0 0 64px;
}

.agenda-item .desc{
  flex:1;
  font-size:10.5px;
  line-height:1.7;
  color:#333;
}

.events-links a{
  font-size:11px;
}

.blank-box{
  background:#fff !important;
  border:1px solid #d1d7df;
  box-shadow:none !important;
  height:84px !important;
}

/* =========================
   TABLET
========================= */
@media (max-width: 991px){
  .page{
    max-width:100%;
  }

  .hero{
    min-height:auto;
  }

  .top-header{
    width:75%;
    flex:0 0 75%;
  }

  .right-rail{
    width:25%;
    flex:0 0 25%;
  }

  .top-nav{
    gap:8px 12px;
  }

  .top-nav a{
    font-size:13px;
  }

  .content-wrap{
    padding:30px 22px 40px;
  }

  .two-col{
    gap:22px;
  }

  .main-col,
  .events-page .main-col{
    width:calc(100% - 232px);
  }

  .side-col,
  .events-page .side-col{
    width:210px;
    flex:0 0 210px;
  }

  h1{
    font-size:24px;
  }

  h2{
    font-size:22px;
  }

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

  .program-sheet{
    padding:18px 20px 24px;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 767px){
  .hero{
    display:block;
  }

  .top-header{
    width:100%;
    flex:none;
  }

  .top-header img{
    width:100%;
    height:auto;
    object-fit:contain;
  }

  .right-rail{
    width:100%;
    flex:none;
    min-height:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
  }

  .rail-item,
  .rail-item.donate,
  .rail-item.tall{
    height:74px;
  }

  .rail-item .thumb{
    width:32%;
  }

  .rail-item .big{
    font-size:22px;
    top:22px;
  }

  .rail-item .label{
    font-size:14px;
    top:16px;
  }

  .rail-item.project .label,
  .rail-item.article .label{
    font-size:16px;
    top:12px;
  }

  .rail-item.conf .label{
    top:24px;
    font-size:15px;
  }

  .top-nav{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    padding:12px;
  }

  .top-nav a{
    display:block;
    text-align:center;
    background:rgba(255,255,255,.08);
    padding:8px 6px;
    border-radius:4px;
    font-size:12px;
    white-space:normal;
    line-height:1.3;
  }

  .content-wrap{
    padding:22px 14px 30px;
  }

  .two-col{
    display:block;
  }

  .main-col,
  .side-col,
  .events-page .main-col,
  .events-page .side-col{
    width:100%;
    flex:none;
  }

  .side-col{
    margin-top:26px;
  }

  h1{
    font-size:22px;
    margin-bottom:18px;
  }

  h2{
    font-size:20px;
    margin-bottom:18px;
  }

  p,
  .home-welcome p{
    font-size:14px;
    line-height:1.75;
    text-align:left;
  }

  .flash-box{
    padding:12px 14px;
    min-height:130px;
  }

  .flash-box h3{
    font-size:22px;
  }

  .flash-box p{
    font-size:13px;
  }

  .section-kicker{
    font-size:18px;
  }

  .placeholder-photo{
    height:auto;
    aspect-ratio: 16 / 10;
  }

  .conference-title{
    font-size:16px;
  }

  .meta-center{
    font-size:12px;
  }

  .side-buttons .btnimg,
  .side-buttons img{
    margin-left:auto;
    margin-right:auto;
    max-width:100%;
  }

  .program-sheet{
    padding:16px 12px 18px;
  }

  .program-text{
    margin:14px 0 20px;
    font-size:11px;
    text-align:left;
  }

  .agenda-item{
    gap:10px;
    margin-bottom:12px;
  }

  .agenda-item .time{
    width:54px;
    flex:0 0 54px;
    font-size:10px;
  }

  .agenda-item .desc{
    font-size:11px;
    line-height:1.6;
  }

  .price-list b{
    min-width:110px;
  }

  .footer{
    font-size:11px;
    line-height:1.6;
  }
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 480px){
  .right-rail{
    grid-template-columns:1fr;
  }

  .top-nav{
    grid-template-columns:1fr;
  }

  .rail-item,
  .rail-item.donate,
  .rail-item.tall{
    height:68px;
  }

  .rail-item .big{
    font-size:20px;
    top:20px;
  }

  .rail-item .label{
    font-size:13px;
  }

  .flash-box h3{
    font-size:20px;
  }

  .conference-title{
    font-size:15px;
  }
}