/*
Theme Name: TechyTaro
Theme URI: https://techytaro.com
Author: TechyTaro
Description: Custom TechyTaro AI tools, SaaS, software and deals theme.
Version: 1.0.0
Text Domain: techytaro
*/

:root {
    --tt-primary: #635bff;
    --tt-primary-dark: #5148e5;
    --tt-dark: #101828;
    --tt-text: #344054;
    --tt-muted: #667085;
    --tt-border: #e4e7ec;
    --tt-bg: #f7f8fc;
    --tt-white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--tt-bg);
    color: var(--tt-dark);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================================
   GLOBAL
========================================= */

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--tt-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--tt-primary);
    color: #ffffff;
    font-size: 18px;
}

.logo-name {
    font-size: 21px;
    letter-spacing: -0.5px;
}

.logo-name span {
    color: var(--tt-primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 600;
    color: #475467;
}

.main-nav a:hover {
    color: var(--tt-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-search-button {
    border: 1px solid var(--tt-border);
    background: #ffffff;
    border-radius: 9px;
    padding: 9px 13px;
    cursor: pointer;
    color: #475467;
    display: flex;
    align-items: center;
    gap: 7px;
}

.mobile-menu-button {
    display: none;
    border: 0;
    background: transparent;
    font-size: 23px;
}


/* =========================================
   HERO
========================================= */

.hero-section {
    background: #ffffff;
    padding: 100px 0 85px;
    text-align: center;
}

.hero-container {
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    color: var(--tt-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
    margin-bottom: 20px;
}

.hero-section h1 {
    margin: 0;
    font-size: clamp(44px, 6vw, 72px);
    line-height: 1.04;
    letter-spacing: -3px;
    max-width: 850px;
    margin-inline: auto;
}

.hero-section h1 span {
    color: var(--tt-primary);
}

.hero-description {
    max-width: 650px;
    margin: 25px auto 32px;
    color: var(--tt-muted);
    font-size: 18px;
}

.hero-search {
    max-width: 720px;
    margin: auto;
    padding: 7px;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--tt-border);
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(16, 24, 40, 0.09);
}

.hero-search-icon {
    padding-left: 15px;
    font-size: 23px;
    color: var(--tt-muted);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 15px;
    font-size: 15px;
}

.hero-search button {
    border: 0;
    background: var(--tt-primary);
    color: #ffffff;
    border-radius: 9px;
    padding: 13px 22px;
    font-weight: 700;
    cursor: pointer;
}

.hero-search button:hover {
    background: var(--tt-primary-dark);
}

.popular-searches {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
    color: var(--tt-muted);
    font-size: 13px;
}

.popular-searches a {
    color: #475467;
    font-weight: 600;
}


/* =========================================
   TRUST BAR
========================================= */

.trust-bar {
    background: #f8f9fc;
    border-top: 1px solid var(--tt-border);
    border-bottom: 1px solid var(--tt-border);
}

.trust-items {
    min-height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 45px;
}

.trust-item {
    color: #667085;
    font-size: 13px;
    font-weight: 600;
}

.trust-item strong {
    color: var(--tt-primary);
    margin-right: 6px;
}


/* =========================================
   SECTIONS
========================================= */

.section {
    padding: 85px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 30px;
}

.section-label {
    color: var(--tt-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.section-header h2 {
    margin: 5px 0 0;
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.section-link {
    color: var(--tt-primary);
    font-size: 14px;
    font-weight: 700;
}


/* =========================================
   TOOL CARDS
========================================= */

.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tool-card {
    background: #ffffff;
    border: 1px solid var(--tt-border);
    border-radius: 16px;
    padding: 24px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
}

.tool-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tool-logo {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: #f2f4f7;
    border-radius: 13px;
    font-size: 20px;
    font-weight: 800;
}

.tool-rating {
    font-size: 13px;
    font-weight: 700;
}

.tool-card h3 {
    margin: 20px 0 8px;
    font-size: 20px;
}

.tool-card p {
    min-height: 68px;
    margin: 0;
    color: var(--tt-muted);
    font-size: 14px;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 20px 0;
}

.tool-tags span {
    background: #f2f4f7;
    color: #475467;
    padding: 5px 9px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 600;
}

.tool-button {
    display: block;
    text-align: center;
    border: 1px solid var(--tt-border);
    padding: 11px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
}

.tool-button:hover {
    border-color: var(--tt-primary);
    color: var(--tt-primary);
}


/* =========================================
   DEALS
========================================= */

.deals-section {
    background: #f1f2ff;
}

.deal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.deal-card {
    background: #ffffff;
    border: 1px solid var(--tt-border);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.deal-logo {
    flex: 0 0 auto;
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    background: #f2f4f7;
    border-radius: 13px;
    font-size: 20px;
    font-weight: 800;
}

.deal-content {
    flex: 1;
}

.verified-badge {
    color: var(--tt-success);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.deal-content h3 {
    margin: 5px 0;
    font-size: 20px;
}

.deal-content p {
    margin: 0 0 7px;
    color: var(--tt-muted);
    font-size: 13px;
}

.deal-content strong {
    font-size: 14px;
}

.deal-button {
    background: var(--tt-primary);
    color: #ffffff;
    padding: 11px 15px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.deal-button:hover {
    background: var(--tt-primary-dark);
}


/* =========================================
   CATEGORIES
========================================= */

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.category-card {
    background: #ffffff;
    border: 1px solid var(--tt-border);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
}

.category-icon {
    font-size: 26px;
    margin-bottom: 5px;
}

.category-card strong {
    font-size: 16px;
}

.category-card small {
    color: var(--tt-muted);
}


/* =========================================
   ARTICLES
========================================= */

.guides-section {
    background: #ffffff;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.article-card {
    background: #ffffff;
    border: 1px solid var(--tt-border);
    border-radius: 16px;
    overflow: hidden;
}

.article-image {
    height: 180px;
    display: grid;
    place-items: center;
    background: #eef0ff;
    font-size: 32px;
    font-weight: 800;
}

.article-content {
    padding: 22px;
}

.article-content > span {
    color: var(--tt-primary);
    font-size: 10px;
    font-weight: 800;
}

.article-content h3 {
    margin: 8px 0;
    font-size: 19px;
}

.article-content p {
    margin: 0;
    color: var(--tt-muted);
    font-size: 13px;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: #101828;
    color: #ffffff;
    margin-top: 0;
}

.footer-main {
    padding: 70px 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-brand p {
    max-width: 380px;
    color: #98a2b3;
    font-size: 14px;
}

.footer-logo .logo-name {
    color: #ffffff;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column h3 {
    margin: 0 0 8px;
    font-size: 14px;
}

.footer-column a {
    color: #98a2b3;
    font-size: 13px;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #344054;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #98a2b3;
    font-size: 12px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 950px) {

    .main-nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .tool-grid,
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 650px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .hero-section {
        padding: 70px 0 60px;
    }

    .hero-section h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-search button {
        padding: 12px 14px;
    }

    .search-text {
        display: none;
    }

    .trust-items {
        padding: 18px 0;
        gap: 14px;
        flex-direction: column;
    }

    .section {
        padding: 60px 0;
    }

    .section-header {
        align-items: flex-start;
    }

    .section-header h2 {
        font-size: 27px;
    }

    .tool-grid,
    .deal-grid,
    .category-grid,
    .article-grid {
        grid-template-columns: 1fr;
    }

    .deal-card {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .deal-button {
        width: 100%;
        text-align: center;
    }

    .footer-main {
        grid-template-columns: 1fr;
        padding: 55px 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 5px;
    }

}

/* =========================================================
   TECHYTARO TOOL PAGES
========================================================= */

.tt-tool-page {
    background: #ffffff;
    color: #111827;
    padding-bottom: 80px;
}

.tt-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* Breadcrumb */

.tt-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 28px 0;
    color: #64748b;
    font-size: 14px;
}

.tt-breadcrumb a {
    color: #64748b;
    text-decoration: none;
}

.tt-breadcrumb a:hover {
    color: #635bff;
}


/* Hero */

.tt-tool-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 42px;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.tt-tool-hero-content {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.tt-tool-logo {
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
    border-radius: 22px;
    overflow: hidden;
    background: #f1efff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tt-tool-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tt-tool-logo-placeholder {
    color: #635bff;
    font-size: 38px;
    font-weight: 800;
}

.tt-tool-heading h1 {
    margin: 4px 0 12px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.tt-tool-category-label {
    color: #635bff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tt-tool-short-description {
    max-width: 680px;
    margin: 0 0 18px;
    color: #64748b;
    font-size: 18px;
    line-height: 1.65;
}

.tt-tool-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.tt-rating {
    font-weight: 700;
}

.tt-stars {
    color: #f59e0b;
}

.tt-badge {
    padding: 7px 11px;
    border-radius: 999px;
    background: #f1efff;
    color: #5548e8;
    font-size: 13px;
    font-weight: 700;
}


/* Buttons */

.tt-primary-button,
.tt-deal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    padding: 14px 20px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tt-primary-button {
    background: #635bff;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(99, 91, 255, 0.25);
}

.tt-primary-button:hover,
.tt-deal-button:hover {
    transform: translateY(-2px);
}


/* Deal */

.tt-deal-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin: 28px 0;
    padding: 26px 30px;
    border: 1px solid #ddd9ff;
    border-radius: 20px;
    background: #f8f7ff;
}

.tt-deal-box h2 {
    margin: 5px 0;
    font-size: 26px;
}

.tt-deal-box p {
    margin: 0;
    color: #64748b;
}

.tt-verified {
    color: #15803d;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.tt-deal-button {
    background: #111827;
    color: #ffffff;
    white-space: nowrap;
}


/* Main layout */

.tt-tool-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 50px;
    margin-top: 50px;
}

.tt-tool-main {
    min-width: 0;
}

.tt-content-section {
    padding: 0 0 45px;
    margin-bottom: 45px;
    border-bottom: 1px solid #e5e7eb;
}

.tt-content-section h2 {
    margin: 0 0 22px;
    font-size: 30px;
    letter-spacing: -0.7px;
}

.tt-prose {
    color: #475569;
    font-size: 17px;
    line-height: 1.8;
}

.tt-prose p {
    margin: 0 0 20px;
}

.tt-prose a {
    color: #635bff;
}


/* Features */

.tt-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.tt-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.tt-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ede9fe;
    color: #635bff;
    font-size: 13px;
    font-weight: 800;
}


/* Pros & Cons */

.tt-pros-cons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.tt-pros,
.tt-cons {
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.tt-pros h3,
.tt-cons h3 {
    margin-top: 0;
}

.tt-pros ul,
.tt-cons ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.tt-pros li,
.tt-cons li {
    margin-bottom: 10px;
    line-height: 1.5;
}


/* Use cases */

.tt-use-case-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tt-use-case {
    padding: 9px 13px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}


/* Sidebar */

.tt-tool-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tt-sidebar-card {
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
}

.tt-sidebar-card h3 {
    margin: 0 0 15px;
    font-size: 17px;
}

.tt-sidebar-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.tt-price {
    margin-bottom: 15px;
    font-size: 15px;
}

.tt-price strong {
    font-size: 28px;
}

.tt-sidebar-note {
    padding-top: 9px;
    color: #15803d;
    font-size: 14px;
    font-weight: 600;
}


/* Responsive */

@media (max-width: 850px) {

    .tt-tool-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
    }

    .tt-tool-layout {
        grid-template-columns: 1fr;
    }

    .tt-tool-sidebar {
        order: -1;
    }

}


@media (max-width: 600px) {

    .tt-container {
        width: min(100% - 24px, 1180px);
    }

    .tt-tool-hero-content {
        flex-direction: column;
    }

    .tt-tool-heading h1 {
        font-size: 38px;
    }

    .tt-feature-grid,
    .tt-pros-cons {
        grid-template-columns: 1fr;
    }

    .tt-deal-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .tt-primary-button,
    .tt-deal-button {
        width: 100%;
    }

}

/* =========================================================

   TECHYTARO — POPULAR TOOL CARDS
   ========================================================= */

.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.tt-tool-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e2e5ee;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(20, 30, 60, 0.04);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.tt-tool-card:hover {
    transform: translateY(-4px);
    border-color: #d7d3ff;
    box-shadow: 0 16px 35px rgba(20, 30, 60, 0.09);
}

/* Top row */
.tt-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
}

/* Logo */
.tt-card-logo {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 14px;
    background: #f3f4f8;
}

.tt-card-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* Placeholder logo */
.tt-card-logo-placeholder {
    color: #635bff;
    background: #f0efff;
    font-size: 24px;
    font-weight: 800;
}

/* Category */
.tt-card-category {
    margin-left: auto;
    padding: 6px 9px;
    border: 1px solid #e8e9f0;
    border-radius: 999px;
    background: #fafaff;
    color: #5d6475;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

/* Tool title */
.tt-card-title {
    margin: 22px 0 8px;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.tt-card-title a {
    color: #101828;
    text-decoration: none;
}

.tt-card-title a:hover {
    color: #635bff;
}

/* Description */
.tt-card-description {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.6;
}

/* Rating / pricing */
.tt-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.tt-card-rating,
.tt-card-badge,
.tt-card-price {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 8px;
    background: #f6f7fa;
    color: #475467;
    font-size: 11px;
    line-height: 1;
}

.tt-card-rating {
    color: #344054;
    background: transparent;
    padding-left: 0;
}

.tt-card-rating span {
    color: #f59e0b;
    margin-right: 4px;
}

.tt-card-badge {
    color: #475467;
}

.tt-card-price strong {
    margin-left: 4px;
    color: #101828;
}

/* Footer / button */
.tt-card-footer {
    margin-top: 26px;
    padding-top: 0;
}

.tt-card-view {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 46px;
    padding: 11px 16px;
    border: 1px solid #dfe3eb;
    border-radius: 10px;
    background: #ffffff;
    color: #101828;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.tt-card-view:hover {
    background: #635bff;
    border-color: #635bff;
    color: #ffffff;
}

.tt-card-view span {
    transition: transform 0.2s ease;
}

.tt-card-view:hover span {
    transform: translateX(3px);
}

/* Deal label on cards */
.tt-card-deal {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    padding: 6px 9px;
    border-radius: 999px;
    background: #eefbf3;
    color: #16803c;
    font-size: 10px;
    font-weight: 800;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .tool-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 600px) {

    .tool-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tt-tool-card {
        min-height: 0;
        padding: 20px;
    }

}

/* =========================================================
   TECHYTARO — DEALS SECTION
   ========================================================= */

.deals-section {
    background: #f7f7ff;
}

.deal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.deal-card {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #ddd9ff;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(30, 35, 70, 0.05);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.deal-card:hover {
    transform: translateY(-3px);
    border-color: #c9c4ff;
    box-shadow: 0 15px 35px rgba(30, 35, 70, 0.09);
}

/* Deal logo */

.deal-logo {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 14px;
    background: #f1f2f6;
    font-size: 20px;
    font-weight: 800;
}

.deal-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* Deal content */

.deal-content {
    min-width: 0;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 6px;
    color: #16803c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.deal-content h3 {
    margin: 0 0 5px;
    color: #101828;
    font-size: 17px;
    line-height: 1.25;
}

.deal-content p {
    margin: 0 0 7px;
    color: #667085;
    font-size: 12px;
    line-height: 1.5;
}

.deal-content strong {
    display: inline-block;
    color: #101828;
    font-size: 12px;
    font-weight: 800;
}

/* Deal button */

.deal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 105px;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 10px;
    background: #635bff;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 7px 16px rgba(99, 91, 255, 0.18);
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.deal-button:hover {
    background: #5148e8;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(99, 91, 255, 0.24);
}

/* Empty state */

.deal-empty {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    border: 1px dashed #d7d9e2;
    border-radius: 16px;
    background: #ffffff;
    color: #667085;
}

/* =========================================================
   DEALS — RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

    .deal-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .deal-card {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 14px;
        padding: 18px;
    }

    .deal-logo {
        width: 50px;
        height: 50px;
    }

    .deal-button {
        grid-column: 1 / -1;
        width: 100%;
    }

}

/* =========================================================
   TECHYTARO — CATEGORY SECTION
   ========================================================= */

.categories-section {
    background: #ffffff;
}

.section-subtitle {
    max-width: 560px;
    margin: 8px 0 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.6;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.category-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 92px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #e3e6ee;
    border-radius: 16px;
    color: #101828;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: #d5d1ff;
    box-shadow: 0 12px 28px rgba(30, 35, 70, 0.08);
}

.category-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #f0efff;
    color: #635bff;
    font-size: 21px;
    font-weight: 800;
}

.category-card-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.category-card-content strong {
    color: #101828;
    font-size: 14px;
    line-height: 1.3;
}

.category-card-content small {
    color: #667085;
    font-size: 11px;
    line-height: 1.3;
}

.category-arrow {
    margin-left: auto;
    color: #635bff;
    font-size: 17px;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.category-card:hover .category-arrow {
    transform: translateX(4px);
}

.category-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 35px;
    text-align: center;
    border: 1px dashed #d9dce5;
    border-radius: 16px;
    color: #667085;
}


/* =========================================================
   CATEGORY RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 600px) {

    .category-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .category-card {
        min-height: 78px;
        padding: 15px;
    }

    .category-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

}

/* =========================================================

   CATEGORY CARD — FINAL LAYOUT OVERRIDE
   ========================================================= */

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.category-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    min-height: 92px;
    padding: 18px;
    gap: 15px;
    box-sizing: border-box;
}

.category-icon {
    flex: 0 0 48px;
}

.category-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.category-card-content strong {
    display: block;
}

.category-card-content small {
    display: block;
}

.category-arrow {
    flex: 0 0 auto;
    margin-left: auto;
}


/* Tablet */

@media (max-width: 850px) {

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* Mobile */

@media (max-width: 600px) {

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 78px;
    }

}

/* =========================================================
   GUIDES & COMPARISONS
   ========================================================= */

.guides-section {
    background: #ffffff;
}

.guides-section .section-description {
    margin: 8px 0 0;
    max-width: 620px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.article-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    border-color: #d8d4ff;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

.article-image-link {
    display: block;
    text-decoration: none;
}

.article-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    overflow: hidden;
    background: #f1f5f9;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.04);
}

.article-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #eeecff;
    color: #635bff;
    font-size: 20px;
    font-weight: 800;
}

.article-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
}

.article-category {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 10px;
    color: #635bff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-content h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.3;
}

.article-content h3 a {
    color: #0f172a;
    text-decoration: none;
}

.article-content h3 a:hover {
    color: #635bff;
}

.article-content p {
    margin: 0 0 20px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

.article-read-more {
    margin-top: auto;
    color: #635bff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.article-read-more:hover {
    color: #4f46e5;
}

.article-empty {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    color: #64748b;
}


/* Tablet */

@media (max-width: 850px) {

    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* Mobile */

@media (max-width: 600px) {

    .article-grid {
        grid-template-columns: 1fr;
    }

    .article-image {
        height: 190px;
    }

}

/* =========================================================
/* =========================================================
   TECHYTARO — SINGLE POST / ARTICLE
   Consolidated version — duplicate article rules removed
========================================================= */

.tt-single {
    padding: 48px 0 100px;
    background: #ffffff;
}

.tt-single .container {
    width: min(1180px, calc(100% - 48px));
    max-width: 1180px;
    margin: 0 auto;
    padding: 0;
}

/* Breadcrumb */
.tt-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 42px;
    font-size: 14px;
    line-height: 1.5;
    color: #64748b;
}

.tt-breadcrumb a {
    color: #64748b;
    text-decoration: none;
}

.tt-breadcrumb a:hover {
    color: #635bff;
}

.tt-breadcrumb span:last-child {
    color: #94a3b8;
}

/* Article header */
.tt-post-header {
    max-width: 900px;
    margin-bottom: 36px;
}

.tt-post-category {
    display: inline-block;
    margin-bottom: 14px;
    color: #635bff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.3;
    text-transform: uppercase;
}

.tt-post-title {
    max-width: 900px;
    margin: 0 0 20px;
    color: #0f172a;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2px;
}

.tt-post-excerpt {
    max-width: 820px;
    margin: 0 0 22px;
    color: #64748b;
    font-size: 19px;
    line-height: 1.7;
}

/* Author / date / reading time */
.tt-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.tt-post-author {
    color: #334155;
    font-weight: 600;
}

.tt-post-author strong {
    color: #0f172a;
    font-weight: 800;
}

.tt-meta-dot {
    color: #cbd5e1;
    font-weight: 700;
}

.tt-post-meta time,
.tt-reading-time {
    color: #64748b;
}

/* Featured image */
.tt-post-featured-image {
    width: 100%;
    margin: 0 0 56px;
    overflow: hidden;
    border-radius: 20px;
    background: #f8fafc;
}

.tt-post-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: cover;
}

/* Main article layout */
.tt-post-layout {
    display: grid;
    grid-template-columns: minmax(0, 820px) 280px;
    gap: 80px;
    align-items: start;
}

.tt-post-content {
    min-width: 0;
    color: #334155;
    font-size: 18px;
    line-height: 1.85;
}

.tt-post-content p {
    margin: 0 0 28px;
}

.tt-post-content h2 {
    margin: 55px 0 20px;
    color: #0f172a;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.7px;
    scroll-margin-top: 100px;
}

.tt-post-content h3 {
    margin: 40px 0 16px;
    color: #0f172a;
    font-size: 25px;
    font-weight: 750;
    line-height: 1.3;
}

.tt-post-content ul,
.tt-post-content ol {
    margin: 0 0 30px;
    padding-left: 28px;
}

.tt-post-content li {
    margin-bottom: 12px;
}

.tt-post-content a {
    color: #635bff;
    font-weight: 600;
}

.tt-post-content strong {
    color: #0f172a;
}

.tt-post-content blockquote {
    margin: 35px 0;
    padding: 20px 24px;
    border-left: 4px solid #635bff;
    border-radius: 0 10px 10px 0;
    background: #f8f7ff;
    color: #475569;
}

.tt-post-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 14px;
}

.tt-post-content table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
    font-size: 15px;
}

.tt-post-content th,
.tt-post-content td {
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
}

.tt-post-content th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 700;
}

/* Sidebar */
.tt-post-sidebar {
    position: sticky;
    top: 30px;
}

.tt-sidebar-card {
    margin-bottom: 18px;
    padding: 25px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

.tt-sidebar-card strong {
    display: block;
    margin-bottom: 12px;
    color: #0f172a;
    font-size: 16px;
}

.tt-sidebar-card p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.tt-sidebar-card a {
    color: #635bff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

/* Table of contents */
.tt-toc {
    margin: 42px 0;
    padding: 26px 30px;
    border: 1px solid #e4e4f5;
    border-radius: 16px;
    background: #f8f8ff;
}

.tt-toc-title {
    margin: 0 0 18px;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
}

.tt-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: toc-counter;
}

.tt-toc li {
    margin: 0;
    counter-increment: toc-counter;
}

.tt-toc li + li {
    margin-top: 8px;
}

.tt-toc li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #4f46e5;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tt-toc li a::before {
    content: counter(toc-counter);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 7px;
    background: #eeeeff;
    color: #5b55ff;
    font-size: 12px;
    font-weight: 700;
}

.tt-toc li a:hover {
    background: #eeeeff;
    color: #4338ca;
    transform: translateX(3px);
}

/* Article responsive */
@media (max-width: 1000px) {
    .tt-post-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tt-post-sidebar {
        position: static;
    }
}

@media (max-width: 700px) {
    .tt-single {
        padding: 30px 0 70px;
    }

    .tt-single .container {
        width: calc(100% - 36px);
    }

    .tt-breadcrumb {
        margin-bottom: 28px;
        font-size: 12px;
    }

    .tt-post-title {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .tt-post-excerpt {
        font-size: 17px;
    }

    .tt-post-content {
        font-size: 16px;
        line-height: 1.8;
    }

    .tt-post-content h2 {
        font-size: 28px;
    }

    .tt-post-content h3 {
        font-size: 22px;
    }

    .tt-post-featured-image {
        margin-bottom: 40px;
        border-radius: 14px;
    }

    .tt-toc {
        margin: 32px 0;
        padding: 22px 20px;
    }
}

@media (max-width: 600px) {
    .tt-post-meta {
        gap: 7px;
        font-size: 13px;
    }

    .tt-single .container {
        padding: 0;
    }
}



/* =========================================
   STEP 7 — RELATED ARTICLES
========================================= */

.tt-related-articles {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--tt-border);
}

.tt-related-header {
    margin-bottom: 24px;
}

.tt-related-header .tt-post-category {
    display: inline-block;
    margin-bottom: 8px;
}

.tt-related-header h2 {
    margin: 0;
    color: var(--tt-dark);
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.7px;
}

.tt-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.tt-related-card {
    min-width: 0;
    overflow: hidden;
    background: var(--tt-white);
    border: 1px solid var(--tt-border);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tt-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(16, 24, 40, 0.09);
    border-color: rgba(99, 91, 255, 0.25);
}

.tt-related-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--tt-bg);
}

.tt-related-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tt-related-body {
    padding: 20px;
}

.tt-related-category {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--tt-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tt-related-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: -0.25px;
}

.tt-related-title a:hover {
    color: var(--tt-primary);
}

.tt-related-excerpt {
    margin: 10px 0 14px;
    color: var(--tt-muted);
    font-size: 14px;
    line-height: 1.65;
}

.tt-related-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tt-primary);
    font-size: 14px;
    font-weight: 700;
}

