/* ==========================================================================
   SelfAttested.com - site stylesheet

    1. Variables
    2. Base (reset, text, forms)
    3. Layout (main, containers, ad area)
    4. Header and navigation (desktop, dropdowns, mobile sidebar)
    5. Slider
    6. Tool search
    7. WhatsApp button
    8. Tool cards and headings
    9. Content blocks (updates feed, comments, hidden banner)
   10. Subscribe / suggest-a-tool box
   11. Footer
   12. Content pages (About Us, Privacy Policy, Terms)
   ========================================================================== */


/* ==========================================================================
   1. Variables
   ========================================================================== */
:root {
    --brand: #4956A5;
    --brand-dark: #372049;
    --brand-tint: #eef0fb;
    --text: #222;
    --muted: #555;
    --page-bg: #f4f4f4;
    --card-shadow: rgba(60, 64, 67, 0.3) 0 1px 2px 0, rgba(60, 64, 67, 0.15) 0 1px 3px 1px;
}


/* ==========================================================================
   2. Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: var(--page-bg);
}

a {
    text-decoration: none;
}

h1,
h2,
h3 {
    color: var(--brand);
}

h1 {
    padding: 10px;
}

h3 {
    margin: 10px 0;
}

p {
    padding: 10px;
    font-size: 14px;
    color: var(--muted);
}

textarea,
input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: transparent;
    color: #fff;
    cursor: pointer;
}

button:hover {
    background-color: var(--brand);
}

iframe {
    height: 300px;
    border: 0;
}


/* ==========================================================================
   3. Layout
   ========================================================================== */
main {
    width: 100%;
    max-width: 1100px;
    margin: 20px auto;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

/* Row of cards / buttons */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 10px;
    max-width: 1100px;
    margin: 20px auto;
    border-radius: 10px;
}

@media (min-width: 400px) {
    .container {
        gap: 20px;
    }
}

/* White panel holding the "Cafe Tools" cards */
.container-cafe {
    justify-content: left;
    padding: 30px 20px;
    background: #fff;
}

/* White content panel (updates feed, feature lists) */
.container1 {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: left;
    gap: 20px;
    max-width: 1100px;
    margin: 10px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

/* Area that holds the AdSense unit */
.ads-sec {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: left;
    gap: 20px;
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px 10px;
}


/* ==========================================================================
   4. Header and navigation
   ========================================================================== */
header {
    position: relative;                 /* own stacking context, so dropdowns sit above the slider */
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 20px;
    background: #fff;
    color: var(--text);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.header-items {
    display: flex;
}

.header-logo {
    display: flex;
    align-items: center;
}

header img {
    height: 50px;
    margin-right: 20px;
}

/* Desktop menu bar */
#navbar {
    display: flex;
    align-items: center;
    z-index: 100000;
}

#navbar ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

#navbar ul li {
    display: inline-block;
}

#navbar ul li a {
    padding: 8px 12px;
    color: var(--text);
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s;
}

#navbar ul li a:hover {
    background: var(--brand-dark);
    color: #fff;
    border-radius: 5px;
}

/* These two only exist for the mobile sidebar */
.closebtn,
.m-logo {
    display: none;
}

.menu-toggle {
    display: none;
    padding: 4px 8px;
    font-size: 26px;
    color: var(--text);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--brand);
    border-radius: 6px;
}

/* Dropdown menus */
.dropdown {
    position: relative;
}

#navbar .dd-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

#navbar .dd-toggle .chev {
    width: 7px;
    height: 7px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s;
}

#navbar .dropdown.open > .dd-toggle {
    background: var(--brand-dark);
    color: #fff;
    border-radius: 5px;
}

#navbar .dropdown.open > .dd-toggle .chev {
    transform: translateY(2px) rotate(-135deg);
}

#navbar .dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1100;
    display: none;                      /* closed = not in the layout at all (no hidden overflow, no tab stops) */
    gap: 0;
    min-width: 260px;
    margin-top: 8px;
    padding: 8px;
    list-style: none;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.06);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, display .18s allow-discrete;
}

#navbar .dropdown-content.align-right {
    left: auto;
    right: 0;
}

