/* =========================================================
   THE ENGLISH READING SOCIETY - CLEAN STYLE.CSS
   ========================================================= */

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

html{
    scroll-behavior:smooth;
}

body{
    min-height:100vh;
    color:#f5e6c8;
    font-family:Georgia, serif;
    text-align:center;
    overflow-x:hidden;
}

/* GENERAL DARK BACKGROUND PAGES */
body:not(.common-room-page){
    background:
        linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
        url("images/background.jfif");
    background-size:cover;
    background-position:center 20%;
    background-repeat:no-repeat;
    background-attachment:fixed;
}

/* NAVBAR */
nav,
.navbar{
    position:absolute;
    top:20px;
    left:50%;
    transform:translateX(-50%);
    width:90%;
    padding:10px 35px;
    min-height:85px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    z-index:1000;
    background:rgba(0,0,0,0.55);
    backdrop-filter:blur(12px);
    border:1px solid rgba(216,168,79,0.35);
    border-radius:20px;
}

.logo img{
    width:58px;
    height:58px;
    object-fit:cover;
    border-radius:50%;
}

nav ul,
.nav-links{
    display:flex;
    align-items:center;
    gap:40px;
    list-style:none;
}

nav a,
.nav-links a{
    color:#f5e6c8;
    text-decoration:none;
    font-size:0.9rem;
    letter-spacing:2px;
    text-transform:uppercase;
    transition:0.3s;
}

nav a:hover,
.nav-links a:hover{
    color:#d8a84f;
    opacity:0.75;
}

.menu-toggle{
    display:none;
    flex-direction:column;
    gap:6px;
    cursor:pointer;
}

.menu-toggle span{
    width:28px;
    height:2px;
    background:#f5e6c8;
    transition:0.4s;
}

/* TYPOGRAPHY / ANIMATIONS */
h1{
    font-size:4.8rem;
    line-height:1.1;
    letter-spacing:8px;
    margin-bottom:10px;
    text-transform:uppercase;
    max-width:1100px;
    opacity:0;
    animation:fadeTitle 2s ease forwards;
}

p{
    font-size:1.5rem;
    font-style:italic;
    opacity:0;
    animation:fadeText 2s ease forwards;
    animation-delay:1s;
}

@keyframes fadeTitle{
    from{ opacity:0; transform:translateY(30px); }
    to{ opacity:1; transform:translateY(0); }
}

@keyframes fadeText{
    from{ opacity:0; transform:translateY(20px); }
    to{ opacity:0.8; transform:translateY(0); }
}

@keyframes bounce{
    0%, 100%{ transform:translateY(0); }
    50%{ transform:translateY(10px); }
}

/* BUTTONS */
button,
.hero-button{
    display:inline-block;
    margin-top:20px;
    padding:20px 70px;
    background:rgba(0,0,0,0.25);
    border:2px solid #d8a84f;
    color:#f5e6c8;
    font-size:1.1rem;
    letter-spacing:5px;
    text-transform:uppercase;
    text-decoration:none;
    cursor:pointer;
    transition:0.4s;
    opacity:0;
    animation:fadeText 2s ease forwards;
    animation-delay:1.5s;
}

button:hover,
.hero-button:hover{
    background:#d8a84f;
    color:#0b0b0b;
    transform:scale(1.05);
}

/* HOME */
.hero{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:20px;
    padding:140px 40px 40px;
    max-width:1200px;
    margin:auto;
}

.divider{
    display:flex;
    align-items:center;
    gap:15px;
    color:#d8a84f;
    font-size:1.5rem;
    opacity:0;
    animation:fadeText 2s ease forwards;
    animation-delay:0.7s;
}

.divider span{
    display:block;
    width:170px;
    height:1px;
    background:#d8a84f;
}

.scroll-arrow{
    position:absolute;
    bottom:35px;
    font-size:2.5rem;
    color:#d8a84f;
    opacity:0;
    animation:fadeText 2s ease forwards, bounce 2s infinite;
    animation-delay:2s;
}

/* ABOUT PAGE */
.about-page{
    min-height:100vh;
    height:auto;
    display:block;
    background:
        linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.72)),
        url("images/background.jfif");
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    color:#f5e6c8;
}

.about-hero{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:5rem;
    margin-top:360px;
    margin-bottom:140px;
    padding:0 7%;
}

.about-layout{
    width:100%;
    max-width:1400px;
    margin:360px auto 0;
    padding:0 7%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:70px;
}

.about-text{
    flex:0 0 55%;
    text-align:left;
}

.about-text h1{
    text-align:left;
    font-size:4.2rem;
    letter-spacing:8px;
    margin-bottom:45px;
}

.about-text p{
    text-align:left;
    max-width:760px;
    font-size:1.25rem;
    line-height:1.8;
    opacity:0.9;
}

.about-logo-large{
    flex:0 0 45%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:none;
}

.about-logo-large img{
    width:550px;
    height:550px;
    border-radius:50%;
    object-fit:cover;
    opacity:1;
    box-shadow:
        0 0 30px rgba(212,175,55,0.45),
        0 0 70px rgba(212,175,55,0.30),
        0 0 120px rgba(212,175,55,0.18);
}

.about-info{
    display:flex;
    justify-content:center;
    gap:45px;
    flex-wrap:wrap;
    padding:140px 10% 120px;
}

.about-card{
    width:340px;
    min-height:300px;
    padding:45px 35px;
    background:rgba(0,0,0,0.55);
    border:1px solid rgba(216,168,79,0.45);
    border-radius:22px;
    text-align:center;
    backdrop-filter:blur(12px);
    transition:0.4s;
}



.about-card h2{
    color:#d8a84f;
    font-size:2rem;
    letter-spacing:3px;
    margin-bottom:20px;
}

.about-card p{
    font-size:1rem;
    line-height:1.7;
    opacity:0.85;
}

.quote-section{
    background:rgba(0,0,0,0.55);
    padding:70px 12%;
    text-align:center;
    margin-top:80px;
}

.quote-section p{
    max-width:950px;
    margin:auto;
    font-size:1.55rem;
    line-height:1.7;
    color:#d8a84f;
}

/* MEMBERS PAGE */
.members-page{
    min-height:100vh;
    height:auto;
    display:block;
    background:
        linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.72)),
        url("images/background.jfif");
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    color:#f5e6c8;
}

.members-access{
    min-height:100vh;
    padding:180px 10% 80px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.members-access h1{
    font-size:4.5rem;
    letter-spacing:8px;
    text-transform:uppercase;
    margin-bottom:25px;
}

.members-access > p{
    font-size:1.3rem;
    margin-bottom:40px;
    opacity:0.85;
}

.access-box{
    width:100%;
    max-width:450px;
    padding:40px;
    background:rgba(0,0,0,0.65);
    border:1px solid rgba(216,168,79,0.6);
    border-radius:22px;
    backdrop-filter:blur(8px);
    display:flex;
    flex-direction:column;
    gap:20px;
}

.access-box input{
    padding:18px;
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.15);
    border-radius:12px;
    color:#f5e6c8;
    font-size:1rem;
    text-align:center;
    letter-spacing:2px;
    outline:none;
}

.access-box input::placeholder{
    color:rgba(245,230,200,0.5);
}

.access-box input:focus{
    border-color:#d8a84f;
}

.access-box button{
    margin-top:0;
    padding:18px 35px;
    border:1px solid #d8a84f;
}

#message{
    min-height:25px;
    font-size:0.95rem;
    letter-spacing:1px;
}

/* ARCHIVES */

.archives{
    min-height:100vh;
    padding:220px 10% 120px;

    background:
        linear-gradient(rgba(0,0,0,0.82), rgba(0,0,0,0.82)),
        url("images/background.jfif");

    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    text-align:center;
}

.archives h2{
    font-size:4rem;
    letter-spacing:8px;
    text-transform:uppercase;
    margin-bottom:20px;
    color:#f5e6c8;
}

.archives-intro{
    font-size:1.2rem;
    opacity:0.8;
    margin-bottom:60px;
}

.archives-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:30px;
}

.archive-card{
    padding:35px 30px;
    background:rgba(0,0,0,0.68);
    border:1px solid rgba(216,168,79,0.45);
    border-radius:22px;
    backdrop-filter:blur(8px);
    transition:0.4s;
    height: 310px;
}



.archive-card h3{
    color:#d8a84f;
    font-size:1.4rem;
    margin-bottom:15px;
    letter-spacing:2px;
}

.archive-card p{
    font-size:0.95rem;
    line-height:1.6;
    opacity:0.8;
}

.archive-link{
    display:inline-block;
    margin-top:25px;
    padding:12px 22px;
    color:#d8a84f;
    text-decoration:none;
    letter-spacing:2px;
    text-transform:uppercase;
    font-size:0.8rem;
    border:1px solid rgba(216,168,79,0.6);
    border-radius:30px;
    transition:0.3s;
}

.archive-link:hover{
    background:#d8a84f;
    color:#0b0b0b;
}

/* COMPANIONS / SLIDES SHARED */
.companions-page,
.slides-page{
    min-height:100vh;
    padding:180px 10% 100px;
    text-align:center;
}

.companions-page h1,
.slides-page h1{
    font-size:4rem;
    letter-spacing:8px;
    margin-bottom:20px;
    text-transform:uppercase;
}

