/* main.css */


@import url('https://fonts.googleapis.com/css?family=Roboto%7CRoboto+Slab');

*{
    border:0;
    font:inherit;
    font-size:1em;
    margin:0;
    padding:0;
    vertical-align:baseline;
}

body{
    background-color: #fafafa;
    background-size: cover;
    background-attachment: fixed;
    color: #505050; 
    text-align:left;
    font-family:'Roboto',sans-serif;
    font-size:1em;
    line-height:1.5em;
    margin: 60px auto;
    width: 1000px;
}

h1,h2,h3,h4{clear:left; margin:1.5em 0em 1em 0em; font-family:'Roboto Slab',serif; text-shadow: 1px 1px 2px #d0d0d0;}
h1{font-size:2.67em;}
h2{font-size:2.00em;}
h3{font-size:1.67em;}
h4{font-size:1.33em;}
p{list-style:none; margin:24px auto 24px auto; padding:0px; width:900px; text-align:left;}
li a, p a {text-decoration:underline; text-decoration-color:#b8860b;}
ul{list-style:none; margin:24px auto 24px auto; padding:0px; width:800px; text-align:left;}
ul li{list-style:none; margin:0px auto 0px auto; padding:0px; text-align:left;}
i,em{font-style:italic;}
b,strong{font-weight:bold;}
sup{
    vertical-align: super;
    font-size: 0.8em;
    line-height: 0;
}
sub{
    vertical-align: sub;
    font-size: 0.8em;
    line-height: 0;
}
table{
    width: 1000px;
    margin: 12px auto 24px auto;
    float: center;
}
th,td{
    text-align: left;
}

/* === HERO BANNER  === */
.hero {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 28px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
}
.hero__img {
  display: block;
  width: 100%;
  height: auto;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none; 
}


.hero__content {
  position: relative;
  text-align: center;
  color: #fff;
  background: rgba(0,0,0,0.60);
  backdrop-filter: blur(3px);
  padding: 22px 28px;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  
  width: 92%;              
  max-width: 940px;        
  min-height: 220px;       
  margin: 0 auto;
}

.hero__content .line3 {
  margin-top: clamp(16px, 2.2vw, 32px);
  padding-top: clamp(8px, 1.2vw, 14px);
  border-top: 1px solid rgba(255,255,255,0.28);
}

.hero__content .line3,
.hero__content .line3 ~ .hero__line {
  font-size: 1.6em;         
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.01em;
}


.hero__content .line2 { 
  margin-bottom: 0.2em; 
}


.hero__content { 
  min-height: 240px; 
}


.hero__content * {
  text-shadow: none !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: 'Roboto', sans-serif;
}
.hero__title {
  font-size: 3.2em;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.3em 0;
}
.hero__line {
  margin: 0.1em 0;
  line-height: 1.2;
  font-weight: 600;
  font-size: 1.9em; 
}


.type {
  position: relative;
  overflow: hidden;         /* text reveals within fixed box */
  white-space: nowrap;
  display: block;
  width: 0;                 /* animated width (characters) */
  padding-right: 3px;       /* room for caret at start */
}


.type::after {
  content: "";
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 2px;
  background: currentColor;
  opacity: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.18);
}

/* Blink that ends invisible */
@keyframes caret-blink { 0%,49%{opacity:1} 50%,100%{opacity:0} }

/* Character-by-character typing */
@keyframes typing2 { from { width: 0ch; } to { width: 71ch; } }
@keyframes typing3 { from { width: 0ch; } to { width: 18ch; } }
@keyframes typing4 { from { width: 0ch; } to { width: 28ch; } }

/* Timeline: L2 0–4s, L3 4–6s, L4 6–8s */
.line2 { animation: typing2 4s steps(71,end) forwards; }
.line3 { animation: typing3 2s steps(18,end) forwards; animation-delay: 3s; }
.line4 { animation: typing4 2s steps(28,end) forwards; animation-delay: 5s; }

/* Caret windows */
.line2.type::after { opacity:1; animation: caret-blink .75s step-end 4 forwards; }
.line3.type::after { opacity:1; animation: caret-blink .75s step-end 2 forwards; animation-delay: 3s; }
.line4.type::after { opacity:1; animation: caret-blink .75s step-end 2 forwards; animation-delay: 5s; }

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .type, .type::after { animation: none !important; width: auto; }
}