/* invisible bridge so the panel doesn't close while the mouse crosses the gap */
#navbar .dropdown-content::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

#navbar .dropdown.open > .dropdown-content {
    display: block;                     /* block: "#navbar ul" is display:flex and would lay the items in a row */
    opacity: 1;
    transform: none;
}

@starting-style {
    #navbar .dropdown.open > .dropdown-content {
        opacity: 0;
        transform: translateY(8px);
    }
}

#navbar .dropdown-content li {
    display: block;
    width: 100%;
}

#navbar .dropdown-content a {
    display: block;
    padding: 9px 12px;
    font-size: 15px;
    color: var(--text);
    white-space: nowrap;
    border-radius: 6px;
}

#navbar .dropdown-content a:hover,
#navbar .dropdown-content a:focus-visible {
    background: var(--brand-dark);
    color: #fff;
    outline: none;
}

/* Desktop: keep plain links (Home) and dropdown toggles on one line */
@media (min-width: 769px) {
    #navbar > ul {
        align-items: center;
    }
}

/* Small laptops / tablets: tighten the row so all items fit on one line */
@media (min-width: 769px) and (max-width: 1000px) {
    header {
        padding: 12px 14px;
    }

    header img {
        height: 42px;
        margin-right: 8px;
    }

    #navbar ul {
        flex-wrap: wrap;
        gap: 0;
    }

    #navbar ul li a {
        padding: 8px 7px;
        font-size: 14px;
    }

    #navbar .dd-toggle {
        gap: 6px;
    }
}

/* Mobile: slide-in sidebar, accordion dropdowns, dimmed backdrop */
.nav-backdrop {
    display: none;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    #navbar {
        position: fixed;
        top: 0;
        left: -310px;
        z-index: 100000;
        flex-direction: column;
        align-items: stretch;           /* menu fills the sidebar instead of shrinking to its widest item and centring */
        width: 290px;
        height: 100%;
        padding: 14px 0 28px;
        overflow-y: auto;
        overscroll-behavior: contain;
        background-color: #fafafa;
        visibility: hidden;
        transition: left .35s cubic-bezier(.22, .8, .24, 1), visibility 0s linear .35s;
    }

    #navbar.open {
        left: 0;
        visibility: visible;
        box-shadow: 8px 0 30px rgba(0, 0, 0, 0.25);
        transition: left .35s cubic-bezier(.22, .8, .24, 1), visibility 0s;
    }

    #navbar .m-logo {
        display: block;
        align-self: flex-start;
        width: auto;
        max-width: calc(100% - 80px);
        height: 46px;
        margin: 0 18px 12px;
        padding: 0;
        border: 0;
    }

    #navbar .closebtn {
        display: block;
        position: absolute;
        top: 8px;
        right: 10px;
        padding: 8px 12px;
        background: none;
        border: none;
        color: var(--brand);
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
    }

    #navbar .closebtn:hover {
        background: var(--brand-tint);
    }

    #navbar ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding-top: 6px;
        border-top: 1px solid #eee;
    }

    #navbar ul li {
        width: 100%;
    }

    #navbar ul li a {
        display: block;
        padding: 14px 18px;
        font-size: 18px;
    }

    #navbar ul li a:hover {
        background: var(--brand);
        color: #fff;
    }

    #navbar .dd-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #navbar .dropdown.open > .dd-toggle {
        background: var(--brand-tint);
        color: var(--brand-dark);
        border-radius: 0;
    }

    #navbar .dropdown-content {
        position: static;
        display: none;
        min-width: 0;
        margin: 0;
        padding: 4px 0 10px;
        background: #f6f7fd;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        transform: none;
        transition: none;
    }

    #navbar .dropdown-content::before {
        display: none;
    }

    #navbar .dropdown.open > .dropdown-content {
        display: block;
    }

    #navbar .dropdown-content a {
        padding: 11px 18px 11px 30px;
        font-size: 16px;
        white-space: normal;
        border-radius: 0;
    }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 99999;
        background: rgba(15, 23, 42, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease, visibility .3s;
    }

    .nav-backdrop.show {
        opacity: 1;
        visibility: visible;
    }
}

