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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    color: white;
    padding: 2rem 0;
    text-align: center;
    background-color: #000;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-style: italic;
}

.hero-wrap {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    padding: 3rem 0 1.5rem 0;
    align-items: start;
}

.book-cover {
    text-align: center;
}

.book-cover img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    /* transition: transform 0.3s ease; */
}

@media screen and (max-width: 767px) {
    .hero-wrap {
        grid-template-columns: 1fr;
    }
    .book-cover img {
        max-width: 450px;
    }
}

/* .book-cover img:hover {
    transform: scale(1.05);
} */

.book-info h2 {
    color: #5B0001;
    /* margin-bottom: 1rem;
    font-size: 2rem; */
}

.book-info p,
.book-info li {
    font-size: 1.1rem;
    text-align: justify;
}

.book-info p {
    margin-bottom: 1.5rem;
}

.purchase-section {
    background: #fff;
    /* color: white; */
    padding: 3rem 0;
    /* margin: 2rem 0; */
}

.purchase-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    /* align-items: center; */
}

.purchase-grid h3 {
    margin-bottom: 1rem;
    text-align: center;
    flex: 0 1 auto;
}

.retailers {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); */
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    /* margin: 2rem 0; */
    /* min-height: 100%; */
    align-content: space-between;
    flex: 1 1 auto;
}

.retail-wrap {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.retailer {
    text-align: center;
    /* transition: transform 0.3s ease; */
}

/* .retailer:hover {
    transform: translateY(-5px);
} */

.retailer img {
    max-width: 200px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.retailer a {
    text-decoration: none;
    color: #667eea;
    font-weight: bold;
    /* font-size: 0.9rem; */

    display: block;
    font-size: 18px;
    line-height: 48px;
    /* height: 48px; */
    color: #ffffff;
    min-width: 212px;
    /* background-color: #006aff; */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    /* box-shadow: 0 0 0 1px rgba(0, 0, 0, .1) inset; */
    border-radius: 6px;
    text-decoration: none;
    margin-bottom: 1rem;
}

.author-section {
    background: linear-gradient(135deg, #B02920 0%, #79190B 100%);
    color: white;
    padding: 4rem 0;
    /* margin: 2rem 0; */
}

.author-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: center;
}

.author-photo {
    border-radius: 50%;
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    margin: 0 auto;
}

.author-bio h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.author-bio p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.cta-section {
    text-align: center;
    padding: 3rem 0;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 1rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}



.square {
    overflow: auto; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end; 
    align-items: center; 
    width: 100%; 
    background: #FFFFFF; 
    border: 1px solid rgba(0, 0, 0, 0.1); 
    box-shadow: -2px 10px 5px rgba(0, 0, 0, 0); 
    border-radius: 10px; 
    /* font-family: SQ Market, SQ Market, Helvetica, Arial, sans-serif;  */
    margin: 0 auto;
    margin-bottom: 1rem;
}
.square img {
    width: 100%;
}
.square > div {
    width:100%;
}
.square a {
    display: block; 
    font-size: 18px; 
    line-height: 48px; 
    height: 48px; 
    color: #ffffff; 
    min-width: 212px; 
    /* background-color: #006aff;  */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center; 
    box-shadow: 0 0 0 1px rgba(0,0,0,.1) inset; 
    border-bottom-left-radius: 6px; 
    border-bottom-right-radius: 6px; 
    text-decoration: none;
    font-weight: bold;
}

@media screen and (max-width: 767px) {
    .square {
        max-width: 450px;
    }
}

.author-bio p {
    margin-bottom: 1rem;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
    /* margin-top: 3rem; */
}

.note {
    background: #B0291E;
    color: #fff;
    /* border: 1px solid #ffeaa7; */
    padding: 0 1rem 1.2rem 1rem;
    /* border-radius: 5px; */
    /* margin: 1rem 0; */
    font-style: italic;
    text-align: center;
}

@media screen and (max-width: 499px) {
    .retailers {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 768px) {
    .hero, .purchase-grid, .author-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    h1 {
        font-size: 2rem;
    }


    .author-content {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    h1 {
        font-size: 1.8rem;
    }
}