/* ==============================================================
   SERENGETI HEROES
   LUXURY BASE — INNER PAGES ONLY
   ==============================================================

   PURPOSE
   -------
   This stylesheet provides the base luxury editorial system for
   INNER CONTENT PAGES ONLY.

   EXCLUDED:
   - Homepage
   - Homepage sections
   - About Us / page-id-2247
   - Footer
   - Header
   - Navigation
   - WhatsApp widget
   - Back-to-top button
   - Existing homepage luxury styles
   - Existing page-specific luxury styles

   IMPORTANT
   ---------
   Do NOT add broad global selectors here.

================================================================ */


/* ==============================================================
   01. INNER PAGE ROOT
================================================================ */

/*
 * Only normal WordPress pages and posts receive the editorial
 * background and typography.
 *
 * Homepage and About Us are explicitly excluded.
 */

body:not(.home):not(.page-id-2247) {
    background: #F7F3EC;
    color: #5D5A55;
    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;
    line-height: 1.8;
}


/* ==============================================================
   02. INNER CONTENT ONLY
================================================================ */

/*
 * We intentionally target entry content instead of the theme's
 * global containers.
 *
 * This prevents the stylesheet from changing:
 * header widths
 * footer widths
 * homepage sections
 * navigation
 * theme grids
 */

body:not(.home):not(.page-id-2247) .entry-content {
    color: #5D5A55;
    font-size: 1rem;
    line-height: 1.85;
}


/* ==============================================================
   03. STANDARD PAGE TITLE
================================================================ */

body:not(.home):not(.page-id-2247) .entry-title,
body:not(.home):not(.page-id-2247) .page-title {
    color: #132019;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(2.3rem, 4vw, 4rem);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.015em;
}


/*
 * Page title spacing only.
 *
 * Does NOT remove or duplicate titles.
 */

body:not(.home):not(.page-id-2247) .entry-title {
    margin-top: 0;
    margin-bottom: 28px;
}


/* ==============================================================
   04. EDITORIAL HEADINGS
================================================================ */

body:not(.home):not(.page-id-2247) .entry-content h1,
body:not(.home):not(.page-id-2247) .entry-content h2,
body:not(.home):not(.page-id-2247) .entry-content h3,
body:not(.home):not(.page-id-2247) .entry-content h4,
body:not(.home):not(.page-id-2247) .entry-content h5,
body:not(.home):not(.page-id-2247) .entry-content h6 {
    color: #132019;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-weight: 400;
    line-height: 1.25;
}


/* H1 */

body:not(.home):not(.page-id-2247) .entry-content h1 {
    margin-top: 2em;
    margin-bottom: .7em;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
}


/* H2 */

body:not(.home):not(.page-id-2247) .entry-content h2 {
    margin-top: 2em;
    margin-bottom: .7em;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}


/* H3 */

body:not(.home):not(.page-id-2247) .entry-content h3 {
    margin-top: 1.6em;
    margin-bottom: .6em;
    font-size: clamp(1.3rem, 2vw, 1.7rem);
}


/* H4 */

body:not(.home):not(.page-id-2247) .entry-content h4 {
    margin-top: 1.5em;
    margin-bottom: .6em;
    font-size: 1.15rem;
}


/* ==============================================================
   05. PARAGRAPHS
================================================================ */

body:not(.home):not(.page-id-2247) .entry-content p {
    margin-top: 0;
    margin-bottom: 1.35em;
    color: #5D5A55;
    font-size: 1.02rem;
    line-height: 1.9;
}


/* ==============================================================
   06. STRONG / EMPHASIS
================================================================ */

body:not(.home):not(.page-id-2247) .entry-content strong {
    color: #132019;
}


body:not(.home):not(.page-id-2247) .entry-content em {
    color: #77736D;
}


/* ==============================================================
   07. LINKS
================================================================ */

body:not(.home):not(.page-id-2247) .entry-content a {
    color: #B8863B;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition:
        color .2s ease,
        opacity .2s ease;
}


