/*
Theme Name: Loser Beams
Theme URI: https://loserbeams.com/
Author: Loser Beams
Description: Custom theme for loserbeams.com
Version: 1.0.6
Text Domain: loser-beams
*/

@font-face {
    font-family: "Just A Word";
    src: url("fonts/Justaword.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: #000000;
}

body {
    position: relative;
    color: #eeeeee;
    font-family: Arial, Helvetica, sans-serif;
    background: transparent;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-color: #000000;
    background-image: url("images/laser-bg-1.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.site-shell {
    width: min(760px, calc(100% - 16px));
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background: #000000;
    box-shadow: 0 0 28px rgba(0,0,0,.85), 0 0 3px rgba(255,255,255,.08);
}

.site-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 8px 8px;
}

.site-header {
    padding: 0;
    text-align: center;
    background: #000000;
}

.site-header a {
    display: block;
    line-height: 0;
}

.site-logo {
    display: block;
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
}

.hero {
    margin: 0 auto 5px;
    text-align: center;
}

.hero img {
    display: block;
    width: 100%;
    border: 0;
}

.intro-panel {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 20px;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 16px 8px 10px;
}

.image-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    margin: 0;
    padding: 0;
}

.image-menu a,
.mobile-image-menu a {
    display: block;
    width: fit-content;
    line-height: 0;
    text-decoration: none;
}

.image-menu .menu-image,
.mobile-image-menu .menu-image {
    display: block;
    max-width: 100%;
}

.image-menu .hover-image,
.mobile-image-menu .hover-image {
    display: none;
}

.image-menu a:hover .normal-image,
.image-menu a:focus-visible .normal-image,
.mobile-image-menu a:hover .normal-image,
.mobile-image-menu a:focus-visible .normal-image {
    display: none;
}

.image-menu a:hover .hover-image,
.image-menu a:focus-visible .hover-image,
.mobile-image-menu a:hover .hover-image,
.mobile-image-menu a:focus-visible .hover-image {
    display: block;
}

.mobile-image-menu {
    display: none;
}

.tagline {
    align-self: center;
    text-align: center;
    padding: 6px;
}

.tagline p {
    margin: .25em 0;
    color: #5CC1E4;
    font-family: "Just A Word", Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-style: normal;
    font-weight: normal;
    line-height: 1.3;
    text-shadow: 0 1px 8px rgba(255,255,255,.18);
}

.staging-tagline p {
    color: #FF80FF;
}

h1,
h2,
h3 {
    font-family: "Just A Word", Georgia, "Times New Roman", serif;
    font-weight: normal;
}

h1 {
    font-size: clamp(30px,5vw,48px);
}

h2 {
    font-size: clamp(24px,4vw,36px);
}

h3 {
    font-size: clamp(20px,3vw,28px);
}

.lower-content {
    width: 100%;
    margin-top: 10px;
    padding: 20px 12px;
    text-align: center;
}

.lower-content h2 {
    margin: 0 0 10px;
}

.lower-content p {
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
    color: #cfcfcf;
}

.site-footer {
    min-height: 32px;
    padding: 8px;
    text-align: center;
    color: #7f7f7f;
    background: #000000;
    border-top: 1px solid rgba(255,255,255,.06);
    font-size: 13px;
}

@media (max-width: 760px) {
    .site-shell {
        width: calc(100% - 40px);
    }

    .site-content {
        padding: 0 6px 6px;
    }

    .site-header {
        padding: 0;
    }

    .intro-panel {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 2px 6px 10px;
    }

    .desktop-image-menu {
        display: none;
    }

    .mobile-image-menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 160px));
        justify-content: center;
        gap: 1px;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .mobile-image-menu a {
        width: 100%;
    }

    .mobile-image-menu img {
        display: block;
        width: 100%;
        height: auto;
    }

    .tagline {
        padding: 4px 0 12px;
        }
    .tagline p {
        font-size: 15px;
        }

}

.error-page {
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
}

.error-page h1 {
    margin: 0;
    font-family: "Just A Word", Georgia, serif;
    font-size: clamp(72px,14vw,120px);
    color: #7FAED8;
    text-shadow: 0 0 12px rgba(127,174,216,.4);
}

