/*
 Theme Name: Smart AI Marcus Child
 Theme URI: https://smartaimarcus.com
 Description: Child theme for Smart AI Marcus using GeneratePress
 Author: Marcus
 Author URI: https://smartaimarcus.com
 Template: generatepress
 Version: 1.0.0
*/

/* Your custom CSS goes below this line */

/* --- SmartAIMarcus Header (Clean Single System) --- */

.sam-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 0;
}

.sam-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Columns */
.sam-col {
    display: flex;
    align-items: center;
}

.sam-left {
    flex: 0 0 auto;
}

.sam-center {
    flex: 1 1 auto;
    justify-content: center;
}

.sam-header-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    position: relative; /* for search panel */
}

/* Logo */
.sam-logo img {
    max-width: 280px;
    height: auto;
}

/* Main nav */
.sam-nav {
    position: relative;
}

.sam-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sam-menu li a {
    font-size: 18px;
    color: #0E0E0E;
    text-decoration: none;
}

.sam-menu li a:hover {
    color: #A855FF;
    text-decoration: none;
}

/* Hide nav toggle checkbox (used for hamburger) */
.sam-nav-toggle {
    position: absolute;
    left: -9999px;
}

/* Search icon */
.sam-search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    cursor: pointer;
    position: relative;
}

.sam-search-icon-circle {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #0E0E0E;
    display: block;
}

.sam-search-icon-handle {
    position: absolute;
    width: 8px;
    height: 2px;
    background: #0E0E0E;
    transform: rotate(45deg);
    right: 7px;
    bottom: 9px;
}

/* CTA button (desktop + mobile, same element) */
.sam-header-cta {
    padding: 0.55rem 1.3rem;
    border-radius: 4px;
    background: #421E8C;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
}

.sam-header-cta:hover {
    background: #A855FF;
}

/* ========== Search Panel ========== */

/* Hide the checkbox itself */
.sam-search-toggle {
    position: absolute;
    left: -9999px;
}

/* Search panel (hidden by default) */
.sam-search-panel {
    position: absolute;
    top: 115%;               /* just below header */
    right: 0;
    width: min(480px, 92vw);
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.12);
    padding: 0.4rem 0.8rem;
    display: block;          /* always in layout, but visually hidden */
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 999;
}

