/* ==========================================================
   SERENGETI HEROES
   UNIVERSAL PAGE SYSTEM
   Base styling for all WordPress pages
========================================================== */

/* ==========================================================
   01. DESIGN VARIABLES
========================================================== */
:root {
    --sh-cream: #F7F3EC;
    --sh-white: #FFFFFF;
    --sh-dark: #1C2B24;
    --sh-dark-soft: #24362E;
    --sh-gold: #B8863B;
    --sh-gold-light: #D1A35A;
    --sh-text: #5D5A55;
    --sh-text-light: #77736C;
    --sh-border: #E6DED0;
    --sh-content-width: 900px;
    --sh-wide-width: 1200px;
    --sh-radius: 28px;
    --sh-shadow: 0 24px 70px rgba(13, 24, 18, 0.08);
}

/* ==========================================================
   02. PAGE FOUNDATION
========================================================== */
body {
    background: var(--sh-cream);
    color: var(--sh-text);
}

.site-main {
    background: transparent;
}

/* ==========================================================
   03. UNIVERSAL PAGE SHELL
========================================================== */
.luxury-page-shell {
    width: 100%;
    max-width: var(--sh-wide-width);
    margin: 0 auto;
    padding: 60px 30px 100px;
    box-sizing: border-box;
}

/* ==========================================================
   04. WORDPRESS PAGE HEADER
========================================================== */
.luxury-page-shell .page-header {
    width: 100%;
    max-width: var(--sh-content-width);
    margin: 0 auto 55px;
    text-align: center;
}

