/* ToolShack Network - Main Stylesheet */
/* PHP 5.6 server | Bootstrap 5 + Font Awesome 6 */

/* ─── FONTS ─────────────────────────────────────────── */
:root {
    --font-display: 'Outfit', sans-serif;
    --font-body:    'DM Sans', sans-serif;

    /* Brand colours */
    --tsn-dark:       #0a0f1e;
    --tsn-dark-mid:   #111827;
    --tsn-blue:       #4a7dff;
    --tsn-blue-deep:  #1a3a8f;
    --tsn-blue-soft:  rgba(74,125,255,0.15);
    --tsn-light-bg:   #f0f2f5;
    --tsn-white:      #ffffff;
    --tsn-border:     #dde1ea;
    --tsn-text:       #0d1224;
    --tsn-muted:      #6b7280;
    --tsn-subtle:     #9ca3af;
}

/* ─── RESET / BASE ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--tsn-light-bg);
    color: var(--tsn-text);
    margin: 0;
    padding: 0;
}

/* ─── NAV ────────────────────────────────────────────── */
.tsn-nav {
    background: var(--tsn-dark);
    border-bottom: 0.5px solid rgba(255,255,255,0.07);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.tsn-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.tsn-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.tsn-logo-icon {
    width: 34px;
    height: 34px;
    background: var(--tsn-blue-deep);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tsn-logo-icon i { color: #fff; font-size: 16px; }
.tsn-logo-text {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
}
.tsn-logo-text span { color: var(--tsn-blue); }
.tsn-nav-links { display: flex; gap: 1.75rem; }
.tsn-nav-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.15s;
}
.tsn-nav-links a:hover,
.tsn-nav-links a.active { color: #fff; }
.tsn-nav-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 20px;
    cursor: pointer;
}

/* ─── HERO ───────────────────────────────────────────── */
.tsn-hero {
    background-color: var(--tsn-dark);
    background-image:
        linear-gradient(rgba(74,125,255,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74,125,255,0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    padding: 5.5rem 2rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.tsn-hero-glow {
    position: absolute;
    top: 30%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 260px;
    background: radial-gradient(ellipse, rgba(42,92,214,0.28) 0%, rgba(74,125,255,0.10) 45%, transparent 70%);
    pointer-events: none;
}
.tsn-h1-wrap { position: relative; z-index: 1; }
.tsn-h1-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 560px; height: 130px;
    background: radial-gradient(ellipse, rgba(74,125,255,0.24) 0%, transparent 65%);
    pointer-events: none;
}
.tsn-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(42,92,214,0.18);
    border: 0.5px solid rgba(74,125,255,0.35);
    color: #7aaaff;
    font-size: 12px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}
.tsn-h1 {
    font-family: var(--font-display);
    font-size: 54px;
    font-weight: 700;
    line-height: 1.08;
    color: #fff;
    margin: 0 0 1rem;
    letter-spacing: -1.5px;
    position: relative;
    z-index: 1;
}
.tsn-h1 span { color: var(--tsn-blue); }
.tsn-hero-sub {
    font-size: 17px;
    color: rgba(232,234,240,0.6);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
    position: relative;
    z-index: 1;
}
.tsn-hero-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Hero buttons — blue text, clearly visible on dark bg */
.tsn-btn-hero-primary {
    background: rgba(74,125,255,0.15);
    color: #4a7dff;
    border: 1px solid rgba(74,125,255,0.6);
    padding: 14px 28px;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.tsn-btn-hero-primary:hover {
    background: #4a7dff;
    color: #fff;
    border-color: #4a7dff;
    transform: translateY(-2px);
}
.tsn-btn-hero-outline {
    background: rgba(255,255,255,0.06);
    color: #4a7dff;
    border: 1px solid rgba(74,125,255,0.5);
    padding: 14px 28px;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.tsn-btn-hero-outline:hover {
    background: rgba(74,125,255,0.2);
    color: #fff;
    border-color: #4a7dff;
    transform: translateY(-2px);
}

/* ─── STATS BAR ──────────────────────────────────────── */
.tsn-stats {
    display: flex;
    justify-content: center;
    background: var(--tsn-dark-mid);
    border-bottom: 0.5px solid rgba(255,255,255,0.06);
}
.tsn-stat {
    text-align: center;
    padding: 1.75rem 2.5rem;
    border-right: 0.5px solid rgba(255,255,255,0.06);
    flex: 1;
    max-width: 220px;
}
.tsn-stat:last-child { border-right: none; }
.tsn-stat-num {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--tsn-blue);
}
.tsn-stat-label {
    font-size: 11.5px;
    color: rgba(232,234,240,0.38);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 3px;
}

/* ─── LIGHT CONTENT AREA ─────────────────────────────── */
.tsn-light { background: var(--tsn-light-bg); }
.tsn-section {
    padding: 3.5rem 2.5rem;
    max-width: 1060px;
    margin: 0 auto;
}
.tsn-section-label {
    font-size: 11.5px;
    color: var(--tsn-blue-deep);
    text-transform: uppercase;
    letter-spacing: 1.3px;
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: block;
}
.tsn-section-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--tsn-text);
    margin: 0 0 0.4rem;
    letter-spacing: -0.4px;
}
.tsn-section-desc {
    font-size: 14.5px;
    color: var(--tsn-muted);
    margin: 0 0 2rem;
}
.tsn-divider {
    height: 0.5px;
    background: var(--tsn-border);
    margin: 0 2.5rem;
}

/* ─── PROPERTY CARDS ─────────────────────────────────── */
.tsn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 14px;
}
.tsn-card {
    background: var(--tsn-white);
    border: 0.5px solid var(--tsn-border);
    border-radius: 10px;
    padding: 1.4rem 1.5rem;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(15,23,42,0.06);
    transition: box-shadow 0.2s, transform 0.15s;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
    color: inherit;
}
.tsn-card:hover {
    box-shadow: 0 4px 18px rgba(15,23,42,0.10);
    transform: translateY(-2px);
    color: inherit;
    text-decoration: none;
}
.tsn-card-accent {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    border-radius: 10px 0 0 10px;
}
.acc-finance { background: #0d9488; }
.acc-image   { background: #7c3aed; }
.acc-ai      { background: #ea580c; }
.acc-seo     { background: #2563eb; }
.acc-dev     { background: #0891b2; }
.acc-pdf     { background: #dc2626; }
.acc-video   { background: #d97706; }

.tsn-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
}
.tsn-card-header-left { display: flex; align-items: center; gap: 11px; }
.tsn-card-icon {
    width: 36px; height: 36px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tsn-card-icon i { font-size: 16px; }
.tsn-card-name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--tsn-text);
    line-height: 1.2;
}
.tsn-card-url { font-size: 11.5px; color: var(--tsn-subtle); margin-top: 1px; }
.tsn-card-tag {
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 4px;
    font-weight: 500;
    white-space: nowrap;
}
.tsn-card-desc {
    font-size: 13px;
    color: #5a6275;
    line-height: 1.58;
    padding-top: 10px;
    border-top: 0.5px solid var(--tsn-light-bg);
}

/* Card icon + tag colours */
.ic-finance { background: #f0fdf9; } .ic-finance i { color: #0d9488; }
.ic-image   { background: #faf5ff; } .ic-image i   { color: #7c3aed; }
.ic-ai      { background: #fff7ed; } .ic-ai i      { color: #ea580c; }
.ic-seo     { background: #eff6ff; } .ic-seo i     { color: #2563eb; }
.ic-dev     { background: #f0fdfa; } .ic-dev i     { color: #0891b2; }
.ic-pdf     { background: #fef2f2; } .ic-pdf i     { color: #dc2626; }
.ic-video   { background: #fffbeb; } .ic-video i   { color: #d97706; }

.tag-finance { background: #f0fdf9; color: #0d9488; }
.tag-image   { background: #faf5ff; color: #7c3aed; }
.tag-ai      { background: #fff7ed; color: #ea580c; }
.tag-seo     { background: #eff6ff; color: #2563eb; }
.tag-dev     { background: #f0fdfa; color: #0891b2; }
.tag-pdf     { background: #fef2f2; color: #dc2626; }
.tag-video   { background: #fffbeb; color: #d97706; }

/* ─── ADVERTISE SECTION ──────────────────────────────── */
.tsn-advertise {
    background: var(--tsn-white);
    border-top: 0.5px solid var(--tsn-border);
    border-bottom: 0.5px solid var(--tsn-border);
    padding: 4rem 2.5rem;
    text-align: center;
}
.tsn-ad-inner { max-width: 700px; margin: 0 auto; }
.tsn-ad-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--tsn-text);
    margin: 0.5rem 0 0.75rem;
    letter-spacing: -0.4px;
}
.tsn-ad-desc {
    font-size: 15px;
    color: var(--tsn-muted);
    max-width: 480px;
    margin: 0 auto 2rem;
    line-height: 1.65;
}
.tsn-ad-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 2rem;
}
.tsn-ad-pillar {
    background: #f8f9fc;
    border: 0.5px solid var(--tsn-border);
    border-radius: 10px;
    padding: 1.25rem 1rem;
}
.tsn-ad-pillar i {
    font-size: 20px;
    color: var(--tsn-blue-deep);
    margin-bottom: 8px;
    display: block;
}
.tsn-ad-pillar-title {
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--tsn-text);
    margin-bottom: 4px;
}
.tsn-ad-pillar-desc { font-size: 12.5px; color: var(--tsn-muted); line-height: 1.5; }

/* ─── BUTTONS (light area) ───────────────────────────── */
.tsn-btn-dark {
    background: var(--tsn-text);
    color: #fff;
    border: none;
    padding: 13px 30px;
    border-radius: 7px;
    font-size: 15px;
    font-family: var(--font-body);
    cursor: pointer;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.tsn-btn-dark:hover {
    background: var(--tsn-blue-deep);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}
.tsn-btn-primary {
    background: var(--tsn-blue-deep);
    color: #fff;
    border: none;
    padding: 12px 26px;
    border-radius: 7px;
    font-size: 15px;
    font-family: var(--font-body);
    cursor: pointer;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.tsn-btn-primary:hover {
    background: var(--tsn-blue);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

/* ─── PAGE HERO (inner pages) ────────────────────────── */
.tsn-page-hero {
    background-color: var(--tsn-dark);
    background-image:
        linear-gradient(rgba(74,125,255,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74,125,255,0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    padding: 4rem 2rem 3.5rem;
    text-align: center;
}
.tsn-page-hero h1 {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem;
    letter-spacing: -1px;
}
.tsn-page-hero h1 span { color: var(--tsn-blue); }
.tsn-page-hero p {
    font-size: 16px;
    color: rgba(232,234,240,0.6);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ─── CONTENT PROSE ──────────────────────────────────── */
.tsn-prose {
    max-width: 780px;
    margin: 0 auto;
    padding: 3rem 2.5rem;
    font-size: 15px;
    line-height: 1.75;
    color: #374151;
}
.tsn-prose h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--tsn-text);
    margin: 2rem 0 0.75rem;
    letter-spacing: -0.3px;
}
.tsn-prose h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--tsn-text);
    margin: 1.5rem 0 0.5rem;
}
.tsn-prose a { color: var(--tsn-blue-deep); }
.tsn-prose a:hover { color: var(--tsn-blue); }

/* ─── CONTACT FORM ───────────────────────────────────── */
.tsn-form-wrap {
    background: var(--tsn-white);
    border: 0.5px solid var(--tsn-border);
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 680px;
    margin: 0 auto;
    box-shadow: 0 2px 12px rgba(15,23,42,0.06);
}
.tsn-form-group { margin-bottom: 1.25rem; }
.tsn-form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--tsn-text);
    margin-bottom: 6px;
}
.tsn-form-group input,
.tsn-form-group select,
.tsn-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 0.5px solid var(--tsn-border);
    border-radius: 7px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--tsn-text);
    background: var(--tsn-white);
    transition: border-color 0.2s;
}
.tsn-form-group input:focus,
.tsn-form-group select:focus,
.tsn-form-group textarea:focus {
    outline: none;
    border-color: var(--tsn-blue);
}
.tsn-form-group textarea { resize: vertical; min-height: 120px; }
.tsn-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ─── FOOTER ─────────────────────────────────────────── */
.tsn-footer { background: var(--tsn-dark); padding: 2.5rem 0 1.5rem; }
.tsn-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.tsn-footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 1.75rem;
    border-bottom: 0.5px solid rgba(255,255,255,0.07);
    margin-bottom: 1.25rem;
}
.tsn-footer-brand { max-width: 260px; }
.tsn-footer-logo { display: flex; align-items: center; gap: 9px; margin-bottom: 0.75rem; }
.tsn-footer-logo-icon {
    width: 30px; height: 30px;
    background: var(--tsn-blue-deep);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
}
.tsn-footer-logo-icon i { color: #fff; font-size: 14px; }
.tsn-footer-logo-text {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}
.tsn-footer-logo-text span { color: var(--tsn-blue); }
.tsn-footer-tagline { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.6; margin: 0; }
.tsn-footer-links { display: flex; gap: 5rem; }
.tsn-footer-col-title {
    font-size: 11.5px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.tsn-footer-col a {
    display: block;
    font-size: 13.5px;
    color: rgba(255,255,255,0.42);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.15s;
}
.tsn-footer-col a:hover { color: rgba(255,255,255,0.75); }
.tsn-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tsn-footer-copy { font-size: 12.5px; color: rgba(255,255,255,0.25); }
.tsn-footer-legal { display: flex; gap: 1.25rem; }
.tsn-footer-legal a {
    font-size: 12.5px;
    color: rgba(255,255,255,0.25);
    text-decoration: none;
    transition: color 0.15s;
}
.tsn-footer-legal a:hover { color: rgba(255,255,255,0.5); }

/* ─── ALERTS ─────────────────────────────────────────── */
.tsn-alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.tsn-alert-success { background: #f0fdf9; border: 0.5px solid #0d9488; color: #065f46; }
.tsn-alert-error   { background: #fef2f2; border: 0.5px solid #dc2626; color: #991b1b; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 768px) {
    .tsn-nav-links { display: none; }
    .tsn-nav-mobile-toggle { display: block; }
    body.nav-open .tsn-nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px; left: 0; right: 0;
        background: var(--tsn-dark);
        padding: 1.5rem 2.5rem;
        border-bottom: 0.5px solid rgba(255,255,255,0.07);
        z-index: 999;
        gap: 1rem;
    }
    .tsn-h1 { font-size: 36px; }
    .tsn-ad-pillars { grid-template-columns: 1fr; }
    .tsn-footer-top { flex-direction: column; gap: 2rem; }
    .tsn-footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
    .tsn-footer-links { flex-direction: column; gap: 1.5rem; }
    .tsn-stats { flex-wrap: wrap; }
    .tsn-stat { max-width: 50%; }
    .tsn-form-row { grid-template-columns: 1fr; }
    .tsn-section { padding: 2.5rem 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════
   PROPERTIES PAGE  —  Screenshot Cards
   ═══════════════════════════════════════════════════════════ */

/* ── Section override: wider max-width for 2-col grid ─── */
.tsn-section-props { max-width: 1100px; }

/* ── Stats strip ──────────────────────────────────────── */
.tsn-props-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    background: #fff;
    border: 0.5px solid var(--tsn-border);
    border-radius: 10px;
    margin-bottom: 2.5rem;
    overflow: hidden;
}
.tsn-props-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 1.4rem 1rem;
    border-right: 0.5px solid var(--tsn-border);
    text-align: center;
}
.tsn-props-stat:last-child { border-right: none; }
.tsn-props-stat > i {
    font-size: 18px;
    color: var(--tsn-blue-deep);
    margin-bottom: 4px;
}
.tsn-props-stat-num {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--tsn-text);
    line-height: 1;
}
.tsn-props-stat-lbl {
    font-size: 11.5px;
    color: var(--tsn-muted);
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

/* ── Property grid: 2-col ─────────────────────────────── */
.tsn-prop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-bottom: 2.5rem;
}

/* ── Card shell ───────────────────────────────────────── */
.tsn-prop-card {
    background: var(--tsn-white);
    border: 0.5px solid var(--tsn-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(15,23,42,0.06);
    transition: box-shadow 0.2s, transform 0.18s;
    display: flex;
    flex-direction: column;
}
.tsn-prop-card:hover {
    box-shadow: 0 6px 24px rgba(15,23,42,0.11);
    transform: translateY(-3px);
}

/* ── Full-width "featured" last card ─────────────────── */
.tsn-prop-card-featured {
    grid-column: 1 / -1;
    flex-direction: row;
}
.tsn-prop-card-featured .tsn-prop-screen-wrap {
    width: 52%;
    flex-shrink: 0;
    border-bottom: none;
    border-right: 3px solid transparent;
}
.tsn-prop-card-featured .scr-finance { border-right-color: #0d9488; }
.tsn-prop-card-featured .scr-image   { border-right-color: #7c3aed; }
.tsn-prop-card-featured .scr-ai      { border-right-color: #ea580c; }
.tsn-prop-card-featured .scr-seo     { border-right-color: #2563eb; }
.tsn-prop-card-featured .scr-dev     { border-right-color: #0891b2; }
.tsn-prop-card-featured .scr-pdf     { border-right-color: #dc2626; }
.tsn-prop-card-featured .scr-video   { border-right-color: #d97706; }
.tsn-prop-card-featured .tsn-prop-screen-img {
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.tsn-prop-card-featured .tsn-prop-body {
    padding: 2rem 2.25rem;
    justify-content: center;
}
.tsn-prop-card-featured .tsn-prop-desc {
    font-size: 14.5px;
    max-width: 520px;
}

/* ── Screenshot frame ─────────────────────────────────── */
.tsn-prop-screen-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid transparent; /* overridden per category below */
    line-height: 0;                        /* kill inline-block gap */
    background: #e8eaf0;                   /* fallback while image loads */
}

/* Top-border colour per category (replaces left accent on these cards) */
.scr-finance { border-bottom-color: #0d9488; }
.scr-image   { border-bottom-color: #7c3aed; }
.scr-ai      { border-bottom-color: #ea580c; }
.scr-seo     { border-bottom-color: #2563eb; }
.scr-dev     { border-bottom-color: #0891b2; }
.scr-pdf     { border-bottom-color: #dc2626; }
.scr-video   { border-bottom-color: #d97706; }

.tsn-prop-screen-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.35s ease;
}
.tsn-prop-card:hover .tsn-prop-screen-img {
    transform: scale(1.025);
}

/* Hover overlay with "Visit Site" pill */
.tsn-prop-screen-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,15,30,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s;
}
.tsn-prop-card:hover .tsn-prop-screen-overlay {
    background: rgba(10,15,30,0.42);
}
.tsn-prop-visit-pill {
    background: #fff;
    color: var(--tsn-text);
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-body);
    padding: 7px 16px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.22s, transform 0.22s;
    white-space: nowrap;
}
.tsn-prop-card:hover .tsn-prop-visit-pill {
    opacity: 1;
    transform: translateY(0);
}

/* Screenshot placeholder (if image is missing) */
.tsn-prop-screen-placeholder {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Card body ────────────────────────────────────────── */
.tsn-prop-body {
    padding: 1.35rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.tsn-prop-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}
.tsn-prop-header-left { display: flex; align-items: center; gap: 11px; }

.tsn-prop-desc {
    font-size: 13.5px;
    color: #4b5568;
    line-height: 1.7;
    margin: 0 0 1.1rem;
    flex: 1;
    padding-top: 0.65rem;
    border-top: 0.5px solid var(--tsn-light-bg);
}

/* ── "Explore" CTA link per category colour ───────────── */
.tsn-prop-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.15s, opacity 0.15s;
}
.tsn-prop-cta:hover { opacity: 0.8; gap: 9px; text-decoration: none; }

/* ── CTA row: Explore link + Blog button ──────────────── */
.tsn-prop-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}
.tsn-prop-blog-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    border: 1.5px solid currentColor;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.18s, color 0.18s;
}
.tsn-prop-blog-btn:hover {
    background: currentColor;
    text-decoration: none;
}
.tsn-prop-blog-btn:hover i,
.tsn-prop-blog-btn:hover span { color: #fff; }
.lnk-finance { color: #0d9488; }
.lnk-image   { color: #7c3aed; }
.lnk-ai      { color: #ea580c; }
.lnk-seo     { color: #2563eb; }
.lnk-dev     { color: #0891b2; }
.lnk-pdf     { color: #dc2626; }
.lnk-video   { color: #d97706; }

/* ── Network CTA box ──────────────────────────────────── */
.tsn-props-cta-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--tsn-white);
    border: 0.5px solid var(--tsn-border);
    border-left: 4px solid var(--tsn-blue-deep);
    border-radius: 10px;
    padding: 1.75rem 2rem;
    margin-top: 0.5rem;
}
.tsn-props-cta-icon {
    width: 48px; height: 48px;
    border-radius: 10px;
    background: rgba(26,58,143,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tsn-props-cta-icon i { font-size: 20px; color: var(--tsn-blue-deep); }
.tsn-props-cta-copy { flex: 1; }
.tsn-props-cta-copy h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--tsn-text);
    margin: 0.15rem 0 0.4rem;
    letter-spacing: -0.3px;
}
.tsn-props-cta-copy p {
    font-size: 13.5px;
    color: var(--tsn-muted);
    margin: 0;
    line-height: 1.55;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 820px) {
    .tsn-prop-grid {
        grid-template-columns: 1fr;
    }
    .tsn-prop-card-featured {
        flex-direction: column;
    }
    .tsn-prop-card-featured .tsn-prop-screen-wrap {
        width: 100%;
        border-right: none;
        border-bottom: 3px solid transparent;
    }
    .tsn-prop-card-featured .scr-finance { border-bottom-color: #0d9488; }
    .tsn-prop-card-featured .scr-image   { border-bottom-color: #7c3aed; }
    .tsn-prop-card-featured .scr-ai      { border-bottom-color: #ea580c; }
    .tsn-prop-card-featured .scr-seo     { border-bottom-color: #2563eb; }
    .tsn-prop-card-featured .scr-dev     { border-bottom-color: #0891b2; }
    .tsn-prop-card-featured .scr-pdf     { border-bottom-color: #dc2626; }
    .tsn-prop-card-featured .scr-video   { border-bottom-color: #d97706; }
    .tsn-props-cta-box {
        flex-direction: column;
        text-align: center;
    }
    .tsn-props-cta-box .tsn-section-label { text-align: center; }
}
@media (max-width: 600px) {
    .tsn-props-stats {
        flex-wrap: wrap;
    }
    .tsn-props-stat {
        flex-basis: 50%;
        border-bottom: 0.5px solid var(--tsn-border);
    }
    .tsn-props-stat:nth-child(2) { border-right: none; }
}
