/* Base Styles & Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #222222;
    margin: 0;
    padding: 0;
    font-size: 17px;
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: #4f708c;
    text-decoration: none;
}

a:hover, a:focus {
    color: #222222;
}

/* Layout Containers */
.grid-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}

/* Header Styles */
.site-header {
    background-color: #ffffff;
}

.inside-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.site-logo img {
    display: block;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.main-navigation ul li a {
    color: #222222;
    font-size: 15px;
    font-weight: 500;
}

.main-navigation ul li a:hover, 
.main-navigation ul li.current-menu-item a {
    color: #4f708c;
}

/* Main Content Area */
.site-content {
    padding: 40px 0;
    min-height: 50vh;
}

.inside-article {
    background-color: #ffffff;
}

.entry-content {
    margin-top: 20px;
}

/* Typography alignments based on the WordPress Theme defaults */
p {
    margin-bottom: 1.5em;
}

.has-medium-font-size {
    font-size: 20px !important;
    font-weight: 400; /* Reverted to default paragraph weight */
    text-align: left; /* Left aligned just like the original file */
}

/* Search Form (Copied Exactly from your file) */
.cf-search {
    width: 700px;
    margin: 50px auto !important; /* This centers the box */
    background: #f7f8fd;
    border: 3px solid #eceefb;
    padding: 30px;
    border-radius: 10px;
}

.cf-search form {
    display: inline-flex;
    width: 100%;
}

.cf-field {
    display: inline-block !important;
    border: 1px solid #000 !important;
    margin-bottom: 0px !important;
    width: 90%;
    padding-left: 16px;
    height: 47px;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
}

.cf-btn {
    display: inline-block;
    border: none;
    height: 47px !important;
    width: 200px;
    background: #000 !important;
    color: #fff !important;
    min-height: 47px;
    border-radius: 0 !important;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
    box-sizing: border-box;
}

.cf-btn:hover {
    background: #333 !important;
    color: #fff !important;
}

/* Footer Styles */
.site-footer {
    background-color: #ffffff;
    margin-top: 40px;
    padding-bottom: 20px;
}

.inside-site-info {
    text-align: center;
    font-size: 15px;
    color: #575760;
}

.copyright-bar p {
    display: inline;
    margin: 0;
}

.copyright-bar a {
    color: #575760;
    text-decoration: underline;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .inside-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cf-search {
        width: 90%;
    }
}

@media screen and (max-width: 480px) {
    .cf-search form {
        display: block;
    }
    
    .cf-field, .cf-btn {
        display: block !important;
        width: 100%;
    }
    
    .cf-btn {
        margin-top: 10px !important;
    }
}