.companions-page > p,
.slides-page > p{
    font-size:1.2rem;
    margin-bottom:70px;
    opacity:0.8;
}

.companions-grid,
.slides-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:35px;
    max-width:1200px;
    margin:0 auto;
    justify-items:center;
}

.companion-card,
.slide-card{
    width:100%;
    max-width:340px;
}

.companion-card,
.slide-card{
    padding:40px;
    background:rgba(0,0,0,0.65);
    border:1px solid rgba(216,168,79,0.45);
    border-radius:22px;
    backdrop-filter:blur(8px);
    transition:0.4s;
}

.companion-card:hover,
.slide-card:hover{
    transform:translateY(-10px);
    border-color:#d8a84f;
}

.companion-card h2,
.slide-card h2{
    color:#d8a84f;
    margin-bottom:20px;
    font-size:2rem;
}

.companion-card p,
.slide-card p{
    margin-bottom:30px;
    line-height:1.7;
    opacity:0.8;
}

.companion-card a,
.slide-card a{
    display:inline-block;
    padding:12px 25px;
    border:1px solid #d8a84f;
    border-radius:30px;
    color:#d8a84f;
    text-decoration:none;
    letter-spacing:2px;
    transition:0.3s;
}

.companion-card a:hover,
.slide-card a:hover{
    background:#d8a84f;
    color:black;
}

.companion-instructions{
    max-width:1100px;
    margin:0 auto 80px;
    padding:45px;
    background:rgba(0,0,0,0.65);
    border:1px solid rgba(216,168,79,0.45);
    border-radius:25px;
    backdrop-filter:blur(8px);
}

.companion-instructions h2{
    color:#d8a84f;
    font-size:2rem;
    letter-spacing:4px;
    text-transform:uppercase;
    margin-bottom:40px;
}

.instruction-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap:30px;
}

.instruction-grid div{
    text-align:left;
}

.instruction-grid span{
    color:#d8a84f;
    font-size:0.9rem;
    letter-spacing:3px;
}

.instruction-grid h3{
    margin:12px 0;
    font-size:1.3rem;
}

.instruction-grid p{
    line-height:1.6;
    opacity:0.8;
}

/* BOOKS PAGE */
.books-page{
    min-height:100vh;
    padding:180px 10% 100px;
    text-align:center;
}

.books-page h1{
    font-size:4rem;
    letter-spacing:8px;
    text-transform:uppercase;
    margin-bottom:25px;
}

.books-intro{
    max-width:800px;
    margin:0 auto 70px;
    font-size:1.2rem;
    line-height:1.7;
    opacity:0.85;
}

.current-book{
    max-width:1050px;
    margin:0 auto 90px;
    padding:40px;
    display:grid;
    grid-template-columns:320px 1fr;
    gap:50px;
    align-items:center;
    background:rgba(0,0,0,0.65);
    border:1px solid rgba(216,168,79,0.45);
    border-radius:25px;
    backdrop-filter:blur(8px);
    text-align:left;
}

.book-cover img{
    width:100%;
    border-radius:18px;
    border:1px solid rgba(216,168,79,0.45);
}

.book-info span{
    color:#d8a84f;
    letter-spacing:3px;
    text-transform:uppercase;
    font-size:0.85rem;
}

.book-info h2{
    font-size:2.8rem;
    line-height:1.1;
    margin:20px 0;
    color:#f5e6c8;
}

.book-info p{
    font-size:1.1rem;
    line-height:1.7;
    opacity:0.85;
    margin-bottom:35px;
}

.book-info a{
    display:inline-block;
    padding:14px 28px;
    border:1px solid #d8a84f;
    border-radius:30px;
    color:#d8a84f;
    text-decoration:none;
    letter-spacing:2px;
    text-transform:uppercase;
    transition:0.3s;
}

.book-info a:hover{
    background:#d8a84f;
    color:#0b0b0b;
}

.section-title{
    color:#d8a84f;
    letter-spacing:5px;
    text-transform:uppercase;
    margin-bottom:35px;
}

/* FUTURE BOOKS FLIP CARDS */
.future-books-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(190px, 220px));
    gap:35px;
    margin-top:50px;
    justify-content:center;
}

.flip-card{
    width:220px;
    height:auto;
    perspective:1000px;
    cursor:pointer;
}

.flip-inner{
    position:relative;
    width:100%;
    aspect-ratio:2 / 3;
    transition:transform 0.8s;
    transform-style:preserve-3d;
}

.flip-card:hover .flip-inner{
    transform:rotateY(180deg);
}

.flip-front,
.flip-back{
    position:absolute;
    width:100%;
    height:100%;
    backface-visibility:hidden;
    overflow:hidden;
    border-radius:18px;
    border:1px solid rgba(216,168,79,0.45);
}


.flip-front{
    background:none;
    padding:0;
}

.flip-front img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:18px;
    display:block;
}

.flip-back{
    background:rgba(0,0,0,0.9);
    color:#f5e6c8;
    transform:rotateY(180deg);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:30px;
    text-align:center;

    -webkit-backface-visibility:hidden;
    backface-visibility:hidden;
    transform-style:preserve-3d;
}
.flip-back h3,
.flip-back p{
    transform:translateZ(20px);
}

.flip-back h3{
    color:#d8a84f;
    font-size:1.4rem;
    margin-bottom:20px;
}

.flip-back p{
    font-size:0.95rem;
    line-height:1.6;
    opacity:0.85;
}



/* COMMON ROOM DOOR SECTION */
.common-room-section{
    margin-top:100px;
    padding:70px 10%;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.common-room-text{
    text-align:left;
}

.common-room-text h2{
    font-size:3rem;
    letter-spacing:6px;
    margin:25px 0;
    text-transform:uppercase;
}

.common-room-text p{
    max-width:520px;
    font-size:1.15rem;
    line-height:1.8;
    opacity:0.82;
}

.click-door-text{
    margin-top:35px;
    color:#d8a84f;
    text-transform:uppercase;
    letter-spacing:4px;
    font-size:0.85rem;
}

.door-link{
    text-decoration:none;
}

.magic-door{
    position:relative;
    max-width:460px;
    margin:auto;
    cursor:pointer;
    overflow:hidden;
    border-radius:28px;
    transition:0.5s;
    animation:doorBreath 5s ease-in-out infinite;
}

.magic-door img{
    width:100%;
    display:block;
    border-radius:28px;
    transition:0.6s;
}

.magic-door::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:2;
    background:radial-gradient(circle at center, transparent 48%, rgba(0,0,0,0.85) 100%);
    pointer-events:none;
}

.magic-door::after{
    content:"";
    position:absolute;
    inset:-20px;
    z-index:1;
    box-shadow:inset 0 0 70px rgba(0,0,0,1);
    pointer-events:none;
}

.door-glow{
    position:absolute;
    inset:0;
    z-index:3;
    background:
        radial-gradient(circle at center,
        rgba(255,210,105,0.45),
        rgba(216,168,79,0.18) 35%,
        transparent 68%);
    opacity:0;
    transition:0.5s;
    pointer-events:none;
}

.magic-door:hover{
    transform:scale(1.04);
    box-shadow:
        0 0 35px rgba(216,168,79,0.35),
        0 0 90px rgba(216,168,79,0.18);
}

.magic-door:hover img{
    filter:brightness(1.35) contrast(1.08) saturate(1.15);
    transform:scale(1.02);
}

.magic-door:hover .door-glow{
    opacity:1;
    animation:magicPulse 2.2s infinite;
}

@keyframes doorBreath{
    0%, 100%{ transform:scale(1); }
    50%{ transform:scale(1.015); }
}

@keyframes magicPulse{
    0%, 100%{ opacity:0.45; transform:scale(1); }
    50%{ opacity:0.9; transform:scale(1.08); }
}

/* COMMON ROOM / ADDIE PAGE */
.common-room-page{
    margin:0;
    min-height:100vh;
    background:#f4efe4;
    color:#252525;
    font-family:Georgia, serif;
    animation:whiteEntrance 1.4s ease forwards;
}