body:not(.home):not(.page-id-2247) .entry-content a:hover {
    color: #D19D4C;
    opacity: .9;
}


/* ==============================================================
   08. IMAGES
================================================================ */

body:not(.home):not(.page-id-2247) .entry-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 32px auto;
}


/*
 * WordPress captions
 */

body:not(.home):not(.page-id-2247) .entry-content .wp-caption {
    max-width: 100%;
    margin: 40px auto;
}


body:not(.home):not(.page-id-2247) .entry-content .wp-caption-text {
    margin-top: 10px;
    color: #77736D;
    font-size: .82rem;
    font-style: italic;
    text-align: center;
}


/* ==============================================================
   09. BLOCKQUOTES
================================================================ */

body:not(.home):not(.page-id-2247) .entry-content blockquote {
    margin: 45px 0;
    padding: 25px 30px;
    border-left: 3px solid #B8863B;
    background: transparent;
}


body:not(.home):not(.page-id-2247) .entry-content blockquote p {
    margin-bottom: 0;
    color: #132019;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 1.3rem;
    line-height: 1.6;
}


/* ==============================================================
   10. LISTS
================================================================ */

body:not(.home):not(.page-id-2247) .entry-content ul,
body:not(.home):not(.page-id-2247) .entry-content ol {
    margin-top: 25px;
    margin-bottom: 35px;
    padding-left: 28px;
}


body:not(.home):not(.page-id-2247) .entry-content li {
    margin-bottom: 10px;
    color: #5D5A55;
    line-height: 1.8;
}


/* ==============================================================
   11. SEPARATORS
================================================================ */

body:not(.home):not(.page-id-2247) .entry-content hr {
    height: 1px;
    margin: 55px 0;
    border: 0;
    background: #E6DED0;
}


/* ==============================================================
   12. TABLES
================================================================ */

body:not(.home):not(.page-id-2247) .entry-content table {
    width: 100%;
    margin: 35px 0;
    border-collapse: collapse;
    font-size: .95rem;
}


body:not(.home):not(.page-id-2247) .entry-content th,
body:not(.home):not(.page-id-2247) .entry-content td {
    padding: 13px 16px;
    border-bottom: 1px solid #E6DED0;
    text-align: left;
}


body:not(.home):not(.page-id-2247) .entry-content th {
    color: #132019;
    font-weight: 600;
}


/* ==============================================================
   13. WORDPRESS CONTENT BUTTONS ONLY
================================================================ */

/*
 * IMPORTANT:
 * We ONLY style WordPress editor buttons.
 *
 * We do NOT touch:
 * - .button
 * - .btn
 * - input[type=submit]
 * - theme buttons
 * - Back to Top
 * - WhatsApp button
 */

body:not(.home):not(.page-id-2247)
.entry-content
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 13px 28px;

    border: 1px solid #B8863B;
    border-radius: 2px;

    background: #B8863B;
    color: #FFFFFF;

    font-size: .9rem;
    font-weight: 600;
    line-height: 1.2;

    text-decoration: none;

    transition:
        background-color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}


body:not(.home):not(.page-id-2247)
.entry-content
.wp-block-button__link:hover {
    background: #D19D4C;
    border-color: #D19D4C;
    color: #FFFFFF;
    transform: translateY(-2px);
}


/* ==============================================================
   14. FORMS — INNER CONTENT ONLY
================================================================ */

body:not(.home):not(.page-id-2247)
.entry-content
input[type="text"],

body:not(.home):not(.page-id-2247)
.entry-content
input[type="email"],

body:not(.home):not(.page-id-2247)
.entry-content
input[type="tel"],

body:not(.home):not(.page-id-2247)
.entry-content
input[type="number"],

body:not(.home):not(.page-id-2247)
.entry-content
input[type="date"],

body:not(.home):not(.page-id-2247)
.entry-content
input[type="url"],

body:not(.home):not(.page-id-2247)
.entry-content
select,

