/*
 * Desktop-only layout for the guide page.
 * The mobile experience remains defined by guide-mobile.css.
 */
@media (min-width: 901px) {
  body.hp-page--guide {
    min-width: 960px;
    padding: 0;
    background: #0645cb;
  }

  body.hp-page--guide #main-content {
    background: #f7faff;
  }

  .gd-page {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    overflow: visible;
    border-radius: 0;
    background: #f7faff;
    box-shadow: none;
  }

  .gd-hero {
    height: 310px;
    padding:
      62px max(40px, calc((100% - 1120px) / 2))
      54px;
    overflow: hidden;
    background:
      linear-gradient(180deg, #0645cb 0, rgba(6, 69, 203, .96) 10px, rgba(6, 69, 203, 0) 58px),
      radial-gradient(circle at 75% 40%, rgba(29, 190, 255, .58), transparent 23%),
      radial-gradient(circle at 96% 4%, rgba(26, 151, 255, .75), transparent 28%),
      linear-gradient(118deg, #0645cb 0%, #0068eb 55%, #008cf7 100%);
  }

  .gd-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .24;
    background-image:
      radial-gradient(circle, rgba(255, 255, 255, .8) 1px, transparent 1.5px),
      linear-gradient(130deg, transparent 45%, rgba(255, 255, 255, .08) 46%, transparent 47%);
    background-size: 15px 15px, 160px 160px;
    mask-image: linear-gradient(90deg, transparent 6%, #000 60%, #000);
  }

  .gd-brand {
    display: none;
  }

  .gd-hero__copy {
    margin-top: 0;
    padding-top: 6px;
  }

  .gd-hero__copy p {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 500;
    line-height: 1.08;
  }

  .gd-hero__copy h1 {
    margin: 4px 0 0;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
  }

  .gd-hero__copy span {
    max-width: 430px;
    display: block;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.7;
    opacity: .92;
  }

  .gd-hero__book {
    right: max(70px, calc((100% - 1040px) / 2));
    bottom: 27px;
    width: 270px;
    height: 230px;
    border: 1px solid rgba(186, 235, 255, .22);
    background:
      radial-gradient(circle, rgba(81, 216, 255, .37), transparent 68%);
    filter: drop-shadow(0 18px 20px rgba(0, 48, 140, .28));
  }

  .gd-hero__book::before {
    width: 330px;
    height: 132px;
    border-color: rgba(164, 234, 255, .5);
  }

  .gd-hero__book::after {
    width: 245px;
    height: 104px;
    border-color: rgba(164, 234, 255, .42);
  }

  .gd-hero__book svg {
    width: 150px;
    height: 150px;
    stroke-width: 1.25;
  }

  .gd-card {
    width: min(1120px, calc(100% - 40px));
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px 22px;
    margin: -33px auto 0;
    padding: 0 0 72px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .gd-card h2 {
    margin-bottom: 14px;
    font-size: 18px;
  }

  .gd-search {
    grid-column: 1 / -1;
    height: 66px;
    gap: 13px;
    padding: 0 22px;
    border-color: #e2eaf4;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(26, 87, 157, .12);
  }

  .gd-search svg {
    width: 21px;
    height: 21px;
  }

  .gd-search input {
    font-size: 14px;
  }

  .gd-quick {
    grid-column: 1 / -1;
    margin-top: 8px;
  }

  .gd-quick > div {
    gap: 14px;
  }

  .gd-quick a {
    min-height: 132px;
    gap: 10px;
    border-color: #e7edf5;
    border-radius: 17px;
    box-shadow: 0 7px 18px rgba(29, 70, 111, .07);
    transition: border-color .2s, box-shadow .2s, transform .2s;
  }

  .gd-quick a:hover {
    border-color: #a9cff5;
    box-shadow: 0 13px 28px rgba(26, 79, 125, .12);
    transform: translateY(-3px);
  }

  .gd-quick a > span {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    box-shadow: 0 9px 18px rgba(13, 91, 179, .16);
  }

  .gd-quick a > span svg {
    width: 29px;
    height: 29px;
  }

  .gd-quick a b {
    font-size: 12px;
  }

  .gd-popular {
    grid-column: 1 / span 7;
    margin-top: 10px;
  }

  .gd-heading a {
    font-size: 11px;
    font-weight: 600;
  }

  .gd-list {
    gap: 12px;
  }

  .gd-list > a {
    min-height: 116px;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 15px;
    padding: 10px 34px 10px 10px;
    border-color: #e5edf5;
    border-radius: 16px;
    box-shadow: 0 7px 20px rgba(22, 70, 126, .08);
    transition: border-color .2s, box-shadow .2s, transform .2s;
  }

  .gd-list > a:hover {
    border-color: #a9cff5;
    box-shadow: 0 12px 26px rgba(22, 70, 126, .13);
    transform: translateY(-2px);
  }

  .gd-thumb {
    width: 116px;
    height: 94px;
    border-radius: 12px;
  }

  .gd-thumb > svg {
    width: 46px;
    height: 46px;
  }

  .gd-thumb > i {
    right: 7px;
    bottom: 7px;
    width: 30px;
    height: 30px;
  }

  .gd-thumb > i svg {
    width: 17px;
    height: 17px;
  }

  .gd-list__copy b {
    margin-bottom: 7px;
    font-size: 13px;
  }

  .gd-list__copy small {
    font-size: 10px;
    line-height: 1.55;
  }

  .gd-list__copy em {
    margin-top: 7px;
    font-size: 9px;
  }

  .gd-arrow {
    right: 14px;
    font-size: 25px;
    transition: transform .2s;
  }

  .gd-list > a:hover .gd-arrow {
    transform: translateX(3px);
  }

  .gd-empty {
    padding: 20px;
    font-size: 11px;
  }

  .gd-faq {
    grid-column: 8 / -1;
    align-self: start;
    margin-top: 10px;
    padding: 21px 22px 12px;
    border: 1px solid #e5edf5;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(22, 70, 126, .08);
  }

  .gd-faq details {
    border-color: #e8eef4;
  }

  .gd-faq summary {
    min-height: 67px;
    gap: 18px;
    padding: 0 4px;
    font-size: 11px;
    line-height: 1.5;
  }

  .gd-faq summary span {
    flex: 0 0 auto;
    font-size: 22px;
  }

  .gd-faq details p {
    padding: 0 4px 16px;
    font-size: 9px;
    line-height: 1.7;
  }

  .gd-help {
    grid-column: 1 / -1;
    min-height: 82px;
    gap: 14px;
    margin-top: 4px;
    padding: 14px 18px;
    border-radius: 16px;
    background: linear-gradient(100deg, #f1f7ff, #fff);
    box-shadow: 0 7px 20px rgba(22, 70, 126, .06);
  }

  .gd-help > span {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
  }

  .gd-help > span svg {
    width: 29px;
    height: 29px;
  }

  .gd-help b {
    font-size: 13px;
  }

  .gd-help small {
    margin-top: 6px;
    font-size: 9px;
  }

  .gd-help > a {
    height: 44px;
    padding: 0 20px;
    border-radius: 11px;
    box-shadow: 0 7px 15px rgba(7, 103, 233, .22);
    font-size: 11px;
    font-weight: 700;
    transition: box-shadow .2s, transform .2s;
  }

  .gd-help > a:hover {
    box-shadow: 0 11px 22px rgba(7, 103, 233, .3);
    transform: translateY(-2px);
  }
}

@media (min-width: 901px) and (max-width: 1080px) {
  .gd-hero__book {
    right: 35px;
    transform: scale(.86) rotate(-5deg);
  }

  .gd-popular {
    grid-column: 1 / span 8;
  }

  .gd-faq {
    grid-column: 9 / -1;
  }

  .gd-list > a {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .gd-thumb {
    width: 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gd-page *,
  .gd-page *::before,
  .gd-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