@keyframes whiteEntrance{
    from{ background:#000; opacity:0; }
    to{ background:#f4efe4; opacity:1; }
}

.common-nav{
    width:90%;
    height:120px;
    margin:25px auto 0;
    padding:0 45px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:rgba(255,255,255,0.55);
    backdrop-filter:blur(12px);
    border-radius:28px;
    z-index:100;
    position:relative;
}

.common-nav .logo{
    display:flex;
    align-items:center;
}

.common-nav .logo img{
    width:70px;
    height:70px;
    object-fit:cover;
}

.common-nav .desktop-menu{
    display:flex;
    align-items:center;
    gap:45px;
    margin:0;
    padding:0;
    list-style:none;
}

.common-nav .desktop-menu a{
    line-height:1;
    text-decoration:none;
    color:#2d2d2d;
    text-transform:uppercase;
    letter-spacing:3px;
    font-size:0.9rem;
}

.addie-room{
    min-height:100vh;
    padding:0 8% 70px;
}

.addie-heading{
    max-width:1000px;
    width:100%;
    margin:190px auto 70px;
    min-height:auto;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.addie-heading span{
    display:block;
    width:100%;
    text-align:center;
    margin-bottom:25px;
    color:#7faebe;
    letter-spacing:5px;
    text-transform:uppercase;
    font-size:0.85rem;
}

.addie-heading h1{
    width:100%;
    max-width:900px;
    margin:0 auto 30px;
    text-align:center;
    font-family:Arial, sans-serif;
    font-size:3.6rem;
    font-weight:300;
    line-height:1.15;
    letter-spacing:5px;
}

.addie-heading p{
    max-width:800px;
    margin:0 auto;
    text-align:center;
    color:#666;
    font-size:1.2rem;
    line-height:1.7;
}

.addie-board{
    max-width:1100px;
    margin:0 auto 80px;
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:28px;
}

.pin{
    background:white;
    padding:25px;
    border:1px solid #d8d0c0;
    box-shadow:0 10px 25px rgba(0,0,0,0.12);
    font-style:italic;
    line-height:1.6;
}

.quote-pin{
    font-size:1.3rem;
    color:#333;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    min-height:260px;
    padding:40px;
}

.quote-pin.small{
    font-size:1.05rem;
}

.note-pin{
    background:#f9f3e7;
    color:#444;
}

.image-pin{
    padding:12px;
}

.image-pin img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transition:0.5s;
}

.image-pin:hover img{
    transform:scale(1.03);
}

.theory-card{
    background:#ece7dc;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:40px;
    min-height:320px;
}

.theory-card p{
    margin:0;
    font-family:'Cormorant Garamond', serif;
    font-size:2rem;
    line-height:1.4;
    max-width:320px;
}

.chat-box{
    max-width:800px;
    margin:0 auto;
    padding:35px;
    background:white;
    border:1px solid #d8d0c0;
    box-shadow:0 10px 25px rgba(0,0,0,0.12);
}

.chat-box h2{
    font-family:Arial, sans-serif;
    text-transform:uppercase;
    letter-spacing:3px;
    color:#7faebe;
    margin-bottom:25px;
    text-align:center;
}

.chat-messages{
    min-height:180px;
    max-height:260px;
    overflow-y:auto;
    padding:20px;
    background:#f4efe4;
    margin-bottom:20px;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.chat-messages p{
    font-size:2rem;
    color:#555;
    line-height:1.6;
}

.chat-input{
    display:flex;
    gap:12px;
}

.chat-input input{
    flex:1;
    padding:14px;
    border:1px solid #d8d0c0;
}

.chat-input button{
    padding:14px 24px;
    border:none;
    background:#7faebe;
    color:white;
    cursor:pointer;
}

/* CURRENT CYCLE PAGE */
.cycle-page{
    min-height:100vh;
    background:
        linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.72)),
        url("images/background.jfif");
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    color:#f5e6c8;
    font-family:Georgia, serif;
}

.cycle-hero{
    min-height:auto;
    padding:200px 10% 90px;
    display:grid;
    grid-template-columns:330px 1fr;
    gap:70px;
    align-items:center;
    max-width:1200px;
    margin:0 auto;
}

.cycle-cover{
    align-self:center;
}

.cycle-cover img{
    width:100%;
    max-height:520px;
    object-fit:contain;
    border-radius:20px;
    border:1px solid rgba(216,168,79,0.5);
    box-shadow:0 25px 60px rgba(0,0,0,0.7);
}

.cycle-info{
    text-align:center;
}

.cycle-info span{
    color:#d8a84f;
    text-transform:uppercase;
    letter-spacing:4px;
    font-size:0.85rem;
}

.cycle-info h1{
    font-size:3.8rem;
    line-height:1.1;
    margin:25px 0;
    text-transform:uppercase;
    letter-spacing:5px;
}

.cycle-info p{
    font-size:1.25rem;
    line-height:1.8;
    opacity:0.85;
    max-width:650px;
    margin:0 auto 40px;
}

.cycle-button{
    display:inline-block;
    padding:16px 35px;
    border:1px solid #d8a84f;
    border-radius:40px;
    color:#d8a84f;
    text-decoration:none;
    text-transform:uppercase;
    letter-spacing:3px;
    transition:0.35s;
}

.cycle-button:hover{
    background:#d8a84f;
    color:#0b0b0b;
}

.cycle-extra{
    margin:0 auto;
    padding:90px 10% 120px;
    background:#0b0b0b;
    color:#f5e6c8;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    max-width:1200px;
}

.cycle-text-block,
.cycle-schedule-simple{
    border-top:1px solid rgba(216,168,79,0.45);
    padding-top:35px;
}

.cycle-text-block h2,
.cycle-schedule-simple h2{
    color:#d8a84f;
    font-size:2rem;
    letter-spacing:4px;
    text-transform:uppercase;
    margin-bottom:25px;
}

.cycle-text-block p,
.cycle-schedule-simple p{
    font-size:1.1rem;
    line-height:1.8;
    opacity:0.85;
    margin-bottom:18px;
}

.cycle-schedule-simple strong{
    color:#d8a84f;
}

/* RESPONSIVE */
@media(max-width:900px){

    nav,
    .navbar{
        top:15px;
        width:88%;
        padding:14px 18px;
        min-height:auto;
        border-radius:18px;
    }

    .logo img{
        width:55px;
        height:55px;
    }

    .menu-toggle{
        display:flex;
    }

    .nav-links{
        position:fixed;
        top:95px;
        left:50%;
        transform:translateX(-50%);
        width:88%;
        max-width:290px;
        height:auto;
        padding:25px;
        flex-direction:column;
        align-items:center;
        gap:0;
        background:rgba(0,0,0,0.92);
        backdrop-filter:blur(14px);
        border:1px solid rgba(216,168,79,0.35);
        border-radius:22px;
        opacity:0;
        pointer-events:none;
        transition:0.4s;
    }

    .nav-links.active{
        opacity:1;
        pointer-events:auto;
    }

    .nav-links li{
        width:100%;
        padding:16px 0;
        text-align:center;
        border-bottom:1px solid rgba(216,168,79,0.25);
    }

    .nav-links li:last-child{
        border-bottom:none;
    }

    .nav-links a{
        font-size:0.9rem;
        letter-spacing:2px;
    }

    .menu-toggle.open span:nth-child(1){
        transform:rotate(45deg) translate(6px, 6px);
    }

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

    .menu-toggle.open span:nth-child(3){
        transform:rotate(-45deg) translate(6px, -6px);
    }

    h1{
        font-size:2.3rem;
        letter-spacing:4px;
        line-height:1.2;
    }

    p{
        font-size:1.1rem;
    }

    button,
    .hero-button{
        width:100%;
        max-width:320px;
        padding:16px 20px;
        font-size:0.85rem;
        letter-spacing:3px;
    }

    .hero{
        padding:130px 25px 40px;
    }

    .hero h1{
        font-size:2rem;
        letter-spacing:3px;
        max-width:280px;
    }

    .hero p{
        max-width:260px;
        line-height:1.5;
    }

    .divider span{
        width:90px;
    }

    .about-hero{
        padding:140px 22px 60px;
    }

    .about-layout{
        flex-direction:column;
        padding:40px 0;
        gap:35px;
    }

    .about-text,
    .about-logo-large{
        flex:1 1 auto;
        width:100%;
    }

    .about-text h1,
    .about-text p{
        text-align:center;
    }

    .about-logo-large img{
        width:280px;
        height:280px;
    }

    .members-access{
        padding:140px 25px 60px;
    }

    .members-access h1{
        font-size:2.7rem;
        letter-spacing:4px;
        line-height:1.1;
    }

    .members-access > p,
    .archives-intro,
    .companions-page > p,
    .slides-page > p,
    .books-intro{
        font-size:1rem;
        line-height:1.5;
        max-width:280px;
        margin-left:auto;
        margin-right:auto;
    }

    .access-box{
        max-width:280px;
        padding:30px 22px;
    }

    .archives,
    .companions-page,
    .slides-page,
    .books-page{
        width:100%;
        max-width:100%;
        padding:140px 22px 70px;
        overflow-x:hidden;
    }

    .archives h2,
    .companions-page h1,
    .slides-page h1,
    .books-page h1{
        font-size:2.1rem;
        letter-spacing:3px;
        line-height:1.15;
        max-width:280px;
        margin-left:auto;
        margin-right:auto;
    }

    .archives-grid,
    .companions-grid,
    .slides-grid,
    .instruction-grid,
    .upcoming-grid,
    .future-books-grid,
    .addie-board,
    .cycle-extra{
        grid-template-columns:1fr;
    }

    .archive-card,
    .companion-card,
    .slide-card,
    .upcoming-card,
    .vote-section,
    .companion-instructions{
        max-width:300px;
        margin-left:auto;
        margin-right:auto;
        padding:30px 22px;
    }

    .current-book{
        grid-template-columns:1fr;
        max-width:300px;
        padding:25px;
        gap:25px;
        text-align:center;
    }

    .book-info h2{
        font-size:1.8rem;
    }

    .flip-card{
        max-width:260px;
        height:380px;
        margin:0 auto;
    }

    .common-room-section{
        grid-template-columns:1fr;
        padding:50px 22px;
        gap:35px;
        text-align:center;
    }

    .common-room-text{
        text-align:center;
    }

    .common-room-text h2{
        font-size:2rem;
        letter-spacing:4px;
    }

    .common-room-text p{
        font-size:1rem;
        line-height:1.6;
        margin:auto;
    }

    .magic-door{
        max-width:280px;
    }

    .common-nav{
        width:88%;
        height:auto;
        min-height:85px;
        padding:14px 18px;
    }

    .common-nav .desktop-menu{
        gap:16px;
    }

    .common-nav .desktop-menu a{
        font-size:0.65rem;
        letter-spacing:1px;
    }

    .addie-room{
        padding:50px 22px;
    }

    .addie-heading{
        margin:120px auto 50px;
    }

    .addie-heading h1{
        font-size:2.1rem;
    }

    .chat-input{
        flex-direction:column;
    }

    .cycle-hero{
        padding:180px 24px 70px;
        grid-template-columns:1fr;
        gap:35px;
    }

    .cycle-cover{
        max-width:260px;
        margin:auto;
    }

    .cycle-info h1{
        font-size:2.2rem;
    }

    .cycle-extra{
        padding:60px 24px 90px;
        gap:45px;
    }

    .cycle-text-block h2,
    .cycle-schedule-simple h2{
        font-size:1.6rem;
    }
}

/* ABOUT FINAL CLEAN LOOK */

.about-page{
    min-height:100vh;
    height:auto;
    display:block;
    background:
        linear-gradient(rgba(0,0,0,0.68), rgba(0,0,0,0.68)),
        url("images/background.jfif");
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
}

.about-hero{
    padding:900px 80px;
}

.about-layout{
    max-width:1250px;
    margin:0 auto;
    padding:0;

    display:grid;
    grid-template-columns:1fr 420px;
    gap:70px;
    align-items:center;
}

.about-text{
    text-align:left;
}

.about-text h1{
    font-size:4.3rem;
    line-height:1.08;
    letter-spacing:7px;
    max-width:720px;
    margin-bottom:25px;
}

.about-text p{
    max-width:680px;
    font-size:1.25rem;
    line-height:1.6;
    text-align:left;
}

.about-logo-large{
    display:flex;
    justify-content:center;
    align-items:center;
}

.about-logo-large img{
    width:420px;
    height:420px;

    border-radius:50%;
    object-fit:cover;

    opacity:1;

    box-shadow:
        0 0 30px rgba(216,168,79,0.55),
        0 0 80px rgba(216,168,79,0.25);
}

/* BAJAR TODO EL BLOQUE DEL ABOUT */

.about-page .about-hero{
    padding-top:360px !important;
}

.about-page .about-layout{
    margin-top:120px !important;
}

/* LIVE MEETING CARD */

.live-card{
    border-color:rgba(216,168,79,0.9);
    box-shadow:
        0 0 25px rgba(216,168,79,0.18),
        inset 0 0 25px rgba(216,168,79,0.05);
}

.live-label{
    display:inline-block;
    margin-bottom:15px;

    color:#d8a84f;
    font-size:0.75rem;
    letter-spacing:3px;
    text-transform:uppercase;
}

/* MEETING PAGE */

.meeting-page{
    min-height:100vh;
    padding:220px 10% 80px;
    text-align:center;
}

.meeting-page h1{
    font-size:4rem;
    letter-spacing:8px;
    text-transform:uppercase;
    margin-bottom:20px;
}

.meeting-page > p{
    font-size:1.2rem;
    font-style:italic;
    margin-bottom:50px;
}

.meeting-box{
    max-width:650px;
    margin:0 auto;
    padding:50px 40px;

    background:rgba(0,0,0,0.7);
    border:1px solid rgba(216,168,79,0.6);
    border-radius:25px;

    backdrop-filter:blur(8px);
}

.meeting-box span{
    color:#d8a84f;
    letter-spacing:4px;
    text-transform:uppercase;
    font-size:0.85rem;
}

.meeting-box h2{
    margin:20px 0;
    font-size:2rem;
    color:#f5e6c8;
}

.meeting-box p{
    font-size:1rem;
    line-height:1.6;
    margin-bottom:30px;
}

.meeting-button{
    display:inline-block;
    padding:16px 35px;

    border:1px solid #d8a84f;
    border-radius:40px;

    color:#d8a84f;
    text-decoration:none;
    text-transform:uppercase;
    letter-spacing:3px;

    transition:0.3s;
}

.meeting-button:hover{
    background:#d8a84f;
    color:#0b0b0b;
}

/* COMMON ROOM MINI DOOR CARD */

.door-card{
    overflow:hidden;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
}

#doorImage{
    width:100%;
    height:100%;
    object-fit:cover;
}