.error-page h2 {
    margin: 10px 0 25px;
    font-family: "Just A Word", Georgia, serif;
    font-size: clamp(26px,4vw,42px);
    color: #ffffff;
}

.error-page p {
    max-width: 520px;
    color: #cfcfcf;
    line-height: 1.7;
}

.return-home {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 22px;
    color: #7FAED8;
    text-decoration: none;
    border: 1px solid #7FAED8;
}

.return-home:hover {
    background: #7FAED8;
    color: #000;
}

.staging-page {
    background-image: url("images/laser-bg-2.png");
}


/* ---------------------------------------------------------
   ABOUT PAGE 3x3 PHOTO GRID
--------------------------------------------------------- */

.about-page {
    padding: 0 8px;
}

.about-photo-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity .8s ease;
}

.about-photo-grid > img:not(.about-photo-zoom) {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: cover;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    touch-action: none;
}

.about-photo-grid > img.about-zoom-source {
    opacity: 0;
}

.about-photo-grid.photos-ready {
    opacity: 1 !important;
}


/* ---------------------------------------------------------
   ABOUT PRESS / HOLD PHOTO ZOOM
--------------------------------------------------------- */

.about-photo-zoom {
    position: absolute;
    display: block;
    z-index: 20;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #000000;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}


/* ---------------------------------------------------------
   ABOUT PAGE - MOBILE
--------------------------------------------------------- */

@media (max-width: 760px) {
    .about-page {
        padding: 0 6px;
    }
}


/* ---------------------------------------------------------
   PAGE TRANSITIONS
--------------------------------------------------------- */

.home-fade,
.page-fade {
    opacity: 0;
}

.home-fade.fade-ready,
.page-fade.fade-ready {
    animation: pageFadeIn .8s ease both;
}

@keyframes pageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* ---------------------------------------------------------
   CONTACT PAGE
--------------------------------------------------------- */

.contact-page {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    text-align: center;
}

.contact-filmstrip {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
}

.contact-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 4px 0;
}

.contact-page h1 {
    margin: 0 0 6px;
    font-family: "Just A Word", Georgia, serif;
    font-size: clamp(40px,7vw,64px);
    font-weight: normal;
    color: #5CC1E4;
    text-shadow: 0 0 12px rgba(92,193,228,.4);
}

.contact-email {
    margin: 0 0 4px;
}

.contact-email a {
    font-family: "Just A Word", Georgia, "Times New Roman", serif;
    font-size: clamp(20px,3vw,30px);
    color: #ffffff;
    text-decoration: none;
}

.contact-email a:hover {
    color: #5CC1E4;
}

.contact-page .return-home-wrap {
    margin: 4px 0 0;
}


/* ---------------------------------------------------------
   RETURN IMAGE BUTTON
--------------------------------------------------------- */

.return-home-wrap {
    margin: 20px 0;
    padding: 0;
    line-height: 0;
}

.return-image-button {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
}

.return-image-button img {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
}

.return-image-button .return-hover {
    display: none;
}

.return-image-button:hover .return-normal,
.return-image-button:focus-visible .return-normal {
    display: none;
}

.return-image-button:hover .return-hover,
.return-image-button:focus-visible .return-hover {
    display: block;
}

.lower-content h1 {
    font-size: clamp(18px,2.5vw,24px);
}

.lower-content h2 {
    font-size: clamp(16px,2.2vw,21px);
}

.lower-content h3 {
    font-size: clamp(14px,2vw,18px);
}


/* ---------------------------------------------------------
   NEWS PAGE
--------------------------------------------------------- */

.news-page {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
}

.news-filmstrip {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
}

.news-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 24px 16px 0;
}

