/* ========================================
   IMPORT FONT
======================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');


/* ========================================
   BASE
======================================== */

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #2f2f2f;
    line-height: 1.6;
    background-color: #ffffff;
}


/* ========================================
   TYPOGRAPHY
======================================== */

h1, h2, h3 {
    font-weight: 500;
    letter-spacing: -0.3px;
    margin-bottom: 15px;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.2rem; }

p {
    font-size: 1rem;
    margin-bottom: 15px;
}


/* ========================================
   HOMEPAGE HERO
======================================== */

.hero {
    position: relative;
    overflow: hidden;
    padding: 105px 0;
    color: #ffffff;

    background-image:
    linear-gradient(
        90deg,
        rgba(6, 31, 56, 0.88) 0%,
        rgba(6, 31, 56, 0.75) 40%,
        rgba(6, 31, 56, 0.55) 70%,
        rgba(6, 31, 56, 0.25) 100%
    ),
        url("../../images/header-bg.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero h1,
.hero p {
    color: #ffffff;
}

.hero p {
    max-width: 620px;
}


/* ========================================
   PAGE HERO
======================================== */

.page-hero {
    background-image:
    linear-gradient(
        90deg,
        rgba(6, 31, 56, 0.88) 0%,
        rgba(6, 31, 56, 0.75) 40%,
        rgba(6, 31, 56, 0.55) 70%,
        rgba(6, 31, 56, 0.25) 100%
    ),
        url("../../images/header-bg.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 95px 0 80px;
    text-align: center;
    color: #ffffff;
}

.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 18px;
    color: #ffffff;
}

.page-hero .lead {
    max-width: 760px;
    margin: 0 auto;
    color: #e6edf5;
    font-size: 1.08rem;
}


/* ========================================
   SECTIONS
======================================== */

.section {
    padding: 65px 0;
}

.section-soft {
    background-color: #f4f7fb;
}

.section .container {
    max-width: 980px;
}

.hero .container,
.page-hero .container,
.footer .container {
    max-width: 1140px;
}

.narrow-container {
    max-width: 980px;
}


/* ========================================
   CARDS
======================================== */

.card-clean {
    background: #ffffff;
    padding: 28px;
    border-radius: 18px;
    height: 100%;
    transition: 0.25s ease;
}


/* ========================================
   HUB PAGE
======================================== */

.hub-section {
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7fafc 100%
        );
    padding-top: 70px;
    padding-bottom: 75px;
}

.hub-card {
    min-height: 235px;
    border: 1px solid #e4ebf2;
    border-top: 5px solid #063b69;
    background: #ffffff;
    border-radius: 18px;

    box-shadow: 0 14px 35px rgba(6, 31, 56, 0.08);
    transition: all 0.22s ease;
}

.hub-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(6, 31, 56, 0.13);
}

.hub-card h3 {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 14px;
}

.hub-card h3 a {
    color: #063b69;
    text-decoration: none;
}

.hub-card h3 a:hover {
    text-decoration: underline;
}

.hub-card p {
    margin-bottom: 0;
    color: #4a4a4a;
}

.hub-card-cta {
    background:
        linear-gradient(
            180deg,
            #f0f6fb 0%,
            #ffffff 100%
        );
    border: 1px solid #d8e4ef;
    border-top: 5px solid #0b5f9e;
}


/* ========================================
   TOPIC CARD
======================================== */

.topic-card {
    border-left: 5px solid #063b69;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(6, 31, 56, 0.08);
}

.feature-list {
    margin-bottom: 0;
    padding-left: 18px;
}

.feature-list li {
    margin-bottom: 9px;
}


/* ========================================
   BUTTONS
======================================== */

.btn-gmb {
    background-color: #063b69;
    color: #ffffff;
    padding: 13px 28px;
    border-radius: 7px;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s ease;
}

.btn-gmb:hover {
    background-color: #052f54;
    color: #ffffff;
    text-decoration: none;
}


/* ========================================
   LISTS
======================================== */

ul {
    padding-left: 20px;
}

ul li {
    margin-bottom: 10px;
}


/* ========================================
   SUPPORTING IMAGE
======================================== */

.supporting-image {
    width: 100%;
    max-width: 900px;
    display: block;
    margin: 50px auto 10px;
    border-radius: 28px;
    box-shadow: 0 12px 32px rgba(6, 31, 56, 0.12);
}

.image-caption {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 40px;
}

.supporting-image-section {
    padding-top: 40px;
}


/* ========================================
   BLOG / ARTICLE IMAGES
======================================== */