.tt-related-link:hover {
    color: var(--tt-primary-dark);
}

@media (max-width: 700px) {
    .tt-related-articles {
        margin-top: 48px;
        padding-top: 36px;
    }

    .tt-related-grid {
        grid-template-columns: 1fr;
    }

    .tt-related-body {
        padding: 18px;
    }
}


/* =========================================
   STEP 8 — RELATED TOOLS
========================================= */

.tt-related-tools {
    margin-top: 48px;
}

.tt-related-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.tt-related-tool-card {
    min-width: 0;
    padding: 20px;
    background: var(--tt-white);
    border: 1px solid var(--tt-border);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tt-related-tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(16, 24, 40, 0.09);
    border-color: rgba(99, 91, 255, 0.25);
}

.tt-related-tool-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.tt-related-tool-logo {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    overflow: hidden;
    border: 1px solid var(--tt-border);
    border-radius: 14px;
    background: var(--tt-bg);
}

.tt-related-tool-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    box-sizing: border-box;
}

.tt-related-tool-heading {
    min-width: 0;
    flex: 1;
}

.tt-related-tool-verified {
    display: inline-block;
    margin-bottom: 5px;
    color: #15803d;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tt-related-tool-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -0.25px;
}

.tt-related-tool-title a:hover {
    color: var(--tt-primary);
}

