/*
Theme Name: White Oak Divi Child
Template: Divi
Version: 1.0.0
*/

/* =========================
   GLOBAL / BASE
========================= */

.et_pb_menu,
.et_pb_menu .et-menu,
.et_pb_module {
    margin-bottom: 0 !important;
}

body {
    color: #2f2f2f;
}

body,
p,
.et_pb_text,
.et_pb_text p,
li {
    font-family: "Inter", sans-serif !important;
    font-size: 18px;
    line-height: 1.7;
    color: #5f5a54;
    font-weight: 400;
}

strong {
    font-weight: 600;
    color: #2b2a28;
}

h1,
.et_pb_text h1,
.event-info h2 {
    font-family: "Inter", sans-serif !important;
    font-size: 52px;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #2b2a28;
    margin-bottom: 18px;
}

h2,
.et_pb_text h2,
.event-form-wrap h2,
.menu-block h2 {
    font-family: "Inter", sans-serif !important;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: #2b2a28;
    margin-bottom: 16px;
}

h3,
.et_pb_text h3 {
    font-family: "Inter", sans-serif !important;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2d4a3a;
    margin-bottom: 12px;
}

ul,
ol,
li {
    font-size: 17px;
    line-height: 1.65;
}

/* =========================
   LINKS
========================= */

a {
    color: #2f5a46;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: #1f3428;
    opacity: 0.85;
}

/* Content link underline treatment only */
.et_pb_text a,
.et_pb_blurb a,
.event-info a,
.visit-card a,
.event-form-wrap a:not(.et_pb_contact_submit),
.menu-block a,
p a,
li a {
    position: relative;
    text-decoration: none;
}

.et_pb_text a:after,
.et_pb_blurb a:after,
.event-info a:after,
.visit-card a:after,
.event-form-wrap a:not(.et_pb_contact_submit):after,
.menu-block a:after,
p a:after,
li a:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.25s ease;
}

.et_pb_text a:hover:after,
.et_pb_blurb a:hover:after,
.event-info a:hover:after,
.visit-card a:hover:after,
.event-form-wrap a:not(.et_pb_contact_submit):hover:after,
.menu-block a:hover:after,
p a:hover:after,
li a:hover:after {
    width: 100%;
}

/* No underline animation on these */
.et_pb_menu a:after,
.et_mobile_menu a:after,
.et_pb_social_media_follow a:after,
.call-link a:after,
.event-cta:after,
.et_pb_contact_submit:after,
.et-pb-arrow-next:after,
.et-pb-arrow-prev:after {
    display: none !important;
}

/* =========================
   SOCIAL ICONS
========================= */

.et_pb_social_media_follow a {
    position: static !important;
}

.et_pb_social_media_follow li a.icon {
    width: 42px !important;
    height: 42px !important;
    line-height: 42px !important;
}

.et_pb_social_media_follow li {
    margin-right: 8px !important;
}

.et_pb_social_media_follow li:last-child {
    margin-right: 0 !important;
}

/* =========================
   HEADER / MAIN MENU
========================= */

