:root {
    --bg-white: #FFFFFF;
    --bg-light: #F9F9F9;
    --text-black: #111111;
    --text-grey: #555555;
    --border-color: #000000;
}

body {
    font-family: 'Lora', serif;
    color: var(--text-black);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.section-padding {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-black {
    background-color: var(--text-black);
}

.text-white {
    color: var(--bg-white);
}

/* Header */
.editorial-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.header-top-line,
.header-bottom-line {
    height: 1px;
    background-color: var(--border-color);
    width: 100%;
}

.header-top-line {
    border-bottom: 3px double var(--border-color);
    height: 5px;
    background-color: transparent;
}

.issue-date {
    font-family: 'Playfair Display', serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

.main-title {
    font-size: 4rem;
    letter-spacing: -2px;
    margin-bottom: 0;
    line-height: 1;
}

.subtitle-text {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.2rem;
    letter-spacing: 5px;
    margin-top: 10px;
    text-transform: uppercase;
}

/* Hero */
.hero-section {
    padding: 3rem 0;
}

.hero-image-container {
    position: relative;
    display: inline-block;
    padding: 10px;
    border: 1px solid var(--border-color);
}

.hero-image {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%) contrast(1.1);
    display: block;
}

.hero-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-white);
    padding: 5px 20px;
    border: 1px solid var(--border-color);
}

.hero-caption p {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.hero-date {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.big-date {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    line-height: 0.8;
    font-weight: 900;
}

.month-year {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    line-height: 1.2;
    text-align: left;
    border-left: 2px solid var(--text-black);
    padding-left: 10px;
}

/* Quote */
.quote-box {
    padding: 2rem;
    border-left: 5px solid var(--text-black);
    text-align: left;
}

.drop-cap {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    float: left;
    line-height: 0.8;
    margin-right: 10px;
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
}

.quote-author {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 1rem;
    font-weight: 700;
}

/* Countdown */
.border-top-bottom {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--text-black);
    margin: 10px auto 0;
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.countdown-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.countdown-divider {
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-grey);
}

/* Staff (Parents) */
.staff-role {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.staff-line {
    width: 30px;
    height: 1px;
    background-color: var(--text-black);
    margin: 0 auto 15px;
}

.staff-name {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* Gallery */
.editorial-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
    border: 1px solid var(--border-color);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.5s ease;
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-overlay span {
    color: var(--bg-white);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1px solid var(--bg-white);
    padding: 10px 20px;
}

.gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Run of Show (Timeline) */
.run-of-show {
    max-width: 600px;
    margin: 0 auto;
    border-left: 1px solid var(--text-black);
    padding-left: 2rem;
}

.show-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.show-item::before {
    content: '';
    position: absolute;
    left: -2.4rem;
    width: 10px;
    height: 10px;
    background-color: var(--text-black);
    border-radius: 50%;
}

.show-time {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    width: 100px;
}

.show-event {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Accommodation */
.accommodation-card {
    border: 1px solid var(--border-color);
    padding: 2rem;
    background-color: var(--bg-white);
    transition: all 0.3s ease;
}

.accommodation-card:hover {
    box-shadow: 5px 5px 0px var(--text-black);
    transform: translate(-5px, -5px);
}

.acc-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.acc-details {
    font-family: 'Lora', serif;
    font-style: italic;
    color: var(--text-grey);
    margin-bottom: 20px;
}

/* Location */
.location-card {
    padding: 2rem;
}

.border-right-md {
    border-right: 1px solid var(--border-color);
}

.location-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.location-time {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--text-black);
    display: inline-block;
    padding-bottom: 5px;
}

.location-address {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-editorial {
    display: inline-block;
    padding: 10px 30px;
    background-color: var(--text-black);
    color: var(--bg-white);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-editorial:hover {
    background-color: transparent;
    color: var(--text-black);
    border: 1px solid var(--text-black);
    text-decoration: none;
}

.btn-editorial-outline {
    display: inline-block;
    padding: 15px 30px;
    background-color: transparent;
    color: var(--text-black);
    border: 1px solid var(--text-black);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-editorial-outline:hover {
    background-color: var(--text-black);
    color: var(--bg-white);
    text-decoration: none;
}

.btn-editorial-large {
    display: inline-block;
    padding: 15px 50px;
    background-color: var(--text-black);
    color: var(--bg-white);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--text-black);
}

.btn-editorial-large:hover {
    background-color: var(--bg-white);
    color: var(--text-black);
    text-decoration: none;
}

.btn-editorial-small {
    display: inline-block;
    padding: 8px 20px;
    background-color: transparent;
    color: var(--text-black);
    border: 1px solid var(--text-black);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-editorial-small:hover {
    background-color: var(--text-black);
    color: var(--bg-white);
    text-decoration: none;
}

/* Music Control */
.music-control {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.btn-music-editorial {
    background-color: var(--bg-white);
    color: var(--text-black);
    border: 1px solid var(--text-black);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-music-editorial:hover {
    background-color: var(--text-black);
    color: var(--bg-white);
}

/* Footer */
.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    letter-spacing: 5px;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .border-right-md {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 3rem;
    }

    .countdown-container {
        gap: 1rem;
    }

    .countdown-number {
        font-size: 2rem;
    }
}