/* When checkbox is checked → show panel */
.sam-search-toggle:checked ~ .sam-search-panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Form inside panel */
.sam-search-form {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.sam-search-input {
    flex: 1;
    border: none;
    font-size: 0.95rem;
    padding: 0.5rem 0.4rem 0.5rem 0.6rem;
    outline: none;
}

.sam-search-submit {
    border: none;
    background: #0E0E0E;
    color: #ffffff;
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
    border-radius: 4px;
    cursor: pointer;
}

/* Close “×” in the right of panel */
.sam-search-close {
    cursor: pointer;
    font-size: 1.3rem;
    line-height: 1;
    padding: 0 0.25rem 0.1rem 0.25rem;
}

/* ========== Hamburger base (single system) ========== */

/* Hidden checkbox already defined: .sam-nav-toggle */

.sam-hamburger {
    display: none;                /* hidden on desktop */
    width: 28px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    margin-left: 12px;
}

.sam-hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #0E0E0E;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* When checkbox checked → turn into “X” */
.sam-nav-toggle:checked + .sam-hamburger span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.sam-nav-toggle:checked + .sam-hamburger span:nth-child(2) {
    opacity: 0;
}

.sam-nav-toggle:checked + .sam-hamburger span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ========== Desktop layout ========== */

@media (min-width: 901px) {

    .sam-header-inner {
        align-items: center;
        justify-content: space-between;
    }

    .sam-center {
        justify-content: center;
    }

    .sam-nav {
        display: block;
    }

    .sam-menu {
        flex-direction: row;
    }

    .sam-hamburger {
        display: none;
    }

    .sam-header-right {
        gap: 1rem;
    }
}

/* ========== Mobile / Tablet layout ========== */

@media (max-width: 900px) {

    .sam-header-inner {
        gap: 12px;
    }

    /* Shrink logo so hamburger + search fit on same line */
    .sam-logo img {
        max-width: 190px;
    }

    .sam-center {
        flex: 0 0 auto;
        justify-content: flex-end;
        position: relative;
    }

    .sam-header-right {
        gap: 10px;
    }

    /* Show hamburger, hide inline nav initially */
    .sam-hamburger {
        display: inline-flex;
    }

    .sam-nav {
        display: none; /* hidden until toggled */
        position: absolute;
        top: 100%;
        right: 0;
        width: min(260px, 90vw);
        background-color: #FFFFFF;
        border-radius: 12px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
        padding: 16px 18px;
        z-index: 999;
    }

    .sam-menu {
        flex-direction: column;
        gap: 10px;
    }

    .sam-menu > li > a {
        display: block;
        padding: 6px 0;
        font-size: 15px;
    }

    .sam-menu > li > a:hover {
        color: #421E8C;
    }

    /* Toggle dropdown via checkbox → nav is sibling after hamburger */
    .sam-nav-toggle:checked + .sam-hamburger + .sam-nav {
        display: block;
    }
}

/* Slight tweaks for very small screens */
@media (max-width: 600px) {

    .sam-header-inner {
        padding: 10px 14px;
    }

    .sam-logo img {
        max-width: 170px;
    }

    .sam-header-cta {
        font-size: 0.85rem;
        padding: 0.5rem 1.0rem;
    }

    .sam-search-panel {
        width: min(420px, 94vw);
        right: 0;
    }
}

/* ===== SmartAIMarcus Hero ===== */

.sam-hero {
    background-color: #0E0E0E; /* full-width dark background */
    color: #FFFFFF;
    padding: 96px 16px 112px;
}

.sam-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Headings */

.sam-hero__title {
    font-size: clamp(2.75rem, 4vw, 3.5rem);
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 12px;
    color: #FFFFFF;
}

.sam-hero__subtitle {
    font-size: clamp(2rem, 3vw, 2.5rem);
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 24px;
    color: #A855FF; /* SmartAIMarcus purple */
}

/* Tagline text */

.sam-hero__tagline {
    max-width: 720px;
    margin: 0 auto 40px;
    font-size: 1rem;
    line-height: 1.7;
    color: #E8EDED;
}

/* Video shell */

.sam-hero__video-shell {
    max-width: 900px;
    margin: 0 auto;
}

.sam-hero__video-frame {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #000000;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
}

/* 16:9 aspect ratio placeholder */
.sam-hero__video-placeholder {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background-image: radial-gradient(circle at 20% 15%, #A855FF 0, #421E8C 40%, #000000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Play button */

.sam-hero__play-button {
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #A855FF;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.sam-hero__play-button::before {
    content: "";
    position: absolute;
    left: 34%;
    top: 28%;
    border-style: solid;
    border-width: 14px 0 14px 22px;
    border-color: transparent transparent transparent #FFFFFF;
}

/* Caption */

.sam-hero__video-caption {
    margin: 20px 0 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #FFFFFF;
}

/* Responsive tweaks */

@media (max-width: 768px) {
    .sam-hero {
        padding: 72px 16px 80px;
    }

    .sam-hero__video-shell {
        max-width: 100%;
    }

    .sam-hero__play-button {
        width: 64px;
        height: 64px;
    }
}

/* ===========================
   HAMBURGER + MOBILE NAV
   =========================== */

/* Hide the checkbox itself */
.sam-nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Hamburger icon (three bars) */
.sam-hamburger {
    display: none; /* hidden on desktop, shown in mobile media query */
    width: 24px;
    height: 18px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    margin-left: auto;
}

.sam-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #0E0E0E;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Desktop: normal header layout, no hamburger dropdown */
@media (min-width: 960px) {

    .sam-header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .sam-col.sam-center .sam-nav {
        display: block;
        position: static;
    }

    .sam-menu {
        display: flex;
        gap: 40px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .sam-header-cta {
        display: inline-flex;
    }

    /* Hide hamburger on desktop */
    .sam-hamburger {
        display: none !important;
    }
}

/* ===================================
   MOBILE / TABLET (hamburger mode)
   =================================== */

@media (max-width: 959px) {

    .sam-header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    /* Left column: logo gets flexed so nav & burger can sit on the right */
    .sam-col.sam-left {
        flex: 1;
    }

    .sam-col.sam-center {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        position: relative;
    }

    /* Show hamburger on small screens */
    .sam-hamburger {
        display: inline-flex;
    }

    /* Hide inline nav by default on mobile; it becomes a dropdown */
    .sam-nav {
        position: absolute;
        top: 100%;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        width: min(260px, 90vw);
        background-color: #FFFFFF;
        border-radius: 4px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
        padding: 16px 18px;
        display: none; /* toggled via checkbox below */
    }

    /* Vertical list inside dropdown */
    .sam-nav .sam-menu {
        flex-direction: column;
        gap: 8px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .sam-nav .sam-menu > li > a {
        display: block;
        padding: 6px 0;
        font-size: 15px;
        text-decoration: none;
        color: #0E0E0E;
    }

    .sam-nav .sam-menu > li > a:hover {
        color: #421E8C;
    }

    /* When checkbox is checked → show the dropdown menu */
    .sam-nav-toggle:checked ~ .sam-nav {
        display: block;
    }

    /* Animate hamburger into an “X” when open */
    .sam-nav-toggle:checked + .sam-hamburger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .sam-nav-toggle:checked + .sam-hamburger span:nth-child(2) {
        opacity: 0;
    }

    .sam-nav-toggle:checked + .sam-hamburger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* On mobile, keep CTA out of the cramped header if you want */
    .sam-header-cta {
        display: none;
    }
}

/* Reduce logo size on tablets & mobile */
@media (max-width: 900px) {
    .sam-logo img {
        max-width: 210px; /* adjust as needed */
    }
}

@media (max-width: 768px) {
    .sam-logo img {
        max-width: 190px; /* smaller for tighter layouts */
    }
}

@media (max-width: 500px) {
    .sam-logo img {
        max-width: 140px; /* smallest size for very narrow screens */
    }
}

/* Keep logo + hamburger + search icon on one line on small screens */
@media (max-width: 768px) {

    /* Stop the header from wrapping onto multiple lines */
    .sam-header-inner {
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
    }

    /* Let columns shrink naturally instead of taking 100% width */
    .sam-left,
    .sam-center,
    .sam-header-right {
        width: auto;
        flex: 0 0 auto;
    }

    /* Give the logo most of the space but allow it to shrink */
    .sam-left {
        flex: 1 1 auto;
    }

    /* Smaller logo so there’s room for hamburger + search */
    .sam-logo img {
        max-width: 190px;
        height: auto;
    }

    /* Keep hamburger + search icon tight on the right */
    .sam-header-right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
    }
}

/* ============================
   SmartAIMarcus Footer
   ============================ */

.sam-footer {
    width: 100%;
    background-color: #0E0E0E; /* full-width dark background */
    color: #fff;
    padding: 48px 16px 32px;
    margin-top: 0;
}

.sam-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 48px;
    align-items: flex-start;
    justify-content: space-between;
}

/* Generic column styling */
.sam-footer-col {
    flex: 1 1 0;
    min-width: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* LEFT COLUMN */
.sam-footer-logo img {
    display: block;
    max-width: 265px;
    height: auto;
    margin-bottom: 16px;
}

.sam-footer-text {
    margin: 0 0 8px;
    color: #FFFFFF;
}

/* MIDDLE COLUMN – QUICK LINKS */
.sam-footer-heading {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: #FFFFFF;
}

.sam-footer-nav {
    margin: 0;
    padding: 0;
}

.sam-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2-column layout */
    gap: 6px 32px;
}

.sam-footer-menu li {
    margin: 0;
    padding: 0;
}

.sam-footer-menu a {
    font-size: 0.95rem;
    text-decoration: none;
    color: #FFFFFF;
}

.sam-footer-menu a:hover {
    color: #A855FF;
}

/* RIGHT COLUMN – EMAIL SIGNUP */
.sam-footer-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
}

.sam-footer-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 4px;
    border: 1px solid #0E0E0E;
    background-color: #0E0E0E;
    color: #FFFFFF;
    font-size: 0.95rem;
    outline: none;
}

.sam-footer-input::placeholder {
    color: #777777;
}

.sam-footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    width: 100%;
    border-radius: 4px;
    border: none;
    background-color: #421E8C;  /* SmartAIMarcus purple */
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
}

