/* =========================================================
   SPEEDPOSTPRO HOMEPAGE CONTENT
   Completely isolated homepage styles
   ========================================================= */

.sp-home-content {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sp-home-content *,
.sp-home-content *::before,
.sp-home-content *::after {
    box-sizing: border-box;
}


.sp-home-container {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}


/* ---------------------------------------------------------
   GENERAL SECTIONS
   --------------------------------------------------------- */

.sp-home-intro,
.sp-home-section {
    width: 100%;
    padding: 42px 0;
    border-bottom: 1px solid #e9edf2;
}


.sp-home-intro h2,
.sp-home-section h2 {
    margin: 0 0 18px;
    padding: 0;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
}


.sp-home-section h3 {
    margin: 0 0 10px;
    padding: 0;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 700;
}


.sp-home-content p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.75;
}


.sp-home-content p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   INTRO
   --------------------------------------------------------- */

.sp-home-intro {
    padding-top: 48px;
}


.sp-home-intro p {
    max-width: 850px;
}


/* ---------------------------------------------------------
   STEPS
   --------------------------------------------------------- */

.sp-home-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}


.sp-home-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    border: 1px solid #e3e8ee;
    border-radius: 10px;
    background: #fff;
}


.sp-home-step-number {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f36c21;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}


.sp-home-step-content {
    flex: 1;
}


.sp-home-step-content p {
    margin-bottom: 0;
    font-size: 15px;
}


/* ---------------------------------------------------------
   NOTE
   --------------------------------------------------------- */

.sp-home-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
    padding: 18px 20px;
    border-left: 4px solid #f36c21;
    background: #f8f9fa;
    border-radius: 5px;
}


.sp-home-note strong {
    white-space: nowrap;
}


.sp-home-note span {
    line-height: 1.6;
}


/* ---------------------------------------------------------
   STATUS GRID
   --------------------------------------------------------- */

.sp-home-status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}


.sp-home-status {
    padding: 24px;
    border: 1px solid #e3e8ee;
    border-radius: 10px;
    background: #fff;
    transition: transform 0.2s ease,
                box-shadow 0.2s ease,
                border-color 0.2s ease;
}


.sp-home-status:hover {
    transform: translateY(-2px);
    border-color: #d6dce3;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}


.sp-home-status h3 {
    margin-bottom: 9px;
}


.sp-home-status p {
    margin-bottom: 14px;
    font-size: 15px;
}


.sp-home-status a,
.sp-home-text-link {
    color: #d95712;
    text-decoration: none;
    font-weight: 600;
}


.sp-home-status a:hover,
.sp-home-text-link:hover {
    text-decoration: underline;
}


/* ---------------------------------------------------------
   TEXT LINK
   --------------------------------------------------------- */

.sp-home-text-link {
    display: inline-block;
    margin-top: 4px;
    font-size: 15px;
}


/* ---------------------------------------------------------
   TIPS
   --------------------------------------------------------- */

.sp-home-tips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 25px;
}


.sp-home-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 17px 18px;
    border: 1px solid #e6eaee;
    border-radius: 8px;
    background: #fff;
}


.sp-home-tip-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef7f0;
    color: #27823a;
    font-size: 13px;
    font-weight: 700;
}


.sp-home-tip p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   GUIDES
   --------------------------------------------------------- */

.sp-home-guides {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 25px;
}


.sp-home-guide {
    display: block;
    padding: 21px 22px;
    border: 1px solid #e3e8ee;
    border-radius: 9px;
    background: #fff;
    text-decoration: none;
    transition: border-color 0.2s ease,
                box-shadow 0.2s ease,
                transform 0.2s ease;
}


.sp-home-guide:hover {
    transform: translateY(-2px);
    border-color: #d4dae1;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.05);
}


.sp-home-guide-title {
    display: block;
    margin-bottom: 7px;
    color: #222;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 700;
}


.sp-home-guide-text {
    display: block;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   FINAL CTA
   --------------------------------------------------------- */

.sp-home-final {
    margin: 45px 0;
    padding: 42px 30px;
    text-align: center;
    border-radius: 12px;
    background: #f7f8fa;
    border: 1px solid #e5e8ec;
}


.sp-home-final h2 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.3;
}