body:not(.home):not(.page-id-2247)
.entry-content
textarea {
    width: 100%;

    padding: 13px 15px;

    border: 1px solid #E6DED0;
    border-radius: 2px;

    background: #FFFFFF;
    color: #5D5A55;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: .95rem;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


body:not(.home):not(.page-id-2247)
.entry-content
input:focus,

body:not(.home):not(.page-id-2247)
.entry-content
select:focus,

body:not(.home):not(.page-id-2247)
.entry-content
textarea:focus {
    border-color: #B8863B;
    outline: none;
    box-shadow:
        0 0 0 2px rgba(184, 134, 59, .12);
}


/* ==============================================================
   15. CONTACT PAGE — PAGE 64
================================================================ */

/*
 * Contact form only.
 *
 * Nothing outside Contact Form 7 is changed here.
 */

body.page-id-64 .wpcf7 {
    width: 100%;
    margin: 45px auto 0;

    padding: clamp(25px, 4vw, 45px);

    background: #FFFFFF;

    border: 1px solid #E6DED0;

    box-shadow:
        0 20px 60px rgba(13, 24, 18, .06);
}


body.page-id-64 .wpcf7 label {
    display: block;

    margin-bottom: 20px;

    color: #132019;

    font-size: .86rem;
    font-weight: 600;
    letter-spacing: .03em;
}


body.page-id-64 .wpcf7 input,
body.page-id-64 .wpcf7 select,
body.page-id-64 .wpcf7 textarea {
    margin-top: 7px;
}


body.page-id-64 .wpcf7 textarea {
    min-height: 150px;
    resize: vertical;
}


/* ==============================================================
   16. PRIVACY POLICY — PAGE 3
================================================================ */

body.page-id-3 .entry-content {
    max-width: 850px;
}


body.page-id-3 .entry-content h2 {
    margin-top: 2.2em;
    color: #132019;
}


body.page-id-3 .entry-content strong {
    color: #132019;
}


/* ==============================================================
   17. BLOG / SINGLE POSTS
================================================================ */

/*
 * Blog posts get a wide editorial layout.
 *
 * This deliberately avoids changing homepage blog cards.
 */

body.single:not(.page-id-2247) .site-main .post {
    width: min(1180px, calc(100% - 64px));
    max-width: 1180px;

    margin-left: auto;
    margin-right: auto;
}


/*
 * Article content itself remains readable.
 */

body.single:not(.page-id-2247) .entry-content {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}


/*
 * Single post title.
 */

body.single:not(.page-id-2247) .entry-title {
    color: #132019;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(2.4rem, 5vw, 4.5rem);

    font-weight: 400;

    line-height: 1.08;

    letter-spacing: -0.02em;
}


/*
 * Post metadata.
 */

body.single:not(.page-id-2247) .entry-meta {
    display: flex;
    flex-wrap: wrap;

    align-items: center;

    gap: 10px 24px;

    margin-bottom: 40px;

    color: #77736D;

    font-size: .82rem;

    letter-spacing: .08em;

    text-transform: uppercase;
}


/* ==============================================================
   18. SINGLE POST FEATURED IMAGE
================================================================ */

body.single:not(.page-id-2247) .post-thumbnail,
body.single:not(.page-id-2247) .entry-thumbnail {
    width: min(1180px, calc(100% - 64px));
    max-width: 1180px;

    margin: 0 auto 45px;

    overflow: hidden;
}


body.single:not(.page-id-2247) .post-thumbnail img,
body.single:not(.page-id-2247) .entry-thumbnail img {
    width: 100%;
    height: auto;
    margin: 0;
}


/* ==============================================================
   19. SOCIAL SHARE — SINGLE POSTS ONLY
================================================================ */

body.single:not(.page-id-2247)
.entry-content
.share-this,

body.single:not(.page-id-2247)
.entry-content
.social-share,

body.single:not(.page-id-2247)
.entry-content
.share-buttons {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 10px;

    margin-top: 50px;
}


body.single:not(.page-id-2247)
.entry-content
.share-this ul,

body.single:not(.page-id-2247)
.entry-content
.social-share ul,

body.single:not(.page-id-2247)
.entry-content
.share-buttons ul {
    display: flex;

    flex-direction: row;

    flex-wrap: wrap;

    align-items: center;

    gap: 10px;

    margin: 0;
    padding: 0;

    list-style: none;
}


/* ==============================================================
   20. PAGINATION
================================================================ */

body:not(.home):not(.page-id-2247)
.navigation,

body:not(.home):not(.page-id-2247)
.pagination {
    margin: 50px auto;
    text-align: center;
}


body:not(.home):not(.page-id-2247)
.navigation a,

body:not(.home):not(.page-id-2247)
.pagination a {
    color: #B8863B;
}


/* ==============================================================
   21. SEARCH / 404
================================================================ */

body.search:not(.home) .site-main,
body.error404 .site-main {
    min-height: 500px;
    padding-top: 70px;
    padding-bottom: 100px;
}


body.error404 .site-main {
    text-align: center;
}


/* ==============================================================
   22. ACCESSIBILITY
================================================================ */

body:not(.home):not(.page-id-2247)
.entry-content
a:focus-visible,

body:not(.home):not(.page-id-2247)
.entry-content
button:focus-visible,

body:not(.home):not(.page-id-2247)
.entry-content
input:focus-visible,

body:not(.home):not(.page-id-2247)
.entry-content
select:focus-visible,

body:not(.home):not(.page-id-2247)
.entry-content
textarea:focus-visible {
    outline: 2px solid #B8863B;
    outline-offset: 3px;
}


/* ==============================================================
   23. TABLET
================================================================ */

@media (max-width: 900px) {

    body.single:not(.page-id-2247) .site-main .post {
        width: calc(100% - 40px);
    }

    body.single:not(.page-id-2247) .post-thumbnail,
    body.single:not(.page-id-2247) .entry-thumbnail {
        width: calc(100% - 40px);
    }

    body.single:not(.page-id-2247) .entry-title {
        font-size: clamp(2.2rem, 6vw, 3.5rem);
    }
}


/* ==============================================================
   24. MOBILE
================================================================ */

@media (max-width: 600px) {

    body:not(.home):not(.page-id-2247)
    .entry-content p {
        font-size: .98rem;
        line-height: 1.8;
    }


    body:not(.home):not(.page-id-2247)
    .entry-content h1 {
        font-size: 2rem;
    }


    body:not(.home):not(.page-id-2247)
    .entry-content h2 {
        font-size: 1.75rem;
    }


    body:not(.home):not(.page-id-2247)
    .entry-content blockquote {
        margin: 35px 0;
        padding: 20px 22px;
    }


    body:not(.home):not(.page-id-2247)
    .entry-content blockquote p {
        font-size: 1.12rem;
    }


    body.single:not(.page-id-2247) .site-main .post {
        width: calc(100% - 30px);
    }


    body.single:not(.page-id-2247) .post-thumbnail,
    body.single:not(.page-id-2247) .entry-thumbnail {
        width: calc(100% - 30px);
    }


    body.single:not(.page-id-2247) .entry-title {
        font-size: 2.35rem;
        line-height: 1.12;
    }


    body.page-id-64 .wpcf7 {
        padding: 24px 18px;
    }
}


/* ==============================================================
   25. VERY SMALL DEVICES
================================================================ */

@media (max-width: 380px) {

    body.single:not(.page-id-2247) .site-main .post {
        width: calc(100% - 20px);
    }


    body.single:not(.page-id-2247) .post-thumbnail,
    body.single:not(.page-id-2247) .entry-thumbnail {
        width: calc(100% - 20px);
    }


    body:not(.home):not(.page-id-2247)
    .entry-title,
    body:not(.home):not(.page-id-2247)
    .page-title,
    body.single:not(.page-id-2247)
    .entry-title {
        font-size: 2rem;
    }
}


/* ==============================================================
   END
================================================================ */