/* =========================
   フロントページ用ヒーロースタイル
   Front Page Style
   Covers: header-front.php
          front-page.php
          footer-front.php
========================= */
:root{
--congress-topcolor: #497e36;
--congress-topcolorhover: #73b45b;
}

/*------------------------
  Global Resets / Layout
------------------------*/
body.front-page {
  padding-top: 0 !important;
}




/*-----------
  Header
-----------*/
.hero-slider {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease;
  z-index: 1;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*----------
  Hero Text
-----------*/
.hero-text {
  position: absolute;
  top: 2rem;
  left: 4rem;
  color: var(--congress-title);
  font-family: 'Zen Maru Gothic', sans-serif;
  line-height: 1.2;
  z-index: 5;
  font-weight: 700;
}

.hero-text .subtitle {
  /* font-size: 20px; */
    font-size: 22px;
  margin: 0;
 /* color: #74bc5a;*/
  color: var(--congress-topcolor);
  letter-spacing: 0.5em;
}

.hero-ruby-title {
  display: flex;
  gap: 0.8em;
  margin-top: 0.8rem;
}

.hero-ruby-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Shippori Mincho', serif;
}

.hero-ruby {
  font-size: 14px;
  margin-bottom: 0.25rem;
  color: var(--congress-topcolor);
}

.hero-kanji {
  font-size: 7.5rem;
  font-weight: bold;
  color: var(--congress-topcolor);
  
  line-height: 1;
}


/* Catch phrase */
.hero-catchphrase {
  position: absolute;
  bottom: 5%;
  right: 5%;
  color: #fff;
  text-align: left;
  z-index: 5;
}

.hero-catchphrase h1 {
  color: #fff;
  font-size: 3.5rem;
  line-height: 1.4;
  margin: 0;
  text-shadow: 0px 0px 10px #000;
}


/*----------------------
  Course Buttons Section
-----------------------*/
.course-buttons:nth-of-type(1) {
  display: flex;
}

.course-buttons:nth-of-type(2) {
  display: none;
}

.course-buttons {
  position: absolute;
  bottom: 23%;
  left: 5%;
  display: flex;
  gap: 40px;
  z-index: 4;
}

.btn-with-img {
  position: relative;
  display: flex;
  align-items: center;
}

div.btn-with-img-lastchild {
  padding:0 ;
}


.course-button-lastchild {
  bottom: 4%;
}

.course-btn{
  position: relative;
  z-index: 5;
  line-height: 1.2;
  width: 260px;
  display: inline-block;
  background-color: var(--lily-white);
  color: var(--congress-topcolor);

  padding: 40px 28px;
  border-radius: 36px;
  text-decoration: none;
  font-size: 32px;
  font-weight: 600;
  transition: background-color 0.6s, transform 0.5s;
  font-family: var(--font-family-zen_maru_gothic);
}

a.course-btn-wide {
  color: var(--white);
  font-size: 28px;
  width: 260px;
  padding: 20px 24px 24px;
  background-color: var(--congress-topcolor);
  

}

.course-btn:hover {
  
  background-color:var(--congress-topcolor);

  color: var(--white);
  transform: translateY(-2px);
}

a.course-btn-wide:hover {
  background-color:var(--congress-topcolorhover);

  
  color: white;
  /* transform: none; */
}

.btn-img {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 100px; 
  pointer-events: none;
  z-index: 10;
}

div.course-button-lastchild img.btn-img {
  width: 26px;
  height: 26px;
  top: 50%;
  right: 20px;
}

/* News Section */
.section-news {
  padding: 2rem 0;
  background: #fff;
}

.news-header-flex {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.news-header-flex h2 {
  flex-shrink: 0;
  margin: 0;
  font-size: 1.6rem;
 
}

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-item {
  margin-bottom: 1rem;
}

.news-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
 color:var(--congress-topcolor);

  font-size: 1rem;
}

.news-text {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.8rem;
  align-items: baseline;
}

.news-meta {
  font-size: 0.9rem;
  
  color:var(--congress-title);




  white-space: nowrap;
}

