
/* Center the logo and tagline */
#masthead .site-branding-container {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

#masthead .site-branding {
    flex-direction: column !important;
    align-items: center !important;
}

/* Override the theme's 60px logo height limit */
#masthead .custom-logo-link .custom-logo {
    max-height: 140px !important;
    height: auto !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain !important;
}

/* Center and size the tagline */
#masthead .site-description {
    text-align: center !important;
    font-size: 22px !important;
}

/* Hide the duplicate site title */
#masthead .site-title {
    display: none !important;
}

/* Hide the automatic Home heading on homepage */
.home .entry-header .entry-title {
    display: none !important;
}

/* NEW HOMEPAGE REDESIGN - PAGE 2749 ONLY */

.page-id-2749 .entry-header {
    display: none !important;
}

.page-id-2749 #masthead {
    display: none !important;
}

.page-id-2749 .site-content,
.page-id-2749 .content-area,
.page-id-2749 .site-main,
.page-id-2749 article,
.page-id-2749 .entry-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.page-id-2749 .entry-content > #smn-home {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

/* HOMEPAGE REDESIGN - SERVICE CARDS */

.page-id-2749 #smn-services div[style*="display:grid"] {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

/* Tablet layout */
@media (max-width: 900px) {
    .page-id-2749 #smn-services div[style*="display:grid"] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Mobile layout */
@media (max-width: 600px) {
    .page-id-2749 #smn-services div[style*="display:grid"] {
        grid-template-columns: 1fr !important;
    }
}

/* Align award photograph and caption */

.page-id-2749 #smn-home img[alt*="holding"] {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    max-width: 380px !important;
    margin: 0 auto !important;
}

.page-id-2749 #smn-home img[alt*="holding"] + div {
    max-width: 380px !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
}
/* PROFESSIONAL SERVICE ICONS */

.page-id-2749 #smn-services div[style*="display:grid"] > div > span {
    display: block !important;
    width: 36px;
    height: 36px;
    font-size: 0 !important;
    background-color: #a77930;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

/* Vehicle Titles */
.page-id-2749 #smn-services div[style*="display:grid"] > div:nth-child(1) > span {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17v-5l3-6h12l3 6v5H3zM3 12h18M5 17v3M19 17v3M6 15h2M16 15h2'/%3E%3C/svg%3E");
}

/* Power of Attorney */
.page-id-2749 #smn-services div[style*="display:grid"] > div:nth-child(2) > span {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 3H5v18h14v-8M13 3v6h6l-6-6M8 12h6M8 16h3M13 19l8-8M13 19l1-4'/%3E%3C/svg%3E");
}

/* Hospital and Nursing Home */
.page-id-2749 #smn-services div[style*="display:grid"] > div:nth-child(3) > span {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 22V3h16v19H4zM9 9h6M12 6v6M9 22v-6h6v6'/%3E%3C/svg%3E");
}

/* Wedding Officiant */
.page-id-2749 #smn-services div[style*="display:grid"] > div:nth-child(4) > span {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='8' cy='14' r='5'/%3E%3Ccircle cx='16' cy='14' r='5'/%3E%3Cpath d='M12 2v3M5 4l2 2M19 4l-2 2'/%3E%3C/svg%3E");
}

/* Business and Employment */
.page-id-2749 #smn-services div[style*="display:grid"] > div:nth-child(5) > span {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M8 7V3h8v4M2 13h20M10 12v4h4v-4'/%3E%3C/svg%3E");
}

/* Other Documents */
.page-id-2749 #smn-services div[style*="display:grid"] > div:nth-child(6) > span {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='2' width='14' height='17' rx='1'/%3E%3Cpath d='M17 6h4v16H7v-3M6 7h8M6 11h8M6 15h5'/%3E%3C/svg%3E");
}

/* Hide original footer on Homepage Redesign only */
.page-id-2749 #colophon,
.page-id-2749 .site-footer {
    display: none !important;
}

/* Homepage Redesign - Mobile Improvements */
@media screen and (max-width: 600px) {

    #smn-home > div:first-child > div {
        justify-content: center !important;
        padding: 15px !important;
        gap: 12px !important;
    }

    #smn-home > div:first-child img {
        width: 100px !important;
    }

    #smn-home > div:first-child > div > div {
        justify-content: center !important;
        gap: 12px !important;
        font-size: 13px !important;
    }

    #smn-home > div:nth-child(2) > div {
        padding: 30px 20px !important;
        gap: 24px !important;
    }

    #smn-home h1 {
        font-size: 38px !important;
    }

    #smn-home > div:nth-child(3) > div {
        gap: 14px !important;
        padding: 20px !important;
    }

    #smn-home > div:nth-child(3) strong {
        font-size: 26px !important;
    }

    #smn-home > div:nth-child(n+4) {
        padding-top: 35px !important;
        padding-bottom: 35px !important;
    }

    #smn-home #smn-why > div {
        gap: 20px !important;
    }
}

/* HOMEPAGE REDESIGN - CONTACT FORM STYLING */

.page-id-2749 #smn-contact {
    font-family: Arial, sans-serif !important;
    line-height: 1.5 !important;
}

.page-id-2749 #smn-contact h2 {
    font-family: Georgia, serif !important;
    font-weight: normal !important;
    color: #142738 !important;
}

.page-id-2749 #smn-contact p {
    font-size: 17px !important;
    line-height: 1.6 !important;
}

.page-id-2749 #smn-contact label {
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    color: #142738 !important;
}

.page-id-2749 #smn-contact input,
.page-id-2749 #smn-contact textarea,
.page-id-2749 #smn-contact select {
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    border-radius: 4px !important;
}

.page-id-2749 #smn-contact textarea {
    min-height: 120px !important;
}

.page-id-2749 #smn-contact .grunion-field-wrap {
    margin-bottom: 18px !important;
}

.page-id-2749 #smn-contact button[type="submit"],
.page-id-2749 #smn-contact input[type="submit"] {
    background: #e3bf7b !important;
    color: #142738 !important;
    font-family: Arial, sans-serif !important;
    font-size: 17px !important;
    font-weight: bold !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 14px 24px !important;
}

.page-id-2749 #smn-contact a {
    color: #142738 !important;
}

@media (max-width: 600px) {
    .page-id-2749 #smn-contact {
        padding: 35px 20px !important;
    }
}
/* OHIO FORMS & RESOURCES REDESIGN - PAGE 2519 ONLY */

.page-id-2519 #masthead,
.page-id-2519 .entry-header,
.page-id-2519 #colophon,
.page-id-2519 .entry-footer,
.page-id-2519 .sharedaddy,
.page-id-2519 .sd-sharing-enabled,
.page-id-2519 .jetpack-likes-widget-wrapper,
.page-id-2519 .post-edit-link {
    display: none !important;
}

.page-id-2519 #page,
.page-id-2519 #content,
.page-id-2519 #primary,
.page-id-2519 #main,
.page-id-2519 article,
.page-id-2519 .entry-content,
.page-id-2519 .entry-content > * {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.page-id-2519 {
    background: #faf8f3 !important;
    overflow-x: hidden;
}