/*
Theme Name: NGHN
Theme URI: https://nishigahigashini.com/
Description: Nishiga Higashi Ni custom child theme
Author: Nishiga Higashi Ni
Template: blankslate
Version: 1.0
*/

html,
body {
    margin: 0;
    padding: 0;
}

#nghn-home {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

#nghn-home > img {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 1;
}

#light-trails {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 20;
    pointer-events: none;
}

#nghn-title {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    font-family: "Noto Sans Cypriot", sans-serif;
    font-size: 15vw;
    line-height: 1;

    color: white;

    white-space: nowrap;

    z-index: 10;
}

#nghn-home {
    cursor: pointer;
    touch-action: manipulation; /* stops double-tap-to-zoom from eating a tap on mobile */
}

#nghn-title,
#nghn-touch {
    user-select: none;
    -webkit-user-select: none;
}

#nghn-touch {
    position: absolute;
    top: calc(50% + 6vw);
    left: 50%;
    transform: translate(-50%, 0);

    font-family: "Noto Sans Cypriot", sans-serif;
    font-size: 1.4vw;
    letter-spacing: 0.35em;
    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;

    z-index: 10;

    animation: nghn-touch-pulse 2.6s ease-in-out infinite;
    transition: opacity 1s ease;
}

#nghn-touch.nghn-touch-hidden {
    opacity: 0;
    animation: none;
}

@keyframes nghn-touch-pulse {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 0.9; }
}

/* =========================================================
   BAND PAGE
   ========================================================= */

html,
body {
    margin: 0;
    padding: 0;
}

body.nghn-band-page {
    background: #f1f0eb;
    color: #111;
    font-family: "Noto Sans Cypriot", sans-serif;
    font-size: 14px;
    line-height: 1.35;
}

body.nghn-band-page #wpadminbar {
    display: none;
}

#nghn-band {
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    padding: 16px 20px 50px;
}


/* =========================================================
   LINKS
   ========================================================= */

#nghn-band a,
#nghn-band a:hover,
#nghn-band a:focus,
#nghn-band a:active,
#nghn-band a:visited {
    color: inherit;
    text-decoration: none !important;
    text-decoration-line: none !important;
    -webkit-text-decoration-line: none !important;
}


/* =========================================================
   TOP NAV
   ========================================================= */

.nghn-band-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    font-size: 12px;
    line-height: 1;
}

.nghn-nav-sections,
.nghn-nav-social {
    display: flex;
    gap: 18px;
}

.nghn-band-nav a {
    text-decoration: none;
}


/* =========================================================
   HERO IMAGE
   ========================================================= */

.nghn-band-hero {
    width: 100%;
    margin-bottom: 10px;
}

.nghn-band-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.nghn-band-name {
    margin-bottom: 8px;
    font-size: 20px;
    line-height: 1;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.nghn-band-section {
    margin-bottom: 60px;
}

.nghn-section-label {
    margin-bottom: 10px;
    font-size: 10px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}


/* =========================================================
   UNIVERSAL LIST
   ========================================================= */

.nghn-list {
    width: 100%;
    border-top: 1px solid rgba(17, 17, 17, 0.28);
}

.nghn-list-row {
    min-height: 46px;
    padding: 5px 0;
    box-sizing: border-box;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 25px;
    align-items: center;

    border-bottom: 1px solid rgba(17, 17, 17, 0.28);
}

.nghn-list-main {
    min-width: 0;
}

.nghn-list-main a {
    text-decoration: none;
}

.nghn-list-arrow {
    width: 25px;
    text-align: right;
    font-size: 15px;
    text-decoration: none !important;
}


/* =========================================================
   MUSIC
   ========================================================= */

#music .nghn-list-main {
    font-size: 14px;
}

#music .nghn-list-main a {
    text-decoration: none;
}


/* =========================================================
   VIDEOS
   ========================================================= */

#videos .nghn-list-main {
    font-size: 14px;
}

#videos .nghn-list-main a {
    text-decoration: none;
}

.nghn-list-description {
    margin-top: 3px;
    font-size: 10px;
    opacity: 0.55;
}


/* =========================================================
   IMAGES
   ========================================================= */

.nghn-image-list {
    width: 100%;
    border-top: 1px solid rgba(17, 17, 17, 0.28);
}

