
/* ========================================
   ERIK THERWANGER WEBSITE STYLING
   ======================================== */

/* Hide page titles */
.entry-title {
    display: none;
}

/* Main website background */
body,
.site,
.site-content {
    background-color: #FFFFFF;
    color: #252525;
}

/* Body typography */
body,
p,
li,
input,
textarea,
select {
    font-family: "Open Sans", Arial, sans-serif;
}

/* Main content text */
.entry-content,
.entry-content p,
.entry-content li {
    color: #252525;
    font-size: 17px;
    line-height: 1.7;
}

/* Heading typography */
h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 700;
    color: #202124;
    line-height: 1.3;
}

/* Content hyperlinks */
.entry-content a {
    color: #951A25;
}

.entry-content a:hover {
    color: #70121C;
}

/* Buttons */
.wp-block-button__link,
.wp-block-file__button,
button,
input[type="submit"] {
    background-color: #951A25 !important;
    color: #FFFFFF !important;
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

/* Button hover */
.wp-block-button__link:hover,
.wp-block-file__button:hover,
button:hover,
input[type="submit"]:hover {
    background-color: #70121C !important;
    color: #FFFFFF !important;
}

/* Secondary content backgrounds */
.entry-content .has-light-gray-background-color {
    background-color: #F4F4F4;
}

/* Paragraph spacing */
.entry-content p {
    margin-bottom: 20px;
}

/* Responsive embedded content */
.entry-content iframe {
    max-width: 100%;
}


/* ========================================
   DESKTOP NAVIGATION MENU
   ======================================== */

@media screen and (min-width: 1024px) {

    /* Center navigation on a single line */
    .main-navigation ul.menu,
    .main-navigation ul.nav-menu,
    .main-navigation > div > ul {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0;
    }

    /* Reduce spacing between top-level tabs */
    .main-navigation ul.menu > li,
    .main-navigation ul.nav-menu > li,
    .main-navigation > div > ul > li {
        margin: 0 !important;
        flex-shrink: 0;
    }

    /* Navigation typography and spacing */
    .main-navigation ul.menu > li > a,
    .main-navigation ul.nav-menu > li > a,
    .main-navigation > div > ul > li > a {
        font-size: 14px !important;
        letter-spacing: 0.5px;
        padding: 18px 16px !important;
        white-space: nowrap;
    }
}

/* Smaller desktop and laptop screens */
@media screen and (min-width: 1024px)
and (max-width: 1250px) {

    .main-navigation ul.menu > li > a,
    .main-navigation ul.nav-menu > li > a,
    .main-navigation > div > ul > li > a {
        font-size: 13px !important;
        padding: 16px 10px !important;
        letter-spacing: 0.3px;
    }
}


/* ========================================
   LEADERSHIP LINK LANDING PAGE
   ======================================== */

/* Main content container */
.leadership-link-content {
    max-width: 1100px;
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 32px 0 48px;
    box-sizing: border-box;
    text-align: center;
}

/* Standard section headings */
.leadership-link-content h2,
.leadership-link-content h3 {
    font-size: 32px !important;
    line-height: 1.25;
    font-weight: 700;
    color: #951A25 !important;
    margin: 48px auto 24px !important;
}

/* Main headline */
.leadership-link-content h1,
.leadership-link-content h2:first-of-type {
    font-size: 42px !important;
    line-height: 1.2;
    font-weight: 700;
    color: #951A25 !important;
    margin: 24px auto 16px !important;
}

/* Body paragraphs */
.leadership-link-content p {
    font-size: 18px !important;
    line-height: 1.6;
    max-width: 1000px;
    margin: 0 auto 16px !important;
}

/* Program subtitle */
.leadership-link-content .leadership-subtitle {
    font-size: 20px !important;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 auto 20px !important;
}

/* Banner and image alignment */
.leadership-link-content .wp-block-image {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 24px !important;
}

.leadership-link-content .wp-block-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Video and brochure containers */
.leadership-link-content .wp-block-embed,
.leadership-link-content .wp-block-html {
    width: 100%;
    max-width: 100%;
    margin: 24px auto !important;
}

/* Embedded content alignment */
.leadership-link-content iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* Button containers */
.leadership-link-content .wp-block-buttons {
    display: flex;
    justify-content: center;
    margin: 24px auto 0 !important;
}

/* Standard button width */
.leadership-link-content .wp-block-button {
    width: 100%;
    max-width: 480px;
}

/* Consistent button styling */
.leadership-link-content .wp-block-button__link,
.leadership-link-content .wp-block-file__button {
    display: inline-block;
    width: 100%;
    max-width: 480px;
    min-height: 48px;
    box-sizing: border-box;
    padding: 15px 24px !important;
    font-size: 16px !important;
    line-height: 1.4;
    text-align: center;
    border-radius: 8px;
    white-space: normal;
    margin-left: 0 !important;
}

/* PDF download spacing */
.leadership-link-content .wp-block-file {
    margin: 24px auto 0 !important;
    text-align: center;
}

/* Standardize existing spacer blocks */
.leadership-link-content .wp-block-spacer {
    height: 24px !important;
}


/* ========================================
   GENERAL MOBILE WEBSITE STYLING
   ======================================== */

@media screen and (max-width: 768px) {

    .entry-content p,
    .entry-content li {
        font-size: 16px;
        line-height: 1.6;
    }

    .wp-block-button__link {
        padding: 14px 20px;
        font-size: 15px;
        white-space: normal;
    }
}


/* ========================================
   LEADERSHIP LINK MOBILE STYLING
   ======================================== */

@media screen and (max-width: 768px) {

    /* Page container */
    .leadership-link-content {
        padding: 20px 0 32px;
    }

    /* Section headings */
    .leadership-link-content h2,
    .leadership-link-content h3 {
        font-size: 24px !important;
        line-height: 1.3;
        margin: 36px auto 20px !important;
    }

    /* Main headline */
    .leadership-link-content h1,
    .leadership-link-content h2:first-of-type {
        font-size: 28px !important;
        margin: 20px auto 16px !important;
    }

    /* Body paragraphs */
    .leadership-link-content p {
        font-size: 16px !important;
        line-height: 1.6;
        margin: 0 auto 16px !important;
    }

    /* Program subtitle */
    .leadership-link-content .leadership-subtitle {
        font-size: 17px !important;
        line-height: 1.4;
        margin-bottom: 20px !important;
    }

    /* Mobile buttons */
    .leadership-link-content .wp-block-button__link,
    .leadership-link-content .wp-block-file__button {
        font-size: 14px !important;
        padding: 14px 16px !important;
    }

    /* Mobile media spacing */
    .leadership-link-content .wp-block-embed,
    .leadership-link-content .wp-block-html {
        margin: 20px auto !important;
    }

    /* Mobile spacer blocks */
    .leadership-link-content .wp-block-spacer {
        height: 16px !important;
    }
}
