body {
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-style: normal;
  line-height: 1.75;
  color: #231916;
  background: #fdfaf4; /* ← 全体背景を1色に */
  background:url(../images/bg01.jpg);
}

a {
    color: #231916;
    text-decoration: none;
}

.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

span.big {
    font-size: 1.35em;
}

span.blue {
    color: #004ea2;
}

.reception-period{
  text-align: center;
  font-size: 1.25em;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.overview-list.is-vertical{
  display: block;
  text-align: center;
  background: #f3f7fb;
  border-radius: 12px;
  padding: 18px 16px;
}

.highlight-box{
  background: #f3f7fb;
  border-radius: 12px;
  padding: 18px 16px;
  text-align: left;
  font-size: 1.1em;
  margin-bottom: 14px;
}

.highlight-box p{
  margin: 0;
}

.overview-list.is-vertical dt,
.overview-list.is-vertical dd{
  padding: 0;
}

.overview-list.is-vertical dt{
  justify-content: center;
  font-size: 1.05em;
  margin-bottom: 8px;
}

.overview-list.is-vertical dd::after{
  content: none;
}

.small{
  font-size:0.8em;
}

br.pc{
  display:block;
}

br.sp{
  display:none;
}

@media (max-width: 640px){
body {
  font-size: 0.9em;
}
span.big {
  font-size: 1.15em;
}
br.pc {
    display: none;
}

br.sp{
  display:block;
}
}

/* Layout Styles */
.header-placeholder {
  width: 100%;
}

.header-placeholder img {
  width: 100%;
  height: auto;
  display: block;
}

.urgent-notice{
  width: 100%;
  background:#fff5f5;
}

.urgent-notice p{
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 18px;
  text-align: center;
  color: #d90000;
  font-weight: 800;
  font-size: 1.35em;
  letter-spacing: .05em;
}

.site-header{
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(35, 25, 22, .08);
  box-sizing: border-box;
  z-index: 1000;
  transition: opacity .5s ease, transform .5s ease;
  will-change: opacity, transform;
}

.site-header.is-fixed{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

.site-header.is-fixed.is-visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.has-fixed-header{
  padding-top: var(--header-height, 0px);
}

.site-header__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header__logo{
  font-weight: 700;
  letter-spacing: .08em;
  color: #231916;
  white-space: nowrap;
}

.site-header__nav{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-header__nav a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 0;
  background: transparent;
  color: #004ea2;
  font-weight: 700;
  letter-spacing: .04em;
  transition: .3s;
  position: relative;
}

.site-header__nav a:hover{
  opacity: .7;
}

.site-header__nav a::after{
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: currentColor;
}

.site-header__nav a:last-child::after{
  content: none;
}

.site-header__nav a.is-advertising{
  color: #1b6b3a;
}

.site-header__nav a.is-program{
  color: #d90000;
}

.site-header__toggle{
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 5px;
  border: none;
  background:#004ea2;
  color: #fff;
  cursor: pointer;
}

.site-header__toggle-bar{
  position: relative;
  width: 20px;
  height: 2px;
  background: currentColor;
  display: block;
  transition: transform .2s ease, background .2s ease;
}

.site-header__toggle-bar::before,
.site-header__toggle-bar::after{
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, top .2s ease, opacity .2s ease;
}

.site-header__toggle-bar::before{
  top: -6px;
}

.site-header__toggle-bar::after{
  top: 6px;
}

.site-header.is-open .site-header__toggle-bar{
  background: transparent;
}

.site-header.is-open .site-header__toggle-bar::before{
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-open .site-header__toggle-bar::after{
  top: 0;
  transform: rotate(-45deg);
}

.page-hero{
  width: 100%;
  min-height: 220px;
  box-sizing: border-box;
  background: linear-gradient(135deg, #f3f7fb 0%, #eef1f7 100%);
  border-bottom: 1px solid rgba(35, 25, 22, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.page-hero__inner{
  max-width: 1100px;
  width: 100%;
}

.page-hero__title{
  font-size: 2em;
  font-weight: 700;
  letter-spacing: .2em;
  color: #231916;
}

.page-hero__note{
  margin-top: 10px;
  font-size: 0.9em;
  letter-spacing: .06em;
  color: rgba(35, 25, 22, .72);
}

@media (max-width: 1200px){
  .site-header__inner{
    padding: 12px 18px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .site-header__logo{
    white-space: normal;
    text-align: left;
    font-size: 0.95em;
    max-width: 70%;
  }

  .site-header__nav{
    display: none;
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 78, 162, .2);
    border-radius: 12px;
    box-shadow: 0 12px 25px rgba(35, 25, 22, .12);
    padding: 6px 0;
    z-index: 1001;
  }

  .site-header.is-open .site-header__nav{
    display: flex;
  }

  .site-header__nav a{
    justify-content: flex-start;
    padding: 12px 16px;
  }

  .site-header__nav a::after{
    content: none;
  }

  .site-header__nav a + a{
    border-top: 1px solid rgba(0, 78, 162, .2);
  }

  .site-header__toggle{
    display: inline-flex;
  }

  .page-hero{
    min-height: 160px;
    padding: 28px 16px;
  }
  .page-hero__title{
    font-size: 1.5em;
    letter-spacing: .12em;
  }
  .page-hero__note{
    font-size: 0.82em;
  }
}

.content-section {
  padding: 35px 0;
}

.content-section:nth-child(odd),
.content-section:nth-child(even) {
  background: transparent;
}

.inner-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 45px 70px;
    background: #ffffffe6;
    border-radius: 14px;
    box-shadow: 0 0 10px rgb(49 34 11 / 10%);
    border: 1px solid rgba(49, 34, 11, 0.05);
}

.content-wrapper {
    max-width: 920px;
    margin: 0 auto;
}

.footer {
    width: 100%;
    margin-top: 50px;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
    color: #fff;
    background-color: #004ea2;
}

.footer .footer-title {
  font-size: 1.15em;
  font-weight: bold;
}

.footer address {
  font-style: normal; /* Reset default italic for address */
}

.footer address p {
  margin-bottom: 8px; /* Space out paragraphs in address */
}

.footer ul {
  list-style: none; /* Remove bullets */
  padding: 0;
  margin: 0;
  margin-top: 15px; /* Space from preceding paragraph */
}

.footer li {
  margin-bottom: 5px; /* Space between list items */
}

.footer li:last-child {
  margin-bottom: 0; /* No margin for the last item */
}

.footer a {
    color: #fff; /* Ensure links are white */
    text-decoration: none; /* Remove underline */
}

/* Typography and Component Styles */
/* ===== h2：左右ライン装飾 ===== */
h2{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  font-size: 1.65em;
  letter-spacing: 0.15em;
  margin-bottom: 40px;
  color: #231916;
  text-align: center;
}

/* 左右の線 */
h2::before,
h2::after{
  content: "";
  flex: 1;
  height: 1px;
  background:#23191659;
}

@media (max-width: 640px){
h2{
  margin-bottom:15px;
  gap: 15px;
  font-size: 1.3em;
}
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
}

th, td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
}

th {
    background-color: #f3f7fb;
    color: #231916;
    font-weight: bold;
}

td {
    background-color: #fff;
}


/* 開催概要：2カラム＋行全体の下線＋dt縦中央 */
dl.overview-list{
  display: grid;
  grid-template-columns: 135px 1fr;
  column-gap: 22px;
  row-gap: 0;                 /* 線を綺麗にするので0に */
  position: relative;
}

/* dt/dd共通：上下余白 */
.overview-list dt,
.overview-list dd{
  padding: 16px 0;
}

/* dt：縦中央 */
.overview-list dt{
  margin: 0;
  display: flex;
  align-items: center;        /* ✅ 縦中央 */
  font-weight: 700;
  color: #004ea2;
  letter-spacing: .12em;
}

/* dd */
.overview-list dd{
  margin: 0;
}

/* ✅ 行全体の下線：dd側に“横一枚”の線を引く */
.overview-list dd{
  position: relative;
}
.overview-list dd::after{
  content: "";
  position: absolute;
  left: calc(-135px - 22px);  /* dt幅＋gap分だけ左に伸ばす */
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(0,0,0,.12);
}

/* 最後の行は線を消す */
.overview-list dd:last-of-type::after{
  content: none;
}

/* SP：1カラムに落とす（線は自然に全幅） */
@media (max-width: 640px){
  .content-section {
    padding: 20px 15px;
  }

  .inner-content {
    padding: 34px 18px;  /* SPは左右をしっかり確保 */
    border-radius: 12px;
  }

  dl.overview-list{
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .overview-list dd::after{
    left: 0;                  /* 全幅 */
  }
  .overview-list dt{
    padding-bottom: 0;
  }
dl.overview-list dt:first-child {
    padding-top: 0;
}
  .overview-list dd{
    padding-top: 6px;
  }
}

.greeting-text {
    text-align: justify;
}

.name-box {
    text-align: right;
    margin-top: 1em;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.name-box img {
    height: 150px;
}

@media (max-width: 640px){
  .name-box{margin-top:1.5em;}
}

/* ===== 日程（schedule）装飾なし／影なし／背景 #f3f7fb ===== */
.schedule{
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.schedule__item{
  position: relative;
  padding: 18px 22px;
  background: #f3f7fb; /* ← 指定色 */
  border-radius: 12px;
  box-shadow: none; /* ← 影なし */
}

.schedule__item.c-change{
  background:#f4fbf6;
}

/* ドット/ライン用の疑似要素は完全に無効化 */
.schedule__item::before,
.schedule__item::after{
  content: none;
}

.schedule__head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.schedule__title{
  margin: 0;
  font-size: 1.15em;
  color:#004ea2;
  letter-spacing:.06em;
  font-weight:700;
}

.c-change .schedule__title{
  color:#1b6b3a;
}

.schedule__time{
  margin: 0;
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
  color: rgba(35, 25, 22, 0.78);
  font-variant-numeric: tabular-nums;
}

.schedule__date{
  padding: 2px 10px;
  border-radius: 999px;
  background: #DAE6F2;
  color: #004ea2;
  font-weight: 700;
}

.c-change .schedule__date{
  background: #daf2de;
  color:#1b6b3a;
}

.schedule__clock{
  font-weight: 700;
}

.schedule__place{
  margin: 8px 0 0;
  color: rgba(35, 25, 22, .85);
  line-height: 1.7;
}

@media (max-width: 640px){
  .schedule__head{
    flex-direction: column;
    align-items: flex-start;
  }
  .schedule__time{
    gap: 8px;
  }
  .schedule__title {
    font-size: 1em;
  }
  .schedule__place {
    font-size: 0.8em;
  }
}

.map {
    text-align: center;
    margin-top: 25px;
}

.map img {
    max-width: 60%;
    height: auto;
    cursor:pointer;
}

.access-text{
  text-align:center;
  margin-top:1em;
}

@media (max-width: 640px){
.map img {
    max-width: 100%;
}
}

ul.support {
    display: flex;
    justify-content: center;
    gap: 3%;
}

ul.support li {
    width: 32%;
    text-align: center;
}

ul.support li a {
    background-color: #004ea2;
    color: #fff;
    font-size: 1.15em;
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
    padding: 15px 30px;
    border-radius: 8px;
    transition:.3s;
}

ul.support li a:hover {
    opacity:.6;
}

@media (max-width: 640px){
  ul.support li a {
    font-size: 1em;
    padding: 12px 25px;
  }
}

@media (max-width: 900px){
ul.support {
    flex-direction: column;
    gap: 15px;
}

ul.support li {
    width: 100%;
}
}

.button-container {
    text-align: center;
    margin-top: 30px; /* Space from the table */
    display: flex;
    justify-content: center;
    gap: 30px;
}

@media (max-width: 900px){
  .button-container {        flex-direction: column;
        align-items: center;
        gap: 15px;}
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.65em;
    padding:0.75em 1.5em;
    text-decoration: none;
    position: relative;
    background: #004ea2;
    color: #fff;
    font-size: 1.15em;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: .3s;
}

.btn-primary:hover{
  opacity:.6;
}

/* アイコン共通（Material Symbols） */
.btn-primary .btn-icon{
  font-family: "Material Symbols Outlined";
  font-variation-settings: "wght" 300, "FILL" 0, "GRAD" 0, "opsz" 24;
  font-size: 1.2em;
  line-height: 1;
  display: inline-grid;
  place-items: center;
}

/* 左：メールだけ白丸 */
.btn-primary .btn-icon.is-mail{
  width: 1.9em;
  height: 1.9em;
  border-radius: 999px;
  background: #fff;
  color: #004ea2; 
  flex: 0 0 auto;
}

/* 右：矢印は右端に寄せたいなら */
.btn-primary .btn-icon.is-arrow{
  margin-left: auto;
    transition: transform .18s ease;
  will-change: transform;
}

/* hover時にちょっと右へ */
.btn-primary:hover .btn-icon.is-arrow{
  transform: translateX(0.25em); /* 0.15〜0.35em くらいで調整 */
}

/* キーボード操作でも同じ挙動にしたい場合 */
.btn-primary:focus-visible .btn-icon.is-arrow{
  transform: translateX(0.25em);
}

/* 右端に寄せた分、テキストが間延びするなら */
.btn-primary .btn-text{
  white-space: nowrap;
  font-weight: bold;
}


@media (max-width: 640px) {
    .button-container {
        margin-top: 20px;
    }
    .btn-primary {
        padding: 12px 45px 12px 45px; /* Adjusted padding for better balance on small screens */
        font-size: 1em;
    }
}

/* ===== General Abstract Page ===== */
.section-block + .section-block{
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(35, 25, 22, .12);
}

.section-block__title{
  font-size: 1.3em;
  font-weight: 700;
  color: #004ea2;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.section-block__title--with-note{
  display: flex;
  align-items: baseline;
  justify-content:flex-start;
  gap: 16px;
}

.section-block__notice{
  color: #d90000;
  font-size: 0.75em;
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
}

.bullet-list{
  padding-left: 1.2em;
  margin: 0;
  list-style: disc;
}

.bullet-list li{
  margin: 0.4em 0;
}

.deadline-card{
  background: #f3f7fb;
  border-radius: 12px;
  padding: 20px 22px;
}

.deadline-row{
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.deadline-label{
  font-weight: 700;
  color: #004ea2;
  letter-spacing: .06em;
}

.deadline-date{
  font-size: 1.15em;
  font-weight: 700;
}

.deadline-remaining{
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.deadline-remaining strong{
  font-size: 1.2em;
  color: #004ea2;
}

.deadline-note{
  margin-top: 6px;
  font-size: 0.9em;
  color: rgba(35, 25, 22, .75);
}

.deadline-bar{
  position: relative;
  margin-top: 14px;
  --today-pos: 0%;
}

.deadline-bar__track{
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 78, 162, .12);
}

.deadline-bar__fill{
  position: absolute;
  left: var(--today-pos, 0%);
  top: 0;
  height: 10px;
  width: calc(100% - var(--today-pos, 0%));
  border-radius: 999px;
  background: linear-gradient(90deg, #004ea2, #4e96d7);
}

.deadline-bar__marker{
  position: absolute;
  top: -4px;
  left: clamp(8px, var(--today-pos, 0%), calc(100% - 8px));
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #004ea2;
  transform: translateX(-50%);
}

.deadline-bar__labels{
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  font-size: 0.9em;
  color: rgba(35, 25, 22, .78);
}

.download-item{
  margin-top: 16px;
  padding: 14px 16px;
  background: #f3f7fb;
  border-radius: 12px;
}

.download-title{
  font-weight: 700;
  margin-bottom: 10px;
}

.download-buttons{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.download-details{
  margin-top:10px;
}

.btn-secondary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  padding: 0.6em 1em;
  border-radius: 8px;
  border: 1px solid #004ea2;
  background: #004ea2;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: .3s;
}

.btn-secondary .btn-icon{
  font-family: "Material Symbols Outlined";
  font-variation-settings: "wght" 300, "FILL" 0, "GRAD" 0, "opsz" 24;
  font-size: 1.2em;
  line-height: 1;
  display: inline-grid;
  place-items: center;
}

.btn-secondary .btn-icon.is-arrow{
  margin-left: auto;
  transition: transform .18s ease;
  will-change: transform;
}

.btn-secondary:hover .btn-icon.is-arrow,
.btn-secondary:focus-visible .btn-icon.is-arrow{
  transform: translateX(0.25em);
}

.btn-secondary.is-pdf{
  border-color: #b13a2b;
  background: #b13a2b;
  color: #fff;
}

.btn-secondary.is-word{
  border-color: #2b6aa1;
  background: #2b6aa1;
  color: #fff;
}

.btn-secondary.is-excel{
  border-color: #1f7a4d;
  background: #1f7a4d;
  color: #fff;
}

.btn-secondary:hover{
  opacity: .7;
}

.subsection{
  margin-top: 18px;
  background: #f3f7fb;
  border-radius: 8px;
  padding:1em 2em;
}

.subsection-title{
  font-weight: 700;
  font-size: 1.2em;
  margin-bottom: 6px;
}

/* ===== Green Theme ===== */
.theme-green .page-hero{
  background: linear-gradient(135deg, #e8f5ec 0%, #dff1e7 100%);
}

.theme-green .section-block__title,
.theme-green .deadline-label,
.theme-green .deadline-remaining strong{
  color: #1b6b3a;
}

.theme-green h2{
  color: #1b6b3a;
}

.theme-green h2::before,
.theme-green h2::after{
  background: rgba(27, 107, 58, .35);
}

.theme-green .deadline-bar__track{
  background: rgba(27, 107, 58, .15);
}

.theme-green .deadline-bar__fill{
  background: linear-gradient(90deg, #1b6b3a, #4caf7a);
}

.theme-green .deadline-bar__marker{
  border-color: #1b6b3a;
}

.theme-green .download-item{
  background: #f4fbf6;
  border-color: rgba(27, 107, 58, .2);
}

.program-download{
  margin-top: 0;
  margin-bottom: 32px;
}

.program-list{
  position: relative;
  margin-top: 18px;
}

.program-list::before{
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 11px;
  width: 2px;
  border-radius: 999px;
  background: rgba(27, 107, 58, .25);
}

.program-item{
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(116px, 145px) 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 18px;
}

.program-item:last-child{
  padding-bottom: 0;
}

.program-item__axis{
  position: relative;
  z-index: 1;
  display: block;
  width: 24px;
  height: 24px;
}

.program-item__axis::before{
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #1b6b3a;
  background: #fff;
  box-sizing: border-box;
  transform: translateX(-50%);
}

.program-item__time{
  padding-top: 1px;
  color: #1b6b3a;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  line-height: 1.45;
  white-space: nowrap;
}

.program-item__body{
  padding: 13px 16px;
  background: #f4fbf6;
  border-radius: 10px;
}

.program-item.is-break .program-item__body{
  background: #fff;
  border-style: dashed;
}

.program-item__title{
  margin: 0;
  color: #1b6b3a;
  font-size: 1.08em;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.55;
}

.program-item__meta,
.program-item__topic{
  margin: 4px 0 0;
  line-height: 1.7;
}

.program-item__topic{
  font-weight: 700;
}

.email-link{
  text-decoration: underline;
  color: inherit;
}

.content-wrapper .email-link{
  color: #004ea2;
}

.theme-green .content-wrapper .email-link{
  color: #1b6b3a;
}

.subsection-group{
  margin-top: 26px;
}

.subsection-heading{
  padding: 10px 14px;
  background: #f3f7fb;
  border-left: 4px solid #004ea2;
  font-weight: 700;
  margin-bottom: 12px;
}

@media (max-width: 640px){
  .urgent-notice p{
    font-size: 1.05em;
    padding: 10px 12px;
  }

  .section-block__title--with-note{
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .section-block__notice{
    font-size: 0.85em;
    white-space: normal;
  }

  .deadline-card{
    padding: 16px;
  }

  .deadline-bar__labels{
    flex-direction: column;
    gap: 6px;
  }

  .download-buttons{
    flex-direction: column;
  }

  .program-list::before{
    top: 10px;
    bottom: 10px;
    left: 8px;
  }

  .program-item{
    grid-template-columns: 18px 1fr;
    gap: 8px 10px;
    padding-bottom: 16px;
  }

  .program-item__axis{
    grid-row: 1 / span 2;
    width: 18px;
    height: 100%;
    min-height: 24px;
  }

  .program-item__axis::before{
    top: 4px;
    width: 14px;
    height: 14px;
    border-width: 3px;
  }

  .program-item__time{
    grid-column: 2;
    white-space: normal;
  }

  .program-item__body{
    grid-column: 2;
    padding: 12px;
  }

  .program-item__meta,
  .program-item__topic{
    font-size: 0.95em;
  }
}


/* Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100vh; /* Full viewport height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 90%; /* Increased from 80% */
  max-width: 90vw; /* Changed from 700px to be more responsive and larger */
  max-height: 90%;
  object-fit: contain; /* Ensure the image fits within the modal */
}

/* Close button */
.close-button {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close-button:hover,
.close-button:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Add Animation */
.modal-content, #caption {
  -webkit-animation-name: fadein;
  -webkit-animation-duration: 0.6s;
  animation-name: fadein;
  animation-duration: 0.6s;
}

@-webkit-keyframes fadein {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadein {
  from {opacity: 0;}
  to {opacity: 1;}
}