.tt-related-tool-rating {
    display: inline-block;
    margin-top: 5px;
    color: var(--tt-muted);
    font-size: 13px;
    font-weight: 700;
}

.tt-related-tool-description {
    margin: 16px 0 12px;
    color: var(--tt-muted);
    font-size: 14px;
    line-height: 1.6;
}

.tt-related-tool-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 24px;
    margin-bottom: 14px;
    color: var(--tt-muted);
    font-size: 13px;
    font-weight: 600;
}

.tt-related-tool-discount {
    padding: 5px 8px;
    border-radius: 7px;
    background: rgba(99, 91, 255, 0.08);
    color: var(--tt-primary);
    font-size: 12px;
    font-weight: 800;
}

.tt-related-tool-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tt-primary);
    font-size: 14px;
    font-weight: 800;
}

.tt-related-tool-link:hover {
    color: var(--tt-primary-dark);
}

@media (max-width: 700px) {
    .tt-related-tools-grid {
        grid-template-columns: 1fr;
    }
}


/* Step 9.1 — Fix guide/article thumbnail cropping */

.article-card img,
.article-card .article-card-image img,
.tt-related-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Keep homepage guide thumbnails at a consistent size */
.article-card .article-card-image,
.article-card-image {
    overflow: hidden;
    background: #f1f4f9;
}


