/* ==========================================================
   SIMPLE DESK FRONT PAGE

   IMPORTANT:
   This stylesheet intentionally does NOT define colors.

   Astra controls:
   - Text colors
   - Heading colors
   - Link colors
   - Button colors
   - Background colors
   - Global palette

   This file controls only the custom homepage layout,
   spacing, sizing and structural presentation.
========================================================== */


/* ==========================================================
   LAYOUT VARIABLES
========================================================== */


/* ---------- Variables ---------- */
:root {
    --sd-container: 1200px;
    --sd-container-narrow: 820px;

    --sd-radius-sm: 10px;
    --sd-radius-md: 18px;
    --sd-radius-lg: 28px;

    --ink: #1E293B;
    --ink-panel: #386FA4;
    --paper: #F7FBFD;
    --text-dark: #133C55;
    --text-muted: #0085CC;
    --line: #D7EAF4;

    --amber: #59A5D8;
    --teal: #84D2F6;
    --violet: #91E5F6;

    --cta: #386FA4;
    --cta-dark: #133C55;
}

/* ---------- Global ---------- */
.simple-desk-home {
    width: 100%;
    overflow: hidden;
}

.simple-desk-home *,
.simple-desk-home *::before,
.simple-desk-home *::after {
    box-sizing: border-box;
}

/* ---------- Astra full-width override ---------- */
body.home .site-content>.ast-container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}

body.home .site-content #primary {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

body.home .simple-desk-home {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* ---------- Containers ---------- */
.site-container {
    width: min(100% - 40px, var(--sd-container));
    margin-inline: auto;
}

.section-narrow {
    width: min(100% - 40px, var(--sd-container-narrow));
    margin-inline: auto;
}

.simple-desk-home section {
    padding: 80px 45px;
}

/* ---------- Typography ---------- */
.simple-desk-home h1,
.simple-desk-home h2,
.simple-desk-home h3 {
    margin-top: 0;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.simple-desk-home h1 {
    margin-bottom: 28px;
    font-size: clamp(3rem, 6vw, 5.8rem);
    font-weight: 700;
}

.simple-desk-home h2 {
    margin-bottom: 24px;
    font-size: clamp(2.2rem, 3vw, 4rem);
    font-weight: 700;
}

.simple-desk-home h3 {
    margin-bottom: 16px;
    font-size: 1.45rem;
    font-weight: 650;
}

.simple-desk-home p {
    margin-top: 0;
    line-height: 1.7;
}

.eyebrow {
    margin-bottom: 18px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-intro {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.7;
}

.section-header {
    max-width: 780px;
    margin-bottom: 55px;
}

.section-header>p:last-child {
    max-width: 680px;
    font-size: 1.08rem;
}

/* ---------- Buttons ---------- */
.simple-desk-home .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 26px;
    border-width: 2px;
    border-style: solid;
    border-radius: 999px;
    font-size: 0.98rem;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.simple-desk-home .button:hover {
    transform: translateY(-1px);
}

.text-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-weight: 650;
    text-decoration: none;
}

/* ==========================================================
   HOME PAGE SECTIONS
========================================================== */

/* ---------- Hero ---------- */
.home-hero {
    padding-top: 90px;
    padding-bottom: 90px;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 70px;
    align-items: center;
}

.home-hero-content,
.home-hero-media {
    min-width: 0;
}

.home-hero-intro {
    max-width: 680px;
    margin-bottom: 34px;
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.home-hero-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--sd-radius-lg);
}

/* ---------- Trust ---------- */
.home-trust {
    padding: 50px 0;
}

.section-label {
    max-width: 720px;
    margin: 0 auto 34px;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    text-align: center;
}

.client-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    align-items: center;
}

.client-logo {
    display: flex;
    min-height: 60px;
    align-items: center;
    justify-content: center;
}

.client-logo img {
    display: block;
    max-width: 160px;
    max-height: 54px;
    width: 100%;
    height: auto;
}