.top-left {font-size:5.33em; color: #505050; background: #fafafa; text-align: center; width: 1000px; height: 67px; position: absolute; padding: 36px 0 0 0; top: 0px;}
.bottom-right {font-size:2.33em; color: #fafafa; line-height: 1.5em; width: auto; height: 100px; padding: 0px 27px 27px 0px; text-align: right; position: absolute; bottom: 0px; right: 0px; text-shadow: 0px 0px 6px #000000;}


table.navigation {
    display: flex;
    justify-content: center;
    gap: 2rem; /* spacing between links */
    background-color: #f0f4f8;
    padding: 1rem 0;
    border-bottom: 1px solid #ccc;
    margin: 0 auto;
}

/* Remove default table styles */
table.navigation tr,
table.navigation td {
    display: contents;
}

/* Style each nav link */
table.navigation a {
    text-decoration: none;
    color: #004080;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 6px;
    position: relative;
}

/* Hover effect */
table.navigation a:hover {
    background-color: #e0ecff;
    color: #00264d;
    transform: scale(1.05);
}

table.navigation a::after {
    content: '';
    position: absolute;
    left: 10%;
    bottom: 0;
    width: 80%;
    height: 2px;
    background-color: #004080;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
}

table.navigation a:hover::after {
    transform: scaleX(1);
}

/* Active/current page styling */
table.navigation a.current {
    background-color: #cce0ff;
    font-weight: bold;
}


/* Home page */

.travel-grant-highlight {
    background-color: #e8f4ff;
    border-left: 4px solid #005fa3;
    padding: 16px;
    margin: 40px 0;
    border-radius: 6px;
}

.travel-grant-highlight h3 {
    margin-top: 0;
    font-size: 1.3em;
    color: #003366;
}



.organizers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  padding: 20px;
  margin: 0 auto;
  max-width: 1200px;
}

.organizer-card {
  height: 380px; 
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  padding: 15px;
  border-radius: 12px;
  background: #f9f9f9;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.organizer-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #ddd;
  margin-bottom: 10px;
}

.organizer-info {
  font-size: 13.5px;
  color: #333;
  line-height: 1.5;
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  padding: 5px;
  margin-top: 10px;
  max-height: 210px;
}

.organizer-info strong {
  font-size: 14px;
  display: block;
  margin-bottom: 6px;
}

.organizer-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 10px 0;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}

.assistant-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
    padding-left: 40px;
}

.assistant-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #ccc;
}

.assistant-info {
  font-size: 13.5px;
  color: #333;
  line-height: 1.5;
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  padding: 5px;
  margin-top: 10px;
  max-height: 210px;
}


.cta-button {
  background-color: #52739e;
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 8px;
  display: inline-block;
  text-decoration: none;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}
.cta-button:hover {
  background-color: #813c54;
  color: #c0c0c0;
}

/* Venue button */
/* ========== Conference Rates Section ========== */

#conference-rates .styled-table th,
#conference-rates .styled-table td {
  vertical-align: top;
  padding: 0.6em 0.8em;
}

#conference-rates td:first-child strong {
  font-size: 1.05em;
}

#conference-rates .tag {
  display: inline-block;
  background-color: #eef2f7;
  color: #333;
  font-size: 0.85em;
  padding: 2px 6px;
  border-radius: 4px;
}

.hotel-button {
  display: inline-block;
  padding: 6px 12px;
  background-color: #0056b3; /* adjust to your theme primary */
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9em;
  transition: background-color 0.2s ease-in-out;
}
.hotel-button:hover {
  background-color: #004494;
}

#conference-rates .contact-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

#conference-rates .cta-button {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95em;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

#conference-rates .cta-button.outline {
  border: 1px solid #0056b3;
  color: #0056b3;
  background: transparent;
}
#conference-rates .cta-button.outline:hover {
  background-color: #0056b3;
  color: #fff;
}

#conference-rates .cta-button {
  background-color: #0056b3;
  color: #fff;
}
#conference-rates .cta-button:hover {
  background-color: #004494;
}


/* Call for Papers page */
.travel-grant-section {
    background-color: #f4f8fc;
    border-left: 4px solid #0077cc;
    padding: 20px;
    margin: 40px 0;
    border-radius: 8px;
}

.travel-grant-section h2 {
    margin-top: 0;
    font-size: 1.6em;
    color: #003366;
}

.travel-grant-section p {
    font-size: 1em;
    line-height: 1.6;
}

.grant-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 16px;
    background-color: #0077cc;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.grant-button:hover {
    background-color: #005fa3;
}



/* Registeration Page */
.styled-table {
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95em;
    width: 100%;
    min-width: 600px;
    border: 1px solid #ddd;
}

.styled-table thead tr {
    background-color: #3f6fa8;
    color: #ffffff;
    text-align: left;
}

.styled-table th, .styled-table td {
    padding: 10px 15px;
    border: 1px solid #ddd;
}

.styled-table tbody tr:nth-child(even) {
    background-color: #f3f3f3;
}


h2, h3 {
    margin-top: 10px;
    color: #3f6fa8;
}

p, ul, ol {
    font-size: 0.95em;
    line-height: 1.6em;
}

.registration-button-container {
  text-align: center;
  margin: 2em 0;
}

.registration-button {
  background-color: #005a9c;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.registration-button:hover {
  background-color: #004478;
}

.refund-section {
  margin-top: 2em;
  padding: 1em;
  background-color: #f8f8f8;
  border-left: 4px solid #005a9c;
}

