/*
Theme Name: Press Theme
Description: Press Child theme for Themify Ultra
Author: Themify
Template: themify-ultra
*/

/* write custom css below */

body{
    font-family: "Goudy Old Style";
}

.book-container {
    display: flex;
    gap: 2rem;
    margin: 2rem auto;
    max-width: 900px;
  }
  
  .book-cover img {
    max-width: 300px;
    height: auto;
  }
  
  .book-details {
    flex: 1;
  }
  
  .buy-button {
    display: inline-block;
    background-color: #ff6600;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
  }
  
.pdf-viewer-container {
    max-width: 100%;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.pdf-controls {
    background: #f5f5f5;
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.pdf-controls button {
    margin: 0 5px;
    padding: 5px 10px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

#pdf-canvas {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.pdf-embed-container {
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.pdf-embed-header {
    background: #f5f5f5;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.download-link {
    background: #0073aa;
    color: white !important;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 3px;
}

.journal-athena-replacement {
    margin: 20px 0;
    text-align: center;
}

.journal-athena-link {
    display: inline-block;
    transition: transform 0.2s ease;
}

.journal-athena-link:hover {
    transform: scale(1.05);
}

.journal-athena-image {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Desktop */
@media (min-width: 1024px) {
    .journal-athena-image {
        max-width: 400px;
    }
}

/* Tablet Landscape */
@media (min-width: 768px) and (max-width: 1023px) {
    .journal-athena-image {
        max-width: 350px;
    }
}

/* Tablet Portrait */
@media (min-width: 481px) and (max-width: 767px) {
    .journal-athena-image {
        max-width: 300px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .journal-athena-replacement {
        margin: 15px 0;
    }
    
    .journal-athena-image {
        max-width: 280px;
        min-width: 250px;
    }
}

/* Small mobile (360px and below) */
@media (max-width: 360px) {
    .journal-athena-image {
        max-width: 240px;
        min-width: 220px;
    }
}