/* Basic Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #050816;
    color: #f9fafb;
    line-height: 1.5;
}

/* Layout helpers */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    background: rgba(5, 8, 22, 0.9);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    gap: 1rem;
    flex-wrap: wrap;
}

.brand-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e5e7eb;
    text-decoration: none;
}

.brand-logo span {
    color: #22c55e;
}

.brand-tagline {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 0.2rem;
}

.main-nav {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;          /* allow wrap on small screens */
}


/* Nav pills – centred text (desktop + mobile) */
.nav-link {
    font-size: 0.9rem;
    color: #9ca3af;
    text-decoration: none;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    display: inline-flex;      /* make pill a flex container */
    align-items: center;       /* vertical centering */
    justify-content: center;   /* horizontal centering */
    line-height: 1;            /* remove extra vertical slack */
}

.nav-link:hover {
    color: #e5e7eb;
}

.nav-link.active {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.1);
    color: #bbf7d0;
}


/* Hero */
.hero {
    padding: 2.5rem 0 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

.hero-text h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: #f9fafb;
}

.hero-text p {
    color: #cbd5f5;
    margin-bottom: 0.75rem;
    font-size: 0.98rem;
}
/* AI definition lines — blend with hero */
.hero-ai{
    color: #cbd5f5;
    margin: 4px 0 2px 0;
    font-size: 0.97rem;
    line-height: 1.42;
}

.hero-ai strong{
    color: #ffffff;
    font-weight: 600;
}

.hero-keywords {
    font-size: 0.85rem;
    color: #9ca3af;
    max-width: 32rem;
}

.hero-keywords em {
    font-style: normal;
    color: #a5b4fc;
}

/* Form card */
.hero-form-card {
    background: radial-gradient(circle at top, #1e293b, #020617);
    border-radius: 1.1rem;
    padding: 1.25rem 1.3rem 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.8),
        0 18px 45px rgba(0, 0, 0, 0.65);
}

.hero-form-card h2 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.hero-form-text {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.submit-form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.submit-form label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
}

.submit-form input,
.submit-form textarea,
.submit-form select {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    font-size: 0.9rem;
}

/* Custom select arrow + extra right space so arrow isn't on the edge */
.submit-form select {
    padding-right: 2.1rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2l5 5 5-5' stroke='%239ca3af' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 0.7rem auto;
}

.submit-form input:focus,
.submit-form textarea:focus,
.submit-form select:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.6);
}

.submit-form textarea {
    resize: vertical;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #022c22;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    margin-top: 0.25rem;
}

.btn-primary:hover {
    filter: brightness(1.05);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: transparent;
    color: #e5e7eb;
    font-size: 0.85rem;
    text-decoration: none;
}

.btn-ghost:hover {
    background: rgba(15, 23, 42, 0.9);
}

.btn-link {
    font-size: 0.85rem;
    color: #a5b4fc;
    text-decoration: none;
}

.btn-link:hover {
    text-decoration: underline;
}

.inline-link {
    color: #a5b4fc;
    text-decoration: none;
}

.inline-link:hover {
    text-decoration: underline;
}

.form-note {
    font-size: 0.75rem;
    color: #64748b;
}

/* Old inline flash (kept in case we reuse) */
.flash-success {
    margin-top: 1rem;
    padding: 0.7rem 0.9rem;
    border-radius: 0.75rem;
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.6);
    color: #bbf7d0;
    font-size: 0.9rem;
}

/* Info Section (About + Contact + Share) */
.info-section {
    padding: 0 0 2rem;
}

.info-section-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
}