.news-title {

   color:var(--congress-title);
}

.news-arrow-icon {
   color:var(--congress-title);
  
  width: 1.2rem;
  height: 1.2em;
  stroke: var(2px);
  stroke-width: 2;
  fill: none;
  margin-left: 0.4rem;
  transition: margin-left 0.3s ease, stroke 0.3s ease;
}

.news-link:hover .news-arrow-icon {
  margin-left: 6px;
  stroke: var(--congress-blue, #0055aa);
}


h2 {
    color :var(--congress-title);
}


/*------------
  Front header
-------------*/
.front-top-header{
  position: relative;
  z-index: 2100;
}

/* Nav */
.front-universal-nav {
  position: absolute;
  top: 40px;
  right: 0;
  padding: 10px 35px 12px 40px;
  display: flex;
  align-items: center;
  background-color: #fff;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  box-shadow: 0 0 10px #333;
  z-index: 1000;
}

.vertical-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--congress-topcolor);
  
}

.front-nav-link:hover .front-icon-img,
.front-nav-hamburger:hover .front-icon-img {
  transform: scale(1.2); /* ← ホバーで1.2倍に拡大 */
}

.front-nav-hamburger {
  margin: 2px 0 -4px 0; /* 必要に応じて */
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* ナビ共通スタイル */
.front-nav-list {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}


.front-nav-item {
  display: flex;
  align-items: center;
}

.front-icon-img {
  width: 45px;
  height: 45px;
  margin-bottom: 4px;
  transition: transform 0.2s ease;
}

ul.front-nav-list li.front-nav-item:first-child {
  margin-right: 15px;
}
ul.front-nav-list li.front-nav-item:first-child img.front-icon-img {
  margin-top: 6px;
  margin-bottom: 0px;
}

.front-icon-text {
  margin-top: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}


/* Footer Section */
/* レイアウト全体 footer style web version */
.front-site-footer {
  background: #fff;
  font-size: 0.9rem;
  color: #333;
  border-top: 1px solid #e0f0f5;
}

.front-footer-buttons {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.front-footer-buttons-top {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 1.5rem;
}



.btn-with-x .x-icon {
  width: 20px;   /* ← 横幅 */
  height: 20px;  /* ← 高さ */
  vertical-align: middle; /* or top, bottom, baseline */
  margin-top: 8px;  /* ← 上に2px持ち上げる */
  fill: currentColor;
}

/* front footer bottom row */
.front-footer-bottom-row {
  display: flex;
  justify-content: center; /* 中央寄せに変更 */
  align-items: center;
  flex-wrap: wrap;
  gap: 20px; /* 要素同士の間隔 */
  text-align: center;
}

.front-footer-links-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* 下段リンク */
.front-footer-link {
  color: var(--aqua-pearl, #7FDBDA); /* ← 通常時の色（仮に指定） */
  text-decoration: none;
  transition: color 0.3s ease;
}

.front-footer-link:hover {
  color: var(--aqua-pearl-hover, #5CC5C0); /* ← ホバー時の色に変化 */
  text-decoration: none; /* アンダーラインを無効に */
}

.front-footer-copy {
  margin: 0;
  color: #333;
  font-size: 0.85rem;
}

.front-footer-copy-wrapper {
  white-space: nowrap;
  margin: 0; /* 左寄せの余白を消す */
}


.btn-with-x {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* テキストとアイコンの間 */
  color: #63b8ce;
  border: 1px solid #63b8ce;
  border-radius: 22.5px;
  background-color: #fff;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 20px;
  text-decoration: none;
}

.btn-with-x:hover {
  
  background-color:var(--congress-btn);
}

.btn-with-x .x-path {
  fill: #63b8ce;
  transition: fill 0.3s ease;
}

.btn-with-x:hover .x-path {
  fill:var(--congress-btn);
  /*background-color:var(--congress-btn);*/
}

/* Drawer & Overlay */
.front-site-drawer {
  position: fixed;
  top: 190px; /* デスクトップ基準 */
  left: 0;
  width: clamp(320px, 34vw, 520px);
  height: 100vh;
  transform: translateX(-100%);
  background: transparent;
  color: var(--brand-fg, #424242);
  z-index: 1000;
  transition: transform .4s ease;
  overflow: visible;
}

.front-site-drawer[aria-hidden="false"] {
  transform: translateX(0);
}

.front-site-drawer::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  top: 20%;
  left: -60%;
  border-radius: 50%;
  background: rgb(255, 250, 200);
  backdrop-filter: blur(8px);
  transform: scale(0);
  opacity: 0;
  transition: transform .55s ease, opacity .35s ease;
  pointer-events: none;
}

.front-site-drawer[aria-hidden="false"]::before {
  transform: translateY(-50%) scale(1);
  opacity: 1;
}

.front-drawer-inner {
  position: absolute;
  top: 0;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 1;
  overflow: auto;
}

.front-drawer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.front-drawer-menu > li > a {
  display: inline-block;
  white-space: nowrap;
  padding: 6px 10px;
  font-size: 1.05rem;
  color: var(--brand-fg, #1d1d1d);
  font-weight: 600;
  text-decoration: none;
  border-radius: 9999px;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.front-drawer-menu > li > a:hover {
  background: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .08);
  transform: translateY(-1px);
}

/* Overlay */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.05);
  display: none;
  z-index: 999;
}

.drawer-overlay.active {
  display: block;
  pointer-events: auto;
}


/* 以下、他セクション省略（必要に応じて追加） */
.overview .overview-image {
  width: 30%;
  padding-right: 30px;
}

.overview .overview-text {
  width: 70%;
}

.section-learn p {
  margin-bottom: 1.6em;
}

.course-image {
  display: block;
  width: 100%;
  height: auto;
}

.course-image {
  display: block;
  width: 100%;
  height: auto;
}


/* 共通の縦並び用リンク */
.front-icon-img {
  /* width: 32px;
  height: 32px; */
  /* margin-bottom: 4px; */
  transition: transform 0.2s ease;
}

.course-buttons-desktop {
  display: flex;
}

.course-buttons-mobile {
  display: none !important;
}

/* Animation */
@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}




/* Moibile version top image 768px以下適用*/
@media (max-width: 768px) {

  div.hero-slider {
    width: 100%;
    height: 100vh;
    margin-bottom: 1rem;
    box-sizing: border-box;
    overflow: hidden;
  }
  div.hero-slider div.slide {
    position: relative;
    /* background: #aaa; */
  }
  div.hero-slider div.slide img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(100% - 20px);
    height: calc(100% - 155px);
    border-radius: 0 28px 28px 0;
    object-fit: cover;
    object-position: center center;
  }
  div.hero-text {
    position: absolute;
    top: 8%;
    left: 15px;
    display: inline;
    color: var(--congress-title);
    /* transform: translateX(-50%); */
    z-index: 3;
    /* background: #aaa; */
  }


  div.hero-text .subtitle {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: 0;
  }

  div.hero-ruby-title {
    display: flex;
    justify-content: left;
  }

  .hero-kanji {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(4rem, 11vw, 6.8rem);
    font-weight: 700;
    
    color: var(--congress-topcolor);
  
    line-height: 1;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    max-width: 100%;
  }


  .hero-text .main-title {
    font-family: 'Shippori Mincho', serif;
    font-weight: bold;
    font-size: 5rem;
    line-height: 1.1;
    margin: 0;
    color: var(--congress-topcolor);
  

  }

  .hero-ruby-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    font-family: 'Shippori Mincho', serif;
  }

  .hero-ruby {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    color: var(--congress-topcolor);
      
    text-align: center;
  }

  .hero-catchphrase {
    position: absolute;
    bottom: 10px;
    left: 15px;
    z-index: 3;
  }

  .hero-catchphrase h1 {
    display: inline;
    font-size: clamp(3.5rem, 5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.4;
    /* background: #aaa; */
  }






  .course-buttons, .btn-with-img, .course-btn {
    max-width: 100%;
    box-sizing: border-box;
  }

  .front-universal-nav {
    background: none;
    box-shadow: none;
    border-radius: 0;
    top: 0.8rem;
    right: 1rem;
    padding-right: 0;
  }

  .front-icon-text {
    display: none;
  }

  .front-icon-img {
    width: 44px;
    height: 44px;
  }

  .front-site-drawer {
    top: 0;
    width: 100%;
    background: #fff;
    color: var(--congress-title);
    transition: transform .3s ease-in-out;
    overflow-y: auto;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
  }

  .front-site-drawer::before {
    display: none;
  }

  .front-drawer-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: static;
  }

  .front-drawer-menu {
    gap: 1.2rem;
  }

  .front-drawer-menu li a {
    display: block;
    padding: 0.8rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--congress-title);
    text-decoration: none;
    border-radius: 6px;
    transition: background-color .2s ease, color .2s ease;
  }

  .front-drawer-menu li a:hover {
    background-color: var(--lily-white);
    color: var(--congress-title);
  }


  .front-site-drawer[aria-hidden="false"] {
    transform: translateX(0);
  }

  .front-drawer-close {
    align-self: flex-end;
    font-size: 2rem;
    font-weight: bold;
    color: var(--congress-title);
    cursor: pointer;
    border: none;
    background: none;
    line-height: 1;
  }

  .front-drawer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }

  .front-drawer-menu li {
    position: static;
  }

  .front-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: none;
    z-index: 1500;
  }

  .drawer-overlay {
    background: rgba(0, 0, 0, .45);
  }

  .front-drawer-overlay[hidden] { display: none; }
  .front-drawer-overlay.active { display: block; }

  .vertical-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color:var(--congress-title);
    font-size: 0.8rem;
  }

  .front-nav-link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
  }

  .front-nav-hamburger {
    margin-top: 2px; /* 必要に応じて */
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-bottom: -4px; /* 必要に応じて */
  }

  @supports not (aspect-ratio: 1) {
    .hero-slider::before {
      content: "";
      display: block;
      padding-bottom: 130%;
    }
  }

  .hero-slider + .course-buttons {
    margin-top: 1rem;
  }











  .course-buttons-desktop {
    display: none !important;
  }

  .course-buttons-mobile {
    display: flex !important;
    margin-top: 1rem;
  }


  .course-buttons {
    position: static !important;
    margin: 0 auto;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    width: 100vw !important;
    background: #fff;
    box-sizing: border-box !important;
  }

  .btn-with-img {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    padding: 1.2rem 1.5rem;
    background: #FAFFEC;
    border-radius: 20px;

    box-shadow: 0 3px 10px rgba(0, 0, 0, .08),
                0 1px 3px rgba(0,0,0,0.1);
    margin: 0 auto !important;
    overflow: hidden !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
  }

  .btn-with-img:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.25), 0 2px 4px rgba(0,0,0,0.12);
    transform: translateY(-3px);
  }

  .btn-with-img a.course-btn {
    text-decoration: none;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--congress-topcolor);
      
    line-height: 1.4;
    flex: 1;
    background: #FAFFEC;
  }


  .btn-img {
    width: 40vw ;
    height: auto;
    object-fit: contain;
    background-color: #FAFFEC;
  }




  div.course-buttons-mobile div.btn-with-img:last-child {
    gap: 1rem;
    width: 80%;
    padding: 20px 30px;
    border-radius: 50px;
    background:  var(--congress-topcolor);
    box-shadow: none;
  }

  div.course-buttons-mobile div.btn-with-img a.course-btn-wide  {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 500;
    text-align: left;
    line-height: normal;
    padding: 0;
    background: transparent;
  }

  div.course-buttons-mobile div.btn-with-img:last-child img.btn-img {
    right: 20px;
    width: 24px;
    height: 24px;
    object-fit: fill;
    background-color: transparent;
  }




  .noto-font {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 2rem;
  }

  .news-header-flex {
    display: block;
    align-items: stretch;
     gap: normal;
    font-size: 1.2rem;
    margin: 0 0 1rem;
    color: var(--congress-title);
  }

  .news-header-flex ul.news-list {
      width: 90%;
      margin: 40px auto 0;
  }

  .front-pages {
    clear: both;
    margin-top: 0;
    padding:0 1rem 1.2rem 3rem;
    position: relative;
    background: transparent;
  }

  .section-news {
    padding: 0;
    background: #fff;
    margin-top: 2rem;
  }

  .section-news h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--congress-title);
    margin-bottom: 1rem;
    padding-left: 0.6rem;
  }

  .news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .news-item a {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.8rem;
    color: inherit;
  }

  .news-item:last-child a {
    border-bottom: none;
  }

  .news-meta,
  .news-title {
    display: block;
    margin: 0;
    padding: 0;
    text-align: left;
  }

  .news-meta {
    font-size: 1rem;
    color: var(--congress-title);
  }

  .news-title {
    font-size: 1.2rem;
   /* font-weight: 600;*/
    color: var(--congress-title);
    line-height: 1.4;
  }

  .news-item a:hover {
    background: #f0f8ff;
    transform: translateY(-2px);
  }

  .new-arrow-icon {
    stroke: var(--congress-blue);
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
    margin-left: 1rem;
    width: 14px;
    height: 14px;
  }

  .front-site-footer {
    background: #fff;
    padding: 2rem 1rem;
    color: #333;
    border-top: 1px solid #e0f0f5;
  }

  .front-footer-buttons-top {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
    margin-bottom: 2rem;
  }




  .btn-with-x .x-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }

  .front-footer-bottom-row {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }

  .front-footer-links-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
  }

  .front-footer-link {
    font-size: 0.9rem;
    color: #7F8261;
    text-decoration: none;
  }

  .front-footer-link:hover {
    color: #7F8261;
  }

  .front-footer-copy-wrapper {
    margin-top: 1rem;
  }

  .front-footer-copy {
    font-size: 0.8rem;
    color: #7F8261;
    margin: 0;
  }
}