.news-list {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

.news-entry {
    width: 100%;
    margin: 0;
    padding: 0 0 24px;
}

.news-entry + .news-entry {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(92,193,228,.22);
}

.news-date {
    margin: 0 0 5px;
    color: #777777;
    font-size: 11px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.news-title {
    margin: 0 0 10px;
    font-family: "Just A Word", Georgia, "Times New Roman", serif;
    font-size: clamp(22px,3vw,30px);
    line-height: 1.15;
    font-weight: normal;
}

.news-title a {
    color: #5CC1E4;
    text-decoration: none;
    text-shadow: 0 0 8px rgba(92,193,228,.2);
}

.news-title a:hover,
.news-title a:focus-visible {
    color: #ffffff;
}

.news-thumbnail {
    display: block;
    width: 100%;
    margin: 12px 0;
    line-height: 0;
}

.news-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    border: 0;
}

.news-excerpt {
    color: #d0d0d0;
    font-size: 14px;
    line-height: 1.65;
}

.news-excerpt p {
    margin: 0;
}

.news-read-more {
    margin: 10px 0 0;
}

.news-read-more a {
    color: #5CC1E4;
    font-size: 13px;
    text-decoration: none;
}

.news-read-more a:hover,
.news-read-more a:focus-visible {
    color: #ffffff;
}

.news-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin: 28px auto 0;
}

.news-pagination .page-numbers {
    display: inline-block;
    padding: 5px 8px;
    color: #aaaaaa;
    text-decoration: none;
}

.news-pagination a.page-numbers:hover,
.news-pagination a.page-numbers:focus-visible,
.news-pagination .page-numbers.current {
    color: #5CC1E4;
}

.news-empty {
    flex: 1;
    min-height: 45vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.news-empty > p:first-child {
    margin: 0;
    color: #cfcfcf;
    line-height: 1.7;
}

.news-center > .return-home-wrap {
    margin: 8px 0 12px;
    text-align: center;
}

.news-filmstrip-bottom {
    margin-top: auto;
}


/* ---------------------------------------------------------
   INDIVIDUAL NEWS POST
--------------------------------------------------------- */

.news-single {
    flex: 1;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 18px 16px 28px;
}

.news-post {
    width: 100%;
}

.news-post-title {
    margin: 3px 0 18px;
    color: #5CC1E4;
    font-family: "Just A Word", Georgia, "Times New Roman", serif;
    font-size: clamp(28px,4.5vw,42px);
    line-height: 1.15;
    font-weight: normal;
    text-shadow: 0 0 12px rgba(92,193,228,.3);
}

.news-post-image {
    width: 100%;
    margin: 0 0 20px;
    line-height: 0;
}

.news-post-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    border: 0;
}

.news-post-content {
    color: #d0d0d0;
    font-size: 14px;
    line-height: 1.7;
}

.news-post-content p {
    margin: 0 0 1.2em;
}

.news-post-content h2,
.news-post-content h3 {
    margin: 1.4em 0 .5em;
    color: #5CC1E4;
}

.news-post-content a {
    color: #5CC1E4;
}

.news-post-content a:hover,
.news-post-content a:focus-visible {
    color: #ffffff;
}

.news-post-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 16px auto;
}

.news-single > .return-home-wrap {
    text-align: center;
}


/* ---------------------------------------------------------
   NEWS MOBILE
--------------------------------------------------------- */

@media (max-width: 760px) {
    .news-center {
        padding: 24px 8px 0;
    }

    .news-entry {
        padding-bottom: 20px;
    }

    .news-entry + .news-entry {
        margin-top: 20px;
        padding-top: 20px;
    }

    .news-excerpt,
    .news-post-content {
        font-size: 13px;
    }

    .news-empty {
        min-height: 40vh;
    }

    .news-center > .return-home-wrap {
        margin: 6px 0 10px;
    }

    .news-single {
        padding: 14px 8px 24px;
    }
}


/* ---------------------------------------------------------
   MEDIA PAGE
--------------------------------------------------------- */

.media-page {
    flex: 1;
    width: 100%;
    padding: 0 8px 8px;
}

.media-page > .media-separator:first-child {
    margin-top: 0;
}

.media-release + .media-release {
    margin-top: 42px;
}

.media-album-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    margin: 4px 0 14px;
}

