@import url("https://fonts.googleapis.com/css2?family=Anton&family=Roboto+Condensed:wght@400;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    background-color: #000;
    color: #fff;

    padding: 10px;
}

@media (max-width: 799px) {

    body {
        padding: 0;
        padding-top: 60px;
    }
}

.mobile-header {
    display: none;
}

@media (max-width: 799px) {
    .mobile-header {
        display: flex;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10050;
        width: 100%;
        height: 60px;
        padding: 0 3.5%;
        gap: 0.625rem;
        background-color: rgb(231 26 33);
        transition: background-color 0.5s ease-in-out;
    }

    .mobile-header.is-open {
        background-color: transparent;
    }

    .mobile-header-inner {
        position: relative;
        display: flex;
        align-items: center;
        gap: 0.625rem;
        width: 100%;
        height: 100%;
    }

    .mobile-header-logo {
        flex: 0 0 50px;
        width: 50px;
    }

    .mobile-header-logo a {
        display: block;
        line-height: 0;
    }

    .mobile-header-logo img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }

    .mobile-header-wordmark {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 180px;
    }

    .mobile-header-wordmark-img {
        display: block;
        width: 100%;
        max-width: 180px;
        height: auto;
        object-fit: contain;
    }

    .mobile-menu-toggle {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 10051;
        margin: 10px;
        width: 35px;
        height: 40px;
        padding: 0;
        border: 0;
        cursor: pointer;
        background: transparent;
    }

    .mobile-menu-toggle span {
        display: block;
        position: absolute;
        left: 20%;
        width: 60%;
        height: 3px;
        background-color: #fff;
        transition: transform 0.4s ease, opacity 0.4s ease, top 0.4s ease, bottom 0.4s ease;
    }

    .mobile-menu-toggle span:nth-child(1) {
        top: 10px;
    }

    .mobile-menu-toggle span:nth-child(2) {
        top: 18px;
    }

    .mobile-menu-toggle span:nth-child(3) {
        bottom: 10px;
    }

    .mobile-header.is-open .mobile-menu-toggle span:nth-child(1) {
        top: 18px;
        transform: rotate(45deg);
    }

    .mobile-header.is-open .mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .mobile-header.is-open .mobile-menu-toggle span:nth-child(3) {
        bottom: auto;
        top: 18px;
        transform: rotate(-45deg);
    }

    .mobile-menu-panel {
        position: fixed;
        inset: 0;
        z-index: 10060;
        display: flex;
        flex-direction: column;
        background-color: #000;
        overflow: hidden;
    }

    .mobile-menu-panel[hidden] {
        display: none !important;
    }

    .mobile-menu-panel-inner {
        display: flex;
        flex-direction: column;
        min-height: 0;
        flex: 1;
        height: 100%;
    }

    .mobile-menu-panel-header {
        display: flex;
        flex-shrink: 0;
        align-items: center;
        justify-content: space-between;
        padding: 16px 6.5% 12px;
    }

    .mobile-menu-panel-logo {
        display: block;
        width: 50px;
        line-height: 0;
    }

    .mobile-menu-panel-logo img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }

    .mobile-menu-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 2rem;
        line-height: 1;
        cursor: pointer;
    }

    .mobile-menu-panel-body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        padding: 8px 6.5% 28px;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-menu-nav-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-menu-nav-link {
        display: block;
        padding: 0;
        font-family: Anton, sans-serif;
        font-size: 25px;
        line-height: 35px;
        letter-spacing: 1px;
        font-weight: bold;
        color: #fff;
        text-decoration: none;
        text-transform: uppercase;
    }

    .mobile-menu-nav-link:hover,
    .mobile-menu-nav-link:focus-visible {
        color: #e60012;
    }

    .mobile-menu-subnav {
        display: flex;
        gap: 2.5rem;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .mobile-menu-subnav-col {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .mobile-menu-subnav-link {
        font-family: "Roboto Condensed", sans-serif;
        font-size: 0.875rem;
        line-height: 1.5;
        color: #fff;
        text-decoration: none;
    }

    .mobile-menu-subnav-link:hover,
    .mobile-menu-subnav-link:focus-visible {
        text-decoration: underline;
    }

    .mobile-menu-bottom {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        flex-shrink: 0;
        border-top: 1px solid #fff;
        border-bottom: 1px solid #fff;
        min-height: 72px;
    }

    .mobile-menu-bottom-col {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 8px;
    }

    .mobile-menu-bottom-col + .mobile-menu-bottom-col {
        border-left: 1px solid #fff;
    }

    .mobile-menu-bottom-social {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .mobile-menu-bottom-social img {
        display: block;
        width: 28px;
        height: 28px;
        object-fit: contain;
    }
}

@media (min-width: 800px) {
    .mobile-header,
    .mobile-menu-panel {
        display: none !important;
    }
}

.screen-frame {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 10px solid #fff;
    pointer-events: none;
    z-index: 9999;
}

@media (max-width: 799px) {
    .screen-frame {
        display: none;
    }
}

.layout-wrapper {
    display: flex;
    width: 100%;
    min-height: calc(100vh - 20px);
}

@media (max-width: 799px) {
    .layout-wrapper {
        min-height: 100vh;
    }
}

.sidebar {
    width: 250px;
    height: calc(100vh - 20px);
    position: fixed;
    top: 10px;
    left: 10px;
    background-color: #000;
    background-image: url("https://www.njpw1972.com/assets/side-menu-CQj2bO23.jpg");
    background-position: left top;
    background-repeat: no-repeat;
    border-right: 5px solid #fff;
    z-index: 100;
    overflow: hidden;
    padding: 20px;
    display: none;
    flex-direction: column;
}

.main-content {
    width: 100%;
    margin-left: 0;
    background-color: #000;
    position: relative;
    z-index: 5;
    min-height: 100vh;
}

@media (min-width: 800px) {
    .sidebar {
        display: flex;
    }

    .main-content {
        width: calc(100% - 250px);
        margin-left: 250px;
    }
}

.hero-banner {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: -1.25rem;
}

@media (min-width: 800px) {
    .hero-banner {
        margin-top: -2rem;
    }
}

@media (max-width: 799px) {
    .hero-banner {
        margin-top: 0;
    }
}

.hero-banner-image {
    display: block;
    width: 100%;
    height: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.content-section {
    padding: 40px 20px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    font-family: "Anton", sans-serif;
    text-align: center;
    text-transform: uppercase;
}

.section-description {
    margin-bottom: 20px;
}

.section-description.is-empty {
    display: none;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.topic-card {
    display: block;
    background: #1a1a1a;
    border: 1px solid #333;
    text-decoration: none;
    color: inherit;
}

.topic-card:focus-visible {
    outline: 2px solid #e60012;
    outline-offset: 2px;
}

.card-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    background: #333;
    overflow: hidden;
}

.card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-info {
    padding: 15px;
}

.topic-card-date {
    display: block;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 8px;
}

.topic-card-title {
    font-size: 1rem;
    line-height: 1.4;
}

.sidebar-header {
    text-align: center;
    margin-bottom: 30px;
}

.sidebar-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.sidebar-brand:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.sidebar-brand-mark {
    width: 100px;
    margin-left: auto;
    margin-right: auto;
}

.sidebar-brand-mark img {
    display: block;
    width: 100%;
    height: auto;
}

.sidebar-brand-wordmark img {
    display: block;
    width: 198px;
    max-width: 100%;
    height: auto;
}

.sidebar-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.sidebar-nav-list {
    list-style: none;
}

.sidebar-nav-item {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 34px;
    line-height: 1.15em;
    font-weight: bold;
    font-family: "Anton", sans-serif;
    letter-spacing: 1px;
    text-decoration: none;
    color: inherit;
}

.sidebar-nav-item:hover {
    color: #e60012;
}

.sidebar-social {
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0;
    margin-top: auto;
    flex-shrink: 0;
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    border-top: 1px solid #fff;
}

.sidebar-social > li {
    display: grid;
    height: 3rem;
    place-items: center start;
    margin: 0;
    padding: 0;
}

.sidebar-social-link {
    display: block;
    width: 1.75rem;
    height: 1.75rem;
    aspect-ratio: 1;
}

.sidebar-social-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.sidebar-social-icon--hover {
    display: none;
}

@media (min-width: 800px) {
    .sidebar-social {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 1.5rem;
        border-top: none;
        padding-top: 1.5rem;
    }

    .sidebar-social > li {
        height: auto;
    }

    .sidebar-social-link {
        width: 1.5rem;
        height: 1.5rem;
    }

    .sidebar-social-link:hover .sidebar-social-icon--default {
        display: none;
    }

    .sidebar-social-link:hover .sidebar-social-icon--hover {
        display: block;
    }
}

footer {
    padding: 60px 20px;
    text-align: left;
    border-top: 1px solid #333;
    --tw-bg-opacity: 1;
    background-color: rgb(231 26 33 / var(--tw-bg-opacity));
    color: #fff;
}

.footer-links,
.footer-note,
.footer-copy {
    margin: 0;
    font-family: "Roboto Condensed", Anton, sans-serif;
    font-size: 0.875rem;
    line-height: 1.75em;
}

.footer-links {
    font-weight: 700;
    margin-bottom: 28px;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    text-decoration: underline;
}

.footer-note {
    margin-bottom: 10px;
}