.door-card a{
    display:block;
    text-decoration:none;
}

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

    transition:0.5s;
}

.door-card h3{
    margin-top:22px;
    color:#d8a84f;
}

.door-card p{
    padding:0 25px 30px;
}

.door-card:hover img{
    transform:scale(1.06);
    filter:brightness(1.2) contrast(1.08);
}

/* FIX COMMON ROOM HEADER */

.common-room-page .common-nav{
    position:relative;
    left:auto;
    top:auto;
    transform:none;

    width:90%;
    max-width:1500px;
    height:120px;

    margin:40px auto 0;

    padding:0 45px;

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

    background:rgba(255,255,255,0.55);
    border:1px solid rgba(216,168,79,0.35);
    border-radius:28px;
}

.common-room-page .common-nav .logo img{
    width:75px !important;
    height:75px !important;
    object-fit:cover;
    border-radius:50%;
}

.common-room-page .common-nav .desktop-menu{
    display:flex;
    align-items:center;
    gap:55px;
    margin:0;
    padding:0;
    list-style:none;
}

.common-room-page .common-nav .logo img{
    width:118px !important;
    height:118px !important;
}

/* BOOKS HERO SAME AS ABOUT */

.books-hero{
    padding-top:5px;
}

.books-hero .about-layout{
    max-width:1100px;
    margin:0 auto;

    display:grid;
    grid-template-columns:1fr 420px;
    gap:60px;

    align-items:center;
}

.books-hero .about-text{
    text-align:left;
}

.books-hero .about-text h1{
    font-size:4.3rem;
    line-height:1.08;
    letter-spacing:7px;
    max-width:720px;
    margin-bottom:50px;
}

.books-hero .about-text p{
    max-width:680px;
    font-size:1.25rem;
    line-height:1.6;
    text-align:left;
}

.books-hero .about-logo-large{
    display:flex;
    justify-content:center;
    align-items:center;
}

.books-hero .about-logo-large img{
    width:420px;
    height:420px;
    border-radius:50%;
    object-fit:cover;
    opacity:1;

    box-shadow:
        0 0 30px rgba(216,168,79,0.55),
        0 0 80px rgba(216,168,79,0.25);
}

/* CENTER BOOKS HERO CONTENT */

.books-hero{
    min-height:85vh;
    padding:0 8% 40px !important;

    display:flex;
    align-items:center;
}

.books-hero .about-layout{
    width:100%;
    max-width:1250px;
    margin:0 auto !important;
}

/* INTEREST FORM */

.interest-form{
    max-width:800px;
    margin:120px auto;
    padding:60px 50px;

    background:rgba(0,0,0,0.75);
    border:1px solid rgba(216,168,79,0.6);
    border-radius:28px;

    text-align:center;
}

.interest-form h2{
    color:#d8a84f;
    font-size:2.5rem;
    letter-spacing:5px;
    text-transform:uppercase;
    margin-bottom:20px;
}

.interest-form p{
    color:#f5e6c8;
    font-style:italic;
    line-height:1.6;
    margin-bottom:35px;
}

.interest-form form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.interest-form input,
.interest-form select,
.interest-form textarea{
    width:100%;
    padding:16px 18px;

    background:rgba(255,255,255,0.08);
    border:1px solid rgba(216,168,79,0.4);
    border-radius:12px;

    color:#f5e6c8;
    font-size:1rem;
}

.interest-form textarea{
    min-height:120px;
    resize:vertical;
}

.interest-form input::placeholder,
.interest-form textarea::placeholder{
    color:rgba(245,230,200,0.65);
}

.interest-form button{
    margin-top:15px;
    padding:16px 35px;

    background:#d8a84f;
    border:none;
    border-radius:40px;

    color:#0b0b0b;
    font-weight:bold;
    letter-spacing:4px;
    text-transform:uppercase;

    cursor:pointer;
    transition:0.3s;
}

.interest-form button:hover{
    transform:scale(1.04);
    box-shadow:0 0 25px rgba(216,168,79,0.35);
}

.interest-form select{
    background:#1b1b1b;
    color:#f5e6c8;
    border:1px solid rgba(216,168,79,0.4);
}

.interest-form option{
    background:#1b1b1b;
    color:#f5e6c8;
}

.back-archives-btn{
    display:inline-block;
    margin:40px auto 60px ;
    padding:14px 30px;

    border:1px solid #d8a84f;
    border-radius:40px;

    color:#d8a84f;
    text-decoration:none;
    text-transform:uppercase;
    letter-spacing:3px;
}

.back-archives-btn:hover{
    background:#d8a84f;
    color:#0b0b0b;
}

.archives-hidden{
    display:none;
}

.back-container{
    text-align:center;
    margin-top:50px;
    margin-bottom:80px;
}

.back-btn{
    display:inline-block;
    padding:14px 35px;
    border:1px solid #d8a84f;
    border-radius:40px;
    color:#d8a84f;
    text-decoration:none;
    font-family:Georgia, serif;
    letter-spacing:2px;
    transition:0.3s;
}

.back-btn:hover{
    background:#d8a84f;
    color:#000;
}

