/* 홈 히어로 2열 — 오늘의 세부 (날씨 · 환율 · 팁) */
.home-today-cebu {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  color: #0f172a;
  box-sizing: border-box;
}

.home-today-cebu__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: auto;
  min-height: 0;
  padding: 16px;
  overflow: visible;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .eottae-home-hero-grid--3col:not(.eottae-home-hero-grid--height-sync):not(.eottae-home-hero-grid--measuring)
    > #eottae-home-today-cebu.home-hero-chat-column,
  .eottae-home-hero-grid--3col:not(.eottae-home-hero-grid--height-sync):not(.eottae-home-hero-grid--measuring)
    > .home-today-cebu.home-hero-chat-column {
    contain: none;
    overflow: visible;
  }

  .eottae-home-hero-grid--3col.eottae-home-hero-grid--height-sync > #eottae-home-today-cebu.home-hero-chat-column,
  .eottae-home-hero-grid--3col.eottae-home-hero-grid--height-sync > .home-today-cebu.home-hero-chat-column {
    overflow: visible !important;
    contain: none;
  }
}

.home-today-cebu__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.home-today-cebu__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-today-cebu__date {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.home-today-cebu__weather {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
}

.home-today-cebu__weather-icon {
  font-size: 38px;
  line-height: 1;
}

.home-today-cebu__weather-main {
  flex: 1 1 auto;
  min-width: 0;
}

.home-today-cebu__temp {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
}

.home-today-cebu__summary {
  margin-left: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #0369a1;
}

.home-today-cebu__range {
  margin: 4px 0 0;
  font-size: 12px;
  color: #475569;
}

.home-today-cebu__rain {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: 0 0 auto;
  font-size: 12px;
  color: #475569;
}

.home-today-cebu__rain strong {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.home-today-cebu__rain.is-high strong {
  color: #2563eb;
}

.home-today-cebu__tip {
  margin: 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: #fefce8;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: #713f12;
}

.home-today-cebu__rates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.home-today-cebu__rate {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 14px;
  background: #f8fafc;
  min-width: 0;
}

.home-today-cebu__rate-label {
  font-size: 12px;
  color: #64748b;
}

.home-today-cebu__rate-value {
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-today-cebu__rate-change {
  font-size: 11px;
  font-weight: 700;
}

.home-today-cebu__rate-change.is-up {
  color: #dc2626;
}

.home-today-cebu__rate-change.is-down {
  color: #2563eb;
}

.home-today-cebu__fx {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.home-today-cebu__fx-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 3px;
  border-radius: 12px;
  background: #f1f5f9;
}

.home-today-cebu__fx-tab {
  margin: 0;
  padding: 6px 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.home-today-cebu__fx-tab.is-active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.home-today-cebu__fx-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.home-today-cebu__fx-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.home-today-cebu__fx-unit {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}

.home-today-cebu__fx-input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  outline: none;
}

.home-today-cebu__fx-arrow {
  color: #0284c7;
  font-size: 14px;
  font-weight: 800;
}

.home-today-cebu__fx-out {
  margin: 0;
  min-width: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  color: #0369a1;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-today-cebu__recommend {
  min-width: 0;
}

.home-today-cebu__recommend-title {
  margin: 0 0 5px;
  font-size: 12px;
  font-weight: 800;
  color: #334155;
}

.home-today-cebu__recommend-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.home-today-cebu__pick {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  min-height: 68px;
  padding: 8px 20px 7px 8px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: linear-gradient(145deg, #f0f9ff 0%, #fff 100%);
  color: #0f172a;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.home-today-cebu__pick--nearby {
  border-color: #e0e7ff;
  background: linear-gradient(145deg, #f5f7ff 0%, #fff 100%);
}

.home-today-cebu__pick:hover {
  border-color: #7dd3fc;
  box-shadow: 0 5px 14px rgba(14, 165, 233, 0.1);
  transform: translateY(-1px);
}

.home-today-cebu__pick-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.08);
  font-size: 16px;
}

.home-today-cebu__pick-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.home-today-cebu__pick-copy small {
  overflow: hidden;
  color: #0284c7;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-today-cebu__pick-copy strong {
  overflow: hidden;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-today-cebu__pick-copy em {
  overflow: hidden;
  margin-top: 2px;
  color: #64748b;
  font-size: 10px;
  font-style: normal;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-today-cebu__pick-arrow {
  position: absolute;
  top: 50%;
  right: 8px;
  color: #0284c7;
  font-size: 17px;
  line-height: 1;
  transform: translateY(-50%);
}

.home-today-cebu__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.home-today-cebu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  transition: background 0.15s ease;
}

.home-today-cebu__link:hover {
  background: #f1f5f9;
}

.home-today-cebu__link em {
  font-style: normal;
  font-size: 13px;
  color: #0284c7;
}

.home-today-cebu__link--ai {
  border-color: #bae6fd;
  background: #f0f9ff;
}

.home-today-cebu__notice-ticker {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 10px 0 12px;
  border-radius: 14px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #0f172a;
  text-decoration: none;
  overflow: hidden;
}

.home-today-cebu__notice-ticker--alert {
  border-color: #fdba74;
  background: #fff7ed;
}

.home-today-cebu__notice-ticker--policy {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.home-today-cebu__notice-badge {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: #1d4ed8;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.home-today-cebu__notice-ticker--alert .home-today-cebu__notice-badge {
  background: #c2410c;
}

.home-today-cebu__notice-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%);
}

.home-today-cebu__notice-track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  will-change: transform;
  animation: home-today-cebu-notice-marquee 22s linear infinite;
}

.home-today-cebu__notice-text {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.home-today-cebu__notice-ticker:hover .home-today-cebu__notice-track,
.home-today-cebu__notice-ticker:focus-visible .home-today-cebu__notice-track {
  animation-play-state: paused;
}

@keyframes home-today-cebu-notice-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 24px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-today-cebu__notice-track {
    animation: none;
    transform: none;
    max-width: 100%;
  }

  .home-today-cebu__notice-text + .home-today-cebu__notice-text {
    display: none;
  }

  .home-today-cebu__notice-text {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.home-today-cebu__empty {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.home-today-cebu__source {
  display: none;
}

@media (max-width: 1023px) {
  .eottae-home-hero-grid--3col > .home-today-cebu.home-hero-chat-column,
  .home-today-cebu.home-hero-chat-column {
    height: auto;
    min-height: 0;
    max-height: none;
  }
}

@media (max-width: 420px) {
  .home-today-cebu__recommend-grid {
    grid-template-columns: 1fr;
  }

  .home-today-cebu__pick {
    min-height: 68px;
  }
}
