
@font-face {
    font-family: 'SansMateo';          /* Name you'll use in CSS */
    src: url('../fonts/SansMateo-nR131.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
.micrositio{scrollbar-gutter: stable;}
  h1 {
    font-family: 'SansMateo', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
  }
  
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.micrositio footer#colophon{margin-top: 0;}
.open-sans-home {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: italic;
    font-variation-settings:
      "wdth" 100;
  }

body {
    font-family: 'SansMateo', Arial, sans-serif !important;
    /* "stable" keyword, with optional modifier */
    
    
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
}

.header-image {
    text-align: center;
    margin: auto;
    max-width: 1536px;
    overflow: hidden;
}

.header-image img {
    width: 100%;
    
    object-fit: cover;
    display: block;
}

.main-content {
    max-width: 1536px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #ffffff;
}

.section-description {
    color:#151513;
    line-height: 40px;
    text-align: left;
    margin-bottom: 50px;
}

.section-description h1 {
    font-size: 30px;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-description p {
    font-size: 30px;
    color: #000000;
    font-weight: 400;
}

.posts-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.loading {
    text-align: center;
    font-size: 18px;
    color: #666;
    padding: 60px 0;
}

.error-message {
    text-align: center;
    padding: 40px;
    background-color: #fee;
    border-radius: 8px;
    color: #c00;
}

.post-card {
    display: grid;
    grid-template-columns: .5fr 1fr;
    gap: 40px;
    padding: 30px;
    border-bottom: 3px dotted #ccc;
    /*border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #ffffff;
    transition: box-shadow 0.3s ease;*/
}

.post-card:hover {
    /* box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); */
}

.post-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.post-date {
    font-size: 14px;
    color: #666;    
}

.post-institution {
    font-size: 13px;
    color: #fa6018;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 12px;
}

.post-title {
    font-size: 28px;
    color: #03585d;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.post-excerpt {
    font-size: 16px;
    color: #000000;
    line-height: 1.3;
}
.post-excerpt a{color:#fa6018;font-weight: bold;}
.post-carousel {
    position: relative;
    width: 100%;
    /*height: 550px;*/
    height: 450px;
    overflow: hidden;
    border-radius: 2px;
    background-color: #f5f5f5;
}

.carousel-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slides img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: rgba(255, 255, 255, 0.9);
}
.carousel-overlay {
    position: absolute;
    top: 0px;
    right: 0px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 5px;
    height: 100%;
}

.carousel-overlay .image-count {
    font-size: 16px;
    font-weight: 700;
    margin-top: 25px;
}
@media (max-width: 1024px) {
    .post-card {
        grid-template-columns: 1fr;
    }

    .post-carousel {
        height: 400px;
    }

    .carousel-slides img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .header-image img {
        height: 250px;
    }

    .section-description h1,
    .section-description p {
        font-size: 22px;
    }

    .post-title {
        font-size: 22px;
    }

    .post-carousel {
        height: 300px;
    }

    .carousel-slides img {
        height: 300px;
    }
}

/* lightbox.css */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }
  
  .lightbox.active {
    opacity: 1;
    visibility: visible;
    z-index: 100;
  }
  .lightbox.active p{margin-top: 15px;line-height: 1.4em;}
  .lightbox h3{color:#fa6018; font-size: 1.5em;}
  .lightbox.active p{ color:#333}
  .lightbox.active p strong{line-height: .5em; color: black;}
  
  .lightbox-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
  }
  .lightbox-close {
    background: #fa6018;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
    float: right;
    padding: 3px 10px;
    border-radius: 17px;
    font-size: 14px;
  }
  .ko{font-size: 20px;
    color: #03585d;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;}
.subnav {
        text-align: right;
      }