/* Grundläggande reset */
@font-face {
    font-family: 'Garamond Premier Pro';
    src: url('../fonts/GaramondPremierProRegular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Didot regular';
    src: url('../fonts/Didot%20HTF-B24-Bold.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}



*::selection {
  background: #0099d0;
  color: #ffffff;
}
body, html {
    -webkit-font-smoothing: antialiased; /* For WebKit browsers */
    -moz-osx-font-smoothing: grayscale; /* For Firefox on macOS */
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Garamond Premier Pro', didot, Georgia, serif;
    background-color: #f8f8f7;
    color: #140700;
}

/* (Removed legacy maintenance template styles: .maintenance-container, .content-box, .logo, h1, p) */

/* Overlay styles */
.mmhc-overlay {
    font-family: 'Garamond Premier Pro', didot, Georgia, serif;
    position: fixed;
    inset: 0; /* fullskärm för klickbar marginal */
    z-index: 99999999;
    display: none; /* JS togglar till block */
    background: rgba(0,0,0,0.6); /* mörkare marginal runt inner */
}

.mmhc-inner {
    position: absolute;
    inset: 25px; /* önskad marginal runt overlay-innehåll */
    overflow: hidden;
    background: rgba(0,0,0,0.2); /* svag svart bakgrund där sidan syns */
}

.mmhc-video-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none; /* videon ska inte blockera klick på stäng */
}

.mmhc-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

/* Visa desktopvideo från 768px och uppåt */
.mmhc-bg-video--desktop { display: none; }
.mmhc-bg-video--mobile { display: block; }
@media (min-width: 768px) {
    .mmhc-bg-video--desktop { display: block; }
    .mmhc-bg-video--mobile { display: none; }
}

.mmhc-timer-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1;
}

.mmhc-timer-box {
    height: 242px;
    box-sizing: border-box;
    transform: translateY(-10%);
    background: #000;
    padding: 90px 20px 40px 20px;
    width: 600px;
    max-width: 100%;
    text-align: left;
    position: relative; /* möjliggör absolut position för krysset i boxen */
}

.timer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    z-index: 2;
}

.mmhc-timer-labels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 auto 0px auto; /* Liten negativ marginal för att dra ihop det, likt originalet */
    color: #fff;
    font-size: 10px;
    line-height: 1.4; /* Säkra radhöjd */
    letter-spacing: 0.5px;
    width: 240px;
}

.mmhc-timer {
    text-align: center;
    color: #fff; /* vit timertext */
    font-size: 42px;
    line-height: 1.1; /* Säkra radhöjd */
    letter-spacing: 2px;
    text-decoration: none !important;
    border-bottom: none !important;
}
.mmhc-timer * {
    text-decoration: none !important;
    border-bottom: none !important;
}
.mmhc-bg-text {
    font-family: 'Didot regular', serif;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    font-size: clamp(72px, 14vw, 90px);
    letter-spacing: -4px;
    color: rgba(255, 255, 255, 0.12); /* subtil överlagring bakom timern */
    transform: translateY(-6px);

}
.mmhc-sep {
    display: inline-block;
    font-size: 0.4em; /* mindre bullet */
    margin: 0 4px;
    line-height: 1;
    transform: translateY(-5px);
}

.mmhc-close {
    font-family: 'Garamond Premier Pro';
    position: absolute;
    top: 7px;
    right: 7px;
    background: transparent;
    color: #fff;
    border: none;
    width: 28px;
    height: 28px;
    font-size: 30px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
}
.mmhc-timer-label {
    color: #fff;
    margin-top: 8px;
    text-align: center;
}
/* .mmhc-cta-btn intentionally unstyled to inherit default link styles */
.mmhc-cta-btn {
    display: block;
    margin: 25px auto 0;
    padding: 0 10px;
    background: #000;
    color: #fff;
    text-decoration: none;
    text-align: center;
    width: max-content;
    font-size: 1.5rem;
}
.mmhc-cta-btn:hover {
    opacity: 0.7;
    color: #fff !important;
    text-decoration: none !important;
    background: #000 !important;
}
.logo {
    font-family: 'Didot regular', serif;
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    color: #000;
    font-size: 40px;
}

@media (min-width: 768px) {
    .mmhc-timer-box {
        height: 305px;
        width: 100%;
        max-width:820px;
        background: #000;
        padding: 100px 80px 40px 80px;
    }
    .mmhc-bg-text {
        font-size:170px;
        transform: translateY(-27px);
        letter-spacing: -4px;
    }
    .mmhc-sep {
        font-size: 0.4em;
        margin: 0 10px;
        transform: translateY(-12px);
    }
    .mmhc-timer-labels {
        margin: 0 auto -5px auto; /* Justerad negativ marginal för desktop */
        width: 480px;
        gap: 40px;
        font-size: 14px;
    }
    .mmhc-timer {
        font-size: 90px;
    }
}