@media (prefers-reduced-motion: reduce) {
    #navbar .dropdown-content,
    #navbar .dd-toggle .chev {
        transition: none;
    }
}


/* ==========================================================================
   5. Slider
   ========================================================================== */
.slider {
    --ratio: 1200 / 280;                /* banner shape */
    --accent: #1685e8;
    --speed: .65s;

    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    touch-action: pan-y;                /* vertical scroll stays native, horizontal = swipe */
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
}

.slider.dragging {
    cursor: grabbing;
}

.slider:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* The clipped banner area; the dots live outside it, below */
.slider .viewport {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #e5e9f0;
    isolation: isolate;
}

/* Track: every slide is exactly 100% wide, so it follows the screen size with no JS maths */
.slider .list {
    display: flex;
    transition: transform var(--speed) cubic-bezier(.22, .8, .24, 1);
    will-change: transform;
    backface-visibility: hidden;
}

.slider .item {
    flex: 0 0 100%;
    min-width: 0;
}

.slider .item a {
    display: block;
}

.slider .item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: var(--ratio);
    object-fit: cover;                  /* fills the full width (crops a little top/bottom); "contain" = show whole banner */
    -webkit-user-drag: none;
    user-select: none;
}

/* Dots (centred below the banner) */
.slider .dots {
    display: flex;
    gap: 2px;
    width: fit-content;
    margin: 8px auto 0;
    padding: 2px 6px;
    list-style: none;
    border-radius: 999px;
    background: rgba(0, 0, 0, .35);
}

.slider .dots li {
    list-style: none;
}

.slider .dots button,
.slider .dots button:hover {            /* :hover listed so the page-wide button:hover rule can't recolour it */
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.slider .dots button::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .6);
    transition: width .35s cubic-bezier(.22, .8, .24, 1), background .3s;
}

.slider .dots li.active button::before {
    width: 22px;
    background: #fff;
}

.slider .dots button:focus-visible {
    outline: 2px solid #fff;
}

.slider.is-single .dots {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .slider .list {
        transition-duration: .01ms;
    }

    .slider .dots button::before {
        transition: none;
    }
}


/* ==========================================================================
   6. Tool search
   ========================================================================== */
.tool-search {
    position: relative;
    z-index: 20;
    width: 100%;
    max-width: 1100px;
    margin: 24px auto 0;
}

@media (max-width: 1124px) {
    .tool-search {
        padding: 0 10px;
    }
}

.tool-search .ts-form {
    position: relative;
    margin: 0;
}

.tool-search .ts-box {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 5px 5px 18px;
    background: #fff;
    border: 2px solid #dfe3f3;
    border-radius: 999px;
    box-shadow: rgba(60, 64, 67, 0.2) 0 1px 3px 0, rgba(60, 64, 67, 0.1) 0 4px 14px 0;
    transition: border-color .2s, box-shadow .2s;
}

.tool-search .ts-box:focus-within {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(73, 86, 165, .16), rgba(60, 64, 67, 0.15) 0 4px 14px 0;
}

.tool-search .ts-icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--brand);
    stroke-width: 2.2;
    stroke-linecap: round;
}

.tool-search .ts-input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    margin: 0;
    padding: 11px 6px;
    border: 0;
    border-radius: 0;
    outline: none;
    background: transparent;
    font-size: 16px;                    /* 16px stops iPhones zooming in on focus */
    color: var(--text);
}

.tool-search .ts-input::placeholder {
    color: #8a90ab;
}

.tool-search .ts-clear {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #6b7190;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.tool-search .ts-clear[hidden] {
    display: none;
}

.tool-search .ts-clear:hover {
    background: var(--brand-tint);
    color: var(--brand-dark);
}

.tool-search .ts-go {
    flex: 0 0 auto;
    padding: 11px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}

.tool-search .ts-go:hover {
    background: var(--brand-dark);
}

.tool-search .ts-box button:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.tool-search .ts-go:focus-visible {
    outline-color: var(--brand-dark);
}