.one-card{
    display:flex;
    justify-content:center;
}

.one-card .private-card{
    max-width:420px;
    width:100%;
}

/* FIX RECORDED MEETINGS POSITION */

.recording-page .private-page{
    padding-top:180px !important;
}

.recording-page h1{
    max-width:1200px;
    margin:0 auto 40px auto;
    text-align:center;
    line-height:1;
}

.recording-page .private-content{
    max-width:900px;
    margin:0 auto;
    text-align:center;
}

.recording-page .private-content p{
    margin-bottom:70px;
}

.recording-page .private-page{
    padding-top:160px !important;
}

.recording-subtitle{
    margin-bottom:70px !important;
}

/* VOCABULARY VAULT */

.vault-section{
    min-height:100vh;
    padding:240px 8% 100px;
    text-align:center;
    background:
        linear-gradient(rgba(0,0,0,0.78), rgba(0,0,0,0.82)),
        url("images/background.jfif");
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
}

.vault-section h1{
    font-size:4.8rem;
    letter-spacing:8px;
    text-transform:uppercase;
    color:#f5e6c8;
    margin-bottom:25px;
}

.vault-intro{
    font-size:1.25rem;
    font-style:italic;
    color:#d8cdb7;
    margin-bottom:70px;
}

.vault-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:30px;
}

.vocab-card{
    height:180px;
    perspective:1000px;
    cursor:pointer;
}

.vocab-inner{
    width:100%;
    height:100%;
    position:relative;
    transition:transform 0.8s;
    transform-style:preserve-3d;
}

.vocab-card:hover .vocab-inner{
    transform:rotateY(180deg);
}

.vocab-front,
.vocab-back{
    position:absolute;
    width:100%;
    height:100%;
    backface-visibility:hidden;
    border:1px solid rgba(216,168,79,0.65);
    border-radius:22px;
    background:rgba(0,0,0,0.72);
    backdrop-filter:blur(8px);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:25px;
}

.vocab-front h2{
    color:#d8a84f;
    font-size:2rem;
    margin-bottom:18px;
}

.vocab-front span{
    color:#f5e6c8;
    letter-spacing:3px;
    text-transform:uppercase;
    font-size:0.8rem;
}

.vocab-back{
    transform:rotateY(180deg);
}

.vocab-back p{
    color:#f5e6c8;
    font-size:1.15rem;
    line-height:1.6;
    margin-bottom:15px;
}

.vocab-back span{
    color:#d8a84f;
    letter-spacing:2px;
    text-transform:uppercase;
    font-size:1rem;
    font-weight:bold;
}

/* VOCABULARY FILTERS */

.vault-filters{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
    margin-bottom:50px;
}

.filter-btn{
    background:rgba(0,0,0,0.55);
    border:1px solid rgba(216,168,79,0.7);
    color:#d8a84f;
    padding:12px 28px;
    border-radius:40px;
    font-family:Georgia, serif;
    text-transform:uppercase;
    letter-spacing:2px;
    cursor:pointer;
    transition:0.3s;
}

.filter-btn:hover,
.filter-btn.active{
    background:#d8a84f;
    color:#000;
}

/* BOOKS FLIP CARDS */


/* COMMON ROOM FINAL - FLIP CARDS */

.common-flip-card{
    min-height:220px;
    perspective:1000px;
}

.common-flip-inner{
    position:relative;
    width:100%;
    height:100%;
    min-height:22px;
    transition:transform 0.8s;
    transform-style:preserve-3d;
}

.common-flip-card:hover .common-flip-inner{
    transform:rotateY(180deg);
}

.common-flip-front,
.common-flip-back{
    position:absolute;
    inset:0;
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;

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

    padding:35px;
    background:white;
    border:1px solid #d8d0c0;
    box-shadow:0 10px 25px rgba(0,0,0,0.12);
    text-align:center;
}

.common-flip-front p{
    font-size:1.3rem;
    line-height:1.6;
    color:#333;
}

.common-flip-back{
    transform:rotateY(180deg);
    background:#efe7d7;
}

.common-flip-back h3{
    color:#7faebe;
    margin-bottom:15px;
    text-transform:uppercase;
    letter-spacing:2px;
}

.common-flip-back p{
    font-size:1rem;
    line-height:1.6;
    color:#555;
}

/* =========================
   QUOTES
========================= */

.quote-board{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
    max-width:1200px;
    margin:80px auto;
}

.quote-card{
    height:260px;
}


/* =========================
   PERSONAJES PRINCIPALES
========================= */

.main-characters-board{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
    max-width:1400px;
    margin:120px auto;
}

.main-character-card{
    height:650px;
}

.image-front{
    padding:0;
    overflow:hidden;
}

.image-front img{
    width:100%;
    height:100%;
    object-fit:cover;
}


/* Responsive */

@media(max-width:1000px){

    .main-characters-board{
        grid-template-columns:1fr;
    }

    .main-character-card{
        height:500px;
    }

}

/* COMMON ROOM FINAL DESIGN */

.common-room-page{
    background:#f4efe4;
}

.common-room-final{
    font-family:Georgia, serif;
    background:#f4efe4;
    color:#222;
    padding-bottom:100px;
}

.common-hero{
    position:relative;
    padding:35px 60px 30px;
    border-bottom:1px solid #d8c9a8;
    background:#f8f3ea;
    text-align:center;
}

.common-hero h1{
    font-size:2rem;
    letter-spacing:5px;
    text-transform:uppercase;
    margin:0;
}

.common-hero p{
    font-style:italic;
    margin:5px 0 0;
    color:#8b5e34;
}

.top-back-btn{
    position:absolute;
    right:60px;
    top:38px;
    text-decoration:none;
    color:#222;
    border:1px solid #d8c9a8;
    padding:14px 26px;
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:.8rem;
}

.quotes-section,
.characters-section{
    max-width:1500px;
    margin:45px auto 0;
    padding:0 30px;
}

.quotes-section h2,
.characters-section h2{
    text-align:center;
    color:#315f6f;
    letter-spacing:7px;
    text-transform:uppercase;
    font-size:1.2rem;
    margin-bottom:35px;
}

.quotes-carousel{
    overflow:hidden;
    width:100%;
    position:relative;
    padding:15px 0 40px;
}

.quotes-track{
    display:flex;
    gap:28px;
    width:max-content;
    animation:quoteScroll 55s linear infinite;
}

.quotes-track:hover{
    animation-play-state:paused;
}

.quote-pair{
    flex:0 0 360px;
    height:230px;
    display:flex;
    background:#f8f3ea;
    box-shadow:0 12px 30px rgba(0,0,0,.12);
    border-radius:8px;
    overflow:hidden;
}

.quote-face{
    width:58%;
    padding:22px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.quote-analysis{
    width:42%;
    padding:18px;
    font-size:.70rem;
    line-height:1.45;
    color:#555;
}

.quote-face{
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    background:#fbf7ef;
}

.quote-face p{
    font-style:italic;
    font-size:1.15rem;
    line-height:1.6;
}

.quote-analysis{
    background:#eee7dc;
    font-size:.78rem;
    line-height:1.5;
    color:#444;
}

.quote-analysis h3{
    text-transform:uppercase;
    color:#315f6f;
    font-size:.65rem;
    letter-spacing:2px;
    margin-bottom:10px;
}

@keyframes quoteScroll{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}

.characters-row{
    display:grid;
    grid-template-columns:1fr 1.15fr 1fr;
    gap:35px;
    align-items:center;
}

.character-card{
    display:grid;
    grid-template-columns:1fr 1fr;
    background:#f8f3ea;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 15px 35px rgba(0,0,0,.14);
    min-height:420px;
}

.featured-character{
    transform:scale(1.06);
    border:1px solid #d8a84f;
}

.character-card img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.character-info{
    padding:34px 30px;
}

.character-info h3{
    color:#315f6f;
    text-transform:uppercase;
    letter-spacing:4px;
    font-size:1.25rem;
    text-align:center;
    margin-bottom:25px;
}

.character-info h4{
    color:#8b5e34;
    text-transform:uppercase;
    font-size:.8rem;
    margin:18px 0 6px;
}

.character-info p{
    font-size:.92rem;
    line-height:1.55;
    margin:0;
}

.more-characters{
    text-align:center;
    margin-top:60px;
    padding-top:25px;
    border-top:1px dashed #c9b58f;
}

.more-characters h3{
    color:#315f6f;
    letter-spacing:4px;
    text-transform:uppercase;
}

.more-characters span{
    font-size:.9rem;
    font-style:italic;
    color:#777;
    text-transform:none;
    letter-spacing:1px;
}

.more-characters p{
    font-style:italic;
}

@media(max-width:1000px){
    .common-hero{
        flex-direction:column;
        gap:20px;
        text-align:center;
    }

    .characters-row{
        grid-template-columns:1fr;
    }

    .featured-character{
        transform:none;
    }

    .character-card{
        grid-template-columns:1fr;
    }

    .character-card img{
        height:420px;
    }
}

/* FIX QUOTE ANALYSIS SIZE */

.quotes-carousel .quote-analysis p{
    font-size:0.68rem !important;
    line-height:1.45 !important;
    font-style:normal !important;
    text-align:left;
}

.quotes-carousel .quote-analysis h3{
    font-size:0.62rem !important;
}

.quotes-carousel .quote-face p{
    font-size:1rem !important;
}

/* SUPPORTING CHARACTERS */

.supporting-characters-section{
    max-width:1300px;
    margin:80px auto 0;
    padding:50px 30px 20px;
    border-top:1px dashed #c9b58f;
    text-align:center;
}

.supporting-characters-section h2{
    color:#315f6f;
    letter-spacing:7px;
    text-transform:uppercase;
    font-size:1.2rem;
    margin-bottom:12px;
}

.section-intro{
    font-style:italic;
    color:#777;
    margin-bottom:35px;
}

.supporting-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px;
}

