/*
Theme Name: Affiliates Meet Brands
Theme URI: https://example.com/
Author: Muzammil + ChatGPT
Author URI: https://example.com/
Description: Clean directory theme for Affiliates, Brands & Networks with paywalled sections.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: affiliates-meet-brands
*/

:root {
    /* Backgrounds */
    --amb-bg: #ffffff;        /* main page background */
    --amb-bg-soft: #F7F9FC;   /* soft sections (search bar bg etc.) */
    --amb-bg-card: #ffffff;   /* cards */

    /* Text */
    --amb-text: #0A1A2F;      /* main text */
    --amb-text-muted: #6B7280;

    /* Brand colors */
    --amb-primary: #0A284B;           /* deep blue */
    --amb-primary-accent: #FFD400;    /* yellow CTA */
    --amb-border: #E5E7EB;

    /* Radius & shadow */
    --amb-radius: 18px;
    --amb-radius-pill: 999px;
    --amb-shadow-soft: 0 18px 50px rgba(15,23,42,0.08);

    --amb-font-main: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
}

/* Global reset */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--amb-font-main);
    background: var(--amb-bg);
    color: var(--amb-text);
    line-height: 1.6;
}

/* Layout */

.amb-container {
    width: min(1180px, 100% - 40px);
    margin: 0 auto;
    padding: 32px 0 64px;
}

.amb-main {
    padding-top: 40px;
}

/* ================= TOP BAR ================= */

.amb-topbar {
    background: #0F172A;
    color: #E5E7EB;
    font-size: 12px;
}

