pre {
   margin-top: 30px;
   background: #000000;
   padding: 10px;
}

/*
|--------------------------------------------------------------------------
| HERO LOGO
|--------------------------------------------------------------------------
*/

.hero-logo{
    margin-bottom:20px;
}

.hero-logo img{
    width:180px;
    max-width:90%;
    opacity:.95;
    transition:.3s ease;
}

.hero-logo img:hover{
    opacity:1;
    transform:scale(1.02);
}
/*
|--------------------------------------------------------------------------
| HERO
|--------------------------------------------------------------------------
*/

.editions-hero{
    position:relative;
    overflow:hidden;
    padding:60px 0 30px;
    background:
        radial-gradient(
            circle at top,
            #1e293b 0%,
            #0f172a 60%
        );
    text-align:center;
    color:#fff;
}

.hero-content{
    position:relative;
    z-index:2;
}

.hero-content::after{
    content:'';
    position:absolute;
    width:320px;
    height:320px;
    background:#2563eb;
    filter:blur(120px);
    opacity:.08;
    top:-120px;
    left:50%;
    transform:translateX(-50%);
    z-index:-1;
}

.hero-badge{
    display:inline-block;
    padding:8px 18px;
    border-radius:50px;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.05);
    font-size:14px;
    font-weight:600;
    margin-bottom:24px;
    backdrop-filter:blur(10px);
}

.hero-content h1{
    color:#fff;
    font-size:56px;
    font-weight:700;
    margin-bottom:18px;
    letter-spacing:-1px;
}

.hero-content p{
    color:rgba(255,255,255,.72);
    font-size:19px;
    margin:0;
}


/*
|--------------------------------------------------------------------------
| SECTION
|--------------------------------------------------------------------------
*/

.editions-section{
    background:#0f172a;
    padding:30px 0 90px;
}


/*
|--------------------------------------------------------------------------
| GRID
|--------------------------------------------------------------------------
*/

.editions-grid{
    display:grid;
    grid-template-columns:
        repeat(auto-fit, minmax(240px, 1fr));
    gap:32px;
}


/*
|--------------------------------------------------------------------------
| CARD
|--------------------------------------------------------------------------
*/

.edition-item{
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.04),
            rgba(255,255,255,0.02)
        );

    border:1px solid rgba(255,255,255,0.05);

    border-radius:24px;

    padding:28px 24px;

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

    overflow:hidden;

    box-shadow:
        0 8px 25px rgba(0,0,0,.18);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.edition-item:hover{
    transform:translateY(-6px);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.05),
            rgba(255,255,255,0.03)
        );

    box-shadow:
        0 18px 40px rgba(0,0,0,.28);
}

.edition-link{
    width:100%;
    text-decoration:none;
}


/*
|--------------------------------------------------------------------------
| THUMB
|--------------------------------------------------------------------------
*/

.edition-thumb{
    position:relative;
    overflow:hidden;
    border-radius:18px;
    display:flex;
    justify-content:center;
}

.edition-thumb img{
    width:100%;
    max-width:190px;
    display:block;

    border-radius:6px;

    transition:
        transform .3s ease,
        box-shadow .3s ease;

    box-shadow:
        0 15px 35px rgba(0,0,0,.45);
}

.edition-item:hover img{
    transform:scale(1.03);
}


/*
|--------------------------------------------------------------------------
| OVERLAY
|--------------------------------------------------------------------------
*/

.edition-overlay{
    position:absolute;
    inset:0;

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

    padding:18px;

    opacity:0;

    transition:.25s ease;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.45),
            rgba(0,0,0,.05)
        );
}

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

.btn-read{
    background:#2563eb;
    color:#fff;

    padding:10px 18px;

    border-radius:12px;

    font-size:14px;
    font-weight:600;

    transition:.2s ease;
}

.edition-item:hover .btn-read{
    background:#1d4ed8;
}


/*
|--------------------------------------------------------------------------
| INFO
|--------------------------------------------------------------------------
*/

.edition-content{
    padding-top:24px;
    text-align:center;
}

.edition-content h2{
    color:#fff;
    font-size:30px;
    font-weight:700;
    margin-bottom:14px;
    line-height:1.2;
}

.edition-content span{
    color:rgba(255,255,255,.62);
    font-size:15px;
    display:block;
}


/*
|--------------------------------------------------------------------------
| PAGINATION
|--------------------------------------------------------------------------
*/
/* Pagination */

.paginator {
   list-style: none;
   padding: 0;
   margin-top: 30px;
  
}

.paginator_item {
   display: inline-block;
   margin: 0 10px;
   padding: 4px 12px;
   background: #07053d;
   color: #fff;
   text-decoration: none;
   -webkit-border-radius: 4px;
   -moz-border-radius: 4px;
   border-radius: 4px;
}

