/* =========================================================
 * HERO
 * ========================================================= */
.medio-top-hero-wrap{
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  overflow: hidden;
}

.medio-top-hero{
  --hero-header-offset: 88px;
  --hero-pad-x: clamp(20px, 4vw, 42px);
  --hero-pad-top: clamp(82px, 8vw, 118px);
  --hero-pad-bottom: clamp(58px, 7vw, 90px);

  min-height: calc(clamp(640px, 92svh, 860px) + var(--hero-header-offset));
  padding: calc(var(--hero-pad-top) + var(--hero-header-offset)) var(--hero-pad-x) var(--hero-pad-bottom);
  display: flex;
  align-items: center;
  box-sizing: border-box;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 29, 58, 0.42) 0%, rgba(7, 29, 58, 0.24) 28%, rgba(7, 29, 58, 0.08) 56%, rgba(7, 29, 58, 0.04) 100%),
    linear-gradient(180deg, rgba(7, 29, 58, 0.04) 0%, rgba(7, 29, 58, 0.16) 42%, rgba(7, 29, 58, 0.38) 100%),
    url("https://medio.okinawa/wp8/wp-content/uploads/cropped-show_the_card6.png") center center / cover no-repeat;
}

.medio-top-hero,
.medio-top-hero *{
  box-sizing: border-box;
}

.medio-top-hero__photo{
  display: none;
}

.medio-top-hero__inner{
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-left: clamp(18px, 2vw, 34px);
}

.medio-top-hero__content{
  width: min(560px, 100%);
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(9, 29, 54, 0.12) 0%, rgba(9, 29, 54, 0.06) 100%);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.medio-top-hero__eyebrow,
.medio-top-hero__title,
.medio-top-hero__lead,
.medio-top-hero__note{
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #ffffff !important;
  text-align: left !important;
}

.medio-top-hero__eyebrow{
  margin: 0 0 14px;
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 700;
  letter-spacing: .14em;
  opacity: .92;
}

.medio-top-hero__title{
  margin: 0;
  display: block !important;
  width: auto !important;
  max-width: none;
  font-size: clamp(52px, 6.6vw, 86px);
  line-height: 0.98;
  letter-spacing: .005em;
  font-weight: 800;
  color: #ffffff !important;
  text-shadow: 0 12px 34px rgba(0,0,0,.34);
}

.medio-top-hero__lead{
  width: 100%;
  margin: 18px 0 0;
  font-size: clamp(15px, 1.85vw, 18px);
  line-height: 1.95;
  text-shadow: 0 6px 16px rgba(0,0,0,.20);
}

.medio-top-hero__chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.medio-top-hero__chips li{
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-size: 13px;
  line-height: 1.2;
}

.medio-top-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.medio-top-hero__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 700;
  line-height: 1.2;
  transition: transform .18s ease, opacity .18s ease, background .18s ease;
}

.medio-top-hero__btn:hover{
  transform: translateY(-1px);
  opacity: .96;
}

.medio-top-hero__btn--primary{
  background: #0b79d0;
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(11,121,208,.22);
}

.medio-top-hero__btn--secondary{
  background: rgba(255,255,255,.12);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.42);
}

.medio-top-hero__note{
  width: 100%;
  margin: 16px 0 0;
  font-size: 11px;
  line-height: 1.8;
  opacity: .88;
}

@media (max-width: 782px){
  .medio-top-hero{
    --hero-header-offset: 72px;
    min-height: auto;
    padding: 0 0 24px;
    display: block;
    background: none;
  }

  .medio-top-hero__photo{
    display: block;
    height: clamp(300px, 46vh, 430px);
    background:
      linear-gradient(180deg, rgba(7, 29, 58, 0.06) 0%, rgba(7, 29, 58, 0.18) 55%, rgba(7, 29, 58, 0.34) 100%),
      url("https://medio.okinawa/wp8/wp-content/uploads/cropped-show_the_card6.png") 68% 42% / cover no-repeat;
  }

  .medio-top-hero__inner{
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    margin-top: -30px;
  }

  .medio-top-hero__content{
    width: 100%;
    max-width: none;
    padding: 16px 14px 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(9, 29, 54, 0.78) 0%, rgba(9, 29, 54, 0.68) 100%);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 18px 36px rgba(7, 29, 58, 0.18);
  }

  .medio-top-hero__title{
    font-size: clamp(36px, 10vw, 48px);
    line-height: 1.02;
  }

  .medio-top-hero__lead{
    font-size: 15px;
    line-height: 1.8;
  }

  .medio-top-hero__chips{
    gap: 8px;
    margin-top: 16px;
  }

  .medio-top-hero__chips li{
    font-size: 12px;
    padding: 9px 12px;
  }

  .medio-top-hero__actions{
    gap: 10px;
    margin-top: 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .medio-top-hero__btn{
    width: 100%;
    min-height: 46px;
  }

  .medio-top-hero__note{
    margin-top: 14px;
    font-size: 10px;
    line-height: 1.7;
  }
}

