/* Branchstudio2026.css - CSS Grid layout for www.branchstudio.com */

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

/* Body and General Styles */
body {
    font-family: 'proxima-nova', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    width: auto;
    margin: 0 auto;
}

/* Grid Container */
.gridContainer {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Clearfix for Legacy Support */
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

/* Header Image */
.header {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
   
}

/* small image*/

img.small {
    max-width: 100px;

}

/* map image*/
img.map{
    max-width: 50%;
}

/* Navigation */
nav ul {
    list-style: none;
    padding: 5px 0;
    text-align: center;
     border-bottom: 2px solid #D35E0F;
}

nav ul li.topmenuindex {
    display: inline-block;
    margin: 0 20px;
}

nav ul li.topmenuindex a {
    font-family: adobe-caslon, serif, 'Times New Roman', serif;
    text-decoration: none;
    color:#8B0000;
    font-weight: 700;
    font-size: 18px;
    transition: color 0.3s;
}

nav ul li.topmenuindex a:hover {
    color: #000;
}

/* Headings and Text */
h1, h2, h3 {
    
}

h1 {
    font-family: Pauline-Didone-Variable, serif;
    font-size: 34px;
    margin: 10px 0;
    text-align: center;
    font-weight: 700;
}

h2.red {
     font-family: adobe-caslon, serif, 'Times New Roman', serif;
     color:#8B0000;
    font-size: 26px;
    margin: 10px 0;
    font-weight: 600;
}

h3 {
    font-size: 22px;
    margin: 10px 0;
}

p {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.8;
}

p.red {
    color:#8B0000;
    font-weight: 600;
    font-size: 16px;
}

p.small {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

p.heading {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 15px 0;
}

/* Book Grid */
.book-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 85%;
    margin: 10px auto;
    padding: 10px;
    background: #fafafa;
    border-radius: 8px;
}

.book-item {
    text-align: center;
    width: 85%;
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: box-shadow 0.3s;
}

.book-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.book-item img.booktable {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: transform 0.3s;
}

.book-item img.booktable:hover {
    transform: scale(1.05);
}

/* Purchase Table */
.purchase-table {
    width: 80%;
    margin: 10px auto;
    border-collapse: collapse;
}

.purchase-table td {
    padding: 2px;
}

.purchase-table a {
    display: inline-block;
    padding: 2px 5px;
    background: #f5f5f5;
    border: 1px solid #000;
    color: #D35E0F;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
}

.purchase-table a:hover {
    background: #D35E0F;
    color: #fff;
}

/* BULLET LIST – 50% WIDTH, TIGHT, CENTERED */
.book-bullets {
    width: 80%;
    max-width: 600px;
    margin: 1.5em auto;           /* Center + top/bottom space */
    padding: 0;
    list-style: none;             /* Remove default bullets */
    text-align: left;
    font-size: 1em;
    line-height: 1.6;
}

.book-bullets li {
    position: relative;
    padding-left: 1.3em;          /* Space for custom bullet */
    margin-bottom: 0.7em;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 15px 0;
    white-space: wrap;          /* Prevent wrapping (optional) */
}

.book-bullets li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: 800;
    width: 1em;
    text-align: center;
    font-size: 1em;
}


/* PREVIEW BUTTONS - Blue */
p.blue {
    color: #0066cc !important;  /* Bright blue */
    font-weight: bold;
}

p.blue a {
    color: #0066cc !important;
    text-decoration: none;
}

p.blue a:hover {
    text-decoration: underline;
    color: #004499 !important;
}

/* Footer and Social Links */
.cr ul {
    list-style: none;
    padding: 15px 0;
    text-align: center;
}

.cr ul li {
    display: inline-block;
    margin: 0 15px;
}

.cr ul li a {
    text-decoration: none;
    color: #D35E0F;
    font-size: 14px;
    font-weight: 600;
}

.cr ul li a:hover {
    color: #000;
}

hr {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 25px 0;
}

/* Responsive Design */
@media only screen and (max-width: 750px) {
    .gridContainer {
        width: 95%;
        padding: 15px;
    }

    .book-grid {
        grid-template-columns: 1fr;
        width: 95%;
        padding: 15px;
    }

    .book-item {
        padding: 10px;
    }

    .purchase-table {
        width: 90%;
        margin: 10px auto;
    }

    h1 {
        font-size: 28px;
        margin: 20px 0;
    }

    h2.red {
        font-size: 22px;
    }

    nav ul li.topmenuindex {
        margin: 0 10px;
    }

    nav ul li.topmenuindex a {
        font-size: 16px;
    }
}