.sp-home-final p {
    margin-bottom: 8px;
}


.sp-home-final-button {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 24px;
    border-radius: 6px;
    background: #f36c21;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: background 0.2s ease,
                transform 0.2s ease;
}


.sp-home-final-button:hover {
    background: #d95712;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}


/* ---------------------------------------------------------
   DISCLAIMER
   --------------------------------------------------------- */

.sp-home-disclaimer {
    margin: 0 0 45px;
    padding: 22px 24px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    background: #fafafa;
    color: #666;
}


.sp-home-disclaimer strong {
    display: block;
    margin-bottom: 8px;
    color: #444;
    font-size: 14px;
}


.sp-home-disclaimer p {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.65;
}


.sp-home-disclaimer p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 800px) {

    .sp-home-container {
        width: min(100% - 28px, 700px);
    }


    .sp-home-intro,
    .sp-home-section {
        padding: 34px 0;
    }


    .sp-home-intro h2,
    .sp-home-section h2 {
        font-size: 26px;
    }


    .sp-home-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .sp-home-steps {
        grid-template-columns: 1fr;
    }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 560px) {

    .sp-home-container {
        width: calc(100% - 24px);
    }


    .sp-home-intro,
    .sp-home-section {
        padding: 28px 0;
    }


    .sp-home-intro {
        padding-top: 34px;
    }


    .sp-home-intro h2,
    .sp-home-section h2 {
        font-size: 23px;
    }


    .sp-home-content p {
        font-size: 15px;
        line-height: 1.7;
    }


    .sp-home-status-grid,
    .sp-home-tips,
    .sp-home-guides {
        grid-template-columns: 1fr;
    }


    .sp-home-status,
    .sp-home-step {
        padding: 20px;
    }


    .sp-home-note {
        display: block;
    }


    .sp-home-note strong {
        display: block;
        margin-bottom: 5px;
    }


    .sp-home-final {
        margin: 32px 0;
        padding: 32px 20px;
    }


    .sp-home-final h2 {
        font-size: 24px;
    }


    .sp-home-final-button {
        width: 100%;
        max-width: 300px;
    }

}


/* =========================================================
   SPEEDPOSTPRO HOMEPAGE - BLOG LINKS
   ========================================================= */

.sp-home-blog-links {
    width: 100%;
    padding: 42px 0;
    border-bottom: 1px solid #e9edf2;
}


.sp-home-blog-container {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}


.sp-home-blog-heading {
    margin-bottom: 26px;
}


.sp-home-blog-heading h2 {
    margin: 0 0 12px;
    padding: 0;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
}


.sp-home-blog-heading p {
    max-width: 760px;
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}


/* Blog cards */

.sp-home-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}


.sp-home-blog-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 145px;
    padding: 21px;
    border: 1px solid #e3e8ee;
    border-radius: 9px;
    background: #fff;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


.sp-home-blog-card:hover {
    transform: translateY(-2px);
    border-color: #d4dae1;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.06);
    text-decoration: none;
}


.sp-home-blog-card-title {
    display: block;
    color: #222;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
}


.sp-home-blog-card-arrow {
    display: block;
    margin-top: 20px;
    color: #d95712;
    font-size: 14px;
    font-weight: 600;
}


.sp-home-blog-all {
    margin-top: 25px;
    text-align: center;
}


.sp-home-blog-all-link {
    color: #d95712;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}


.sp-home-blog-all-link:hover {
    text-decoration: underline;
}


/* Tablet */

@media (max-width: 800px) {

    .sp-home-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* Mobile */

@media (max-width: 560px) {

    .sp-home-blog-links {
        padding: 32px 0;
    }


    .sp-home-blog-container {
        width: calc(100% - 24px);
    }


    .sp-home-blog-heading h2 {
        font-size: 23px;
    }


    .sp-home-blog-heading p {
        font-size: 15px;
    }


    .sp-home-blog-grid {
        grid-template-columns: 1fr;
    }


    .sp-home-blog-card {
        min-height: auto;
    }

}