/* =========================================================
 * ENTRY
 * ========================================================= */
.medio-top-entry{
  width: min(1180px, calc(100% - 28px));
  margin: 28px auto 0;
}

.medio-top-entry__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.medio-top-entry__card{
  position: relative;
  min-height: clamp(220px, 22vw, 258px);
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(15, 39, 69, 0.08);
  background: #dfe8f2;
  box-shadow: 0 18px 42px rgba(10, 35, 66, 0.14);
}

.medio-top-entry__bg{
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.medio-top-entry__overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,25,48,.05) 0%, rgba(7,25,48,.18) 56%, rgba(7,25,48,.28) 100%);
}

.medio-top-entry__inner{
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding: 18px;
}

.medio-top-entry__button{
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(20, 31, 52, 0.78);
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #18243a !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: .01em;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.medio-top-entry__button:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

@media (max-width: 960px){
  .medio-top-entry{
    width: min(100%, calc(100% - 24px));
    margin-top: 22px;
  }

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

  .medio-top-entry__card{
    min-height: 196px;
    border-radius: 24px;
  }

  .medio-top-entry__inner{
    padding: 16px;
  }

  .medio-top-entry__button{
    min-height: 58px;
    font-size: 17px;
  }
}

/* =========================================================
 * OVERVIEW
 * ========================================================= */
.medio-top-overview{
  width: min(980px, calc(100% - 28px));
  margin: 26px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(24, 48, 83, 0.10);
}

.medio-top-overview__head{
  text-align: center;
}

.medio-top-overview__title{
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.3;
  color: #17335a;
  font-weight: 800;
}

.medio-top-overview__body{
  width: min(760px, 100%);
  margin: 18px auto 0;
  text-align: left;
}

.medio-top-overview__lead{
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
  color: #3d526d;
}

.medio-top-overview__list{
  margin: 20px 0 0;
  padding-left: 1.2em;
  color: #213a5c;
  font-size: 15px;
  line-height: 2;
}

.medio-top-overview__note{
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: #6f8297;
}

.medio-top-overview__summary{
  margin: 22px 0 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f5f8fb;
  border: 1px solid rgba(24, 48, 83, 0.07);
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px 18px;
  align-items: start;
}

.medio-top-overview__label{
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: .08em;
  font-weight: 700;
  color: #6a7d93;
}

.medio-top-overview__value{
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #374d67;
}

.medio-top-overview__value strong{
  color: #17335a;
  font-weight: 700;
}

.medio-top-overview__actions{
  margin-top: 16px;
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.medio-top-overview__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(20, 76, 140, 0.20);
  background: rgba(255,255,255,.72);
  color: #17518d !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  box-shadow: 0 4px 10px rgba(10, 35, 66, 0.04);
  transition: transform .18s ease, background .18s ease;
}

.medio-top-overview__btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.92);
}

.medio-top-overview__btn--yellow,
.medio-top-overview__btn--yellow:hover,
.medio-top-overview__btn--yellow:focus,
.medio-top-overview__btn--yellow:active{
  background: #fff7c7;
}

.medio-top-overview__sub{
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: #17335a;
  font-weight: 800;
}

@media (max-width: 782px){
  .medio-top-overview{
    width: min(100%, calc(100% - 22px));
    margin-top: 22px;
    padding-top: 18px;
  }

  .medio-top-overview__title{
    font-size: clamp(24px, 7vw, 32px);
  }

  .medio-top-overview__body{
    width: 100%;
    margin-top: 16px;
  }

  .medio-top-overview__summary{
    grid-template-columns: 1fr;
    gap: 6px 0;
    padding: 16px 16px;
  }

  .medio-top-overview__actions{
    justify-content: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .medio-top-overview__btn{
    width: 100%;
  }
}