/* Mobile version (465px) */
@media (max-width: 465px) {

  nav.front-universal-nav {
    top: 0px;
    right: 10px;
    padding: 0 0 0 0;
    box-sizing: border-box;
  }
  
  img.front-icon-img {
    width: 35px;
    height: 35px;
    margin-bottom: 0px;
  }

  ul.front-nav-list li.front-nav-item:first-child {
    margin-right: 0px;
    margin-top: 10px;
  }
  ul.front-nav-list li.front-nav-item:first-child img.front-icon-img {
    margin-top: 0px;
  }

  .hero-ruby-title {
    gap: 0.2em;
    margin-top: 8px;
  }
  div.hero-text .subtitle {
    font-size: 1em;
  }
  div.hero-slider div.slide img {
    width: calc(100% - 20px);
    height: calc(100% - 138px);
    border-radius: 0 28px 28px 0;
  }



  .hero-main-title {
    font-size: 4rem;
  }


  .hero-catchphrase h1 {
    font-size: 2.4rem;
  }

  .hero-text {
    top:26px;
    left: 28%;
  }

  .hero-slider + .course-buttons {
    margin-top: 2.5rem;
  }

  .noto-font {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.4;
  }

  .course-buttons-mobile {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.5rem !important;
    margin: 1.5rem auto 2rem auto !important;
    width: 100% !important;
    max-width: 95%;
    background: transparent !important;
    position: static !important;
  }

  .btn-with-img {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 0;
    padding-top: 0;
    margin:0;
    border-radius: 14px;
    background: #FAFFEC;
    box-shadow: 1px 1px 6px rgba(0,0,0,0.1);
  }

  .btn-with-img a.course-btn {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    color: var(--congress-title);
    text-decoration: none;
    line-height: 1.4;
    flex: 1;
  }

  .btn-img {
    width: 180px;
    height: 150px;
    flex-shrink: 0;
    margin-left: 0;
  }

  .news-title {
    font-size: 1rem;
  }

  .news-meta {
    font-size: 0.95rem;
  }
}
