/* AONE review 01/03/04/05: shared corrections, preserving the existing redesign. */
body.fhd-workspace .site-messages {
  width: min(1760px, calc(100% - 48px));
  margin: 24px auto 0;
}
body.fhd-workspace .site-messages p {
  padding: 16px 20px;
  border-color: #c9d7f5;
  border-radius: 12px;
  background: #f0f5ff;
  color: #244573;
  font-size: 14px;
  line-height: 1.6;
}
body.fhd-workspace .site-messages p.error {
  border-color: #efbdc6;
  background: #fff1f3;
  color: #a51933;
}
body.fhd-workspace .site-messages p.warning {
  border-color: #e9ce93;
  background: #fff8e9;
  color: #725315;
}
body.fhd-workspace .site-footer .footer-quick,
body.fhd-workspace .site-footer .footer-policy { color: #e7e7e7; }
body.fhd-workspace .site-footer .footer-company,
body.fhd-workspace .site-footer .footer-cs span { color: #c9c9c9; }
body.fhd-workspace .site-footer .footer-company b,
body.fhd-workspace .site-footer .footer-cs strong { color: #fff; }
body.fhd-workspace .site-footer .footer-inner { padding-bottom: 112px; }
body.fhd-workspace .site-footer .footer-top-button { bottom: 12px; right: 12px; }
body.fhd-workspace .resources-page .resource-sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
}
body.fhd-workspace .resources-page .resource-filters select {
  padding-inline: 16px 48px;
  background-position: right 16px center;
}
body.fhd-workspace .resources-page .empty-state {
  padding: 32px 20px;
  text-align: center;
}
.home-redesign .a1-home .a1-news-controls button {
  flex-shrink: 0;
  aspect-ratio: 1;
}
.home-redesign .a1-home .a1-daily-choices label {
  margin: 0;
  align-content: center;
  padding-block: 16px;
}
.home-redesign .a1-home [hidden] { display: none !important; }
.home-redesign .a1-home .a1-cbt-card > a img { filter: brightness(0) invert(1); }
@media (min-width: 601px) and (max-width: 1100px) {
  .home-redesign .a1-home .a1-hero-main { height: 440px; min-height: 440px; }
  .home-redesign .a1-home .a1-hero-copy { top: 44px; left: 32px; width: 48%; }
  .home-redesign .a1-home .a1-hero-copy h1 {
    width: auto;
    max-width: none;
    font-size: clamp(30px, 4.2vw, 44px);
    line-height: 1.3;
  }
  .home-redesign .a1-home .a1-hero-badge { font-size: 13px; white-space: nowrap; }
  .home-redesign .a1-home .a1-hero-description { display: none; }
  .home-redesign .a1-home .a1-hero-actions { margin-top: 28px; flex-wrap: wrap; gap: 10px; }
  .home-redesign .a1-home .a1-hero-actions .a1-pill-button { min-height: 44px; white-space: nowrap; }
  .home-redesign .a1-home .a1-hero-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-redesign .a1-home :is(.a1-cbt-card, .a1-exam-info-card) {
    grid-column: auto;
    min-height: 248px;
  }
  .home-redesign .a1-home .a1-cbt-card {
    padding: 24px 24px 76px;
    background-image: url('images/redesign/mobile/home-cbt-shape-20260829.svg');
  }
  .home-redesign .a1-home .a1-cbt-card > a {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 52.75%;
    height: 48px;
    min-height: 48px;
    margin: 0;
    font-size: 15px;
    white-space: nowrap;
  }
  .home-redesign .a1-home .a1-countdown-card {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) 160px;
    grid-template-areas: 'label image' 'value image' 'date image';
    height: 180px;
    min-height: 180px;
    padding: 24px 32px;
    align-content: center;
  }
  .home-redesign .a1-home .a1-countdown-card img {
    position: static;
    grid-area: image;
    width: 100%;
    height: 140px;
    max-height: 140px;
  }
  .home-redesign .a1-home .a1-countdown-card :is(strong, small) { white-space: nowrap; }
}
@media (max-width: 900px) {
  body.fhd-workspace .resources-page .resource-sidebar { align-items: center; }
  body.fhd-workspace .resources-page .resource-sidebar a { justify-content: center; }
  body.fhd-workspace :is(.account-sidebar nav, .mypage-layout > aside) { align-items: center; }
  body.fhd-workspace :is(.account-sidebar nav a, .mypage-layout > aside a) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
  }
}
@media (max-width: 600px) {
  body.fhd-workspace .site-messages { width: calc(100% - 32px); margin-top: 16px; }
  body.fhd-workspace .site-footer .footer-inner { padding-bottom: 96px; }
  body.fhd-workspace .site-footer .footer-company-row p { column-gap: 8px; }
  body.fhd-workspace .site-footer .footer-company-row p b { flex: 0 0 auto; white-space: nowrap; }
  .home-redesign .a1-home .a1-countdown-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
  }
  .home-redesign .a1-home .a1-countdown-card > img {
    position: absolute;
    grid-area: auto;
    top: 12px;
    right: 8px;
    bottom: auto;
    width: 112px;
    height: 136px;
    max-height: 136px;
  }
  .home-redesign .a1-home .a1-countdown-card > :is(span, strong, small) {
    max-width: calc(100% - 96px);
    grid-area: auto;
  }
  .home-redesign .a1-home .a1-countdown-label-mobile { white-space: normal; }
  .home-redesign .a1-home .a1-countdown-card small { margin-top: 8px; white-space: normal; }
  .home-redesign .a1-home .a1-news-intro { height: auto; min-height: 0; }
  .home-redesign .a1-home .a1-news-controls { margin-top: 32px; }
  .home-redesign .a1-home .a1-news-intro .a1-pill-button { max-width: 100%; }
}