.paginator_item:hover {
   background: #4c4c4c;
   color: #fff!important;
}

.paginator_active,
.paginator_active:hover {
   background: #000000;
}
.pagination-wrapper{
    margin-top:80px;
    display:flex;
    justify-content:center;
}

.pagination-wrapper .pagination{
    gap:10px;
}

.pagination-wrapper .pagination a,
.pagination-wrapper .pagination span{
    width:46px;
    height:46px;

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

    border-radius:12px;

    background:rgba(255,255,255,0.05);

    color:#fff;

    text-decoration:none;

    transition:.2s ease;
}

.pagination-wrapper .pagination a:hover{
    background:#2563eb;
}

.pagination-wrapper .pagination .active span{
    background:#2563eb;
}




/*
|--------------------------------------------------------------------------
| HEADER
|--------------------------------------------------------------------------
*/

.edition-header{
    position:sticky;
    top:0;
    z-index:999;
    backdrop-filter:blur(10px);
    background:rgba(15,23,42,0.92);
    border-bottom:1px solid rgba(255,255,255,0.08);
}

.edition-topbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:15px 20px;
}

.edition-brand img{
    max-height:50px;
}

.edition-meta{
    text-align:center;
    flex:1;
    color: #fff;
}

.edition-meta h1{
    margin:0;
    font-size:28px;
    font-weight:700;
    color:#fff;
}

.edition-meta p{
    margin:0;
    opacity:.7;
    font-size:15px;
    
}

.edition-label{
    font-size:12px;
    letter-spacing:2px;
    opacity:.6;
    
}
.edition-cover{
    width:120px;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,.4);
}
body.edition-page{
    background:
        radial-gradient(circle at top, #1e293b 0%, #0f172a 45%);
}
.btn-back{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:#1d4ed8;
    color:#fff;
    padding:10px 18px;
    border-radius:10px;
    text-decoration:none;
    transition:.3s;
}

.btn-back:hover{
    background:#2563eb;
    color:#fff;
    transform:translateY(-2px);
}

/*
|--------------------------------------------------------------------------
| FLIPBOOK
|--------------------------------------------------------------------------
*/

.edition-main{
    min-height:100vh;
}

.flipbook-wrapper{
    padding:20px;
}

.flipbook-container{
    height:calc(100vh - 120px);
    border-radius:20px;
    overflow:hidden;
    background:#111827;
    box-shadow:
        0 10px 40px rgba(0,0,0,0.45);
}

/*
|--------------------------------------------------------------------------
| DEARFLIP
|--------------------------------------------------------------------------
*/

._df_book{
    width:100%;
    height:100%;
}

/*
|--------------------------------------------------------------------------
| INFINITE LOADER
|--------------------------------------------------------------------------
*/

.infinite-loader{
    display:flex;
    justify-content:center;
    align-items:center;
    padding:40px 0;
}

.infinite-loader span{
    width:42px;
    height:42px;
    border-radius:50%;
    border:3px solid rgba(255,255,255,.1);
    border-top-color:#2563eb;
    animation:spin 1s linear infinite;
}

@keyframes spin{
    to{
        transform:rotate(360deg);
    }
}
/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media(max-width:992px){

    .hero-content h1{
        font-size:46px;
    }

    .editions-grid{
        grid-template-columns:
            repeat(3, 1fr);
    }
}

@media(max-width:768px){

    .editions-hero{
        padding:45px 0 20px;
    }

    .hero-content h1{
        font-size:34px;
    }

    .hero-content p{
        font-size:16px;
    }

    .editions-grid{
        grid-template-columns:
            repeat(2, 1fr);

        gap:20px;
    }

    .edition-item{
        padding:20px;
        border-radius:20px;
    }

    .edition-thumb img{
        max-width:150px;
    }

    .edition-content{
        padding-top:18px;
    }

    .edition-content h2{
        font-size:20px;
    }
        .edition-topbar{
        flex-direction:column;
        text-align:center;
    }

    .edition-meta h1{
        font-size:22px;
    }

    .flipbook-wrapper{
        padding:10px;
    }

    .flipbook-container{
        height:calc(100vh - 180px);
        border-radius:12px;
    }

    .btn-back{
        width:100%;
        justify-content:center;
    }
}

@media(max-width:576px){

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

    .edition-thumb img{
        max-width:180px;
    }

    .pagination-wrapper{
        margin-top:50px;
    }
}

    body.edition-page{
    margin:0;
    padding:0;
    background:#0f172a;
    font-family:'Source Sans Pro', sans-serif;
    color:#fff;
    overflow-x:hidden;
    }