.blog-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 30px 0;
    display: block;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.featured-image {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.blog-caption {
    font-size: 13px;
    color: #777;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 20px;
}


/* ========================================
   LINKS
======================================== */

a {
    color: #063b69;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


/* ========================================
   FOOTER
======================================== */

.footer {
    background-color: #061f38;
    color: #dce8f3;
    padding: 45px 0 35px;
    margin-top: 0;
    font-size: 15px;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer p {
    margin-bottom: 12px;
}

.footer .copyright {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.16);
    font-size: 14px;
    color: #b8c8d8;
}


/* ========================================
   UTILITIES
======================================== */

.text-center {
    text-align: center;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 768px) {

    .hero {
        padding: 80px 0;
    }

    .page-hero {
        padding: 70px 0 55px;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    h1 { font-size: 2.1rem; }
    h2 { font-size: 1.6rem; }

    .hub-card {
        min-height: auto;
    }
}

/* ========================================
   AREA HERO
======================================== */

.area-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    color: #ffffff;
    overflow: hidden;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.area-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(6, 31, 56, 0.72) 0%,
        rgba(6, 31, 56, 0.52) 42%,
        rgba(6, 31, 56, 0.24) 75%,
        rgba(6, 31, 56, 0.08) 100%
    );
    z-index: 1;
}

.area-hero .container {
    position: relative;
    z-index: 2;
}

.area-hero h1,
.area-hero .lead {
    color: #ffffff;
}

.area-hero h1 {
    max-width: 760px;
}

.area-hero .lead {
    max-width: 720px;
}


/* ========================================
   AREA FEATURE IMAGE
======================================== */

.area-feature-image {
    width: 100%;
    max-width: 820px;
    height: auto;
    display: block;
    margin: 35px auto 10px;
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(6, 31, 56, 0.10);
}
/* ========================================
   BLOG POST LAYOUT
======================================== */

.blog-post-section {
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7fafc 100%
        );
    padding-top: 72px;
    padding-bottom: 78px;
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 800px) 380px;
    gap: 48px;
    align-items: start;
    max-width: 1270px;
    margin: 0 auto;
}

.blog-post-section .container.blog-layout,
.section .container.blog-layout {
    max-width: 1270px;
}

.blog-main {
    min-width: 0;
}

.blog-article {
    background: #ffffff;
    border: 1px solid #e4ebf2;
    border-radius: 22px;
    padding: 50px 48px;
    box-shadow: 0 14px 35px rgba(6, 31, 56, 0.08);
}

.blog-article p {
    margin-bottom: 20px;
    line-height: 1.72;
}

.blog-article h2 {
    margin-top: 54px;
    margin-bottom: 22px;
    line-height: 1.28;
}

.blog-article h3 {
    margin-top: 34px;
    margin-bottom: 12px;
    color: #063b69;
    line-height: 1.35;
}

.blog-article ul,
.blog-article ol {
    margin-top: 12px;
    margin-bottom: 34px;
    padding-left: 24px;
}

.blog-article li {
    margin-bottom: 12px;
    line-height: 1.65;
}

.blog-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
}

.blog-meta a {
    font-weight: 500;
}

.blog-takeaways {
    margin: 56px 0 58px;
    padding: 36px 38px;
    border-left: 6px solid #063b69;
    border-radius: 18px;
}

.blog-takeaways h2 {
    margin-top: 0;
    margin-bottom: 22px;
}

.blog-takeaways .feature-list {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 22px;
}

.blog-takeaways .feature-list li {
    margin-bottom: 13px;
}

.blog-takeaways .feature-list li:last-child {
    margin-bottom: 0;
}

.blog-takeaways + h2 {
    margin-top: 58px;
}

.blog-image {
    margin: 58px 0 48px;
}

.featured-image {
    margin-bottom: 46px;
}

.tool-list {
    margin: 28px 0 42px;
}

.tool-detail {
    padding: 24px 0 26px;
    border-bottom: 1px solid #e8eef5;
}

.tool-detail:first-child {
    padding-top: 6px;
}

.tool-detail:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.tool-detail h3 {
    margin-top: 0;
}

.tool-detail p:last-child {
    margin-bottom: 0;
}

/* Blog comparison table */
.blog-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 36px 0 58px;
    padding: 0;
    border: 1px solid #c7d8e8;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(6, 31, 56, 0.10);
}

.blog-comparison-table {
    width: 100%;
    min-width: 760px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
}

.blog-comparison-table th,
.blog-comparison-table td {
    padding: 18px 20px;
    text-align: left;
    vertical-align: top;
    border-right: 1px solid #d8e4ef;
    border-bottom: 1px solid #d8e4ef;
    font-size: 0.96rem;
    line-height: 1.55;
}

.blog-comparison-table th:last-child,
.blog-comparison-table td:last-child {
    border-right: 0;
}

.blog-comparison-table tbody tr:last-child td {
    border-bottom: 0;
}

.blog-comparison-table th {
    background: #063b69 !important;
    color: #ffffff !important;
    font-weight: 500;
    white-space: nowrap;
}

.blog-comparison-table tbody tr:nth-child(even) {
    background: #f7fafc;
}

.blog-comparison-table tbody tr:hover {
    background: #eef5fb;
}

.blog-comparison-table td:first-child {
    color: #063b69;
    white-space: nowrap;
}

.blog-comparison-table strong {
    font-weight: 500;
}