.sam-footer-button:hover {
    background-color: #A855FF;
}

/* Screen reader helper class (if not already in theme) */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --------- Responsive footer --------- */

@media (max-width: 900px) {
    .sam-footer-inner {
        flex-direction: column;
        gap: 32px;
    }

    .sam-footer-col {
        width: 100%;
    }

    .sam-footer-form {
        max-width: 100%;
    }
}

/* ===== Footer bottom row ===== */

.sam-footer-bottom {
    max-width: 1200px;
    margin: 40px auto;
    padding: 10px 0px;
    padding-right: 20px;
    border-top: 1px solid #202020;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 13px;
    color: #c6d2d2;
}

/* two columns: 30% / 70% */
.sam-footer-bottom-left {
    flex: 0 0 30%;
    display: flex;
    align-items: left;
    gap: 20px;
}

.sam-footer-bottom-right {
    flex: 0 0 70%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
    text-align: right;
}

/* Social icons */

.sam-footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    border: 1px solid #555555;
    font-size: 14px;
    line-height: 1;
    color: #c6d2d2;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.sam-footer-social:hover {
    border-color: #A855FF;
    background: #A855FF;
    color: #0E0E0E;
}

/* (Optional) slight brand tint per network if you want later */
.sam-footer-social-yt:hover { background:#FF0000; border-color:#FF0000; color:#ffffff; }
.sam-footer-social-tt:hover { background:#000000; border-color:#000000; color:#ffffff; }
.sam-footer-social-ig:hover { background:#C13584; border-color:#C13584; color:#ffffff; }
.sam-footer-social-x:hover  { background:#000000; border-color:#000000; color:#ffffff; }
.sam-footer-social-li:hover { background:#0A66C2; border-color:#0A66C2; color:#ffffff; }

/* Right-column links */

.sam-footer-bottom-right a {
    color: #c6d2d2;
    text-decoration: none;
}

.sam-footer-bottom-right a:hover {
    color: #A855FF;
}

.sam-footer-dot {
    opacity: 0.6;
    padding: 0 4px;
}

/* Mobile stacking */

@media (max-width: 768px) {
    .sam-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 12px;
    }

    .sam-footer-bottom-left,
    .sam-footer-bottom-right {
        flex: 0 0 100%;
        justify-content: flex-start;
    }

    .sam-footer-bottom-right {
        text-align: left;
    }
}

/* ===========================
   SmartAIMarcus – Ebook CTA
   =========================== */

.sam-ebook-cta {
    background-color: #FFFFFF;
    padding: 64px 16px;
}

.sam-ebook-cta__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 48px;
}

/* Columns */
.sam-ebook-cta__col {
    flex: 1;
}

/* Left column (book) */
.sam-ebook-cta__col--image {
    max-width: 360px;
}

.sam-ebook-cta__image {
    display: block;
    width: 100%;
    height: auto;
}

/* Right column (copy) */
.sam-ebook-cta__col--content {
    flex: 1.4;
}

/* Typography */
.sam-ebook-cta__title {
    margin: 0 0 16px;
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1.15;
    font-weight: 700;
    color: #0E0E0E;
}

.sam-ebook-cta__intro {
    margin: 0 0 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #333333;
}

/* Bullet list */
.sam-ebook-cta__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.sam-ebook-cta__list li {
    position: relative;
    padding-left: 46px;
    margin-bottom: 8px;
    font-size: 0.98rem;
    line-height: 1.55;
    color: #222222;
}

.sam-ebook-cta__list li::before {
    content: "✓";
    position: absolute;
    left: 20px;
    top: 0;
    font-weight: 700;
    color: #A855FF;
}

/* Form */
.sam-ebook-cta__form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

/* EMAIL FIELD = 50% WIDTH ON DESKTOP/TABLET */
.sam-ebook-cta__input {
    flex: 0 0 50%;
    max-width: 50%;
    min-width: 0;
    border-radius: 999px;
    border: 1px solid #D0D0D0;
    padding: 10px 14px;
    font-size: 0.95rem;
    outline: none;
}

.sam-ebook-cta__input:focus {
    border-color: #A855FF;
    box-shadow: 0 0 0 2px rgba(168, 85, 255, 0.25);
}

.sam-ebook-cta__button {
    flex: 0 0 auto;
    border: none;
    border-radius: 4px;
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    background: #421E8C;
    color: #FFFFFF;
    white-space: nowrap;
}

.sam-ebook-cta__button:hover {
    background: #A855FF;
}

/* Author strip */
.sam-ebook-cta__author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #444444;
}

.sam-ebook-cta__author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

/* Accessibility helper */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Responsive behaviour */
@media (max-width: 900px) {
    .sam-ebook-cta__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .sam-ebook-cta__col--image {
        max-width: 260px;
        margin: 0 auto;
    }

    .sam-ebook-cta__col--content {
        width: 100%;
    }
}

/* MOBILE: STACK INPUT + BUTTON FULL-WIDTH */
@media (max-width: 600px) {
    .sam-ebook-cta {
        padding: 48px 16px;
    }

    .sam-ebook-cta__form {
        flex-direction: column;
        align-items: stretch;
    }

    .sam-ebook-cta__input {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .sam-ebook-cta__button {
        width: 100%;
        text-align: center;
        display: inline-block;
    }
}

.sam-ebook-cta__author-link:hover .sam-ebook-cta__author-text {
    color: #A855FF; /* Your brand purple */
}

.sam-ebook-cta__author-link:hover .sam-ebook-cta__author-avatar {
    opacity: 0.85;
}

/* ========== SmartAIMarcus – 3-card feature section ========== */

.sam-feature-section {
	padding: 4rem 1.5rem 5rem;
	background-color: #ffffff;
	color: #0E0E0E;
}

.sam-feature-section__inner {
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

.sam-feature-section__header {
	max-width: 720px;
	margin: 0 auto 3rem;
}

.sam-feature-section__title {
	font-size: clamp(2rem, 3vw + 1rem, 2.8rem);
	line-height: 1.15;
	margin: 0 0 0.75rem;
	font-weight: 700;
}

.sam-feature-section__subtitle {
	margin: 0;
	font-size: 1rem;
	color: #555865;
}

/* Grid */

.sam-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.75rem;
	align-items: stretch;
}

/* Card */

.sam-feature-card {
	background-color: #ffffff;
	border-radius: 1.5rem;
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
	border: 1px solid #E8EDED;
	padding: 2.5rem 2.2rem 2.3rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.sam-feature-card:hover,
.sam-feature-card:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
	border-color: #BBDDDB;
}

/* Icon */

.sam-feature-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 999px;
	background: #F5F0FF;
	color: #A855FF;
	margin-bottom: 1.5rem;
}

.sam-feature-card__icon span {
	font-size: 1.6rem;
	line-height: 1;
}

/* Title & text */

.sam-feature-card__title {
	font-size: 1.15rem;
	font-weight: 600;
	margin: 0 0 0.9rem;
	color: #111827;
}

.sam-feature-card__text {
	margin: 0 0 1.6rem;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #4B5563;
}

/* Explore link */

.sam-feature-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	color: #A855FF;
}

.sam-feature-card__link:hover .sam-feature-card__arrow,
.sam-feature-card__link:focus-visible .sam-feature-card__arrow {
	transform: translateX(2px);
}

.sam-feature-card__link:focus-visible {
	outline: 2px solid #A855FF;
	outline-offset: 3px;
	border-radius: 999px;
}

.sam-feature-card__arrow {
	display: inline-block;
	transition: transform 0.15s ease;
}

/* ========== Responsiveness ========== */

@media (max-width: 960px) {
	.sam-feature-section {
		padding-top: 3.5rem;
		padding-bottom: 4rem;
	}

	.sam-feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.sam-feature-section {
		padding: 3rem 1.25rem 3.5rem;
	}

	.sam-feature-grid {
		grid-template-columns: 1fr;
	}

	.sam-feature-card {
		padding: 2.1rem 1.8rem 2rem;
	}
}

/* ================================
   Business Growth – Home Section
   ================================ */

.sam-home-section {
	margin: 3rem auto;
	padding: 0 1.5rem;
	max-width: 1200px;
}

.sam-home-section--business-growth {
	margin-top: 3.5rem;
	margin-bottom: 3.5rem;
}

.sam-home-section__inner {
	width: 100%;
}

/* Section title */
.sam-home-section__title {
	font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 1.8rem;
	color: #0e0e0e;
}

/* Grid container */
.sam-post-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}