.amb-topbar-inner {
    width: min(1180px, 100% - 40px);
    margin: 0 auto;
    padding: 6px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amb-topbar-inner a {
    color: #FACC15;
    text-decoration: none;
    font-weight: 500;
}

/* ================= HEADER ================== */

.amb-header {
    position: sticky;
    top: 0;
    z-index: 99;
    background: var(--amb-primary);  /* deep blue bar */
    border-bottom: 1px solid rgba(15,23,42,0.4);
}

.amb-header-inner {
    width: min(1180px, 100% - 40px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 20px;
}

/* Logo */

.amb-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.amb-logo-img {
    height: 55px;
    width: auto;
    display: block;
}

/* Nav */

.amb-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.amb-nav a {
    font-size: 14px;
    text-decoration: none;
    color: rgba(255,255,255,0.75);
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: color .18s ease, border-color .18s ease;
}

.amb-nav a:hover {
    color: #ffffff;
    border-color: rgba(255,255,255,0.9);
}

/* Header CTAs */

.amb-nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.amb-btn {
    border-radius: var(--amb-radius-pill);
    border: 1px solid var(--amb-primary);
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
    background: var(--amb-primary);
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.amb-btn-primary {
    background: var(--amb-primary);
    color: #ffffff;
    border-color: var(--amb-primary);
}

.amb-btn-accent {
    background: var(--amb-primary-accent); /* yellow */
    color: #111827;
    border-color: var(--amb-primary-accent);
}

.amb-btn-outline {
    background: #ffffff;
    color: var(--amb-primary);
    border-color: var(--amb-primary);
}

.amb-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* =============== HERO + SEARCH ============ */

.amb-hero {
    padding: 40px 0 20px;
}

.amb-hero-title {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 10px;
}

.amb-hero-subtitle {
    max-width: 600px;
    font-size: 15px;
    color: var(--amb-text-muted);
}

/* Home hero tweaks */

.amb-home .amb-hero-home {
    padding-top: 48px;
    padding-bottom: 20px;
    text-align: left;
}

.amb-hero-ctas {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.amb-pill-btn {
    border-radius: 999px;
    padding: 10px 24px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    background: var(--amb-primary);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(15,23,42,0.12);
}

.amb-pill-btn:hover {
    transform: translateY(-1px);
}

.amb-pill-accent {
    background: var(--amb-primary-accent);
    color: #111827;
}

/* Search bar (if used later) */

.amb-search-wrap {
    margin-top: 22px;
}

.amb-search-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--amb-bg-soft);
    border-radius: var(--amb-radius-pill);
    padding: 10px 14px;
    border: 1px solid var(--amb-border);
}

.amb-search-inner input[type="search"] {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
}

.amb-search-inner button {
    border: none;
    background: #000;
    color: #fff;
    border-radius: var(--amb-radius-pill);
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
}

/* =============== SECTION SHELLS =========== */

.amb-section {
    margin-top: 40px;
}

.amb-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.amb-section-title {
    font-size: 20px;
    font-weight: 600;
}

.amb-section-sub {
    font-size: 13px;
    color: var(--amb-text-muted);
}

.amb-section-title-center {
    text-align: center;
}

/* =============== SUBSCRIBE CARD ============ */

.amb-subscribe-section {
    margin-top: 40px;
}

.amb-subscribe-card {
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    border-radius: 24px;
    padding: 26px 24px 24px;
    text-align: center;
    border: 1px solid #BFDBFE;
}

.amb-subscribe-title {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 700;
}

.amb-subscribe-sub {
    font-size: 14px;
    color: var(--amb-text-muted);
    margin-bottom: 18px;
}

.amb-subscribe-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.amb-subscribe-form input {
    min-width: 260px;
    max-width: 420px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #CBD5F5;
    font-size: 14px;
}

.amb-subscribe-form button {
    border-radius: 999px;
    padding: 10px 20px;
    border: none;
    background: var(--amb-primary);
    color: #fff;
    cursor: pointer;
}

/* ======== BRANDS OF THE MONTH ============= */

.amb-section-header-split {
    align-items: flex-start;
}

.amb-section-header-split .amb-section-sub {
    max-width: 420px;
}

.amb-featured-brand-card {
    margin-top: 22px;
    border-radius: 22px;
    background: #EFF6FF;
    padding: 22px 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 24px;
    border: 1px solid #BFDBFE;
}

.amb-featured-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1D4ED8;
}

.amb-featured-title {
    margin: 8px 0;
    font-size: 22px;
}

.amb-featured-excerpt {
    font-size: 14px;
    color: var(--amb-text-muted);
    margin-bottom: 16px;
}

.amb-featured-pill {
    font-size: 11px;
    background: rgba(250, 204, 21, 0.15);
    border-radius: 999px;
    padding: 5px 12px;
    display: inline-block;
    margin-bottom: 10px;
}

.amb-featured-logo {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.amb-featured-logo img {
    max-height: 80px;
    width: auto;
}

.amb-featured-logo-placeholder {
    font-size: 13px;
    color: var(--amb-text-muted);
}

/* other brands rows */

.amb-brand-list {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.amb-brand-row {
    display: grid;
    grid-template-columns: 140px minmax(0, 1.8fr) 150px;
    gap: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
}

.amb-brand-row-media img {
    border-radius: 14px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.amb-brand-row-placeholder {
    background: #E5E7EB;
    border-radius: 14px;
    width: 100%;
    padding-top: 75%;
}

.amb-brand-row-title {
    margin: 0 0 4px;
    font-size: 18px;
}

.amb-brand-row-text {
    font-size: 13px;
    color: var(--amb-text-muted);
    margin-bottom: 10px;
}

.amb-brand-row-label {
    font-size: 12px;
    font-weight: 600;
    margin-right: 6px;
}

.amb-brand-row-tags {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.amb-brand-row-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* ========== GENERIC CARD GRID (TRENDING) ====== */

.amb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.amb-card,
.amb-tool-card {
    background: var(--amb-bg-card);
    border-radius: var(--amb-radius);
    border: 1px solid var(--amb-border);
    padding: 16px 16px 18px;
    box-shadow: 0 8px 26px rgba(0,0,0,0.02);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.amb-card:hover,
.amb-tool-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--amb-shadow-soft);
    border-color: #ddd;
}

.amb-card-kicker {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--amb-text-muted);
}

.amb-card-title {
    font-size: 16px;
    font-weight: 600;
}

.amb-card-meta {
    font-size: 13px;
    color: var(--amb-text-muted);
}

/* tool cards (trending brands/networks) */

.amb-tool-grid .amb-tool-card {
    background: #F9FAFB;
}

.amb-tool-card-logo {
    background: #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    border-radius: 16px 16px 0 0;
}

.amb-tool-card-logo img {
    max-height: 90px;
    width: auto;
}

.amb-tool-logo-placeholder {
    width: 60%;
    height: 60px;
    border-radius: 16px;
    background: #D1D5DB;
}

.amb-tool-card-body {
    padding: 16px 16px 18px;
}

.amb-tool-title {
    margin: 0 0 4px;
    font-size: 16px;
}

.amb-tool-text {
    font-size: 13px;
    color: var(--amb-text-muted);
    margin-bottom: 10px;
}

.amb-tool-btn {
    width: 100%;
    justify-content: center;
}

/* Chip filters */

.amb-chip-row {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.amb-chip {
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    background: #F3F4F6;
    color: #374151;
}

.amb-chip-active {
    background: #DBEAFE;
    color: #1D4ED8;
}

/* ========== PAYWALLED / BLURRED BLOCK ========= */

.amb-locked-wrap {
    position: relative;
    margin-top: 24px;
}

.amb-locked-inner {
    filter: blur(4px);
    pointer-events: none;
    user-select: none;
}

.amb-locked-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(15,23,42,0.85), rgba(15,23,42,0.75));
    color: #E5E7EB;
    border-radius: var(--amb-radius);
    text-align: center;
    padding: 24px;
}

.amb-locked-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.amb-locked-text {
    font-size: 14px;
    margin-bottom: 14px;
}

.amb-locked-pill {
    font-size: 11px;
    background: var(--amb-bg-soft);
    padding: 6px 10px;
    border-radius: var(--amb-radius-pill);
}

.amb-locked-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
}

/* ============ SINGLE TEMPLATE LAYOUT ========== */

.amb-single-header {
    margin-bottom: 20px;
}

.amb-single-kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--amb-text-muted);
}

