* {
    font-family: 'DM Sans', sans-serif;
}

body {
    background-color: white;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}

.navbar {
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    padding-top: 20px;
    width: 100%;
    background: white;
    border-bottom: 5px solid #004cff;
    border-collapse: collapse;
    z-index: 99;
}

.navbar td {
    padding: 30px 20px;
    vertical-align: middle;
}

.menuCell {
    width: 60px;
    padding-left: 15px;
}

.menuButton {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 0;
    margin-left: 10px;
}

.menuIcon {
    height: 30px;
    width: auto;
    display: block;
    object-fit: contain;
    padding-top: 8px;
}

.logoCell {
    text-align: center;
    line-height: 0;
}

.textLogo {
    height: 40px;
    width: auto;
    display: inline-block;
}

.emptyCell {
    width: 60px;
}

.navPanel {
    position: fixed;
    top: 0;
    left: -400px;
    width: 300px;
    height: 100vh;
    background: #242424;
    border-right: 5px solid white;
    z-index: 100;
    padding-top: 50px;
    transition: left 0.3s ease;
}

.navPanel.open {
    left: 0;
}

.navLinks {
    width: 100%;
    border-collapse: collapse;
}

.navLinks td {
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navLinks a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 16px 30px;
    font-size: 1.1em;
    font-weight: 800;
    transition: all 0.3s ease-in-out;
}

.navLinks a:hover {
    background: white;
    color: #004cff;
}

.panelHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    margin-bottom: 30px;
}

.closeButton {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 0;
    flex-shrink: 0;
}

.closeIcon {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: invert(100);
}

.panelLogo {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
}

.blogs-page {
    padding: 180px 20px 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.blogs-title {
    font-size: 2.5em;
    font-weight: 1000;
    color: #004cff;
    margin-bottom: 10px;
}

.blogs-description {
    color: #555;
    font-size: 1.1em;
    margin-bottom: 40px;
}

.blog-list {
    width: 100%;
    border-collapse: collapse;
}

.blog-item {
    display: block;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.blog-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.blog-image {
    width: 45%;
    padding: 0;
    vertical-align: top;
}

.blog-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    background: #eee;
}

.blog-text {
    width: 55%;
    padding: 0 0 0 30px;
    vertical-align: middle;
}

.blog-headline {
    font-size: 1.4em;
    font-weight: 800;
    color: black;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.blog-headline:hover {
    color: #004cff;
}

.blog-text hr {
    border: none;
    border-top: 2px solid #004cff;
    margin: 10px 0;
    width: 100%;
}

.blog-date {
    font-size: 0.85em;
    color: #004cff;
    font-weight: 600;
    margin-bottom: 8px;
}

.blog-excerpt {
    font-size: 0.95em;
    color: #555;
    line-height: 1.5;
}

.footer {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #242424;
    padding: 150px 0 0 0;
    border-top: solid 10px white;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
}

.footer-newsletter {
    width: 100%;
    max-width: 400px;
}

.footer-title {
    color: white;
    font-size: 1.5em;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-text {
    color: #aaa;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #333;
    border-radius: 5px;
    background: #222;
    color: white;
    font-size: 0.9em;
    outline: none;
}

.newsletter-input:focus {
    border-color: #004cff;
}

.newsletter-btn {
    padding: 12px 20px;
    background: #004cff;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9em;
    white-space: nowrap;
    transition: all 0.3s ease-in-out;
}

.newsletter-btn:hover {
    background: white;
    color: #004cff;
    transition: all 0.3s ease-in-out;
}

.footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h4 {
    color: white;
    font-size: 1em;
    font-weight: 800;
    margin-bottom: 5px;
}

.footer-column a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9em;
}

.footer-column a:hover {
    color: #004cff;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #666;
    font-size: 0.85em;
}

.footer-logo {
    height: 130px;
    width: auto;
    margin-bottom: 20px;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
    width: 100%;
}

.footer-affiliate-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.back-to-home {
    color: #004cff;
    text-decoration: none;
    font-size: 1em;
    font-weight: 700;
    border-radius: 10px;
    padding: 5px 10px 5px 10px;
    transition: all 0.3s ease-in-out;
}

.back-to-home:hover {
    background-color: #004cff;
    color: white;
    padding: 5px 10px 5px 10px;
    border-radius: 10px;
}