/* Step 9.2 — Professional guide thumbnail layout */

.article-card-image {
    height: 210px;
    overflow: hidden;
    background: #f1f4f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Use contain only for the specific productivity cover */
.article-card-image img[src*="productivity"] {
    object-fit: contain;
}


/* Step 9.3 — Refine guide cover presentation */

.article-card-image {
    height: 210px;
    background: #f1f4f9;
}

.article-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Avoid cropping important text in guide covers */
.article-card-image img[src*="productivity"] {
    object-fit: contain;
}


/* TechyTaro — Homepage guide thumbnail fix */
.article-card .article-image-link {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
}

.article-card .article-image {
    width: 100%;
    height: 210px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f4f9;
}

.article-card .article-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.article-card .article-image-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: #635bff;
    background: #f1f4f9;
}


/* TechyTaro — Consistent guide card alignment */
.article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card .article-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card .article-content h3 {
    min-height: 2.8em;
}

.article-card .article-content > p {
    flex: 1;
}

.article-card .article-read-more {
    display: inline-block;
    margin-top: 18px;
    align-self: flex-start;
}


/* TechyTaro — Refine guide card spacing */
.article-card .article-content h3 {
    margin-bottom: 12px;
}

.article-card .article-content > p {
    margin-top: 0;
    margin-bottom: 12px;
}


/* TechyTaro — Compact, consistent tool cards */
.tool-grid {
    align-items: stretch;
}

.tool-card {
    min-height: 0;
    height: 100%;
    padding: 20px;
    gap: 0;
}

.tool-card-header {
    min-height: 44px;
    margin-bottom: 16px;
}

.tool-card-title {
    margin: 0 0 10px;
    line-height: 1.35;
    min-height: 2.7em;
}

.tool-card-description {
    min-height: 58px;
    margin-bottom: 16px;
}

.tool-card-description p {
    margin: 0;
    line-height: 1.6;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    margin-bottom: 16px;
}

.tool-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 7px;
    background: #f1f3f8;
    font-size: 11px;
    line-height: 1.3;
}

.tool-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    margin-top: 0;
}

@media (max-width: 600px) {
    .tool-card {
        padding: 16px;
    }
}