/* Suggestions panel */
.tool-search .ts-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 1200;
    max-height: min(380px, 60vh);
    margin: 0;
    padding: 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
    list-style: none;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .2), 0 0 0 1px rgba(15, 23, 42, .06);
}

.tool-search .ts-list[hidden] {
    display: none;
}

.tool-search .ts-label {
    padding: 8px 12px 4px;
    color: #8a90ab;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.tool-search .ts-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
}

.tool-search .ts-item.active a,
.tool-search .ts-item a:hover {
    background: var(--brand-tint);
}

.tool-search .ts-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tool-search .ts-title {
    color: #232a5c;
    font-size: 15px;
    font-weight: 700;
}

.tool-search .ts-desc {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

.tool-search .ts-cat {
    flex: 0 0 auto;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--brand-tint);
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
}

.tool-search .ts-item.active .ts-cat {
    background: #fff;
}

.tool-search mark {
    padding: 0 1px;
    border-radius: 3px;
    background: #ffe9a8;
    color: inherit;
}

.tool-search .ts-empty {
    padding: 16px 14px;
    color: var(--muted);
    font-size: 14px;
}

.tool-search .ts-empty a {
    color: var(--brand);
    font-weight: 700;
    text-decoration: underline;
}

/* Quick-search buttons */
.tool-search .ts-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 12px 4px 0;
    color: #666;
    font-size: 13px;
}

.tool-search .ts-chip {
    padding: 5px 13px;
    border: 1px solid #d5daf0;
    border-radius: 999px;
    background: #fff;
    color: var(--brand);
    font-size: 13px;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}

.tool-search .ts-chip:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.tool-search .ts-chip:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

/* Screen-reader-only status text */
.tool-search .ts-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (max-width: 480px) {
    .tool-search .ts-box {
        padding-left: 14px;
    }

    .tool-search .ts-go {
        padding: 10px 16px;
    }

    .tool-search .ts-cat {
        display: none;
    }
}


/* ==========================================================================
   7. WhatsApp button
   ========================================================================== */
.wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background-color: #25D366;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

.wa-btn:hover {
    background-color: #1ebe5a;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
    transform: translateY(-2px);
}

.wa-btn:active {
    background-color: #17a74c;
    box-shadow: 0 3px 8px rgba(37, 211, 102, 0.35);
    transform: translateY(0);
}

.wa-btn:focus-visible {
    outline: 3px solid #128C7E;
    outline-offset: 3px;
}

.wa-btn svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: #fff;
}


/* ==========================================================================
   8. Tool cards and headings
   ========================================================================== */
.steps-title {
    margin: 30px 0;
}

.steps-title span {
    padding: 20px;
    color: #1a1a1b;
    font-size: 20px;
}

.section-title {
    max-width: 1100px;
    margin: 10px auto;
}

.card {
    width: 47%;
    padding: 10px;
    background: #fff;
    border-radius: 3px;
    box-shadow: var(--card-shadow);
    text-align: left;
}

@media (min-width: 400px) {
    .card {
        width: 220px;
        padding: 3px 20px;
    }
}

.icon {
    margin-bottom: 10px;
    font-size: 30px;
}

/* Card icon widths */
.ico-60  { width: 60px; }
.ico-70  { width: 70px; }
.ico-120 { width: 120px; }
.ico-160 { width: 160px; }
.ico-fluid { width: 100%; padding: 5px; }
.ico-fluid-80 { width: 100%; max-width: 80px; padding: 5px; }


/* ==========================================================================
   9. Content blocks
   ========================================================================== */
/* Comments box (markup comes from /comments/box.php) */
.sa-comments {
    max-width: 1100px;
}

