/*
 Theme Name: Hello Elementor Child
 Template: hello-elementor
 Version: 2.0.0
*/

/* ------------------------------
   GLOBAL STYLES
------------------------------ */

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: #222;
    background: #fafafa;
    margin: 0;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}


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

.site-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.site-header .logo img {
    max-height: 55px;
}


/* ------------------------------
   FOOTER
------------------------------ */

.site-footer {
    background: #111;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.site-footer a {
    color: #fff;
}


/* ------------------------------
   BOOKS — CUSTOM POST TYPE
------------------------------ */

/* Books Archive Page */
.archive-post-type-book .book-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
    transition: box-shadow 0.2s ease;
}

.archive-post-type-book .book-item:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.archive-post-type-book .book-title {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.archive-post-type-book .book-excerpt {
    color: #555;
    margin-bottom: 15px;
}

/* Featured Image */
.archive-post-type-book .book-thumbnail img {
    border-radius: 5px;
    margin-bottom: 15px;
}


/* ------------------------------
   SINGLE BOOK PAGE
------------------------------ */

.single-book .book-header {
    margin-bottom: 25px;
}

.single-book .book-header h1 {
    font-size: 30px;
    margin-bottom: 10px;
}

.single-book .book-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

.single-book .book-content {
    font-size: 17px;
    line-height: 1.8;
}

.single-book .book-thumbnail img {
    border-radius: 6px;
    margin-bottom: 20px;
}


/* ------------------------------
   BUTTONS
------------------------------ */

.button,
.btn {
    background: #0073e6;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 4px;
    display: inline-block;
    transition: background 0.2s ease;
}

.button:hover,
.btn:hover {
    background: #005bb5;
}


/* ------------------------------
   FORMS
------------------------------ */

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #0073e6;
}


/* ------------------------------
   GRID HELPERS
------------------------------ */

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