.nghn-image-row {
    min-height: 100px;

    display: grid;
    grid-template-columns: 100px minmax(0, 1fr) 25px;
    gap: 20px;

    align-items: center;

    padding: 5px 0;

    border-bottom: 1px solid rgba(17, 17, 17, 0.28);
}


/* image itself */

.nghn-image-trigger {
    display: block;
    width: 100px;
    height: 80px;

    padding: 0;
    margin: 0;

    border: 0;
    background: transparent;

    cursor: pointer;
    overflow: hidden;
}

.nghn-list-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* image information */

.nghn-image-info {
    align-self: center;
}

.nghn-image-caption {
    font-size: 14px;
}

.nghn-image-lightbox-link {
    font-size: 14px;
    text-decoration: none !important;
}

.nghn-image-credit {
    margin-top: 4px;
    font-size: 10px;
    opacity: 0.55;
}

.nghn-image-arrow {
    text-align: right;
    font-size: 17px;
    text-decoration: none !important;
}

/* =========================================================
   LIVE
   ========================================================= */

.nghn-live-row {
    grid-template-columns: 110px minmax(0, 1fr) 25px;
}

.nghn-live-date {
    font-size: 12px;
    white-space: nowrap;
}

.nghn-live-info {
    min-width: 0;
}

.nghn-live-venue {
    font-size: 14px;
}

.nghn-live-venue a {
    text-decoration: none !important;
}

.nghn-live-acts {
    margin-top: 3px;
    font-size: 10px;
    opacity: 0.58;
}


/* =========================================================
   FOOTER
   ========================================================= */

.nghn-band-footer {
    margin-top: 140px;
    padding-top: 10px;

    border-top: 1px solid rgba(17, 17, 17, 0.28);

    font-size: 10px;
}


/* =========================================================
   LIGHTBOX
   ========================================================= */

.nghn-lightbox {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    box-sizing: border-box;

    background: rgba(241, 240, 235, 0.96);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;

    cursor: pointer;
}

.nghn-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.nghn-lightbox-inner {
    max-width: 90vw;
    max-height: 90vh;

    text-align: center;

    cursor: default;
}

.nghn-lightbox-inner img {
    display: block;

    max-width: 90vw;
    max-height: 82vh;

    width: auto;
    height: auto;
}

.nghn-lightbox-caption {
    margin-top: 8px;

    font-size: 11px;

    text-align: left;
}

.nghn-lightbox-close {
    position: absolute;

    top: 15px;
    right: 20px;

    padding: 0;

    border: 0;
    background: none;

    font-family: inherit;
    font-size: 30px;
    line-height: 1;

    color: #111;

    cursor: pointer;
}

body.nghn-lightbox-open {
    overflow: hidden;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    #nghn-band {
        padding: 12px 12px 25px;
    }

    .nghn-band-nav {
        margin-bottom: 30px;
    }

    .nghn-nav-sections,
    .nghn-nav-social {
        gap: 10px;
    }

    .nghn-band-hero {
        margin-bottom: 10px;
    }

    .nghn-band-section {
        margin-bottom: 30px;
    }


    .nghn-list-row {
        min-height: 42px;
    }

    .nghn-image-row {
        grid-template-columns: 100px minmax(0, 1fr) 20px;
        gap: 12px;

        min-height: 100px;
        padding: 5px 0;
    }

    .nghn-image-trigger {
        width: 100px;
        height: 80px;
    }

    .nghn-live-row {
        grid-template-columns: 75px minmax(0, 1fr) 20px;
    }

    .nghn-lightbox {
        padding: 15px;
    }

    .nghn-lightbox-inner img {
        max-width: 94vw;
        max-height: 80vh;
    }

}

/* =========================================================
   FORCE NO UNDERLINES — ALL LINKS, ALL STATES, ALL DEVICES
   ========================================================= */

#nghn-band a,
#nghn-band a:link,
#nghn-band a:visited,
#nghn-band a:hover,
#nghn-band a:focus,
#nghn-band a:focus-visible,
#nghn-band a:active {
    text-decoration: none !important;
    text-decoration-line: none !important;
    -webkit-text-decoration-line: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    background-image: none !important;
}