.supporting-card{
    background:#f8f3ea;
    border:1px solid rgba(216,168,79,.35);
    border-left:5px solid #8ab8c8;
    padding:28px;
    text-align:left;
    box-shadow:0 12px 25px rgba(0,0,0,.08);
}

.supporting-card h3{
    color:#315f6f;
    letter-spacing:3px;
    text-transform:uppercase;
    margin-bottom:14px;
}

.supporting-card p{
    color:#555;
    font-size:.95rem;
    line-height:1.65;
    font-style:italic;
}

.old-gods-card{
    border-left-color:#8b5e34;
    background:#efe7d7;
}

@media(max-width:900px){
    .supporting-grid{
        grid-template-columns:1fr;
    }
}

/* THEMES & SYMBOLS */

.themes-section{
    max-width:1300px;
    margin:90px auto;
    padding:50px 30px;
    border-top:1px dashed #c9b58f;
    text-align:center;
}

.themes-section h2{
    color:#315f6f;
    letter-spacing:7px;
    text-transform:uppercase;
    font-size:1.2rem;
    margin-bottom:12px;
}

.themes-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    margin-top:40px;
}

.theme-card{
    background:#f8f3ea;
    border:1px solid rgba(216,168,79,.35);
    padding:30px;
    box-shadow:0 12px 25px rgba(0,0,0,.06);
    transition:.3s;
}

.theme-card:hover{
    transform:translateY(-5px);
}

.theme-card h3{
    color:#315f6f;
    letter-spacing:3px;
    text-transform:uppercase;
    margin-bottom:15px;
}

.theme-card p{
    color:#666;
    line-height:1.7;
    font-style:italic;
}

@media(max-width:900px){

    .themes-grid{
        grid-template-columns:1fr;
    }

}

/* LITERARY TOOLKIT */

.literary-toolkit-section{
    max-width:1300px;
    margin:90px auto;
    padding:55px 30px;
    border-top:1px dashed #c9b58f;
    text-align:center;
}

.literary-toolkit-section h2{
    color:#315f6f;
    letter-spacing:7px;
    text-transform:uppercase;
    font-size:1.2rem;
    margin-bottom:12px;
}

.toolkit-grid{
    display:flex;
    flex-direction:column;
    gap:18px;
    max-width:1100px;
    margin:40px auto 0;
}

.toolkit-note{
    background:#fbf7ef;
    border:1px solid rgba(216,168,79,.35);
    padding:24px 28px;
    text-align:left;
    box-shadow:0 12px 25px rgba(0,0,0,.07);
}

.toolkit-note summary{
    cursor:pointer;
    color:#315f6f;
    font-size:1.1rem;
    letter-spacing:2px;
    text-transform:uppercase;
    font-weight:bold;
}

.toolkit-note p{
    margin-top:16px;
    color:#555;
    line-height:1.7;
    font-style:italic;

    animation:none !important;
    opacity:1 !important;
    transform:none !important;
}

.toolkit-note[open]{
    background:#f8f3ea;
    border-left:5px solid #8ab8c8;
}

@media(max-width:900px){
    .toolkit-grid{
        grid-template-columns:1fr;
    }
}

/* AUTHOR CORNER */

.author-section{
    max-width:1300px;
    margin:100px auto;
    padding:0 30px;
}

.author-section h2{
    text-align:center;
    color:#315f6f;
    letter-spacing:7px;
    text-transform:uppercase;
    font-size:1.2rem;
    margin-bottom:40px;
}

.author-card{
    display:grid;
    grid-template-columns:350px 1fr;
    gap:50px;
    align-items:center;
    background:#fbf7ef;
    border:1px solid rgba(216,168,79,.35);
    padding:35px;
    box-shadow:0 12px 25px rgba(0,0,0,.08);
}

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

.author-info h3{
    font-size:2rem;
    color:#315f6f;
    margin-bottom:20px;
    letter-spacing:3px;
}

.author-info p{
    line-height:1.9;
    color:#555;
    margin-bottom:18px;
}

.author-facts{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:25px;
}

.author-facts span{
    padding:8px 14px;
    border:1px solid rgba(216,168,79,.5);
    background:#f6efe0;
    color:#8d6b38;
    font-size:.9rem;
}

@media(max-width:900px){

    .author-card{
        grid-template-columns:1fr;
    }

    .author-image img{
        height:400px;
    }

}

/* MARKS LEFT BEHIND */

.reflections-section{
    max-width:1300px;
    margin:100px auto;
    padding:5px 100px;
    text-align:center;
}

.reflections-section h2{
    color:#315f6f;
    letter-spacing:7px;
    text-transform:uppercase;
    font-size:1.2rem;
    margin-bottom:12px;
}

.reflection-wall{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    margin-top:40px;
}

.reflection-card{
    background:#fbf7ef;
    padding:30px;
    border-left:5px solid #8ab8c8;
    box-shadow:0 12px 25px rgba(0,0,0,.08);
    text-align:left;
}

.reflection-card p{
    font-style:italic;
    line-height:1.8;
    color:#555;
    margin-bottom:18px;
}

.reflection-card span{
    color:#8b5e34;
    font-size:.9rem;
}

.leave-mark-box{
    margin-top:60px;
    padding:45px;
    background:#f8f3ea;
    border:1px solid rgba(216,168,79,.35);
}

.leave-mark-box h3{
    color:#315f6f;
    letter-spacing:4px;
    text-transform:uppercase;
    margin-bottom:15px;
}

.leave-mark-box p{
    max-width:600px;
    margin:0 auto 25px;
    line-height:1.8;
    color:#666;
}

.leave-mark-btn{
    display:inline-block;
    padding:14px 28px;
    background:#315f6f;
    color:white;
    text-decoration:none;
    letter-spacing:2px;
    text-transform:uppercase;
    transition:.3s;
}

.leave-mark-btn:hover{
    transform:translateY(-3px);
}

@media(max-width:900px){

    .reflection-wall{
        grid-template-columns:1fr;
    }

    .reflection-card{
        width:100%;
        max-width:500px;
        margin:0 auto;
    }

}

/* FOOTER NUEVO */

.site-footer{

    width:90%;
    max-width:1500px;

    margin:60px auto 35px;

    background:rgba(0,0,0,0.45);

    backdrop-filter:blur(15px);
    -webkit-backdrop-filter:blur(15px);

    border:1px solid rgba(216,168,79,.18);

    border-radius:24px;

    padding:18px 35px;

    box-shadow:
        0 0 20px rgba(0,0,0,.25),
        inset 0 1px 0 rgba(255,255,255,.03);
}

.footer-content{
    display:grid;
    grid-template-columns:auto auto 1fr auto;
    align-items:center;
    gap:25px;
}
.footer-center{
    text-align:center;
    justify-self:center;
}

.footer-brand{
    font-size:0.65rem;
    letter-spacing:2px;
    line-height:1.4;
    max-width:100%;
    word-wrap:break-word;
}

.footer-credit{
    color:rgba(216,201,168,.65);
    font-size:.72rem;
    font-style:italic;
    margin-top:4px;
}

.footer-title{
    color:#d8c9a8;
    font-size:.8rem;
    letter-spacing:3px;
    text-transform:uppercase;
}

.footer-logos{
    display:flex;
    align-items:center;
    gap:16px;
}


.footer-logos a{
    width:40px;
    height:40px;

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

    border-radius:50%;
    overflow:hidden;

    border:1px solid rgba(216,168,79,.25);

    background:#111;
}
.footer-logos a:hover{
    transform:translateY(-3px);
    border-color:#d8a84f;
}


.footer-logos img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.footer-sponsors{
    justify-self:end;
    display:flex;
    align-items:center;
    gap:16px;
}

.footer-sponsors::before{
    content:"SUPPORTED BY";
    color:#d8c9a8;
    font-size:.7rem;
    letter-spacing:2px;
}

.footer-sponsors img{
    height:38px;
    width:auto;
    opacity:.85;
    transition:.3s;
}

.footer-logos img,
.footer-sponsors img{
    width:60px;
    height:60px;
    object-fit:contain;
    filter:
        drop-shadow(0 0 8px rgba(216,168,79,.4))
        drop-shadow(0 0 15px rgba(216,168,79,.2));
}

.footer-sponsors img:hover{
    opacity:1;
    transform:scale(1.05);
}

.about-page .about-layout{
    margin-top:220px !important;
}

/* FIX BOOKS PAGE SPACING */

.books-page .about-layout,
.books-page .books-layout{
    margin-top:5px !important;
}

.form-message{
    margin-top:20px;
    font-size:1rem;
    letter-spacing:1px;
}

.success-message{
    color:#d8a84f;
}

.error-message{
    color:#ff7b7b;
}

.quote-face p{
    font-size:0.78rem !important;
    line-height:1.45 !important;
}