/* ---------- Intro ---------- */
.home-intro {
    text-align: center;
}

.home-intro h2 {
    max-width: 850px;
    margin-right: auto;
    margin-left: auto;
}

/* ---------- Solutions ---------- */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.solution-card {
    position: relative;
    display: flex;
    min-height: 330px;
    flex-direction: column;
    padding: 34px;
    border-radius: var(--sd-radius-md);
    transition: transform 0.2s ease;
}

.solution-card:hover {
    transform: translateY(-4px);
}

.solution-number {
    display: inline-block;
    margin-bottom: 42px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.solution-card p {
    margin-bottom: 26px;
}

.solution-card a {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-top: auto;
    font-weight: 650;
    text-decoration: none;
}

/* ---------- Feature ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 80px;
    align-items: center;
}

.feature-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--sd-radius-lg);
}

.feature-content>p:not(.eyebrow) {
    font-size: 1.08rem;
}

.feature-list {
    display: grid;
    gap: 14px;
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    font-weight: 550;
}

.feature-list li::before {
    position: absolute;
    top: 0.15em;
    left: 0;
    content: "✓";
    font-weight: 700;
}

/* ---------- Benefits ---------- */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.benefit-card {
    padding: 38px;
    border-radius: var(--sd-radius-md);
}

.benefit-card p {
    margin-bottom: 0;
}

/* ---------- Results ---------- */
.results-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
}

.result-item {
    padding: 32px 20px;
}

.result-item dt {
    margin-bottom: 10px;
    font-size: clamp(2.5rem, 4vw, 4.2rem);
    font-weight: 700;
    line-height: 1;
}

.result-item dd {
    margin: 0;
    line-height: 1.5;
}

/* ---------- Testimonial ---------- */
.home-testimonial {
    text-align: center;
}

.testimonial {
    margin: 40px 0 0;
}

.testimonial blockquote {
    margin: 0;
}

.testimonial blockquote p {
    margin: 0 auto 30px;
    font-size: clamp(1.5rem, 2.4vw, 2.25rem);
    line-height: 1.45;
}