.refund-section h3 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

/* ---------- Registration page layout ---------- */
.container.registration {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.info-card {
  background: #f9fbfd;
  border: 1px solid #e6edf5;
  border-radius: 8px;
  padding: 16px 18px;
  margin-top: 18px;
}

.info-card.small {
  padding: 12px 14px;
}

.info-card h3,
.rate-section h3 {
  margin-top: 0;
}

.info-card .compact-list {
  margin: 8px 0 0 18px;
  padding: 0;
}

.info-card .compact-list li {
  margin: 4px 0;
}

.subnote {
  margin: 4px 0 12px;
  font-size: 0.95em;
  color: #4a5568;
}

/* ---------- Hours grid ---------- */
.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.hours-block {
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 6px;
  padding: 12px;
}

.hours-block h4 {
  margin: 0 0 6px 0;
  font-size: 1rem;
}

/* ---------- Rates tables ---------- */
.styled-table.rates {
  margin-top: 12px;
}

.styled-table.rates thead th {
  vertical-align: bottom;
}

.styled-table.rates td,
.styled-table.rates th {
  vertical-align: top;
}

.styled-table.rates .muted {
  font-weight: 400;
  color: #6b7280;
  font-size: 0.85em;
}

.styled-table.rates.compact td,
.styled-table.rates.compact th {
  padding: 0.5em 0.75em;
}

/* ---------- Primary action ---------- */
.registration-button-container {
  display: flex;
  justify-content: center;
  margin: 28px 0 0;
}

.registration-button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  background: #0056b3;
  color: #fff;
  font-weight: 600;
  transition: background-color 0.2s ease-in-out;
}

.registration-button:hover {
  background: #004494;
}

 
/* Formatting note box — matches site palette */
.formatting-note {
  background: #f4f8fc;                  /* soft blue */
  border-left: 5px solid #52739e;       /* your blue-gray accent */
  padding: 16px 18px;
  margin: 24px auto;
  width: 900px;                         /* aligns with your <p> width in main.css */
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.formatting-note h3 {
  margin: 0 0 8px 0;
  color: #52739e;
  font-size: 1.25em;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Simple “info” dot using CSS only */
.formatting-note h3::before {
  content: "i";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:#52739e;
  color:#fff;
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9em;
  line-height: 1;
}

.formatting-note p {
  margin: 0;
  line-height: 1.6;
}

/* Link style inside the box */
.formatting-note a {
  color: #b2132e;                       /* your red hover color family */
  text-decoration: underline;
}
.formatting-note a:hover {
  color: #813c54;                       /* your burgundy */
  text-decoration-thickness: 2px;
}

/* Mobile tweak to match your responsive rules */
@media only screen and (max-width: 1100px) {
  .formatting-note { width: auto; }
}

/* Reusable callout card (matches Grant section look) */
.callout-card {
  background: #f4f8fc;
  border-left: 5px solid #0077cc;
  padding: 20px;
  margin: 40px auto;
  width: 900px;              
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.callout-title {
  margin: 0 0 10px 0;
  color: #003366;
  font-size: 1.6em;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Simple info dot */
.callout-title::before {
  content: "i";
  display: inline-grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%;
  background:#0077cc; color:#fff; font-weight:700; font-size:.9em;
}

/* Links & button styles aligned to grant section */
.callout-card a {
  color: #0077cc;
  text-decoration: underline;
  transition: color .2s ease;
}
.callout-card a:hover { color: #005fa3; } 

/* Primary CTA button (reuse for Contact actions too) */
.cta-button {
  display: inline-block;
  margin-top: 10px;
  margin-left: 20px;
  padding: 10px 16px;
  background: transparent;
  color: #0077cc;
  border: 2px solid #0077cc;
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
  transition: background-color .2s ease, transform .1s ease;
}
.cta-button:hover { 
  color: #fff; 
  background:#0077cc;
  transform: translateY(-1px); 
}

/* Outline variant for secondary actions */
.cta-button.outline {
  background: transparent;
  color: #0077cc;
  border: 2px solid #0077cc;
}
.cta-button.outline:hover {
  color: #fff; background:#0077cc;
}

/* Contact block tweaks */
.contact-actions { margin-top: 10px; display: flex; gap: 10px; flex-wrap: wrap; }
.link-strong { font-weight: 700; color:#0077cc; text-decoration: underline; }
@media only screen and (max-width:1100px) { .callout-card{ width:auto; } }



/* My hacky way of making the site mobile-friendly */
@media only screen and (max-width: 1100px) {
    h2{font-size:3.00em;}
    p{font-size:1.5em; line-height:1.5em;}
    th,td,tr{font-size:1.5em; line-height:1.5em;}
    td.date{font-size:1em; padding-top:0.5em;}
    td.navigation{font-size:1.5em; padding:0px 20px 0px 20px;}
    table.footer{font-size:0.33em;}
}