.quote-pair{
    height:260px;
}

.quotes-track{
    animation:quoteScroll 85s linear infinite;
}
/* FIX LONG QUOTES IN COMMON ROOM CAROUSEL */

.quote-pair{
    flex:0 0 520px !important;
    height:360px !important;
}

.quote-face{
    width:60%;
    padding:26px !important;
}

.quote-analysis{
    width:40%;
    padding:24px !important;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.quote-analysis h3{
    margin-bottom:14px;
    font-size:0.95rem;
    letter-spacing:3px;
}

.quote-face p{
    font-size:0.82rem !important;
    line-height:1.45 !important;
}

.quote-analysis p{
    font-size:0.82rem !important;
    line-height:1.6 !important;
    max-width:90%;
}

.quotes-track{
    animation:quoteScroll 130s linear infinite !important;
}

/* COMMON ROOM ART GALLERY */

.art-gallery-section{
    max-width:1300px;
    margin:20px auto 80px;
    padding:40px 30px;
    border-top:1px dashed #c9b58f;
    text-align:center;
}

.art-gallery-section h2{
    color:#315f6f;
    letter-spacing:7px;
    text-transform:uppercase;
    font-size:1.2rem;
    margin-bottom:12px;
}

.art-gallery-grid{
    margin-top:40px;
    columns:3 260px;
    column-gap:28px;
}

.art-gallery-grid{
    margin-top:40px;
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:28px;
    align-items:start;
}

.art-card{
    height:280px;
    perspective:1000px;
}
.art-card:last-child{
    grid-column:2;
}

.art-inner{
    position:relative;
    width:100%;
    height:100%;
    transition:transform .6s;
    transform-style:preserve-3d;
}

.art-card:hover .art-inner{
    transform:rotateY(180deg);
}

.art-front,
.art-back{
    position:absolute;
    inset:0;
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
    background:#fbf7ef;
    border:1px solid rgba(216,168,79,.35);
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.art-front{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:12px;
}

.art-front img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    display:block;
    filter:grayscale(20%) sepia(15%) contrast(.95);
}

.art-back{
    transform:rotateY(180deg);
    padding:28px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    text-align:center;
}

.art-back h3{
    color:#315f6f;
    letter-spacing:3px;
    text-transform:uppercase;
    font-size:1rem;
    margin-bottom:8px;
}

.art-back span{
    color:#8b5e34;
    font-size:.85rem;
    margin-bottom:16px;
    font-style:italic;
}

.art-back p{
    color:#555;
    font-size:.9rem;
    line-height:1.6;
    animation:none !important;
    opacity:1 !important;
}

@media(max-width:900px){
    .art-gallery-grid{
        grid-template-columns:1fr;
    }
}


.art-gallery-grid img:hover{
    opacity:1;
    filter:none;
    transform:scale(1.05);
}

@media(max-width:900px){
    .art-gallery-grid{
        grid-template-columns:repeat(2, 1fr);
    }
}

.footer-center{
    text-align:center;
}

.footer-brand{
    color:#d8c9a8;

    font-size:1rem;

    letter-spacing:4px;

    text-transform:uppercase;

    margin-bottom:6px;
}

.footer-credit{
    color:rgba(216,201,168,.65);

    font-style:italic;

    font-size:.8rem;

    letter-spacing:2px;
}

/* DOOR OPEN TRANSITION */

.door-transition{
    position:fixed;
    inset:0;
    z-index:9999;
    background:#000;
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    pointer-events:none;
    transform:scale(.35);
    transition:
        opacity .5s ease,
        transform 1.2s ease;
}

.door-transition.active{
    opacity:1;
    pointer-events:auto;
    transform:scale(1);
}

.door-transition img{
    width:auto;
    height:90vh;
    max-width:90vw;
    object-fit:contain;
}

.door-transition{
    position:fixed;
    inset:0;

    z-index:99999;

    background:black;

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

    opacity:0;
    pointer-events:none;

    transition:opacity .4s ease;
}

.door-transition.active{
    opacity:1;
    pointer-events:auto;
}

.door-transition img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.footer-sponsors{
    justify-self:end;
    display:flex;
    align-items:center;
    gap:14px;
}

.footer-sponsors::before{
    content:none;
}

.sponsor-label,
.partner-label{
    color:#d8c9a8;
    font-size:.68rem;
    letter-spacing:2px;
    text-transform:uppercase;
    white-space:nowrap;
}

.sponsor-main{
    width:68px !important;
    height:68px !important;
    object-fit:contain;
}

.sponsor-partner{
    width:48px !important;
    height:48px !important;
    object-fit:contain;
}

/* INDEX - MOBILE FOOTER FIX */

@media(max-width:600px){

    .home-page{
        min-height:100vh;
        overflow-x:hidden;
    }

    .site-footer{
        width:86%;
        margin:35px auto 25px;
        padding:22px 18px;
    }

    .footer-content{
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:18px;
        text-align:center;
    }

    .footer-title{
        font-size:.7rem;
        letter-spacing:3px;
    }

    .footer-logos{
        justify-content:center;
        gap:14px;
    }

    .footer-center{
        text-align:center;
    }

    .footer-brand{
        font-size:.75rem;
        letter-spacing:3px;
        line-height:1.4;
    }

    .footer-credit{
        font-size:.7rem;
    }

    .footer-sponsors{
        justify-self:center;
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:10px;
    }

    .footer-sponsors::before{
        content:none;
    }

    .sponsor-label,
    .partner-label{
        font-size:.65rem;
        letter-spacing:2px;
    }

    .sponsor-main{
        width:58px !important;
        height:58px !important;
    }

    .sponsor-partner{
        width:42px !important;
        height:42px !important;
    }
}

@media(max-width:600px){

    .cycle-hero{
        display:flex;
        flex-direction:column;
    }

    .cycle-info{
        order:1;
    }

    .cycle-cover{
        order:2;
        margin-top:20px;
        margin-bottom:25px;
    }

    .cycle-cover img{
        width:70%;
        max-width:220px;
        margin:0 auto;
        display:block;
    }
}

/* ABOUT - MOBILE FIX */

@media(max-width:600px){

    .about-layout{
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        text-align:center;
        padding:140px 24px 50px;
        gap:30px;
    }

    .about-text{
        width:100%;
        max-width:280px;
        margin:0 auto;
    }

    .about-text h1{
        font-size:2.8rem;
        line-height:.9;
        letter-spacing:4px;
        text-align:center;
    }

    .about-text p{
        font-size:1rem;
        line-height:1.6;
        text-align:center;
    }

    .about-logo-large{
        width:100%;
        display:flex;
        justify-content:center;
    }

    .about-logo-large img{
        width:180px;
        height:180px;
        object-fit:contain;
    }
}

/* BOOKS - MOBILE FIX */

@media(max-width:600px){

    .books-page{
        padding:120px 24px 70px;
        overflow-x:hidden;
    }

    .books-hero .about-layout{
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        text-align:center;
        padding:20px 0 45px;
        gap:25px;
    }

    .books-hero .about-text{
        width:100%;
        max-width:280px;
        margin:0 auto;
    }

    .books-hero .about-text h1{
        font-size:2.8rem;
        line-height:.9;
        letter-spacing:4px;
        text-align:center;
    }

    .books-hero .about-text p{
        font-size:1rem;
        line-height:1.6;
        text-align:center;
    }

    .books-hero .about-logo-large{
        width:100%;
        display:flex;
        justify-content:center;
    }

    .books-hero .about-logo-large img{
        width:170px;
        height:170px;
        object-fit:contain;
    }

    .current-book{
        display:flex;
        flex-direction:column;
        gap:25px;
        padding:28px 22px;
        text-align:center;
        margin:0 auto 60px;
    }

    .book-cover img{
        max-width:190px;
        margin:0 auto;
        display:block;
    }

    .book-info h2{
        font-size:2rem;
        line-height:1.1;
    }

    .book-info p{
        font-size:1rem;
        line-height:1.6;
    }

    .future-books-grid{
        grid-template-columns:1fr;
        max-width:260px;
        margin:35px auto 0;
    }

    .flip-card{
        height:380px;
    }
}

@media(max-width:600px){

    .vault-page h1{
        width:100% !important;
        max-width:220px !important;
        margin:0 auto 20px !important;

        font-size:1.9rem !important;
        line-height:1.05 !important;
        letter-spacing:1px !important;

        text-align:center !important;
        overflow-wrap:break-word !important;
    }

}

@media(max-width:600px){

    .vault-page h1{
        font-size:1.7rem;
        line-height:1;
        text-align:center;
        letter-spacing:1px;
    }

}

/* VOCABULARY VAULT MOBILE FIX */

@media (max-width: 600px){

    .vault-section h1{
        font-size:2.1rem !important;
        line-height:1.05 !important;
        letter-spacing:2px !important;

        max-width:240px;
        margin:0 auto 20px;
        text-align:center;

        word-break:normal;
    }

}

@media(max-width:600px){

    .vault-title-mobile{
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        justify-content:center !important;
        gap:4px !important;

        font-size:2rem !important;
        line-height:1 !important;
        letter-spacing:1px !important;
        text-align:center !important;
        max-width:260px !important;
        margin:0 auto 22px !important;
        white-space:nowrap !important;
    }

    .vault-title-mobile span{
        display:block !important;
        white-space:nowrap !important;
    }
}

/* VAULT MOBILE - FIX DEFINITIVO */

@media(max-width:600px){

    .vault-section{
        padding:130px 24px 70px !important;
        overflow-x:hidden !important;
    }

    .vault-section h1,
    .vault-title-mobile{
        font-size:1.9rem !important;
        line-height:1.05 !important;
        letter-spacing:1px !important;
        text-align:center !important;
        max-width:260px !important;
        margin:0 auto 25px !important;
        white-space:normal !important;
    }

    .vault-title-mobile span{
        display:block !important;
        white-space:nowrap !important;
    }

    .vault-intro{
        max-width:260px !important;
        margin:0 auto 35px !important;
        font-size:1rem !important;
        line-height:1.5 !important;
    }

    .vault-filters{
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        gap:12px !important;
        max-width:260px !important;
        margin:0 auto 40px !important;
    }

    .filter-btn{
        width:100% !important;
        max-width:260px !important;
        padding:13px 20px !important;
    }

    .vault-grid{
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        gap:26px !important;
        width:100% !important;
        max-width:280px !important;
        margin:0 auto !important;
    }

    .vocab-card{
        width:260px !important;
        height:220px !important;
        margin:0 auto !important;
    }

    .vocab-front h2{
        font-size:1.5rem !important;
        line-height:1.1 !important;
        letter-spacing:1px !important;
        white-space:normal !important;
        word-break:normal !important;
    }
}

/* COMMON ROOM - MOBILE FIX */

@media(max-width:600px){

    .common-room-page{
        overflow-x:hidden;
    }

    .common-hero{
        padding:120px 24px 45px;
        text-align:center;
    }

    .common-hero h1{
        font-size:2.3rem !important;
        line-height:1.05;
        letter-spacing:4px;
        max-width:260px;
        margin:0 auto 10px;
    }

    .common-hero p{
        font-size:1.15rem;
        max-width:260px;
        margin:0 auto;
    }

    .back-archives{
        position:static !important;
        display:block;
        width:fit-content;
        margin:20px auto 0;
        padding:12px 18px;
        font-size:.7rem;
    }

    .quotes-section,
    .themes-section,
    .toolkit-section,
    .art-section,
    .marks-section{
        padding:45px 24px !important;
        text-align:center;
    }

    .section-title,
    .quotes-section h2,
    .themes-section h2,
    .toolkit-section h2,
    .art-section h2,
    .marks-section h2{
        font-size:1.5rem !important;
        line-height:1.2;
        letter-spacing:5px;
        max-width:260px;
        margin:0 auto 18px;
        text-align:center;
    }

    .section-subtitle,
    .quotes-section p,
    .themes-section > p,
    .toolkit-section > p,
    .art-section > p,
    .marks-section > p{
        font-size:1rem !important;
        line-height:1.5;
        max-width:260px;
        margin:0 auto 30px;
        text-align:center;
    }

    .quotes-carousel,
    .themes-grid,
    .toolkit-grid,
    .art-grid{
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        gap:24px !important;
        width:100% !important;
        max-width:280px !important;
        margin:0 auto !important;
    }

    .quote-card,
    .theme-card,
    .toolkit-card,
    .art-card{
        width:100% !important;
        max-width:260px !important;
        height:auto !important;
        min-height:auto !important;
        margin:0 auto !important;
        box-sizing:border-box !important;
    }

    .quote-card{
        display:flex !important;
        flex-direction:column !important;
    }

    .quote-front,
    .quote-back{
        width:100% !important;
        min-height:230px !important;
        padding:24px 20px !important;
        box-sizing:border-box !important;
        text-align:center !important;
    }

    .quote-front p,
    .quote-back p{
        font-size:.95rem !important;
        line-height:1.5 !important;
        max-width:100% !important;
        word-break:normal !important;
    }

    .toolkit-card{
        padding:24px 20px !important;
    }

    .toolkit-card h3,
    .theme-card h3{
        font-size:1.2rem !important;
        line-height:1.2;
        letter-spacing:3px;
        text-align:center;
    }

    .toolkit-card p,
    .theme-card p{
        font-size:.95rem !important;
        line-height:1.5;
        text-align:center;
    }

    .art-card img{
        width:100% !important;
        height:auto !important;
        object-fit:contain !important;
    }

    .marks-box,
    .leave-mark-box{
        width:86% !important;
        max-width:270px !important;
        margin:0 auto !important;
        padding:30px 22px !important;
        text-align:center !important;
        box-sizing:border-box !important;
    }

    .marks-box p,
    .leave-mark-box p{
        font-size:1rem !important;
        line-height:1.6 !important;
        max-width:100% !important;
        text-align:center !important;
    }

    .leave-mark-box a,
    .leave-mark-box button{
        display:block;
        width:100%;
        max-width:220px;
        margin:25px auto 0;
        padding:14px 16px;
        font-size:.75rem;
        box-sizing:border-box;
    }
}
/* COMMON ROOM MOBILE MENU */

.common-room-page .menu-toggle{
    display:none;
}

@media(max-width:600px){

    .common-room-page .desktop-menu{
        display:none !important;
    }

    .common-room-page .menu-toggle{
        display:flex !important;
    }

}

/* COMMON ROOM - SHOW MOBILE DROPDOWN MENU */

@media(max-width:600px){

    .common-room-page .desktop-menu{
        display:none !important;
    }

    .common-room-page .desktop-menu.active{
        display:flex !important;
        flex-direction:column !important;
        position:absolute !important;
        top:95px !important;
        left:50% !important;
        transform:translateX(-50%) !important;
        width:85% !important;
        padding:22px !important;
        gap:18px !important;
        background:#fbf6ec !important;
        border:1px solid #e8d6ad !important;
        border-radius:18px !important;
        z-index:9999 !important;
        text-align:center !important;
    }

    .common-room-page .desktop-menu.active li{
        list-style:none !important;
    }

    .common-room-page .desktop-menu.active a{
        color:#252525 !important;
        font-size:.8rem !important;
        letter-spacing:3px !important;
    }
}

@media(max-width:600px){

    .toolkit-note summary{
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        gap:10px !important;
        text-align:center !important;
    }

    .toolkit-note summary::marker{
        content:"";
    }

    .toolkit-note summary::-webkit-details-marker{
        display:none;
    }

    .toolkit-note summary::before{
        content:"▸";
        flex-shrink:0;
        font-size:.8rem;
        line-height:1;
    }
}
.toolkit-note summary{
    width:100% !important;
    min-height:95px !important;
    padding:18px 20px !important;
    box-sizing:border-box !important;

    position:relative;

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

    text-align:center !important;
}

/* AUTHOR MOBILE WIDTH FIX */

@media(max-width:600px){

    .author-section{
        padding:50px 16px !important;
    }

    .author-card{
        width:92% !important;
        max-width:320px !important;
        margin:0 auto !important;
        padding:28px 22px !important;
        box-sizing:border-box !important;
    }

    .author-image img{
        width:100% !important;
        height:280px !important;
        object-fit:cover !important;
    }

    .author-info{
        text-align:center !important;
    }

    .author-info p{
        max-width:100% !important;
        font-size:1rem !important;
        line-height:1.55 !important;
    }
}

/* COMMON ROOM - MARKS LEFT BEHIND MOBILE FIX */

@media(max-width:600px){

    .reflections-section{
        width:100% !important;
        max-width:100% !important;
        padding:50px 18px !important;
        margin:60px auto !important;
        box-sizing:border-box !important;
        text-align:center !important;
    }

    .reflection-wall{
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        width:100% !important;
        gap:22px !important;
    }

    .reflection-card{
        width:90% !important;
        max-width:300px !important;
        margin:0 auto !important;
        text-align:center !important;
        box-sizing:border-box !important;
    }

    .leave-mark-box{
        width:90% !important;
        max-width:300px !important;
        margin:45px auto 0 !important;
        padding:28px 22px !important;
        box-sizing:border-box !important;
        text-align:center !important;
    }

    .leave-mark-box p{
        max-width:100% !important;
        margin:0 auto 25px !important;
    }

    .leave-mark-btn{
        display:block !important;
        width:100% !important;
        box-sizing:border-box !important;
        text-align:center !important;
    }
}

/* COMMON ROOM - ART PIECES MOBILE FIX */

@media(max-width:600px){

    .art-gallery-section{
        width:100% !important;
        padding:55px 18px !important;
        box-sizing:border-box !important;
    }

    .art-gallery-grid{
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:24px !important;
        width:100% !important;
        max-width:300px !important;
        margin:35px auto 0 !important;
    }

    .art-card{
        width:100% !important;
        height:260px !important;
        perspective:1000px !important;
    }

    .art-inner,
    .art-front,
    .art-back{
        width:100% !important;
        height:100% !important;
    }

    .art-front img{
        width:100% !important;
        height:100% !important;
        object-fit:cover !important;
        display:block !important;
    }
}

/* COMMON ROOM - ART PIECES CENTER FIX */

@media(max-width:600px){

    .art-gallery-grid{
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        justify-content:center !important;
        width:100% !important;
        max-width:100% !important;
        margin:35px auto 0 !important;
        gap:28px !important;
    }

    .art-card{
        width:82% !important;
        max-width:260px !important;
        margin:0 auto !important;
    }

    .art-front,
    .art-back{
        overflow:hidden !important;
    }
}