/* --- book specific styles --- */



/* --- Cavern section styles  --- */
.page-cavern  {
    background-image: url('cavernback2.jpg'); 
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat; 
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    background-blend-mode: multiply;
    color: white;
    padding-top: 0px; 
    padding-bottom: 15px; 
}

.page-cavern .main-column,
.page-cavern .sidebar-column {
    background-color: transparent !important; 
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.page-cavern a {
    color: inherit; 
}


/* --- Fortress section styles  --- */
.page-fortress  {
    background-image: url('fortressback.jpg'); 
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat; 
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    background-blend-mode: multiply;
    color: white;
    padding-top: 0px; 
    padding-bottom: 15px; 
}

.page-fortress .main-column,
.page-fortress .sidebar-column {
    background-color: transparent !important; 
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.page-fortress a {
    color: inherit; 
}


/* --- Sword section styles  --- */
.page-sword  {
    background-image: url('swordback.jpg'); 
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat; 
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    background-blend-mode: multiply;
    color: white;
    padding-top: 0px; 
    padding-bottom: 15px; 
}

.page-sword .main-column,
.page-sword .sidebar-column {
    background-color: transparent !important; 
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.page-sword a {
    color: inherit; 
}




/* --- Watcher section styles  --- */
.page-watcher  {
    background-image: url('watcherback.jpg'); 
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat; 
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    background-blend-mode: multiply;
    color: white;
    padding-top: 0px; 
    padding-bottom: 15px; 
}

.page-watcher .main-column,
.page-watcher .sidebar-column {
    background-color: transparent !important; 
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.page-watcher a {
    color: inherit; 
}



/* --- Barbed section styles  --- */
.page-barbed  {
    background-image: url('barbedback.jpg'); 
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat; 
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3); 
    background-blend-mode: multiply;
    color: white;
    padding-top: 0px; 
    padding-bottom: 15px; 
}

.page-barbed .main-column,
.page-barbed .sidebar-column {
    background-color: transparent !important; 
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.page-barbed a {
    color: inherit; 
}



/* --- Bakers section styles  --- */
.page-bakers  {
    background-image: url('bakersback.jpg'); 
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat; 
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    background-blend-mode: multiply;
    color: white;
    padding-top: 0px; 
    padding-bottom: 15px; 
}

.page-bakers .main-column,
.page-bakers .sidebar-column {
    background-color: transparent !important; 
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.page-bakers a {
    color: inherit; 
}


/* --- Betrayed section styles  --- */
.page-betrayed  {
    background-image: url('betrayedback.jpg'); 
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat; 
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    background-blend-mode: multiply;
    color: white;
    padding-top: 0px; 
    padding-bottom: 15px; 
}

.page-betrayed .main-column,
.page-betrayed .sidebar-column {
    background-color: transparent !important; 
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.page-betrayed a {
    color: inherit; 
}


.secondary-content-grid.single-content {
    grid-template-columns: 1fr;
    gap: 0;
}

.secondary-content-grid.single-content .content-entry:nth-child(odd) {
    border-right: none;
    padding-right: 0;
}

.secondary-content-grid.single-content .content-entry {
    margin-bottom: 30px; 
}



/* --- book header general --- */




/* --- Book General section styles  --- */
.page-bookgen  {
    background-color: #404040; 
    color: white;
    padding-top: 0px; 
    padding-bottom: 15px; 
}

.page-bookgen .main-column,
.page-bookgen .sidebar-column {
    background-color: transparent !important; 
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.page-bookgen a {
    color: inherit; 
}

.secondary-content-grid.single-content {
    grid-template-columns: 1fr;
    gap: 0;
}

.secondary-content-grid.single-content .content-entry:nth-child(odd) {
    border-right: none;
    padding-right: 0;
}

.secondary-content-grid.single-content .content-entry {
    margin-bottom: 30px; 
}



/* ------------------------------------------------------------------- */
/* --- Get The Books --- */
/* ------------------------------------------------------------------- */
.get-the-books,
.entry-quick-links {
    margin-bottom: 20px; 
    padding: 15px;
    border: 1px solid #dcdcdc; 
    border-radius: 8px;
    background-color: #f9f9f9;
    max-width: 100%; 
    margin-left: 20px;
    box-sizing: border-box;
}

.entry-quick-links h3 {
    margin-top: 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #e0e0e0;
}

.entry-quick-links ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.entry-quick-links li {
    margin: 8px 0;
}

.entry-quick-links li a {
    color: #4a6797; 
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

.entry-quick-links li a:hover {
    color: #2c3e50; 
    text-decoration: underline;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 5px; 
    list-style: none; 
    padding: 0px 0 0 0;     /* --- This was 10px for Cal --- */
    margin: 5px 0 0 0;
}

.book-grid li {
    margin: 0;
    padding: 0;
    text-align: center; 
}

.book-grid li a {
    display: block;
    padding: 7px 0;
    background-color: #e0e0e0; 
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    color: #4a6797;
    transition: background-color 0.2s;
}

.book-grid li a:hover {
    background-color: #bdc3c7; 
    color: #2c3e50;
}