.testimonial figcaption {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ---------- Process ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-item {
    padding: 30px;
}

.process-item>span {
    display: block;
    margin-bottom: 38px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.process-item p {
    margin-bottom: 0;
}

/* ---------- FAQ ---------- */
.faq-list summary {
    position: relative;
    padding: 26px 50px 26px 0;
    font-size: 1.08rem;
    font-weight: 650;
    cursor: pointer;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    position: absolute;
    top: 50%;
    right: 5px;
    content: "+";
    font-size: 1.6rem;
    font-weight: 300;
    transform: translateY(-50%);
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-content {
    padding: 0 50px 24px 0;
}

.faq-content p {
    margin-bottom: 0;
}

/* ---------- Final CTA ---------- */
.home-cta {
    text-align: center;
}

.home-cta h2 {
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}

.home-cta>.section-narrow>p:not(.eyebrow) {
    max-width: 680px;
    margin-right: auto;
    margin-bottom: 34px;
    margin-left: auto;
    font-size: 1.1rem;
}

.home-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ==========================================================
   SIMPLE DESK PRODUCT COMPONENTS
========================================================== */

/* ---------- Demo/contact cards ---------- */
.padding-50,
.lr-side-padding-50 {
    padding: 0 50px;
}

.larger-h3 h3 {
    font-size: 45px;
    line-height: 55px;
    margin-bottom: 40px;
}

.display-card {
    padding: 40px;
    background: #e1f6ff;
    border-radius: 15px;
}

.display-card-form {
    max-height: calc(100vh - 120px);
    padding: 20px 24px;
    /* border: thin solid var(--line);
    border-radius: 15px; */
    overflow-y: auto;
    font-size: 14px !important;
    line-height: 1.15 !important;
}

.display-card-form h3 {
    margin-bottom: 20px !important;
}

.display-card-form label {
    font-weight: bold !important;
    font-size: 14px !important;
    line-height: 1.1 !important;
    margin-bottom: 4px !important;
}

.display-card-form input,
.display-card-form select,
.display-card-form textarea {
    border: thin solid #ccc;
    box-shadow: inset 3px 3px 5px rgba(142, 142, 142, 0.22);
    margin-top: 4px;
}

.display-card-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.display-card-form select {
    min-height: 38px;
    padding: 6px 10px;
    font-size: 14px !important;
    line-height: 1.15 !important;
}

.display-card-form textarea {
    min-height: 70px;
    max-height: 100px;
    padding: 7px 10px;
    font-size: 14px !important;
    line-height: 1.15 !important;
    resize: vertical;
}

.display-card-form p,
.display-card-form span,
.display-card-form small {
    font-size: 14px !important;
    line-height: 1.15 !important;
}

.display-card-form p,
.display-card-form .wpforms-field,
.display-card-form .gfield,
.display-card-form .uagb-forms-field-set {
    margin-top: 0;
    margin-bottom: 8px !important;
}

.display-card-form input[type="submit"],
.display-card-form button[type="submit"] {
    min-height: 38px;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 8px;
}

.lr-side-padding-50.is-layout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 32px;
}

.lr-side-padding-50.is-layout-grid>* {
    min-width: 0;
}

/* ---------- Feature cards ---------- */
.sd-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.sd-card {
    display: flex;
    flex-direction: column;
    padding: 28px 46px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.sd-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sd-card .dot {
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.sd-card:nth-child(1) .dot {
    background: var(--amber);
}

.sd-card:nth-child(2) .dot {
    background: var(--teal);
}

.sd-card:nth-child(3) .dot {
    background: var(--violet);
}

.sd-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.sd-card p {
    margin: 0;
    font-size: 15px;
    color: var(--text-muted);
}

/* ---------- Screenshot thumbnails ---------- */
.sd-card-thumb {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 22px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: zoom-in;
}

.sd-card-thumb img {
    display: block;
    width: 100%;
    height: 118px;
    object-fit: cover;
    object-position: top left;
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.sd-card-thumb::after {
    position: absolute;
    right: 9px;
    bottom: 9px;
    content: "View screenshot";
    padding: 6px 9px;
    border-radius: 6px;
    background: rgba(49, 166, 237, 0.9);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.01em;
    pointer-events: none;
}

.sd-card-thumb:hover img,
.sd-card-thumb:focus-visible img {
    transform: scale(1.015);
    filter: brightness(0.96);
}

.sd-card-thumb:focus-visible {
    outline: 3px solid rgba(56, 111, 164, 0.35);
    outline-offset: 3px;
}

/* ---------- Screenshot modal ---------- */
.sd-modal[hidden] {
    display: none;
}

.sd-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.sd-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    cursor: zoom-out;
}

.sd-modal-panel {
    position: relative;
    z-index: 1;
    width: min(1200px, 94vw);
    max-height: 90vh;
    padding: 14px;
    background: #fff;
    border-radius: 14px;
}

.sd-modal-image {
    display: block;
    width: 100%;
    max-height: calc(90vh - 28px);
    object-fit: contain;
    border-radius: 9px;
}

.sd-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    z-index: 2;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    font-size: 30px;
    line-height: 42px;
    text-align: center;
    cursor: pointer;
}

body.sd-modal-open {
    overflow: hidden;
}

/* ---------- Shared product section ---------- */
.sd-section {
    padding: 78px 45px;
}

.sd-section2 {
    /* padding: 78px 0; */
}

.sd-section .kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.sd-section2 .kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.sd-section h2 {
    max-width: 640px;
    margin-bottom: 14px;
    font-size: clamp(26px, 3vw, 34px);
}

.sd-section p.intro {
    max-width: 640px;
    margin-bottom: 44px;
    font-size: 17px;
    color: var(--text-muted);
}

/* ---------- What's included ---------- */
.sd-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.sd-grid .cell {
    min-width: 0;
    padding: 28px 26px;
    background: #fff;
}

.sd-grid .cell h3 {
    margin-bottom: 8px;
    font-size: 16px;
}

.sd-grid .cell p {
    margin: 0;
    font-size: 14.5px;
    color: var(--text-muted);
}

/* ---------- Built for growing service teams ---------- */
.sd-twocol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: start;
}

.sd-twocol>* {
    min-width: 0;
}

.sd-twocol h3 {
    margin-bottom: 12px;
    font-size: 19px;
}

.sd-twocol p {
    font-size: 15.5px;
    color: var(--text-muted);
}

.sd-growing-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* ---------- Secure by default ---------- */
.sd-security {
    background: var(--ink);
    color: #F5F6FA;
    /* border-radius: 15px; */
}

.sd-security h2 {
    color: #fff;
}

.sd-security p.intro {
    color: #9AA3C0;
}

.sd-security .sd-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.sd-security .sd-grid .cell {
    width: 100%;
    background: var(--ink-panel);
    border-radius: 14px;
}

.sd-security .sd-grid .cell h3 {
    color: #fff;
    font-size: 18px;
}

.sd-security .sd-grid .cell p {
    color: #9AA3C0;
}

/* ---------- At a glance ---------- */
table.sd-specs {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 15px;
}

table.sd-specs tr {
    border-bottom: 1px solid var(--line);
}

table.sd-specs tr:first-child {
    border-top: 1px solid var(--line);
}

table.sd-specs th,
table.sd-specs td {
    padding: 16px 10px;
    text-align: left;
    vertical-align: top;
}

table.sd-specs th {
    width: 220px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ---------- Images ---------- */
.box-shadow-one img {
    box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
}

/* ---------- Stats strip ---------- */

.sd-stats {
    /* border-bottom: 1px solid var(--line); */
}

.sd-stats .site-container,
.sd-stats .wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* padding-top: 32px;
    padding-bottom: 32px; */
}

.sd-stats .stat {
    min-width: 0;
    padding: 0 32px;
    border-right: 1px solid var(--line);
}

.sd-stats .stat b {
    color: var(--text-muted);
}

.sd-stats .stat:first-child {
    padding-left: 0;
}

.sd-stats .stat:last-child {
    padding-right: 0;
    border-right: 0;
}

.sd-stats .stat b {
    display: block;
    margin-bottom: 5px;
    font-size: 20px;
    font-weight: 700;
}

.sd-stats .stat span {
    display: block;
    font-size: 14px;
    line-height: 1.45;
}

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

/* ---------- Laptop / small desktop ---------- */
@media (max-width: 1000px) {
    .simple-desk-home section {
        padding: 80px 45px;
    }

    .home-hero-grid,
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .solution-grid,
    .sd-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .results-grid,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sd-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .sd-cards>.sd-card {
        grid-column: span 2;
    }

    .sd-cards>.sd-card:nth-of-type(3) {
        grid-column: 2 / span 2;
    }
}

/* ---------- Demo/contact stack ---------- */
@media (max-width: 900px) {
    .lr-side-padding-50.is-layout-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ---------- Product sections / tablet ---------- */
@media (max-width: 820px) {

    .sd-grid,
    .sd-twocol,
    .sd-security .sd-grid {
        grid-template-columns: 1fr;
    }

    .sd-grid {
        border-radius: 10px;
    }

    .sd-twocol {
        gap: 28px;
    }

    .sd-security .sd-grid {
        width: 100%;
    }

    table.sd-specs {
        table-layout: auto;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {

    .site-container,
    .section-narrow {
        width: min(100% - 30px, var(--sd-container));
    }

    .simple-desk-home section {
        padding: 68px 45px;
    }

    .home-hero {
        padding-top: 60px;
    }

    .home-hero-grid {
        gap: 38px;
    }

    .home-hero-actions,
    .home-cta-actions {
        flex-direction: column;
    }

    .simple-desk-home .button {
        width: 100%;
    }

    .client-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .solution-grid,
    .benefit-grid,
    .results-grid,
    .process-grid,
    .sd-cards {
        grid-template-columns: 1fr;
    }

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

    .section-header {
        margin-bottom: 38px;
    }

    .benefit-card,
    .solution-card,
    .process-item {
        padding: 28px;
    }

    .sd-card {
        padding: 26px;
    }

    .sd-card-thumb img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .padding-50,
    .lr-side-padding-50 {
        padding-right: 20px;
        padding-left: 20px;
    }

    .larger-h3 h3 {
        font-size: 34px;
        line-height: 1.2;
    }

    .display-card {
        padding: 28px;
    }

    .display-card-form {
        max-height: calc(100vh - 70px);
        padding: 16px 18px;
    }

    .sd-cards>article.sd-card:nth-of-type(3) {
        grid-column: auto !important;
        width: 100%;
        justify-self: stretch;
    }
}

/* ---------- At-a-glance mobile table ---------- */
@media (max-width: 600px) {

    table.sd-specs,
    table.sd-specs tbody,
    table.sd-specs tr,
    table.sd-specs th,
    table.sd-specs td {
        display: block;
        width: 100%;
    }

    table.sd-specs tr {
        padding: 16px 0;
    }

    table.sd-specs th,
    table.sd-specs td {
        padding: 0;
    }

    table.sd-specs th {
        margin-bottom: 6px;
    }
}

/* ---------- Small mobile ---------- */
@media (max-width: 480px) {
    .display-card-form {
        padding: 14px;
        border-radius: 10px;
    }

    .simple-desk-home h1 {
        font-size: clamp(2.5rem, 13vw, 3.4rem);
    }

    .simple-desk-home h2 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .home-hero-intro {
        font-size: 1.05rem;
    }

    .client-logo-grid {
        gap: 20px;
    }

    .faq-list summary {
        padding-right: 38px;
    }

    .sd-card {
        padding: 22px;
    }

    .sd-card h3 {
        font-size: 17px;
    }

    .sd-card p {
        font-size: 14px;
    }

    .sd-section {
        padding: 56px 45px;
    }

    .sd-section2 {
        padding: 56px 0;
    }
}

@media (max-width: 820px) {

    .sd-stats .site-container,
    .sd-stats .wrap {
        grid-template-columns: 1fr;
    }

    .sd-stats .stat {
        padding: 18px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .sd-stats .stat:last-child {
        border-bottom: 0;
    }
}

/* Fixes */
.wpcf7 form>div {
    margin-bottom: 0;
}

/* First call list */
.sd-first-call ul {
    padding-left: 35px;
    margin-left: 0;
}

.sd-first-call li {
    padding-left: 8px;
}

/* spacers */
.sd-spacer-25 {
    height: 25px;
    display: block;
    clear: both;
}

.sd-spacer-50 {
    height: 50px;
    display: block;
    clear: both;
}

.sd-spacer-75 {
    height: 75px;
    display: block;
    clear: both;
}

.sd-spacer-100 {
    height: 100px;
    display: block;
    clear: both;
}

/* Margin helpers */
.sd-mb-0 {
    margin-bottom: 0 !important;
}

.sd-mb-50 {
    margin-bottom: 50px !important;
}

.sd-mb-75 {
    margin-bottom: 75px !important;
}

.sd-mb-100 {
    margin-bottom: 100px !important;
}

/* Center the final card when the grid has two columns */
@media (min-width: 721px) and (max-width: 1000px) {
    .sd-cards>.sd-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: calc((100% - 24px) / 2);
        justify-self: center;
    }
}