/* Adapt the campaign's classic element styles to native block wrappers. */
:where(.ragnarok-page) .is-layout-flow > * {
    margin-block-start: 0;
    margin-block-end: 0;
}
.ragnarok-page main .banner .bg {
    margin: 0;
    height: 100%;
}
.ragnarok-page .banner .bg img,
.ragnarok-page .banner .video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ragnarok-page .banner .bg a {
    display: block;
    width: 100%;
    height: 100%;
}
.ragnarok-page .banner :is(.video-bg, #particles-js) {
    pointer-events: none;
}
.ragnarok-page .banner :is(.logo-d, .logo-m) a,
.ragnarok-page .banner :is(.logo-d, .logo-m) img {
    height: 100%;
    width: auto;
}
.ragnarok-page main .banner .container .banner-wrap .wp-block-button.explore {
    padding: 0;
    border: 0;
    background: none;
    margin-bottom: 16px;
    transition: none;
}
.ragnarok-page .banner-wrap .wp-block-button__link {
    color: #fff;
    background: transparent;
    border-radius: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    transition: background-color 160ms ease, color 160ms ease;
}
.ragnarok-page .banner-wrap .explore .wp-block-button__link {
    border: 1px solid #ffb800;
    padding: 16px 48px;
    font-weight: 700;
}
.ragnarok-page .banner-wrap .explore .wp-block-button__link:hover {
    background-color: #cb8605;
}
.ragnarok-page .banner-wrap .ragnarok-whitepaper {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ragnarok-page .ragnarok-whitepaper svg { flex-shrink: 0; }
.ragnarok-page .banner-wrap .read .wp-block-button__link { padding: 0; }
.ragnarok-page .banner-wrap .read .wp-block-button__link:hover { color: #ffcb08; }
.ragnarok-page main .cate-intro { margin-bottom: 48px; }
.ragnarok-page .cate-intro .wp-block-image { margin-block: 8px 24px; }
.ragnarok-page main .cate-intro .container .inner-wrap img { margin: 0; }
.ragnarok-page main .cate-intro .container .inner-wrap .cate-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px;
}
.ragnarok-page .cate-wrap > p {
    margin: 0;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}
.ragnarok-page .cate-wrap > p > a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 16px;
    border: 1px solid rgb(255 255 255 / 20%);
    background-color: #171717;
    color: #ffcb08;
}
.ragnarok-page .cate-wrap > p > a:hover { background-color: #292929; }
/* Blank imported parts emit no empty rail; adding native content restores it. */
.ragnarok-page .col-content:has(.editorial .wp-block-template-part:empty) { display: none; }
.ragnarok-page .content_grid:has(.editorial .wp-block-template-part:empty) > .col-content:has(.news) {
    width: 100%;
    max-width: 100%;
    flex: 1;
}
@media (max-width: 767px) {
    .ragnarok-page .banner-wrap .explore .wp-block-button__link { padding: 12px 32px; }
}
@media (prefers-reduced-motion: reduce) {
    .ragnarok-page .banner-wrap .wp-block-button__link { transition: none; }
    .ragnarok-page .banner .video-bg { display: none; }
}