/* 16:9 frame for an embedded iframe */
.iframe-ratio {
    width: 100%;
    max-width: 420px;
    height: 300px;
    margin: 0 auto;
    padding-top: 56.25%;                /* 16:9 = 9/16*100; use 75% for 4:3, 100% for 1:1 */
    overflow: hidden;                   /* clips the rounded corners */
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

/* Banner strip (its image is currently switched off) */
.attest-banner {
    display: flex;
    justify-content: left;
    width: 100%;
    background: #4C49A2;
}

.attest-banner img {
    display: none;
    max-width: 400px;
}


/* ==========================================================================
   10. Subscribe / suggest-a-tool box
   ========================================================================== */
.tool-suggestion {
    display: flex;
    flex-wrap: wrap;
    width: 99%;
    max-width: 1100px;
    margin: 50px auto 0;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

@media (min-width: 568px) {
    .tool-suggestion {
        flex-wrap: nowrap;
    }
}

.yt-ch,
.suggest-us {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 300px;
    max-width: 300px;
    margin: 10px auto;
}

.yt-ch a {
    margin: 20px 0;
    padding-top: 26px;
}

.yt-subscribe {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

button.subscribe-btn,
button.subscribe-btn:hover {            /* :hover listed so the page-wide button:hover rule can't recolour it */
    margin-left: 25px;
    background: red;
    color: #fff;
}

.subscribe-link {
    color: #fff;
    font-weight: 700;
}

.subscribe-note {
    font-size: 15px;
}


/* ==========================================================================
   11. Footer
   ========================================================================== */
.site-footer {
    width: 100%;
    margin-top: 50px;
    background: linear-gradient(180deg, #232a5c 0%, #171c42 100%);
    border-top: 3px solid var(--brand);
    color: #c5cae9;
    font-size: 14px;
    line-height: 1.6;
}

.site-footer .sf-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 36px 20px 22px;
}

.site-footer a {
    color: #c5cae9;
    text-decoration: none;
    transition: color .2s;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
    border-radius: 3px;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer .sf-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px 32px;
}

.site-footer .sf-logo {
    display: inline-block;
    line-height: 0;
}

.site-footer .sf-logo:hover {
    text-decoration: none;
}

.site-footer .sf-logo-img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 42px;
}

.site-footer .sf-about {
    max-width: 520px;
    margin: 14px 0 0;
    padding: 0;
    color: #c5cae9;
    font-size: 14px;
}

.site-footer .sf-social {
    display: flex;
    gap: 10px;
}

.site-footer .sf-social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    color: #fff;
    transition: background .2s, border-color .2s, transform .2s;
}

.site-footer .sf-social a:hover {
    background: var(--brand);
    border-color: var(--brand);
    text-decoration: none;
    transform: translateY(-2px);
}

.site-footer .sf-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.site-footer .sf-social svg.sf-stroke {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-footer .sf-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px 24px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.site-footer .sf-copy {
    margin: 0;
    padding: 0;
    color: #c5cae9;
    font-size: 13px;
}

.site-footer .sf-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    font-size: 13px;
}

.site-footer .sf-disclaimer {
    max-width: 760px;
    margin: 14px 0 0;
    padding: 0;
    color: #8f96c4;
    font-size: 12px;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .site-footer .sf-inner {
        padding: 30px 18px 20px;
    }

    .site-footer .sf-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ==========================================================================
   12. Content pages (About Us, Privacy Policy, Terms)
   Use <main class="content-page">. Scoped, so the homepage is not affected.
   Policy pages: <main class="content-page legal"> keeps normal bullet lists.
   ========================================================================== */
main.content-page {
    max-width: 1000px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

main.content-page h1 {
    padding: 20px 5px;
    color: var(--text);
    font-size: 2.1em;
    border-bottom: 1px solid #eee;
}

main.content-page h2 {
    margin-bottom: 15px;
    padding-bottom: 5px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
}

main.content-page h3 {
    margin-top: 20px;
    color: #2980b9;
}

main.content-page p {
    margin: 10px 0;
    padding: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
}

main.content-page ul {
    padding: 0;
    list-style: none;
}

main.content-page ul li {
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
}

main.content-page ul li b {
    color: #2c3e50;
}

main.content-page a {
    color: #3498db;
    font-weight: bold;
}

main.content-page a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    main.content-page ul li {
        padding: 8px;
    }
}

/* Policy pages: ordinary bulleted lists instead of the boxed list items */
main.content-page.legal ul {
    margin: 8px 0 14px;
    padding-left: 28px;
    list-style: disc;
}

main.content-page.legal ul li {
    margin: 0;
    padding: 4px 0;
}