/* Basic Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: #666;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: #2ea3f2;
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout System (Mimicking Divi) */
.et_pb_section {
    position: relative;
    padding: 54px 0;
    background-color: #fff;
    width: 100%;
}

.et_pb_section.et_pb_with_background {
    background-color: #f7f7f7; /* Slight variation for alternating sections */
}

.container, .et_pb_row {
    width: 80%;
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
}

.et_pb_row {
    display: flex;
    flex-wrap: wrap;
    padding: 27px 0;
}

.et_pb_row.et_pb_equal_columns {
    align-items: stretch;
}

.et_pb_column {
    position: relative;
    min-height: 1px;
    padding-right: 30px;
    padding-left: 30px;
    margin-bottom: 30px;
}

.et_pb_column:last-child {
    margin-bottom: 0; /* On mobile, last child margin fix */
}

/* Column Widths */
.et_pb_column_4_4 {
    width: 100%;
}

.et_pb_column_1_2 {
    width: 50%;
}

.et_pb_column_1_3 {
    width: 33.33%;
}

/* Responsive Columns */
@media (max-width: 768px) {
    .et_pb_column_1_2,
    .et_pb_column_1_3 {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .et_pb_row {
        width: 90%;
    }
}

/* Modules */
.et_pb_module {
    margin-bottom: 30px;
}

.et_pb_text_align_left {
    text-align: left;
}

.et_pb_text_align_center {
    text-align: center;
}

.et_pb_text_inner h1 {
    font-size: 36px;
    text-align: center;
    color: #333;
}

.et_pb_text_inner h2 {
    font-size: 30px;
    color: #333;
}

.et_pb_text_inner h3 {
    font-size: 22px;
}

/* Buttons */
.et_pb_button_module_wrapper {
    text-align: center;
    margin-top: 20px;
}

.et_pb_button {
    display: inline-block;
    padding: 0.3em 1em;
    border: 2px solid #0c45f0; /* Royal Blue */
    border-radius: 30px;
    background-color:  #0c45f0;
    color: #e1e3e9; /* Royal Blue */
    font-size: 20px;
    font-weight: 500;
    line-height: 1.7em;
    transition: all 0.3s;
    position: relative;
    padding-right: 1.5em; /* Space for arrow */
}

.et_pb_button:hover {
    background-color: #0f47f1;
    color: #fff;
    padding-right: 2.5em; /* Increase space for arrow animation */
}

.et_pb_button::after {
    content: '\2192'; /* Right arrow unicode */
    position: absolute;
    opacity: 0;
    top: 50%;
    right: 0.5em;
    transform: translateY(-50%);
    transition: all 0.3s;
    font-size: 1.2em;
    line-height: 1;
}

.et_pb_button:hover::after {
    opacity: 1;
    right: 0.8em;
}

/* Header */
#main-header {
    background-color: #fff;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 999;
    padding: 15px 0;
}

.et_menu_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo_container img {
    max-height: 80px;
}

#top-menu-nav {
    display: block;
}

#top-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

#top-menu li {
    padding-left: 20px;
}

#top-menu li a {
    color: #333;
    font-weight: 600;
    font-size: 22px;
}

#top-menu li.current-menu-item a {
    color: #2ea3f2;
}

#top-menu li a:hover {
    color: #333;
}

#top-menu li.current-menu-item a:hover {
    color: #2ea3f2;
}

/* Footer */
#footer-bottom {
    background-color: #1f1f1f;
    padding: 15px 0;
    color: #666;
    font-size: 12px;
    text-align: center;
}

/* Specific Element Tweaks from HTML */
.et_pb_with_border {
    border: 1px solid #e1e1e1;
    padding: 20px;
    border-radius: 30px;
    text-align: center;
}

blockquote {
    border-left: 5px solid #2ea3f2;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
}

ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 10px;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
    font-weight: 600;
}

/* TOC Container (Simplified Visuals) */
#ez-toc-container {
    background: #f9f9f9;
    border: 1px solid #aaa;
    display: table;
    margin-bottom: 1em;
    padding: 10px;
    width: auto;
    border-radius: 4px;
}

.ez-toc-title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.ez-toc-title {
    font-weight: 700;
    margin: 0;
}

.ez-toc-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 10px;
}

.ez-toc-list li {
    margin-bottom: 5px;
}

.ez-toc-list a {
    text-decoration: none;
    color: #333;
    font-size: 95%;
}

.ez-toc-list a:hover {
    text-decoration: underline;
    color: #2ea3f2;
}

.ez-toc-list-level-2 {
    padding-left: 20px;
}

/* Blog Posts */
.et_pb_post {
    margin-bottom: 60px;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 30px;
}

.et_pb_post:last-child {
    border-bottom: none;
}

.entry-featured-image-url {
    display: block;
    margin-bottom: 18px;
    overflow: hidden;
}

.entry-featured-image-url img {
    transition: all 0.3s;
    width: 100%;
}

.entry-title {
    margin-bottom: 12px;
}

.entry-title a {
    color: #333;
    text-decoration: none;
    font-size: 26px;
    line-height: 1.3em;
}

.entry-title a:hover {
    color: #2ea3f2;
}

.post-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.post-meta a {
    color: #666;
    font-weight: 600;
}

.post-content-inner p {
    margin-bottom: 20px;
    font-size: 16px;
}