.media-album-title {
    margin: 0;
    text-align: left;
    font-family: "Just A Word", Georgia, "Times New Roman", serif;
    font-size: clamp(20px,3vw,28px);
    line-height: 32px;
    font-weight: normal;
    color: #5CC1E4;
    text-shadow: 0 0 12px rgba(92,193,228,.35);
}

.media-album-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    height: 32px;
    flex-wrap: nowrap;
}

.media-album-links a {
    display: block;
    line-height: 0;
    text-decoration: none;
}

.media-album-links img {
    display: block;
    width: auto;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: .8;
    transition: opacity .15s ease;
}

.media-album-links a:hover img,
.media-album-links a:focus-visible img {
    opacity: 1;
}

.media-album {
    display: grid;
    grid-template-columns: 256px minmax(0,1fr);
    gap: 24px;
    width: 100%;
    align-items: start;
}

.media-cover {
    width: 256px;
    height: 256px;
    flex: 0 0 256px;
}

.media-cover img {
    display: block;
    width: 256px;
    height: 256px;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: cover;
}

.tracklist {
    width: 100%;
    min-width: 0;
    height: 256px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 2px;
    box-sizing: border-box;
    scrollbar-width: thin;
}

.track {
    display: grid;
    grid-template-columns: 15px 34px minmax(0,1fr) 46px;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 4px 5px;
    border: 0;
    background: transparent;
    color: #eeeeee;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
    transition: background .15s ease,color .15s ease;
}

.track:hover {
    background: rgba(92,193,228,.12);
    color: #ffffff;
}

.track.active {
    background: rgba(92,193,228,.18);
    color: #5CC1E4;
}

.track-indicator {
    display: block;
    width: 15px;
    font-size: 9px;
    text-align: left;
    white-space: nowrap;
}

.track-number {
    display: block;
    width: 34px;
    opacity: .7;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.track-title {
    min-width: 0;
    padding-left: 4px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.track-time {
    text-align: right;
    font-variant-numeric: tabular-nums;
    opacity: .7;
}

.media-player {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 350px;
    max-width: calc(100vw - 36px);
    padding: 11px 12px;
    background: rgba(0,0,0,.94);
    border: 1px solid rgba(92,193,228,.55);
    box-sizing: border-box;
    box-shadow: 0 0 16px rgba(0,0,0,.8), 0 0 10px rgba(92,193,228,.12);
    z-index: 9999;
}

.player-info {
    margin-bottom: 7px;
    overflow: hidden;
}

.player-title {
    overflow: hidden;
    color: #5CC1E4;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.player-album {
    margin-top: 1px;
    overflow: hidden;
    color: #999999;
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

.player-button {
    flex: 0 0 auto;
    margin: 0;
    padding: 2px 5px;
    border: 0;
    background: transparent;
    color: #eeeeee;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    cursor: pointer;
}

.player-button:hover {
    color: #5CC1E4;
}

.player-progress {
    flex: 1;
    min-width: 40px;
    cursor: pointer;
}

.player-time {
    flex: 0 0 auto;
    color: #aaaaaa;
    font-size: 10px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.media-separator {
    width: 100%;
    margin: 16px 0;
    padding: 0;
    line-height: 0;
}

.media-separator img {
    display: block;
    width: 100%;
    height: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

@media (max-width: 760px) {
    .media-page {
        padding: 0 6px 105px;
    }

    .media-release + .media-release {
        margin-top: 34px;
    }

    .media-album-header {
        align-items: flex-start;
        gap: 5px 14px;
        flex-wrap: wrap;
        margin-bottom: 12px;
    }

    .media-album-title {
        flex: 1 1 auto;
    }

    .media-album-links {
        flex: 0 1 auto;
        gap: 7px;
    }

    .media-album-links img {
        height: 20px;
    }

    .media-album {
        grid-template-columns: 1fr;
        gap: 12px;
        justify-items: center;
    }

    .media-cover {
        width: 256px;
        height: 256px;
    }

    .tracklist {
        width: 100%;
        height: 256px;
    }

    .track {
        grid-template-columns: 15px 34px minmax(0,1fr) 44px;
        padding: 5px 4px;
        font-size: 12px;
    }

    .media-player {
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: none;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
    }
}