/* ≥ 768px: 2 columns */
@media (min-width: 768px) {
	.sam-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ≥ 1024px: 3 columns (2 rows for 6 posts) */
@media (min-width: 1024px) {
	.sam-post-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Card */
.sam-post-card {
	background-color: #ffffff;
	border-radius: 18px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* Subtle hover lift (desktop) */
@media (hover: hover) {
	.sam-post-card:hover {
		transform: translateY(-3px);
		box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
	}
}

/* Thumbnail */
.sam-post-card__thumb-link {
	display: block;
}

.sam-post-card__thumb {
	display: block;
	width: 100%;
	height: 210px;
	object-fit: cover;
}

/* Card body */
.sam-post-card__body {
	padding: 1.25rem 1.4rem 1.4rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

/* Title */
.sam-post-card__title {
	font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 0.9rem;
	color: #0e0e0e;
}

.sam-post-card__title a {
	color: inherit;
	text-decoration: none;
}

.sam-post-card__title a:hover {
	text-decoration: underline;
    color: #A855FF;
}

/* Excerpt */
.sam-post-card__excerpt {
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 0.88rem;
	line-height: 1.6;
	margin: 0 0 1.25rem;
	color: #444444;
}

/* Meta row (date + read more) */
.sam-post-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	font-size: 0.84rem;
}

/* Date */
.sam-post-card__date {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: #6b6b6b;
}

.sam-post-card__date-icon {
	display: inline-flex;
}

/* Read more */
.sam-post-card__read-more {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 0.86rem;
	font-weight: 500;
	text-decoration: none;
	color: #421e8c; /* SmartAIMarcus purple */
}

.sam-post-card__read-more-icon {
	display: inline-flex;
}

/* Slight hover emphasis on read more */
.sam-post-card__read-more:hover {
	text-decoration: underline;
}

/* Small screen tweaks */
@media (max-width: 480px) {
	.sam-home-section {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.sam-post-card__thumb {
		height: 190px;
	}
}

/* === Featured Post Section === */

.sam-featured-post {
	max-width: 1150px;
	margin: 0 auto 3rem;
	padding: 2.5rem;
	background-color: #ffffff;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.sam-featured-post__inner {
	display: flex;
	align-items: center;
	gap: 2.5rem;
}

/* Image side */
.sam-featured-post__image-wrap {
	flex: 0 0 52%;
}

.sam-featured-post__image-link {
	display: block;
	border-radius: 4px;
	overflow: hidden;
}

.sam-featured-post__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Content side */
.sam-featured-post__content {
	flex: 1;
}

.sam-featured-post__title {
	margin: 0 0 1rem;
	font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 700;
	font-size: 2rem;
	line-height: 1.2;
	color: #0e0e0e;
}

.sam-featured-post__title a {
	color: inherit;
	text-decoration: none;
}

.sam-featured-post__title a:hover,
.sam-featured-post__title a:focus {
	text-decoration: underline;
}

.sam-featured-post__excerpt {
	margin: 0 0 1.75rem;
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	color: #333333;
}

/* Button */
.sam-featured-post__button {
	display: inline-block;
	padding: 0.75rem 1.9rem;
	border-radius: 4px;
	font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	background-color: #421e8c;   /* SmartAIMarcus purple */
	color: #ffffff;
}

.sam-featured-post__button:hover,
.sam-featured-post__button:focus {
	background-color: #a855ff;
    color: #ffffff;
}

/* Date of post */
.sam-featured-post__date {
	margin: 0.6rem 0 0;
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 0.9rem;
	color: #666666;
}

/* === Responsive === */

@media (max-width: 900px) {
	.sam-featured-post {
		padding: 1.75rem 1.5rem;
	}

	.sam-featured-post__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.sam-featured-post__image-wrap {
		width: 100%;
	}

	.sam-featured-post__title {
		font-size: 1.6rem;
	}
}

@media (max-width: 600px) {
	.sam-featured-post {
		margin-bottom: 2rem;
		padding: 1.5rem 1.25rem;
	}

	.sam-featured-post__title {
		font-size: 1.4rem;
	}
}
.sam-spacing {
    height: 1.5rem;   /* or margin */
}

/* AI Software section wrapper */
.sam-ai-software {
	padding: 80px 16px;
	background-color: #ffffff;
}

.sam-ai-software__inner {
	max-width: 1120px;
	margin: 0 auto;
}

/* Heading */
.sam-ai-software__heading {
	text-align: center;
	font-size: clamp(2rem, 2.6vw, 2.5rem);
	font-weight: 700;
	margin: 0 0 40px;
	color: #111111;
}

/* Grid layout */
.sam-ai-software__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

@media (max-width: 768px) {
	.sam-ai-software__grid {
		grid-template-columns: 1fr;
	}
}

/* Card base */
.sam-ai-card {
	border-radius: 16px;
	padding: 48px 40px 40px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Light and dark variants */
.sam-ai-card--light {
	background-color: #f5f5f5;
	color: #111111;
}

.sam-ai-card--dark {
	background-color: #0e032f; /* deep purple/navy */
	color: #ffffff;
}

/* Icon block */
.sam-ai-card__icon-wrapper {
	margin-bottom: 32px;
}

.sam-ai-card__icon {
	width: 120px;
	height: 120px;
	border-radius: 16px;
	background-color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sam-ai-card__icon--muted {
	background-color: #d7d4e0; /* soft grey for dark cards */
}

.sam-ai-card__icon-text {
	font-size: 0.95rem;
	font-weight: 600;
	color: #111111;
}

/* Titles & copy */
.sam-ai-card__title {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 12px;
}

.sam-ai-card--dark .sam-ai-card__title {
	color: #ffffff;
}

.sam-ai-card__description {
	max-width: 380px;
	font-size: 0.95rem;
	line-height: 1.6;
	margin: 0 0 24px;
	color: #4b4b4b;
}

.sam-ai-card--dark .sam-ai-card__description {
	color: #e5e5e5;
}

/* Links (no shadow, no transitions) */
.sam-ai-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	color: #5b21ff; /* accent purple */
}

.sam-ai-card__link--light {
	color: #f5f5ff;
}

.sam-ai-card__link:hover,
.sam-ai-card__link--light:hover {
	text-decoration: underline;
}

.sam-ai-card__link-arrow {
	font-size: 1rem;
}

/* View all link beneath grid */
.sam-ai-software__view-all {
	margin-top: 40px;
	text-align: center;
}

.sam-ai-software__view-all a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	color: #5b21ff;
}

.sam-ai-software__view-all a:hover {
	text-decoration: underline;
}

.sam-ai-card__logo {
	max-width: 100%;
	height: auto;
	display: block;
}
.sam-ai-card__title-link {
	text-decoration: none;
	color: inherit;
}
.sam-ai-card__title-link:hover {
	text-decoration: underline;
}
.sam-ai-card__logo-link {
	display: inline-block;
}

/* ===== Latest Templates & Checklists ===== */

.sam-templates {
	padding: 72px 16px 80px;
	background-color: #ffffff;
}

.sam-templates__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.sam-templates__header {
	text-align: center;
	margin-bottom: 48px;
}

.sam-templates__title {
	font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 2rem;
	line-height: 1.2;
	font-weight: 700;
	color: #0e0e0e;
	margin: 0 0 12px;
}

.sam-templates__subtitle {
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #4b5563;
	margin: 0;
}

/* Grid */

.sam-templates__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

@media (max-width: 960px) {
	.sam-templates__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.sam-templates__grid {
		grid-template-columns: 1fr;
	}
}

/* Card */

.sam-template-card {
	background-color: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	padding: 28px 28px 24px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.sam-template-card__header {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.sam-template-card__icon {
	width: 40px;
	height: 40px;
	border-radius: 999px;
	background-color: #f3f4ff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 12px;
}

.sam-template-card__icon-mark {
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: radial-gradient(circle at 30% 30%, #a855ff 0, #421e8c 65%, #0e0e0e 100%);
	display: block;
}

.sam-template-card__title {
	font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1.05rem;
	line-height: 1.3;
	font-weight: 600;
	color: #0e0e0e;
	margin: 0;
}

/* Bullet list */

.sam-template-card__list {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #374151;
}

.sam-template-card__list li {
	position: relative;
	padding-left: 40px;
	margin-bottom: 6px;
}

.sam-template-card__list li::before {
	content: "";
	position: absolute;
	left: 20px;
	top: 0.7em;
	width: 5px;
	height: 5px;
	border-radius: 999px;
	background-color: #a855ff;
	transform: translateY(-50%);
}

/* Button */

.sam-template-card__button {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 11px 20px;
	border-radius: 4px;
	background-color: #421e8c;
	color: #ffffff;
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	border: none;
	box-shadow: none; /* no box shadow */
	cursor: pointer;
}

.sam-template-card__button:hover,
.sam-template-card__button:focus {
	background-color: #a855ff; /* simple hover state, no transition */
	color: #ffffff;
}

.sam-template-card__button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 8px;
}

/* View all link */

.sam-templates__footer {
	text-align: center;
	margin-top: 40px;
}

.sam-templates__view-all {
	display: inline-flex;
	align-items: center;
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 0.98rem;
	font-weight: 500;
	color: #421e8c;
	text-decoration: none;
}

.sam-templates__view-all:hover,
.sam-templates__view-all:focus {
	color: #a855ff;
}

.sam-templates__view-all-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 6px;
}

/* === E-Book Email Signup CTA === */

.sam-ebook-signup {
    width: 100%;
    background-color: #0e0e0e; /* FULL-WIDTH background */
    color: #ffffff;
    padding: 80px 16px;
    display: block;
}

.sam-ebook-signup__inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.sam-ebook-signup__title {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: #FFFFFF;
}

.sam-ebook-signup__subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: #e0e0e0;
    margin: 0 0 32px;
}

/* Form */

.sam-ebook-signup__form {
    max-width: 480px;
    margin: 0 auto;
    text-align: left;
}

.sam-ebook-signup__label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sam-ebook-signup__input {
    width: 100%;
    box-sizing: border-box;
    background-color: #171717;
    border: 1px solid #555555;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 0.95rem;
    color: #ffffff;
    outline: none;
}

.sam-ebook-signup__input::placeholder {
    color: #888888;
}

/* Button – no shadow, no transitions */

.sam-ebook-signup__button {
    display: block;
    width: 100%;
    margin-top: 20px;
    border: none;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    background-color: #421e8c;
    color: #ffffff;
    /* No box-shadow, no transitions */
}

.sam-ebook-signup__button:hover,
.sam-ebook-signup__button:focus {
    background-color: #a855ff; /* simple hover state, no transition */
    color: #ffffff;
}

/* Title block: SVG above H2 */
.sam-ebook-signup__title-wrap {
    text-align: center;
    margin-bottom: 20px;
}

/* Email icon above the title */
.sam-ebook-signup__icon-title {
    width: 64px;
    height: 64px;
    stroke: #ffffff;
    display: block;
    margin: 0 auto 16px; /* centered + spacing below */
}

/* Responsive */

@media (max-width: 768px) {
    .sam-ebook-signup__icon-title {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .sam-ebook-signup {
        padding: 56px 16px;
    }

    .sam-ebook-signup__title {
        font-size: 1.8rem;
    }

    .sam-ebook-signup__icon-title {
        width: 40px;
        height: 40px;
    }
}

/* About Marcus section */

.sam-about {
	padding: clamp(4rem, 7vw, 6rem) 1.5rem;
	background-color: #ffffff;
}

.sam-about__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: clamp(2.5rem, 4vw, 3.5rem); /* smaller gap to move text closer to image */
}

/* Image */

.sam-about__image-wrap {
	flex: 0 0 360px;
	max-width: 400px;
}

.sam-about__image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 18px;
	object-fit: cover;
}

/* Content */

.sam-about__content {
	flex: 1 1 auto;
	max-width: 620px;
}

.sam-about__eyebrow {
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
	color: #a855ff; /* brand purple accent */
}

.sam-about__title {
	font-size: clamp(2.1rem, 3vw, 2.8rem);
	line-height: 1.15;
	margin: 0 0 1.5rem;
	color: #0e0e0e;
	font-weight: 700;
}

.sam-about__text {
	font-size: 1rem;
	line-height: 1.7;
	margin: 0 0 1rem;
	color: #1f2933;
}

/* CTA link */

.sam-about__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	color: #421e8c;
	/* no transitions requested */
}

.sam-about__cta-arrow {
	font-size: 1.1rem;
	line-height: 1;
}

/* Responsive */

@media (max-width: 900px) {
	.sam-about__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.sam-about__image-wrap {
		width: 100%;
		max-width: 420px;
	}

	.sam-about__content {
		max-width: 100%;
	}
}

/* Quote / Testimonial Section */

.sam-quote {
	background-color: #0E0E0E; /* full-width background */
	color: #ffffff;
	padding: 80px 16px;
}

.sam-quote__inner {
	max-width: 1080px;
	margin: 0 auto;
	text-align: center;
}

.sam-quote__header {
	margin-bottom: 48px;
}

.sam-quote__title {
	font-size: 2.1rem;
	font-weight: 700;
	margin: 0 0 12px;
    color: #ffffff;
}

.sam-quote__subtitle {
	margin: 0;
	font-size: 0.95rem;
	color: #d0d0d0; /* light grey, clear against dark bg */
}

/* Card */

.sam-quote__card {
	background-color: #1f1f1f; /* slightly lighter than #0E0E0E */
	border-radius: 18px;
	padding: 56px 32px 48px;
	max-width: 960px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.sam-quote__icon {
	margin-bottom: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.sam-quote__icon-svg {
	width: 40px;
	height: 40px;
	color: #A855FF; /* quote icon colour */
}

.sam-quote__text {
	margin: 0 0 32px;
	max-width: 760px;
	font-size: 1.25rem;
	line-height: 1.6;
	font-weight: 500;
}

.sam-quote__author {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin-bottom: 32px;
}

.sam-quote__name {
	font-weight: 600;
	font-size: 1rem;
}

.sam-quote__role {
	font-size: 0.9rem;
	color: #c4c4c4; /* light grey subtitle under name */
}

/* Dots / pagination indicator */

.sam-quote__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.sam-quote__dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background-color: #3a3a3a;
	opacity: 0.6;
}

.sam-quote__dot--active {
	width: 34px;
	height: 4px;
	background-color: #A855FF;
	opacity: 1;
}

/* Responsive tweaks */

@media (max-width: 768px) {
	.sam-quote {
		padding: 64px 16px;
	}

	.sam-quote__card {
		padding: 40px 20px 36px;
	}

	.sam-quote__title {
		font-size: 1.7rem;
	}

	.sam-quote__text {
		font-size: 1.05rem;
	}
}

/* Implementation Summary (SmartAIMarcus) */
.sam-impl {
    margin-top: 3em;
	padding: 0; /* wrapper has no styling anymore */
}

.sam-impl__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 3rem;
    background-color: #E8EDED;
    border-radius: 1.25rem; /* optional but recommended */
}


.sam-impl__header {
	margin-bottom: 1.75rem;
}

.sam-impl__title {
	margin: 0 0 0.35rem;
	font-size: 1.4rem;
	font-weight: 700;
	color: #111827;
}

.sam-impl__subtitle {
	margin: 0;
	font-size: 0.95rem;
	color: #4B5563;
}

/* Grid */

.sam-impl__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem 2rem;
}

/* Card */

.sam-impl__item {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	padding: 1rem 1.25rem;
	border-radius: 1.25rem;
	background-color: #ffffff;
	box-shadow: 0 0 0 1px #E5E7EB;
}

/* Icon on left */

.sam-impl__icon {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 1rem;
	background: #F3E8FF;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #7C3AED; /* brand-ish purple */
}

.sam-impl__icon svg {
	width: 22px;
	height: 22px;
}

/* Content */

.sam-impl__content {
	flex: 1 1 auto;
}

.sam-impl__label {
	margin: 0 0 0.1rem;
	font-size: 0.7rem;
	text-transform: uppercase;
	color: #666666;
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sam-impl__value {
	margin: 0;
	font-size: 0.95rem;
	color: #111827;
	line-height: 1.5;
}

.sam-impl__difficulty-notes {
	margin: 0.35rem 0 0;
	font-size: 0.82rem;
	color: #4B5563;
}

/* Tools & resources list */

.sam-impl__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sam-impl__links li {
	margin: 0;
	padding: 0;
	line-height: 1.2; /* tighten vertical spacing */
	color: #111827;
	font-size: 0.85em;
}

.sam-impl__links li + li {
	margin-top: 0; /* remove previous gap */
}

.sam-impl__links a,
.sam-impl__links span {
	margin: 0;
	padding: 0;
	display: inline-block; /* avoids inline spacing artifacts */
}


/* Tags */

.sam-impl__tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.1rem 0.55rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 600;
	margin-left: 0.4rem;
}

.sam-impl__tag--guide {
	background-color: #EEF2FF;
	color: #3730A3;
}

.sam-impl__tag--affiliate {
	background-color: #FEF3C7;
	color: #92400E;
}

/* Difficulty: text + cups inline */

.sam-impl__difficulty-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.sam-impl__cups {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.sam-impl__cup {
	display: inline-flex;
	width: 18px;
	height: 18px;
	color: #9CA3AF; /* mid-grey default */
}

.sam-impl__cup--active {
	color: #7C3AED; /* brand purple for active cups */
}

.sam-impl__cup svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* Responsive */

@media (max-width: 900px) {
	.sam-impl__grid {
		grid-template-columns: 1fr;
	}

	.sam-impl__item--full {
		grid-column: auto;
	}
}

@media (max-width: 640px) {
	.sam-impl {
		padding: 2rem 1.25rem 2.25rem;
	}

	.sam-impl__item {
		padding: 0.9rem 1rem;
	}
}

/* ========== Single Post – Top Section ========== */

.sam-single-top {
	padding: 0.5rem 1.5rem 2.5rem;
	background-color: #ffffff;
	color: #0E0E0E;
	margin-bottom: 0;
}

@media (max-width: 768px) {
    .sam-single-top {
        padding-top: 0.1em;
    }
}


.sam-single-top__inner {
	max-width: 1200px;
	margin: 0 auto;
}



/* Breadcrumb */

.sam-breadcrumb {
	font-size: 0.9rem;
	color: #6B7280;
	margin-bottom: 1.5rem;
}

.sam-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.sam-breadcrumb a:hover {
	text-decoration: underline;
}

.sam-breadcrumb__sep {
	margin: 0 0.4rem;
}

.sam-breadcrumb__current {
	color: #111827;
}

/* Title */

.sam-single-top__title {
	font-size: clamp(2rem, 3vw + 1rem, 3.1rem);
	line-height: 1.15;
	margin: 0 0 1.75rem;
	font-weight: 700;
}

/* Key Takeaways */

.sam-single-top__takeaways {
	background-color: #F3E8FF;
	border-radius: 1.75rem;
	border-left: 4px solid #A855FF;
	padding: 1.75rem 2.25rem;
	margin-bottom: 2rem;
}

.sam-single-top__takeaways-heading {
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-weight: 700;
	color: #6B21A8;
	margin: 0 0 0.9rem;
}

.sam-single-top__takeaways-list {
	margin: 0;
	padding-left: 1.1rem;
}

.sam-single-top__takeaways-list li {
	margin-bottom: 0.55rem;
	font-size: 0.98rem;
	line-height: 1.6;
}

.sam-single-top__takeaways-list li:last-child {
	margin-bottom: 0;
}

/* Meta row: date + read time + share */

.sam-single-top__meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}

.sam-single-top__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	align-items: center;
	font-size: 0.95rem;
	color: #374151;
}