/* Universal page title */
.luxury-page-shell .page-header .page-title,
.luxury-page-shell .entry-header .entry-title {
    margin: 0 0 18px;
    color: var(--sh-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: .02em;
}

/* ==========================================================
   05. PAGE SUBTITLE / INTRODUCTION
========================================================== */
.luxury-page-shell .page-subtitle {
    max-width: 700px;
    margin: 0 auto;
    color: var(--sh-text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ==========================================================
   06. LUXURY HERO (optional special header)
========================================================== */
.luxury-page-hero {
    background: linear-gradient(135deg, rgba(24, 52, 43, 0.94), rgba(24, 52, 43, 0.74));
    border-radius: 32px;
    padding: 90px 60px;
    margin-bottom: 48px;
    box-shadow: var(--sh-shadow);
}

.luxury-page-hero .page-title {
    color: var(--sh-white);
    font-family: Georgia, serif;
    font-size: clamp(2.2rem, 3.3vw, 3.2rem);
    font-weight: 400;
    letter-spacing: .04em;
    margin: 0 0 14px;
}

.luxury-page-hero .page-subtitle {
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.02rem;
    max-width: 700px;
    margin: 0;
}

/* ==========================================================
   07. MAIN EDITORIAL CONTENT
========================================================== */
.luxury-editorial-block,
.luxury-page-shell .entry-content {
    width: 100%;
    max-width: var(--sh-content-width);
    margin-left: auto;
    margin-right: auto;
}

.luxury-editorial-block {
    background: var(--sh-white);
    border: 1px solid var(--sh-border);
    border-radius: var(--sh-radius);
    padding: 40px;
    box-shadow: var(--sh-shadow);
}

/* ==========================================================
   08. TYPOGRAPHY
========================================================== */
.luxury-page-shell .entry-content {
    color: var(--sh-text);
    font-size: 1rem;
    line-height: 1.9;
}

.luxury-page-shell .entry-content p {
    margin: 0 auto 24px;
}

/* ==========================================================
   09. HEADINGS
========================================================== */
.luxury-page-shell .entry-content h1,
.luxury-page-shell .entry-content h2,
.luxury-page-shell .entry-content h3,
.luxury-page-shell .entry-content h4,
.luxury-page-shell .entry-content h5,
.luxury-page-shell .entry-content h6 {
    color: var(--sh-dark);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.25;
    font-weight: 400;
}

.luxury-page-shell .entry-content h1 {
    margin: 65px auto 25px;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: .03em;
    text-align: center;
}

.luxury-page-shell .entry-content h2 {
    margin: 65px auto 25px;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    letter-spacing: .04em;
    text-align: center;
}

.luxury-page-shell .entry-content h3 {
    margin: 25px auto 25px;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    line-height: 1.45;
    text-align: center;
}

.luxury-page-shell .entry-content h4,
.luxury-page-shell .entry-content h5,
.luxury-page-shell .entry-content h6 {
    margin: 35px auto 18px;
    font-size: 1.15rem;
}

/* ==========================================================
   10. STRONG / EMPHASIS
========================================================== */
.luxury-page-shell .entry-content strong {
    color: var(--sh-dark);
    font-weight: 600;
}

.luxury-page-shell .entry-content em {
    color: var(--sh-text);
}

/* ==========================================================
   11. LINKS
========================================================== */
.luxury-page-shell .entry-content a {
    color: var(--sh-gold);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color .25s ease, opacity .25s ease;
}

.luxury-page-shell .entry-content a:hover {
    color: var(--sh-dark);
    opacity: .9;
}

/* ==========================================================
   12. SEPARATORS
========================================================== */
.luxury-page-shell .entry-content hr,
.luxury-page-shell .entry-content .wp-block-separator {
    width: 100%;
    max-width: 150px;
    margin: 60px auto;
    border: 0;
    border-top: 1px solid rgba(184, 134, 59, .45);
    opacity: 1;
}

/* ==========================================================
   13. LISTS
========================================================== */
.luxury-page-shell .entry-content ul,
.luxury-page-shell .entry-content ol {
    max-width: var(--sh-content-width);
    margin: 30px auto;
    padding-left: 25px;
    color: var(--sh-text);
    line-height: 1.8;
}

.luxury-page-shell .entry-content li {
    margin-bottom: 10px;
}

/* ==========================================================
   14. IMAGES
========================================================== */
.luxury-page-shell .entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.luxury-page-shell .entry-content figure {
    margin: 40px auto;
}

/* ==========================================================
   15. IMAGE CAPTIONS
========================================================== */
.luxury-page-shell .entry-content figcaption {
    margin-top: 12px;
    color: var(--sh-text-light);
    font-size: .85rem;
    font-style: italic;
    text-align: center;
}

/* ==========================================================
   16. BLOCKQUOTES
========================================================== */
.luxury-page-shell .entry-content blockquote {
    max-width: 760px;
    margin: 50px auto;
    padding: 10px 30px;
    color: var(--sh-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.8;
    text-align: center;
    border-left: 0;
}

/* ==========================================================
   17. WORDPRESS BUTTONS
========================================================== */
.luxury-page-shell .wp-block-buttons {
    margin: 40px auto;
    justify-content: center;
}

.luxury-page-shell .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 32px;
    background: var(--sh-dark);
    color: #FFFFFF !important;
    border: 1px solid var(--sh-dark);
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .3s ease, border-color .3s ease, color .3s ease, transform .3s ease;
}

.luxury-page-shell .wp-block-button__link:hover {
    background: var(--sh-gold);
    border-color: var(--sh-gold);
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

/* ==========================================================
   18. CONTACT CARD
========================================================== */
.luxury-contact-card {
    background: var(--sh-white);
    border: 1px solid var(--sh-border);
    border-radius: var(--sh-radius);
    padding: 40px;
    box-shadow: var(--sh-shadow);
    display: grid;
    gap: 24px;
}

.luxury-contact-card .contact-info > div,
.luxury-contact-card address,
.luxury-contact-card a {
    color: var(--sh-text);
}

/* ==========================================================
   19. SEARCH PAGE
========================================================== */
.luxury-search-page .site-main article {
    background: transparent;
    margin: 0;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
}

/* ==========================================================
   20. ERROR PAGE
========================================================== */
.luxury-error-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 40px;
    background: var(--sh-white);
    border: 1px solid var(--sh-border);
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow);
    text-align: center;
}

.luxury-error-page h2 {
    margin-bottom: 20px;
    color: var(--sh-dark);
    font-family: Georgia, serif;
    font-size: 2.4rem;
}

.luxury-error-page p {
    max-width: 680px;
    margin: 0 auto 25px;
    color: var(--sh-text);
}

/* ==========================================================
   21. TABLES
========================================================== */
.luxury-page-shell .entry-content table {
    width: 100%;
    margin: 40px auto;
    border-collapse: collapse;
    background: transparent;
}

.luxury-page-shell .entry-content th,
.luxury-page-shell .entry-content td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--sh-border);
    text-align: left;
}