.amb-single-title {
    font-size: 26px;
    font-weight: 700;
    margin: 8px 0 4px;
}

.amb-single-meta {
    font-size: 13px;
    color: var(--amb-text-muted);
}

.amb-single-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.1fr);
    gap: 24px;
    margin-top: 24px;
}

.amb-single-panel {
    background: #fff;
    border-radius: var(--amb-radius);
    border: 1px solid var(--amb-border);
    padding: 18px 18px 20px;
}

.amb-panel-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--amb-text-muted);
    opacity: .9;
}

.amb-panel-body {
    font-size: 14px;
}

.amb-panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.amb-panel-list li {
    padding: 4px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.amb-panel-list strong {
    font-weight: 600;
}

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

.amb-footer {
    border-top: 1px solid var(--amb-border);
    padding: 22px 0;
    font-size: 12px;
    color: var(--amb-text-muted);
    background: #fafafa;
}

.amb-footer-inner {
    width: min(1180px, 100% - 40px);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

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

@media (max-width: 900px) {
    .amb-featured-brand-card {
        grid-template-columns: 1fr;
    }
    .amb-brand-row {
        grid-template-columns: 120px minmax(0, 1fr);
        grid-template-rows: auto auto;
    }
    .amb-brand-row-actions {
        justify-content: flex-start;
        grid-column: 1 / -1;
        margin-top: 10px;
    }
}

@media (max-width: 800px) {
    .amb-header-inner {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .amb-nav {
        flex-wrap: wrap;
    }
    .amb-single-grid {
        grid-template-columns: 1fr;
    }
}
/* Big banner subscribe button */
.amb-banner-form button,
.amb-banner-card button {
    background: #FFD400 !important;     /* Yellow */
    color: #111827 !important;           /* Dark text */
    border: none !important;
    border-radius: 999px !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

/* Hover: invert colors (white button, dark text) */
.amb-banner-form button:hover,
.amb-banner-card button:hover {
    background: #ffffff !important;
    color: #0A284B !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
}
/* Align form items */
.amb-banner-form,
.amb-banner-card form {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 16px !important;
}
/* Big banner subscribe input */
.amb-banner-form input[type="email"],
.amb-banner-card input[type="email"] {
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 999px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    outline: none !important;
    width: 260px !important;
}

.amb-banner-form input[type="email"]::placeholder,
.amb-banner-card input[type="email"]::placeholder {
    color: #9ca3af !important;
}
.amb-card {
    display: block;
    background: #ffffff;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid #e6e6e6;
    transition: 0.3s;
    text-decoration: none !important;
    color: #021526;
}

.amb-card:hover {
    border-color: #FFD200;
    box-shadow: 0px 3px 12px rgba(0,0,0,0.08);
}

.amb-card-logo img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.amb-card-title {
    margin-top: 15px;
    font-size: 18px;
    font-weight: bold;
}

.amb-card-meta,
.amb-card-desc,
.amb-card-rating {
    font-size: 14px;
    color: #444;
    margin-top: 6px;
}
/* NETWORK CARD GRID */
.amb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

/* NETWORK CARD */
.amb-network-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e0e6f0;
    transition: 0.28s ease;
    text-decoration: none !important;
    color: #021526;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* HOVER */
.amb-network-card:hover {
    border-color: #FFD200;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* LOGO */
.amb-network-logo img {
    width: 95px;
    height: 95px;
    object-fit: contain;
}

.amb-logo-placeholder {
    width: 95px;
    height: 95px;
    border-radius: 10px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 13px;
}

/* TEXT */
.amb-network-title {
    margin: 18px 0 8px;
    font-size: 20px;
    font-weight: 600;
}

.amb-network-desc {
    font-size: 14px;
    color: #444;
    margin-bottom: 14px;
}

.amb-network-meta {
    font-size: 14px;
    margin-top: 6px;
    color: #1d334a;
}

/* RATING */
.amb-network-rating {
    margin-top: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #FFD200;
}
/* ========== CARD GRID ========== */
.amb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

/* ========== GENERIC CARD ========== */
.amb-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--amb-primary, #032549); /* dark blue border */
    box-shadow: 0 6px 18px rgba(3, 37, 73, 0.18);   /* blue glow */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.amb-card:hover {
    transform: translateY(-4px);
    border-color: var(--amb-accent, #FFD200);      /* yellow border on hover */
    box-shadow: 0 10px 26px rgba(3, 37, 73, 0.28); /* stronger glow */
}

.amb-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

/* Top logo area */
.amb-card-media {
    background: #f1f4f9;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;             /* big like example */
}

.amb-card-media img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}

.amb-logo-placeholder {
    font-size: 13px;
    color: #7a8497;
}

/* Middle text area */
.amb-card-body {
    padding: 18px 24px 8px;
}

.amb-card-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    color: #021526;
}

.amb-card-desc {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.5;
    color: #465468;
}

/* Footer CTA */
.amb-card-footer {
    padding: 18px 24px 22px;
}

.amb-card-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 999px;
    border: 2px solid var(--amb-primary, #032549);
    background: var(--amb-primary, #032549);   /* blue button */
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

/* Blue → Yellow on hover */
.amb-card-btn:hover {
    background: var(--amb-accent, #FFD200);
    border-color: var(--amb-accent, #FFD200);
    color: #021526;
    transform: translateY(-1px);
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .amb-card-media {
        min-height: 150px;
        padding: 20px;
    }

    .amb-card-body,
    .amb-card-footer {
        padding: 16px;
    }
}
/* ========== CARD GRID ========== */
.amb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

/* ========== GENERIC CARD ========== */
.amb-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--amb-primary, #032549); /* dark blue border */
    box-shadow: 0 6px 18px rgba(3, 37, 73, 0.18);   /* blue glow */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.amb-card:hover {
    transform: translateY(-4px);
    border-color: var(--amb-accent, #FFD200);      /* yellow border on hover */
    box-shadow: 0 10px 26px rgba(3, 37, 73, 0.28); /* stronger glow */
}

.amb-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

/* Top logo area */
.amb-card-media {
    background: #f1f4f9;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;             /* big like example */
}

.amb-card-media img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}

.amb-logo-placeholder {
    font-size: 13px;
    color: #7a8497;
}

/* Middle text area */
.amb-card-body {
    padding: 18px 24px 8px;
}

.amb-card-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    color: #021526;
}

.amb-card-desc {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.5;
    color: #465468;
}

/* Footer CTA */
.amb-card-footer {
    padding: 18px 24px 22px;
}

.amb-card-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 999px;
    border: 2px solid var(--amb-primary, #032549);
    background: var(--amb-primary, #032549);   /* blue button */
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

/* Blue → Yellow on hover */
.amb-card-btn:hover {
    background: var(--amb-accent, #FFD200);
    border-color: var(--amb-accent, #FFD200);
    color: #021526;
    transform: translateY(-1px);
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .amb-card-media {
        min-height: 150px;
        padding: 20px;
    }

    .amb-card-body,
    .amb-card-footer {
        padding: 16px;
    }
}
