/* WordPress content inside the reference layout. Layout rules below 768px
   adapt the saved desktop page to a narrow viewport. */
.atd-reference-cover { margin: 0; color: #111827; font-family: Inter, sans-serif; }
.atd-reference-cover a { text-decoration: none; }
.atd-reference-cover a:focus-visible, .atd-reference-cover button:focus-visible,
.atd-reference-cover input:focus-visible { outline: 2px solid #b83d00; outline-offset: 2px; }
.atd-reference-cover .atd-reference-sitename {
    display: block; max-width: 240px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    color: var(--color-primary); font-size: 26px; font-weight: 850; letter-spacing: -.045em; line-height: 32px;
}
.atd-reference-cover .header__login .atd-svg { width: 18px; height: 18px; }
.atd-reference-cover .header--search, .header--search__form, .header--search__form__input { min-width: 0; }
.atd-reference-cover .navbar--list > li { display: flex; align-items: center; flex: none; }
.atd-reference-cover .navbar--list > li > a {
    display: flex; align-items: center; padding: 12px; border-bottom: 2px solid transparent; white-space: nowrap;
}
.atd-reference-cover .navbar--list > li.current-menu-item > a,
.atd-reference-cover .navbar--list > li > a[aria-current="page"],
.atd-reference-cover .navbar--list > li > a:hover { color: var(--color-primary); border-color: currentColor; }
.atd-reference-cover .sub-menu { display: none; }
.atd-reference-cover .sub-menu.is-open {
    position: fixed; display: grid; z-index: 50; min-width: 12rem; max-height: 50vh; overflow-y: auto;
    background: #fff; border: 1px solid #ddd; border-radius: .5rem; box-shadow: 0 6px 16px #0002;
}
.sub-menu.is-open a { display: block; padding: .65rem .9rem; }
.atd-submenu-toggle { padding: 8px; cursor: pointer; }
.atd-reference-cover .header--logo img { max-width: 200px; }
.atd-reference-cover .trending--wrapper, .atd-reference-cover .swiper-wrapper { overflow-x: auto; scrollbar-width: none; }
.atd-reference-cover .atd-inline-icon { display: inline-block; width: 1em; height: 1em; flex: none; }
.atd-reference-cover .headline--main { min-width: 0; }
.atd-reference-cover .atd-video-image, .showcase-video__vidio video {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.showcase-video__vidio video { object-fit: contain; background: #171717; }
.atd-reference-cover .swiper-wrapper { display: flex; scroll-snap-type: x mandatory; }
.atd-reference-cover .swiper-slide { flex: 0 0 120px; scroll-snap-align: start; }
.atd-reference-cover .swiper-button { cursor: pointer; }
.atd-reference-cover .swiper-button:disabled { visibility: hidden; }
.atd-reference-cover .promotion-brand { background-blend-mode: multiply; background-color: #61574d; }
.atd-reference-cover .atd-foot-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 24px; }
.atd-reference-cover .footer__logo__image img { max-width: 200px; height: 32px; object-fit: contain; }
.atd-reference-cover .footer__socmed .atd-svg { width: 22px; height: 22px; }
.atd-reference-cover .footer__bottom:empty, .atd-reference-cover ul:empty { display: none; }
.atd-cover-empty { margin: 80px 16px; text-align: center; }
.atd-cover-empty h2 { font-size: 24px; font-weight: 700; }
.admin-bar.atd-reference-cover .header { top: 32px; }
@media (max-width: 782px) { .admin-bar.atd-reference-cover .header { top: 46px; } }
@media (max-width: 767px) {
    .atd-reference-cover .header--wrapper { flex-wrap: wrap; gap: 8px; }
    .atd-reference-cover .header--logo__link { height: 28px; }
    .atd-reference-cover .header--search { flex-basis: 100%; order: 3; }
    .atd-reference-cover .header--search__form { height: 36px; }
    .atd-reference-cover .navbar { margin-top: 8px; }
    .atd-reference-cover .navbar--list { margin-inline: 0; justify-content: flex-start; }
    .atd-reference-cover .trending--title { flex: none; }
    .atd-reference-cover .trending--list { width: max-content; }
    .atd-reference-cover .headline { flex-direction: column; height: auto; gap: 24px; }
    .atd-reference-cover .headline--main, .atd-reference-cover .headline--popular { width: 100%; height: auto; }
    .atd-reference-cover .headline--popular__wrapper { height: auto; }
    .atd-reference-cover .headline--popular__wrapper__box { max-height: 24rem; }
    .atd-reference-cover .headline--main__list { display: block; }
    .atd-reference-cover .headline--main__list__item { width: 100%; padding: 10px 0; border: 0; }
    .atd-reference-cover .headline__item__figure { height: auto; }
    .atd-reference-cover .headline--main .headline__item__title { overflow-wrap: anywhere; }
    .atd-reference-cover .showcase-video__vidio { min-height: 0; aspect-ratio: 16 / 9; }
    .atd-reference-cover .special-content-wrapper { flex-direction: column; aspect-ratio: auto; }
    .atd-reference-cover .special-content-pict, .atd-reference-cover .special-content-inner { width: 100%; }
    .atd-reference-cover .special-content-pict { flex: auto; height: auto; aspect-ratio: 16 / 9; overflow: hidden; }
    .atd-reference-cover .special-content-inner-box-list { max-height: 16rem; }
    .atd-reference-cover .promotion--wrapper { flex-direction: column; }
    .atd-reference-cover .promotion--headline, .atd-reference-cover .promotion--list { width: 100%; padding-inline: 0; border-right: 0; }
    .atd-reference-cover .promotion-article--list { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .atd-reference-cover .promotion-brand { padding: 20px; }
    .atd-reference-cover .promotion-brand--top, .atd-reference-cover .promotion-brand--list,
    .atd-reference-cover .channel-highlights { display: grid; grid-template-columns: minmax(0,1fr); gap: 20px; }
    .atd-reference-cover .featured-photo__layout { flex-direction: column; }
    .atd-reference-cover .featured-photo__left, .atd-reference-cover .featured-photo__right { width: 100%; }
    .atd-reference-cover .featured-photo__right { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .atd-reference-cover .footer__wrapper { padding-inline: 16px; }
}
/* Crop uploaded images to the slots of the reference page. */
.atd-reference-cover .headline__item__image { width: 100%; aspect-ratio: 640 / 356; object-fit: cover; }
.atd-reference-cover .promotion__item__image, .atd-reference-cover .promotion-brand__item__image,
.atd-reference-cover .special-content-inner-box-list-item-figure-img { aspect-ratio: 1; object-fit: cover; }
.atd-reference-cover .promotion--headline .promotion__item__image,
.atd-reference-cover .promotion-brand__item--headline .promotion-brand__item__image,
.atd-reference-cover .promotion-article--list__pict,
.atd-reference-cover .channel-highlights__image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.atd-reference-cover .promotion-brand--top__wrapper__image { width: 100%; aspect-ratio: 4 / 1; object-fit: cover; }
.atd-reference-cover .video-vertical .item__figure__img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.atd-reference-cover .featured-photo__image { width: 100%; height: 100%; object-fit: cover; }
.atd-reference-cover .footer__list .sub-menu { display: block; text-align: center; }

.atd-reference-cover .promotion-brand--top__wrapper { width: 100%; }

.atd-phone { display: none !important; }