.luxury-page-shell .entry-content th {
    color: var(--sh-dark);
    font-weight: 600;
}

/* ==========================================================
   22. RESPONSIVE — TABLETS
========================================================== */
@media (max-width: 900px) {
    .luxury-page-shell {
        padding: 50px 24px 80px;
    }

    .luxury-page-shell .page-header {
        margin-bottom: 45px;
    }
}

/* ==========================================================
   23. RESPONSIVE — MOBILE
========================================================== */
@media (max-width: 768px) {
    .luxury-page-shell {
        padding: 40px 20px 70px;
    }

    .luxury-page-shell .page-header {
        margin-bottom: 35px;
    }

    .luxury-page-shell .page-header .page-title,
    .luxury-page-shell .entry-header .entry-title {
        font-size: 2.35rem;
        line-height: 1.15;
    }

    .luxury-page-shell .entry-content {
        font-size: .98rem;
        line-height: 1.8;
    }

    .luxury-page-shell .entry-content h1,
    .luxury-page-shell .entry-content h2 {
        margin-top: 50px;
    }

    .luxury-page-shell .entry-content h3 {
        margin-top: 22px;
    }

    .luxury-page-shell .entry-content hr,
    .luxury-page-shell .entry-content .wp-block-separator {
        margin: 45px auto;
    }

    .luxury-page-hero {
        padding: 56px 24px;
    }

    .luxury-editorial-block,
    .luxury-contact-card {
        padding: 24px;
    }

    .luxury-error-page {
        padding: 40px 24px;
    }
}

/* ==========================================================
   24. RESPONSIVE — SMALL PHONES
========================================================== */
@media (max-width: 480px) {
    .luxury-page-shell {
        padding: 30px 16px 55px;
    }

    .luxury-page-shell .page-header .page-title,
    .luxury-page-shell .entry-header .entry-title {
        font-size: 2rem;
    }

    .luxury-page-shell .entry-content h1 {
        font-size: 1.8rem;
    }

    .luxury-page-shell .entry-content h2 {
        font-size: 1.6rem;
    }

    .luxury-page-shell .entry-content h3 {
        font-size: 1.25rem;
    }

    .luxury-page-shell .entry-content blockquote {
        padding: 0 15px;
        font-size: 1.08rem;
    }

    .luxury-page-shell .wp-block-button__link {
        width: 100%;
        box-sizing: border-box;
    }

    .luxury-page-shell .wp-block-buttons {
        width: 100%;
    }
}