.et_pb_section_1_tb_header.et_pb_section {
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.et_pb_menu .et-menu > li {
    padding-left: 8px;
    padding-right: 8px;
}

.et_pb_menu .et-menu > li > a,
.call-link a {
    font-family: "Inter", sans-serif !important;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
    color: #1f1f1f !important;
}

.call-link a {
    letter-spacing: 0.10em;
    text-decoration: none;
}

.et_pb_menu .et-menu > li > a {
    padding: 10px 18px !important;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: left 100%;
    background-size: 0% 1px;
    transition: background-size 0.25s ease, opacity 0.2s ease;
    padding-bottom: 4px;
}

.et_pb_menu .et-menu > li > a:hover {
    background-size: 100% 1px;
    opacity: 0.7;
}

/* Desktop dropdown */
.et_pb_menu .sub-menu {
    border-top: none !important;
    padding: 12px 0 !important;
    border-radius: 10px;
}

.et_pb_menu .sub-menu li a {
    font-size: 16px !important;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 12px 20px !important;
    line-height: 1.3;
}

/* Dropdown arrow */
.et_pb_menu .et-menu li.menu-item-has-children > a:after {
    content: "\33";
    font-size: 14px;
    margin-left: 8px;
    position: relative;
    top: -1px;
    width: auto;
    height: auto;
    background: none;
}

/* =========================
   CALL LINK
========================= */

.call-link {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.call-link a:hover {
    opacity: 0.7;
}

/* =========================
   MOBILE MENU / HAMBURGER
========================= */

.et_mobile_menu,
.et_mobile_nav_menu .menu {
    max-height: 80vh;
    overflow-y: auto;
}

.et_mobile_menu {
    width: 84vw;
    left: 50%;
    transform: translateX(-50%);
    border-top: none !important;
    padding: 10px 0 !important;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.mobile_menu_bar:before {
    font-size: 42px !important;
    line-height: 1.2;
    color: #111 !important;
}

.et_mobile_menu li {
    border-bottom: 1px solid #eee;
}

.et_mobile_menu li:last-child {
    border-bottom: none;
}

.et_mobile_menu li a {
    font-size: 17px !important;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.35;
    padding: 16px 24px !important;
    color: #111 !important;
}

.et_mobile_menu li:not(.menu-item-has-children) > a {
    background: #ffffff;
    border-bottom: none !important;
}

.et_mobile_menu .menu-item-has-children > a,
.et_mobile_menu .menu-item-has-children.current-menu-item > a,
.et_mobile_menu .menu-item-has-children.current_page_item > a {
    background: transparent !important;
    font-weight: 600;
}

/* Primary menu items */
.et_mobile_menu li.menu-primary > a {
    background: rgba(46,93,70,0.06) !important;
    color: #2e5d46 !important;
    font-weight: 600;
    text-align: center;
    display: block;
}

.et_mobile_menu li.menu-primary > a:active {
    background: #e7f0ec;
}

.et_mobile_menu li.menu-item-has-children li.order-here > a {
    background: #2e5d46;
    color: #fff !important;
    border-radius: 8px;
    margin: 5px;
    padding: 14px 16px !important;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

/* =========================
   SLIDER / GALLERY
========================= */

.event-slider,
.event-slider .et_pb_slider,
.event-slider .et_pb_slides,
.event-slider .et_pb_slide {
    height: 100%;
    min-height: 100%;
}

.event-slider .et_pb_slide_image,
.event-slider .et_pb_slide_description {
    height: 100%;
}

.et-pb-arrow-next,
.et-pb-arrow-prev {
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    color: #ffffff !important;
}

/* =========================
   EVENT INFO BLOCK
========================= */

.event-info {
    padding: 50px;
    border-radius: 14px;
    max-width: 520px;
}

.event-info > *:last-child {
    margin-bottom: 0;
}

.event-info h2 {
    font-size: 48px;
    line-height: 1.05;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.event-info p {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.event-info ul {
    margin: 0 0 26px 20px;
    padding-left: 0;
}

.event-info li {
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.5;
}

/* CTA button */
.event-cta {
    display: inline-block;
    background: #2d4a3a;
    color: #fff !important;
    padding: 14px 24px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.event-cta:hover {
    background: #1f3428;
    color: #fff !important;
    opacity: 1;
}

/* =========================
   MENU BLOCKS
========================= */

.menu-block {
    padding: 20px 20px;
    background: #f7f3ec;
}

.menu-block:nth-child(even) {
    background: #f5f0e8;
}

.menu-block h2 {
    text-align: center;
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 10px;
    margin-top: 26px;
}

.menu-block img {
    filter: contrast(1.02) saturate(1.03);
    width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-block img:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(0,0,0,0.12);
}

/* =========================
   EVENTS SECTION
========================= */

.events-section {
    background: linear-gradient(to bottom, #f7f3ec 0%, #f2ede6 100%);
    padding: 80px 0 70px;
}

.events-section .et_pb_row {
    max-width: 1120px;
}

.events-section .et_pb_column {
    margin-bottom: 24px;
}

.events-header {
    text-align: center;
    margin-bottom: 34px;
}

.events-header h2 {
    font-size: 34px;
    line-height: 1.15;
    color: #1f1f1f;
    margin-bottom: 10px;
}

.events-header p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    max-width: 640px;
    margin: 0 auto;
}

.events-header:after {
    content: "";
    display: block;
    width: 70px;
    height: 2px;
    background: #2e5d46;
    margin: 16px auto 0;
    border-radius: 2px;
}

/* Event tile card */
.event-tile {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
 }

.event-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

.event-tile .et_pb_module {
    margin-bottom: 0 !important;
}

.event-tile .et_pb_image {
    height: 260px;
    overflow: hidden;
    margin-bottom: 0 !important;
    line-height: 0;
    margin: 0px auto;
    padding; 10px;
    
}

.event-tile .et_pb_image .et_pb_image_wrap {
    display: block;
    width: 100%;
    height: 100%;
}

.event-tile .et_pb_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    padding:5px;
}

.trivia-tile .et_pb_image img {
    transform: scale(1.12);
    transform-origin: center top;
}

.event-tile .et_pb_text {
    padding: 16px 18px 18px;
    flex-grow: 1;
}

.event-tile h3 {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 6px;
    color: #1f1f1f;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.event-tile .event-date {
    display: block;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2e5d46;
    margin-bottom: 10px;
    font-weight: 600;
}

.event-tile p {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

/* =========================
   SPECIALS SECTION
========================= */

.specials-section {
    background: #ffffff;
    padding: 70px 0;
}

.specials-section .et_pb_row {
    max-width: 1120px;
}

.specials-section .et_pb_column {
    margin-bottom: 20px;
}

/* Make specials feel lighter / more visual than events */
.specials-section .event-tile {
    background: transparent;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
}

.specials-section .event-tile:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.specials-section .event-tile .et_pb_image {
    height: auto;
    overflow: visible;
}

.specials-section .event-tile .et_pb_image .et_pb_image_wrap {
    height: auto;
}

.specials-section .event-tile .et_pb_image img {
    width: 100%;
    height: auto;
    object-fit: initial;
    border-radius: 12px;
}

.specials-section .event-tile .et_pb_text {
    padding: 12px 4px 0;
}

.specials-section .event-tile h3 {
    font-size: 16px;
    line-height: 1.35;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.specials-section .event-tile p {
    font-size: 13px;
    line-height: 1.5;
    color: #777;
}

/* =========================
   GALLERY 3-COLUMN
========================= */

.three-col-gallery .et_pb_gallery_item {
    width: 31.33% !important;
    margin-right: 3% !important;
    clear: none !important;
}

.three-col-gallery .et_pb_gallery_item:nth-child(3n) {
    margin-right: 0 !important;
}

.three-col-gallery .et_pb_gallery_item:nth-child(3n+1) {
    clear: both !important;
}

.three-col-gallery .et_overlay {
    display: none !important;
}

.three-col-gallery .et_pb_gallery_image {
    border: none !important;
    box-shadow: none !important;
}

.three-col-gallery .et_pb_gallery_image img {
    transition: transform 0.3s ease;
}

.three-col-gallery .et_pb_gallery_item:hover img {
    transform: scale(1.03);
}

@media (max-width: 980px) {
    .three-col-gallery .et_pb_gallery_item {
        width: 48% !important;
        margin-right: 4% !important;
    }

    .three-col-gallery .et_pb_gallery_item:nth-child(2n) {
        margin-right: 0 !important;
    }

    .three-col-gallery .et_pb_gallery_item:nth-child(2n+1) {
        clear: both !important;
    }
}

@media (max-width: 767px) {
    .three-col-gallery .et_pb_gallery_item {
        width: 100% !important;
        margin-right: 0 !important;
    }
}

/* =========================
   EVENT FORM SECTION
========================= */

.event-form-wrap {
    background: #f6f1e8;
      
}

.event-form-wrap .et_pb_row {
    background: #fffdf9;
    padding: 50px 15px;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
    margin-bottom:100px;
    
    position: relative;
    z-index: 3;
}

.event-form-wrap h2 {
    font-size: 36px;
    line-height: 1.15;
    margin-bottom: 12px;
    text-align: center;
}

.event-form-wrap .form-intro {
    max-width: 680px;
    margin: 0 auto 32px;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    color: #5a5a5a;
}

/* =========================
   DIVI CONTACT FORM
========================= */

.et_pb_contact {
    padding-top: 10px;
}

.et_pb_contact_form {
    max-width: 900px;
    margin: 0 auto;
}

.et_pb_contact .input,
.et_pb_contact textarea {
    margin-bottom: 0 !important;
}

.et_pb_contact p {
    margin-bottom: 22px !important;
}

.et_pb_contact_form input,
.et_pb_contact_form textarea,
.et_pb_contact_form select {
    background: #f7f4ef !important;
    border: 1px solid #d8d2c8 !important;
    border-radius: 10px !important;
    padding: 16px 18px !important;
    font-size: 17px !important;
    line-height: 1.4;
    color: #2f2f2f !important;
    transition: all 0.2s ease;
    box-shadow: none !important;
}

.et_pb_contact_form input::placeholder,
.et_pb_contact_form textarea::placeholder {
    color: #8a847a !important;
    opacity: 1;
}

.et_pb_contact_form input:focus,
.et_pb_contact_form textarea:focus,
.et_pb_contact_form select:focus {
    background: #ffffff !important;
    border-color: #2d4a3a !important;
    box-shadow: 0 0 0 2px rgba(45, 74, 58, 0.08) !important;
    outline: none !important;
}

.et_pb_contact_form textarea {
    min-height: 200px;
    resize: vertical;
}

.et_pb_contact_form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #4c4a45;
}

.et_pb_contact_captcha_question {
    font-size: 20px;
    font-weight: 600;
    color: #4c4a45;
    margin-right: 12px;
}

.et_pb_contact_right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.et_pb_contact_right input {
    max-width: 90px;
    text-align: center;
}

/* Divi math captcha input */
.et_pb_contact .et_pb_contact_captcha,
.et_pb_contact_form .et_pb_contact_captcha,
input.et_pb_contact_captcha {
    width: 90px !important;
    min-width: 75px !important;
    max-width: 75px !important;
    height: 75px !important;
    font-size: 21px !important;
    line-height: 1 !important;
    text-align: center !important;
    padding: 12px 10px !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
}

.et_pb_contact_submit {
    background: #2d4a3a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 15px 28px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

.et_pb_contact_submit:hover {
    background: #1f3428 !important;
    color: #ffffff !important;
    opacity: 1 !important;
    transform: translateY(-1px);
}

.et-pb-contact-message {
    font-size: 15px;
    line-height: 1.6;
    padding: 14px 18px;
    border-radius: 8px;
}

/* Success message wrapper */
div#et_pb_contact_form_0 .et-pb-contact-message,
div#et_pb_contact_form_0 .et_pb_contact_message {
    text-align: center;
    padding-top: 30px;
}

div#et_pb_contact_form_0 .et-pb-contact-message {
    padding-top: 50px;
}

.et-pb-contact-message p {
    font-size: 25px;
    color: #2e5d46;
    background: #f3f7f4;
    padding: 0 30px;
    border-radius: 10px;
    display: inline-block;
    margin: 0 auto;
    list-style: none !important;
}

div#et_pb_contact_form_0 .et_pb_contact_message ul {
    list-style: none !important;
    margin: 18px 0 0 0 !important;
    padding: 0 !important;
}

div#et_pb_contact_form_0 ul li {
    list-style: none !important;
    font-weight: bold;
    background: #A35A4A;
    max-width: 400px;
    line-height: 2.5em;
    margin: 10px auto;
    border-radius: 10px;
    color: white;
}

textarea#et_pb_contact_message_0 {
    text-align: left !important;
}

/* =========================
   VISIT CARD / FOOTER BLOCK
========================= */

.visit-card {
    background: #f6f1e8;
    border-top: 1px solid rgba(0,0,0,0.04);
    margin-top: -70px;
    padding: 80px 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.06);
}

.visit-card h3 {
    font-size: 38px;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.005em;
}

.visit-card p,
.visit-card li {
    font-size: 17px;
    line-height: 1.65;
    color: #4f4f4f;
}

.visit-card .phone-link {
    font-size: 24px;
    font-weight: 600;
    text-decoration: none;
}

.visit-card .primary-link {
    display: inline-block;
    font-weight: 600;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 980px) {
    h1,
    .event-info h2 {
        font-size: 42px;
    }

    h2,
    .event-form-wrap h2,
    .menu-block h2 {
        font-size: 30px;
    }

    body,
    p {
        font-size: 17px;
    }

    .et_pb_social_media_follow {
        transform: scale(0.9);
        transform-origin: left center;
    }

    .et_pb_menu .et-menu > li > a {
        font-size: 16px;
        padding: 8px 12px !important;
    }

    .call-link a {
        font-size: 18px;
    }

    .event-info {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    h1,
    .event-info h2 {
        font-size: 34px;
        line-height: 1.1;
    }

    h2,
    .event-form-wrap h2,
    .menu-block h2 {
        font-size: 26px;
    }

    body,
    p,
    li {
        font-size: 16px;
        line-height: 1.65;
    }

    .et_pb_social_media_follow li a.icon {
        width: 38px !important;
        height: 38px !important;
        line-height: 38px !important;
    }

    .call-link a {
        font-size: 17px;
        letter-spacing: 0.05em;
    }

    .mobile_menu_bar:before {
        font-size: 40px !important;
    }

    .event-cta {
        display: block;
        width: 100%;
        text-align: center;
    }

    .event-info {
        padding: 34px 24px;
    }

    .menu-block {
        padding: 50px 20px;
    }

    .menu-block img:hover {
        transform: none;
        box-shadow: 0 14px 30px rgba(0,0,0,0.08);
    }

    .event-form-wrap {
        padding: 65px 20px 110px;
    }

    .event-form-wrap .et_pb_row {
        margin: 0 auto;
    }

    .et_pb_contact_form {
        max-width: 100%;
    }

    .et_pb_contact_form input,
    .et_pb_contact_form textarea,
    .et_pb_contact_form select {
        font-size: 16px !important;
        padding: 15px 16px !important;
    }

    .et_pb_contact_submit {
        width: 100%;
        text-align: center;
    }

    .et_pb_contact_right {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .visit-card {
        margin-top: -30px;
        padding: 60px 0;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
    }
}