.sam-single-top__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.sam-single-top__meta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	color: #111827;
}

.sam-single-top__meta-icon svg {
	width: 100%;
	height: 100%;
}

.sam-single-top__meta-text {
	white-space: nowrap;
}

/* Social share */

.sam-single-top__share {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.9rem;
	margin-left: auto;
}

.sam-single-top__share-label {
	color: #374151;
	font-weight: 500;
	white-space: nowrap;
}

.sam-single-top__share-list {
	display: flex;
	gap: 0.75rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.sam-single-top__share-list li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 999px;
	color: #111827;
	transition: background-color 0.15s ease, color 0.15s ease;
	text-decoration: none;
}

.sam-single-top__share-list li a:hover,
.sam-single-top__share-list li a:focus-visible {
	background-color: #F3F4F6;
	color: #111827;
	outline: none;
}

.sam-single-top__share-icon {
	display: inline-flex;
	width: 18px;
	height: 18px;
}

.sam-single-top__share-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* Divider */

.sam-single-top__divider {
	border: 0;
	border-top: 1px solid #E5E7EB;
	margin: 0 0 1.75rem;
}

/* Author strip */

.sam-single-top__author {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.sam-single-top__author-avatar img {
	border-radius: 999px;
	width: 72px;
	height: 72px;
	object-fit: cover;
}

.sam-single-top__author-name {
	font-size: 1rem;
	font-weight: 600;
	color: #111827;
}

.sam-single-top__author-role {
	font-size: 0.9rem;
	color: #6B7280;
}

/* ========== Responsiveness ========== */

@media (max-width: 640px) {
	.sam-single-top {
		padding: 2rem 1.25rem 2.25rem;
	}

	.sam-single-top__takeaways {
		padding: 1.5rem 1.5rem;
		border-radius: 1.25rem;
	}

	.sam-single-top__meta-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.sam-single-top__meta-text {
		white-space: normal;
	}

	.sam-single-top__share {
		margin-left: 0;
	}

	.sam-single-top__author {
		align-items: flex-start;
	}

	.sam-single-top__author-avatar img {
		width: 60px;
		height: 60px;
	}
	/* When stacking on mobile */
	.sam-single-top__meta-row {
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 0.75rem; /* reduced from default */
	}

	/* Reduce spacing above share icons */
	.sam-single-top__share {
		margin-top: 0.1rem; /* ~50% of normal vertical spacing */
		margin-left: 0;
	}

	/* Optional: reset share label wrap behavior */
	.sam-single-top__share-label {
		margin-bottom: 0.1rem;
	}
}
/* Fix Implementation Summary background width */
.sam-impl {
	/* remove full-width grey */
	background-color: transparent !important;
	padding: 0;
	border: none !important;
}

.sam-impl__inner {
	max-width: 1200px;          /* match your main content width */
	margin: 0 auto;
	padding: 2.5rem 2.5rem 3rem;
	background-color: #E8EDED;  /* grey background now only this wide */
	border-radius: 1.25rem;     /* optional – keep or remove */
}

/* ========== Table of Contents (H2-based) ========== */

/* Make TOC sticky on desktop/tablet */
.sam-toc {
	position: sticky;
	top: 30px; /* adjust for your header height / top spacing */
	z-index: 10; /* keep it above backgrounds */
}

/* Turn off sticky on mobile if you prefer */
@media (max-width: 768px) {
	.sam-toc {
		position: static;
	}
}

.sam-toc__inner {
	max-width: 1200px;
	margin: 0 auto;
	background-color: #ffffff;
	border: 1px solid #E5E7EB;
	border-radius: 0.75rem;
	padding: 1.75rem 1.5rem 1.75rem;
}

.sam-toc__header {
	margin-bottom: 1rem;
}

.sam-toc__title {
	margin: 0;
	font-size: 1.3rem;
	font-weight: 600;
	color: #111827;
}

/* Columns */

.sam-toc__columns {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

.sam-toc__col {
	flex: 1 1 0;
	min-width: 180px;
}

/* List & items */

.sam-toc__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sam-toc__item {
	margin: 0 0 0.35rem;
}

.sam-toc__link {
	display: flex;
	align-items: flex-start;
	gap: 0.4rem;
	text-decoration: none;
	font-size: 0.95rem;
	color: #111827;
	line-height: 1.4;
}

.sam-toc__link:hover .sam-toc__item-text,
.sam-toc__link:focus-visible .sam-toc__item-text {
	text-decoration: underline;
}

.sam-toc__item-number {
	font-weight: 600;
	color: #4B5563;
	min-width: 1.7rem;
}

.sam-toc__item-text {
	flex: 1 1 auto;
}

/* Mobile: single column */

@media (max-width: 640px) {
	.sam-toc__inner {
		padding: 1.5rem 1.25rem;
	}

	.sam-toc__columns {
		flex-direction: column;
	}

	.sam-toc__col {
		min-width: 100%;
	}
}

/* ============================
   Single Post Body Container
   ============================ */

.sam-single-body {
    width: 100%;
    margin: 0;
    padding: 0;
}

.sam-single-body__inner {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
}

/* Optional: control inner paragraph width */
.sam-single-body__content {
    width: 100%;
    max-width: 100%; /* remove theme narrow content styles */
}

@media (max-width: 600px) {
    .sam-single-body__inner {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.front-page .sam-header {
    border-bottom: none;
}