/* ==========================================================
   PRIVACY POLICY — PAGE ID 3
========================================================== */
.page-id-3 .page-header .page-title,
.page-id-3 .entry-header .entry-title {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.page-id-3 .entry-content {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    color: var(--sh-text);
    font-size: 1rem;
    line-height: 1.9;
}

.page-id-3 .entry-content h2 {
    margin-top: 55px;
    margin-bottom: 20px;
    color: var(--sh-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
}

.page-id-3 .entry-content h3 {
    margin-top: 38px;
    margin-bottom: 15px;
    color: var(--sh-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
}

.page-id-3 .entry-content > p:first-of-type {
    font-size: 1.08rem;
    color: #4F4C47;
    line-height: 1.9;
}

.page-id-3 .entry-content strong {
    color: var(--sh-dark);
    font-weight: 600;
}

.page-id-3 .entry-content a {
    color: var(--sh-gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(184, 134, 59, .35);
    transition: color .25s ease, border-color .25s ease;
}

.page-id-3 .entry-content a:hover {
    color: var(--sh-dark);
    border-color: var(--sh-dark);
}

.page-id-3 .entry-content ul,
.page-id-3 .entry-content ol {
    max-width: 800px;
    margin: 25px auto;
    padding-left: 25px;
}

.page-id-3 .entry-content li {
    margin-bottom: 10px;
}

.page-id-3 .entry-content hr,
.page-id-3 .entry-content .wp-block-separator {
    max-width: 100px;
    margin: 50px auto;
    border-top-color: rgba(184, 134, 59, .4);
}

.page-id-3 .entry-content p:last-child {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(28, 43, 36, .12);
}

@media (max-width: 768px) {
    .page-id-3 .entry-content {
        font-size: .97rem;
        line-height: 1.8;
    }

    .page-id-3 .entry-content h2 {
        margin-top: 45px;
        font-size: 1.5rem;
    }

    .page-id-3 .entry-content h3 {
        margin-top: 30px;
        font-size: 1.15rem;
    }

    .page-id-3 .entry-content > p:first-of-type {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-id-3 .entry-content {
        font-size: .94rem;
        line-height: 1.75;
    }

    .page-id-3 .entry-content h2 {
        font-size: 1.4rem;
    }
}

/* ==========================================================
   CONTACT PAGE — PAGE ID 64
========================================================== */
.page-id-64 .entry-content {
    max-width: 1100px;
    margin: 0 auto;
    color: var(--sh-text);
    font-size: 1rem;
    line-height: 1.85;
}

.page-id-64 .entry-content > h2:first-child {
    margin: 0 auto 25px;
    color: var(--sh-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: .03em;
    text-align: center;
}

.page-id-64 .entry-content > h2:first-child + p {
    max-width: 800px;
    margin: 0 auto 50px;
    color: #66615A;
    font-size: 1.05rem;
    line-height: 1.9;
    text-align: center;
}

.page-id-64 .entry-content h4 {
    margin: 55px 0 22px;
    color: var(--sh-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
}

.page-id-64 .entry-content h4 + ul {
    max-width: 850px;
    margin: 0 auto 45px;
    padding: 0;
    list-style: none;
    text-align: center;
}

.page-id-64 .entry-content h4 + ul li {
    margin: 0;
    padding: 12px 0;
    color: var(--sh-text);
    line-height: 1.7;
    border-bottom: 1px solid rgba(184, 134, 59, .18);
}

.page-id-64 .entry-content h4 + ul li:last-child {
    border-bottom: none;
}

.page-id-64 .entry-content h4 + ul a {
    color: var(--sh-gold);
    text-decoration: none;
    font-weight: 600;
}

.page-id-64 .entry-content h4 + ul a:hover {
    color: var(--sh-dark);
}

.page-id-64 .entry-content > p strong {
    color: var(--sh-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
    font-weight: 400;
    letter-spacing: .04em;
}

/* ==========================================================
   CONTACT FORM 7
========================================================== */
.page-id-64 .wpcf7 {
    width: 100%;
    max-width: 950px;
    margin: 35px auto 0;
    padding: 0;
}

/* Form labels */
.page-id-64 .wpcf7 form label {
    display: block;
    margin-bottom: 20px;
    color: var(--sh-dark);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Inputs */
.page-id-64 .wpcf7 input[type="text"],
.page-id-64 .wpcf7 input[type="email"],
.page-id-64 .wpcf7 input[type="tel"],
.page-id-64 .wpcf7 input[type="date"],
.page-id-64 .wpcf7 input[type="number"],
.page-id-64 .wpcf7 select,
.page-id-64 .wpcf7 textarea {
    box-sizing: border-box;
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 15px 17px;
    border: 1px solid #DED7CA;
    border-radius: 8px;
    outline: none;
    background: var(--sh-white);
    color: var(--sh-dark);
    font-family: inherit;
    font-size: .95rem;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.page-id-64 .wpcf7 textarea {
    min-height: 170px;
    resize: vertical;
    line-height: 1.7;
}

.page-id-64 .wpcf7 input:focus,
.page-id-64 .wpcf7 select:focus,
.page-id-64 .wpcf7 textarea:focus {
    border-color: var(--sh-gold);
    background: #FFFDF9;
    box-shadow: 0 0 0 3px rgba(184, 134, 59, .10);
}

.page-id-64 .wpcf7 input::placeholder,
.page-id-64 .wpcf7 textarea::placeholder {
    color: #A29D95;
}

/* Checkboxes */
.page-id-64 .wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.page-id-64 .wpcf7-checkbox .wpcf7-list-item {
    margin: 0;
}

.page-id-64 .wpcf7-checkbox .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 11px 15px;
    border: 1px solid #DED7CA;
    border-radius: 8px;
    background: var(--sh-white);
    color: var(--sh-text);
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: normal;
    text-transform: none;
    cursor: pointer;
    transition: border-color .25s ease, background-color .25s ease, color .25s ease;
}

.page-id-64 .wpcf7-checkbox .wpcf7-list-item label:hover {
    border-color: var(--sh-gold);
    background: #FFFDF9;
    color: var(--sh-dark);
}

.page-id-64 .wpcf7-checkbox input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--sh-gold);
}

/* Submit button */
.page-id-64 .wpcf7 input[type="submit"] {
    display: block;
    width: auto;
    min-width: 250px;
    margin: 35px auto 0;
    padding: 17px 36px;
    border: none;
    border-radius: 999px;
    background: var(--sh-gold);
    color: var(--sh-white);
    font-family: inherit;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(184, 134, 59, .20);
    transition: background-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.page-id-64 .wpcf7 input[type="submit"]:hover {
    background: var(--sh-dark);
    color: var(--sh-white);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(28, 43, 36, .18);
}

.page-id-64 .wpcf7 input[type="submit"]:active {
    transform: translateY(0);
}

/* Validation */
.page-id-64 .wpcf7-not-valid {
    border-color: #B84B3B !important;
}

.page-id-64 .wpcf7-not-valid-tip {
    margin-top: 5px;
    color: #A94335;
    font-size: .75rem;
    letter-spacing: normal;
    text-transform: none;
}

.page-id-64 .wpcf7-response-output {
    margin: 25px 0 0 !important;
    padding: 14px 18px !important;
    border-radius: 8px;
    text-align: center;
}

/* ==========================================================
   CONTACT FORM — DESKTOP GRID
========================================================== */
@media (min-width: 769px) {
    .page-id-64 .wpcf7 form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 28px;
        row-gap: 0;
    }

    /* Full-width elements */
    .page-id-64 .wpcf7 form > .wpcf7-checkbox,
    .page-id-64 .wpcf7 form > p,
    .page-id-64 .wpcf7 form > input[type="submit"],
    .page-id-64 .wpcf7 form .sh-full-width {
        grid-column: 1 / -1;
    }
}

/* ==========================================================
   CONTACT PAGE — RESPONSIVE
========================================================== */
@media (max-width: 900px) {
    .page-id-64 .entry-content {
        max-width: 92%;
    }
}

@media (max-width: 768px) {
    .page-id-64 .entry-content {
        max-width: 100%;
        font-size: .95rem;
    }

    .page-id-64 .entry-content > h2:first-child {
        font-size: 2rem;
        line-height: 1.2;
    }

    .page-id-64 .entry-content > h2:first-child + p {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 35px;
    }

    .page-id-64 .entry-content h4 {
        font-size: 1.45rem;
        margin-top: 40px;
    }

    .page-id-64 .wpcf7 {
        max-width: 100%;
        margin-top: 25px;
    }

    .page-id-64 .wpcf7-checkbox {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .page-id-64 .wpcf7-checkbox .wpcf7-list-item label {
        width: 100%;
        box-sizing: border-box;
    }

    .page-id-64 .wpcf7 input[type="submit"] {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .page-id-64 .entry-content {
        font-size: .92rem;
    }

    .page-id-64 .entry-content > h2:first-child {
        font-size: 1.7rem;
    }

    .page-id-64 .entry-content h4 {
        font-size: 1.3rem;
    }

    .page-id-64 .wpcf7 form label {
        font-size: .74rem;
    }

    .page-id-64 .wpcf7 input[type="text"],
    .page-id-64 .wpcf7 input[type="email"],
    .page-id-64 .wpcf7 input[type="tel"],
    .page-id-64 .wpcf7 input[type="date"],
    .page-id-64 .wpcf7 input[type="number"],
    .page-id-64 .wpcf7 select,
    .page-id-64 .wpcf7 textarea {
        padding: 13px 14px;
        font-size: .92rem;
    }
}