/* Prevent DataTables-style arrows and controls from making this blog table look messy */
.blog-comparison-table.dataTable thead .sorting::before,
.blog-comparison-table.dataTable thead .sorting::after,
.blog-comparison-table.dataTable thead .sorting_asc::before,
.blog-comparison-table.dataTable thead .sorting_asc::after,
.blog-comparison-table.dataTable thead .sorting_desc::before,
.blog-comparison-table.dataTable thead .sorting_desc::after,
.blog-table-wrap .dataTables_length,
.blog-table-wrap .dataTables_filter,
.blog-table-wrap .dataTables_info,
.blog-table-wrap .dataTables_paginate {
    display: none !important;
}

.blog-example-box {
    margin: 34px 0 36px;
    padding: 28px 30px;
    border-left: 6px solid #063b69;
    background: #f7fafc;
}

.blog-example-box p:last-child {
    margin-bottom: 0;
}

.faq-block {
    margin-top: 26px;
}

.faq-block h3 {
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid #e8eef5;
}

.faq-block h3:first-child {
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
}

.faq-block p {
    margin-bottom: 24px;
}

.blog-sidebar {
    position: sticky;
    top: 24px;
}

.sidebar-card {
    background: #ffffff;
    border: 1px solid #e4ebf2;
    border-top: 5px solid #063b69;
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 28px;
    box-shadow: 0 14px 35px rgba(6, 31, 56, 0.08);
}

.sidebar-card h3 {
    color: #063b69;
    margin-top: 0;
    margin-bottom: 14px;
}

.sidebar-card p:last-child {
    margin-bottom: 0;
}

.sidebar-cta-card {
    background:
        linear-gradient(
            180deg,
            #f0f6fb 0%,
            #ffffff 100%
        );
}

.sidebar-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.sidebar-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf2f7;
    line-height: 1.5;
}

.sidebar-list li:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.blog-bottom-cta {
    margin-top: 0;
}

@media (max-width: 992px) {

    .blog-layout,
    .blog-post-section .container.blog-layout,
    .section .container.blog-layout {
        grid-template-columns: 1fr;
        max-width: 820px;
    }

    .blog-sidebar {
        position: static;
    }

}

@media (max-width: 768px) {

    .blog-post-section {
        padding-top: 52px;
        padding-bottom: 58px;
    }

    .blog-article {
        padding: 26px;
        border-radius: 18px;
    }

    .blog-article h2 {
        margin-top: 42px;
    }

    .blog-takeaways {
        margin: 42px 0 46px;
        padding: 28px 24px;
    }

    .blog-table-wrap {
        margin: 30px 0 46px;
        border-radius: 14px;
    }

    .blog-comparison-table th,
    .blog-comparison-table td {
        padding: 15px 16px;
    }

}

.sidebar-offer {
    border-top: 5px solid #0b5f9e;
}

.sidebar-offer h3 {
    margin-bottom: 10px;
}

.sidebar-offer p {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

/* MailerLite tweaks */
.sidebar-card,
.sidebar-offer {
    overflow: hidden;
}

.sidebar-offer {
    text-align: left;
}

.sidebar-offer .ml-embedded {
    display: block;
    width: 100%;
    max-width: 304px;
    margin: 16px auto 0;
    box-sizing: border-box;
}

.sidebar-offer .ml-embedded *,
.sidebar-offer .ml-form-embedWrapper,
.sidebar-offer .ml-form-embedContainer,
.sidebar-offer .ml-form-embedBody,
.sidebar-offer .ml-form-formContent,
.sidebar-offer .ml-form-fieldRow,
.sidebar-offer .ml-form-fieldRow input,
.sidebar-offer .ml-form-embedSubmit button {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.sidebar-offer .ml-form-embedWrapper,
.sidebar-offer .ml-form-embedContainer,
.sidebar-offer .ml-form-embedBody {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.ml-embedded form {
    margin: 0 auto !important;
}

.ml-embedded input {
    width: 100% !important;
    padding: 12px !important;
    border-radius: 6px !important;
    border: 1px solid #ccd6e0 !important;
    margin-bottom: 10px !important;
}

.ml-embedded button {
    width: 100% !important;
}

.wide-offer-banner {
    margin: 50px 0;
    text-align: center;
}

.wide-offer-banner img {
    width: 100%;
    max-width: 980px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 14px 35px rgba(6, 31, 56, 0.12);
    display: block;
    margin: 0 auto;
}

.wide-offer-banner a {
    display: block;
}

/* ========================================
   CATEGORY PAGE – ROW CARDS
======================================== */

.post-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 30px;
}

.post-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid #e4ebf2;
    box-shadow: 0 8px 20px rgba(6, 31, 56, 0.06);
    transition: 0.2s ease;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(6, 31, 56, 0.10);
}

.post-card img {
    width: 150px;
    height: 95px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.post-card h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
}

.post-card p {
    margin: 0 0 10px;
    font-size: 0.95rem;
    color: #4a4a4a;
}

.post-card .btn {
    padding: 6px 14px;
    font-size: 13px;
}

@media (max-width: 768px) {

    .post-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-card img {
        width: 100%;
        height: auto;
    }

}