.info-card {
    background: radial-gradient(circle at top left, #111827, #020617);
    border: 1px solid rgba(55, 65, 81, 0.7);
    border-radius: 1rem;
    padding: 1.2rem 1.4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.info-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #e5e7eb;
}

.info-card p {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 0.6rem;
}

.contact-email {
    font-size: 1rem;
    font-weight: 600;
}

.contact-email a {
    color: #a5b4fc;
    text-decoration: none;
}

.contact-email a:hover {
    text-decoration: underline;
}

/* Share buttons */
.share-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.share-btn {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    text-decoration: none;
    color: #f8fafc;
    font-weight: 500;
}

.share-btn.fb { background: #3b5998; }
.share-btn.tw { background: #1da1f2; }
.share-btn.li { background: #0a66c2; }
.share-btn.wa { background: #25d366; }
.share-btn.rd { background: #ff4500; }

.share-btn:hover {
    filter: brightness(1.1);
}

/* Directories section */
.directories-section {
    padding: 1.5rem 0 2.5rem;
}

.section-header h2 {
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
}

.section-header p {
    font-size: 0.92rem;
    color: #9ca3af;
}

.directory-grid {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}

.directory-card {
    border-radius: 1rem;
    padding: 1rem;
    background: radial-gradient(circle at top left, #111827, #020617);
    border: 1px solid rgba(55, 65, 81, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.directory-card-header h3 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.directory-card-header a {
    color: #e5e7eb;
    text-decoration: none;
}

.directory-card-header a:hover {
    text-decoration: underline;
}

.directory-description {
    font-size: 0.88rem;
    color: #9ca3af;
}

.directory-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.45rem;
}

.badge {
    font-size: 0.7rem;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.6);
}

.badge-soft {
    background: rgba(129, 140, 248, 0.12);
    color: #c7d2fe;
    border-color: rgba(129, 140, 248, 0.5);
}

/* Links list in cards */
.links-list {
    list-style: none;
    margin-top: 0.4rem;
    border-radius: 0.7rem;
    background: rgba(15, 23, 42, 0.9);
    padding: 0.45rem 0.5rem;
    max-height: 180px;
    overflow-y: auto;
}

.links-list-item {
    display: flex;
    justify-content: space-between;
    gap: 0.4rem;
    align-items: baseline;
    padding: 0.25rem 0.3rem;
    border-bottom: 1px solid rgba(30, 64, 175, 0.35);
}

.links-list-item:last-child {
    border-bottom: none;
}

.links-list-item a {
    font-size: 0.85rem;
    color: #e5e7eb;
    text-decoration: none;
    word-break: break-word;
    overflow-wrap: break-word;
}

.links-list-item a:hover {
    text-decoration: underline;
}

.link-time {
    font-size: 0.7rem;
    color: #64748b;
    white-space: nowrap;
}

.links-list-empty {
    font-size: 0.82rem;
    color: #9ca3af;
}

.directory-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.6rem;
    gap: 0.5rem;
}

/* Directory full page */
.directory-hero {
    padding: 2rem 0 1.2rem;
}

.directory-hero h1 {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.directory-hero-text {
    font-size: 0.95rem;
    color: #cbd5f5;
}

.directory-hero-sub {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: 0.4rem;
}

.directory-list-section {
    padding-bottom: 2.5rem;
}

.directory-links-full {
    list-style: none;
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.directory-links-item {
    padding: 0.75rem 0.8rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(55, 65, 81, 0.85);
    background: radial-gradient(circle at top, #0b1120, #020617);
}

.directory-link-title {
    font-size: 0.97rem;
    font-weight: 500;
    color: #e5e7eb;
    text-decoration: none;
}

.directory-link-title:hover {
    text-decoration: underline;
}

.directory-link-desc {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: 0.2rem;
}

.directory-link-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 0.35rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Clickable URL line in directory list */
.directory-link-url {
    font-size: 0.8rem;
    color: #a5b4fc;
    text-decoration: none;
    word-break: break-all;
}

.directory-link-url:hover {
    text-decoration: underline;
}

.directory-link-time {
    font-size: 0.8rem;
    color: #64748b;
}

/* Directory top row: search + share */
.dir-top-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.dir-search-form {
    max-width: 420px;
    flex: 1 1 260px;
}

.dir-search-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.dir-search-row {
    display: flex;
    gap: 0.4rem;
}

.dir-search-row input[type="text"] {
    flex: 1;
    padding: 0.5rem 0.7rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    font-size: 0.9rem;
}

.dir-search-row input[type="text"]:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.6);
}

/* Blog search bar (global) */
.blog-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.blog-search input[type="text"],
.blog-search input[type="search"] {
    flex: 1;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #111827;
    background: #020617;
    color: #e5e7eb;
    outline: none;
}

.blog-search input[type="text"]::placeholder,
.blog-search input[type="search"]::placeholder {
    color: #6b7280;
}

.blog-search button {
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    border: 1px solid #22c55e;
    background: #22c55e;
    color: #020617; /* fixed: visible text */
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.blog-search button:hover {
    background: #16a34a;
    border-color: #16a34a;
}

.dir-share {
    flex: 1 1 220px;
    text-align: right;
}

.dir-share-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

/* Empty state & errors */
.empty-state,
.error-card {
    margin-top: 2rem;
    padding: 1.5rem 1.3rem;
    border-radius: 1rem;
    border: 1px solid rgba(55, 65, 81, 0.8);
    background: radial-gradient(circle at top, #0b1120, #020617);
    text-align: center;
}

.empty-state p {
    margin-bottom: 0.8rem;
    color: #e5e7eb;
}

.error-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: radial-gradient(circle at top, #0b1120, #020617);
}

.error-main {
    width: 100%;
    max-width: 440px;
    padding: 1.25rem;
}

.error-card h1 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.error-list {
    list-style: disc;
    text-align: left;
    padding-left: 1.1rem;
    color: #fecaca;
    font-size: 0.88rem;
    margin-bottom: 0.9rem;
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(30, 64, 175, 0.5);
    padding: 1rem 0 1.3rem;
    background: #020617;
}

.footer-inner {
    text-align: center;
}

.footer-inner p {
    font-size: 0.8rem;
    color: #9ca3af;
}

.footer-small {
    margin-top: 0.2rem;
}

/* Pagination */
.pagination {
    margin-top: 1.3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
}

.page-link {
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    font-size: 0.82rem;
    text-decoration: none;
    color: #e5e7eb;
}

.page-link:hover {
    background: rgba(15, 23, 42, 0.9);
}

.page-link.current {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-color: transparent;
    color: #022c22;
    font-weight: 600;
}

.page-link.dots {
    border: none;
    padding: 0.3rem 0.3rem;
    cursor: default;
}

/* SEO content page (submit-website-free.php) */
.seo-hero {
    padding: 2.2rem 0 1.5rem;
}

.seo-hero h1 {
    font-size: 1.7rem;
    margin-bottom: 0.7rem;
}

.seo-lead {
    max-width: 44rem;
    font-size: 0.98rem;
    color: #cbd5f5;
    margin-bottom: 0.7rem;
}

.seo-note {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: 0.4rem;
}

.seo-section {
    padding: 1.5rem 0 0.5rem;
}

.seo-section h2 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.seo-section p {
    font-size: 0.95rem;
    color: #d1d5db;
    margin-bottom: 0.6rem;
}

.seo-list,
.seo-steps {
    margin-left: 1.2rem;
    margin-bottom: 0.7rem;
    font-size: 0.93rem;
    color: #d1d5db;
}

.seo-list li,
.seo-steps li {
    margin-bottom: 0.25rem;
}

.seo-dir-grid {
    margin-top: 0.9rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
}

.seo-dir-card {
    border-radius: 0.9rem;
    padding: 0.9rem;
    background: radial-gradient(circle at top left, #111827, #020617);
    border: 1px solid rgba(55, 65, 81, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.seo-dir-card h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.seo-dir-card h3 a {
    color: #e5e7eb;
    text-decoration: none;
}

.seo-dir-card h3 a:hover {
    text-decoration: underline;
}

.seo-dir-card p {
    font-size: 0.88rem;
    color: #9ca3af;
    margin-bottom: 0.45rem;
}

.seo-small {
    font-size: 0.83rem;
    color: #9ca3af;
    margin-top: 0.5rem;
}

.faq-block {
    border-radius: 0.9rem;
    border: 1px solid rgba(55, 65, 81, 0.8);
    padding: 0.8rem 0.9rem;
    margin-bottom: 0.6rem;
    background: radial-gradient(circle at top, #020617, #020617);
}

.faq-block h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.faq-block p {
    font-size: 0.9rem;
    color: #d1d5db;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-form-card {
        order: -1;
    }

    /* Center header content + buttons on mobile */
    .header-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .brand {
        text-align: center;
    }

    .main-nav {
        width: 100%;
        justify-content: center;
    }

    .directory-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .info-section-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .dir-top-row {
        flex-direction: column;
        align-items: stretch;
    }

    .dir-share {
        text-align: left;
    }
}

/* Brand logo + tagline tweaks */
.brand-logo {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.brand-logo span {
    color: #22c55e;
    font-weight: 800;
}

.brand-tagline {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-top: 0.3rem;
    max-width: 40rem;
    line-height: 1.5;
}

/* Mobile centring so tagline doesn't touch edges */
@media (max-width: 640px) {
    .header-inner {
        justify-content: center;
        text-align: center;
    }

    .brand {
        flex: 1 1 100%;
        text-align: center;
    }

    .brand-tagline {
        margin: 0.35rem auto 0;
        padding: 0 0.5rem;
    }
}

/* Directory spacing & share block tweaks */
.directory-list-section .dir-top-row {
    margin-bottom: 0.75rem;
}

.dir-share-bottom {
    margin-top: 1.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.dir-share-bottom .dir-share-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
}

.dir-share-bottom .share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Desktop tweak: perfectly centre "View full directory" text in its pill */
@media (min-width: 769px) {
    .directory-footer .btn-ghost {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Honeypot field – hidden from real users (anti-spam) */
.hp-field-wrapper {
    position: absolute;
    left: -9999px;
    top: auto;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Submission flash modal */
.flash-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 40;
}

.flash-modal-hidden {
    display: none !important;
}

.flash-modal-card {
    max-width: 420px;
    width: 90%;
    background: radial-gradient(circle at top, #020617, #020617);
    border-radius: 1rem;
    padding: 1.2rem 1.3rem 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
    text-align: left;
}

.flash-modal-title {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.flash-modal-text {
    font-size: 0.9rem;
    color: #d1d5db;
    margin-bottom: 0.8rem;
}

.flash-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

/* Colour variants */
.flash-modal-success .flash-modal-btn {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #022c22;
}

.flash-modal-error {
    border-color: rgba(248, 113, 113, 0.8);
}

.flash-modal-error .flash-modal-title {
    color: #fecaca;
}

.flash-modal-error .flash-modal-btn {
    background: linear-gradient(135deg, #f97316, #dc2626);
    color: #111827;
}

/* Mobile: tighten gap between search bar and first result in directory pages */
@media (max-width: 640px) {
    .directory-list-section .dir-top-row {
        margin-bottom: 0.1rem !important;
    }

    .directory-links-full {
        margin-top: 0.1rem !important;
    }

    .directory-list-section {
        padding-top: 0 !important;
    }

    .directory-list-section .dir-top-row > * {
        margin-bottom: 0 !important;
    }
}

/* ===== Zearches Blog Layout ===== */

.blog-body {
    background: #050816;
    color: #f9fafb;
}

/* Blog header to match site */
.blog-body .site-header {
    background: #020617;
    border-bottom: 1px solid #111827;
    position: sticky;
    top: 0;
    z-index: 20;
}

.blog-body .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
}

.blog-body .logo {
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
}

.blog-body .logo span {
    color: #22c55e;
}

.blog-body .main-nav a {
    margin-left: 1rem;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Make links green inside blog for more colour */
.blog-body a {
    color: #22c55e;
}

.blog-body a:hover {
    color: #a5f3fc;
}

/* Content width */
.blog-list,
.blog-article {
    max-width: 900px;
    margin: 2rem auto 3rem;
}

/* Article basics */
.blog-article h1 {
    font-size: 1.9rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.blog-article article p {
    margin: 0.4rem 0 0.9rem;
    font-size: 0.98rem;
}

/* Article headings */
.blog-article article h2 {
    margin-top: 1.8rem;
    margin-bottom: 0.6rem;
    font-size: 1.25rem;
}

.blog-article article h3 {
    margin-top: 1.2rem;
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

/* Key Takeaways – first H2 + its list */
.blog-article article h2:first-of-type {
    color: #22c55e;
}

.blog-article article h2:first-of-type + ul {
    list-style: none;
    margin: 0.6rem 0 1.1rem;
    padding-left: 0;
}

.blog-article article h2:first-of-type + ul li {
    position: relative;
    padding-left: 1.4rem;
    margin: 0.35rem 0;
}

.blog-article article h2:first-of-type + ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -1px;
    color: #22c55e;
    font-size: 1.2rem;
}

/* Article lists */
.blog-article article ul,
.blog-article article ol {
    margin: 0.4rem 0 1rem 1.5rem;
}

/* Cards on blog index */
.post-card {
    border: 1px solid #111827;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    background: #020617;
}

.post-card-inner {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.post-thumb {
    flex: 0 0 130px;
}

.post-thumb img {
    width: 100%;
    height: auto;
    border-radius: 0.6rem;
    display: block;
    object-fit: cover;
}

.post-card h2 {
    margin-bottom: 0.4rem;
    font-size: 1.25rem;
}

.post-card .post-meta {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 0.4rem;
}

.post-content .post-summary {
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* Read article button – aligned */
.post-card .btn-read {
    display: inline-block;
    margin-top: 0.6rem;
    margin-left: 0;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    color: #22c55e;
    font-weight: 500;
}

/* Hero image in article */
.hero-image-wrapper {
    margin: 1rem 0 1.5rem;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
}

/* Sections near bottom (blog article only) */
.blog-article .related-links {
    margin-top: 2rem;
    border-top: 1px solid #111827;
    padding-top: 1.5rem;
}

/* Blog article share section */
.blog-article .share-buttons {
    margin-top: 1.5rem;
    border-top: 1px solid #111827;
    padding-top: 1rem;
    text-align: center;
    display: block !important;
}

.blog-article .share-buttons h2 {
    margin: 0 0 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.blog-article .share-row {
    margin-top: 0.25rem;
}

.blog-article .share-buttons .share-btn {
    display: inline-block;
    margin: 0.15rem 0.25rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    text-decoration: none;
    border: 1px solid #22c55e;
    background: transparent;
}

.blog-article .share-buttons .share-btn:hover {
    background: #22c55e;
    color: #020617;
}

/* Amazon products section */
.amazon-box {
    margin-top: 2rem;
    border-top: 1px solid #111827;
    padding-top: 1.5rem;
}

.amazon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.amazon-product {
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    background: #020617;
    border: 1px solid #111827;
    font-size: 0.9rem;
}

/* Affiliate banner at bottom */
.affiliate-banner {
    margin-top: 2rem;
    text-align: center;
}

.affiliate-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
}

/* Blog search inside blog list (uses global .blog-search styles) */
.blog-list .blog-search {
    margin: 1rem 0 1.5rem;
}

/* Blog responsive tweaks */
@media (max-width: 768px) {
    .blog-body .header-inner {
        flex-direction: column;
        align-items: center;
    }

    .blog-body .main-nav {
        margin-top: 0.35rem;
    }

    .post-card-inner {
        flex-direction: column;
    }

    .post-thumb {
        width: 100%;
        max-width: 100%;
    }

    .blog-search {
        flex-direction: column;
        align-items: stretch;
    }
}
.bloglovin-wrapper {
    text-align: center;
    margin: 35px 0 10px;
}

.bloglovin-link {
    display: inline-block;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    color: #f9fafb;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
}

.bloglovin-link:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.04);
    box-shadow: 0 0 10px rgba(255,255,255,0.25);
}

/* Mobile header/nav layout */
@media (max-width: 640px) {
    .header-inner {
        flex-direction: column;   /* stack logo + nav */
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .main-nav {
        justify-content: center;  /* centre the pills */
    }
}

/* StartupFame badge styling */
.startup-badge{
    display:flex;
    justify-content:center;
    align-items:center;
    margin:25px 0 10px 0;
}

.startup-badge a{
    display:inline-flex;
    padding:8px 14px;
    border-radius:10px;
    background:linear-gradient(180deg,#0f1a2b,#0b1422);
    border:1px solid rgba(120,160,255,0.18);
    box-shadow:0 0 0 1px rgba(0,0,0,0.4), 0 8px 22px rgba(0,0,0,0.35);
    transition:all .25s ease;
}

.startup-badge a:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 28px rgba(0,0,0,.55), 0 0 14px rgba(90,140,255,.35);
    border-color:rgba(120,160,255,0.35);
}

.startup-badge img{
    height:22px;
    width:auto;
    filter:brightness(0.92) contrast(1.05);
    opacity:.9;
}

/* Partner badge slots (footer) */
.partner-slots{
  margin: 18px auto 6px;
  display: grid;
  grid-template-columns: repeat(7, minmax(90px, 1fr));
  gap: 14px;
  align-items: center;
  max-width: 980px;
}

.partner-slot{
  min-height: 54px;
  border-radius: 14px;
  background: radial-gradient(circle at top, rgba(30,64,175,0.22), rgba(2,6,23,0.85));
  border: 1px solid rgba(120,160,255,0.18);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.35), 0 10px 26px rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
}

.partner-slot.is-empty{
  opacity: 0.55; /* subtle “slot outline” like your red boxes */
}

.partner-slot a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.partner-slot img{
  max-width: 100%;
  height: 22px;      /* keeps badges uniform */
  width: auto;
  opacity: 0.92;
  filter: brightness(0.95) contrast(1.05);
}

.partner-slot:hover{
  transform: translateY(-1px);
  border-color: rgba(120,160,255,0.32);
  box-shadow: 0 14px 34px rgba(0,0,0,0.55), 0 0 16px rgba(90,140,255,0.22);
}

/* Mobile: slots wrap nicely */
@media (max-width: 720px){
  .partner-slots{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 520px;
  }
  .partner-slot img{
    height: 24px;
  }
}