/*
 * tc-homepage.css — theCredito Homepage Styles
 * Todos os estilos isolados com prefixo .tc-homepage
 * para evitar conflitos com o tema pai Smart Mag
 */

/* ==========================================================================
   VARIÁVEIS
   ========================================================================== */
.tc-homepage {
    --navy:       #2E3159;
    --pink:       #D93C76;
    --purple:     #67376A;
    --g900:       #111827;
    --g700:       #4B5563;
    --g500:       #9CA3AF;
    --g200:       #E5E7EB;
    --g100:       #F3F4F6;
    --g50:        #F9FAFB;
    --white:      #FFFFFF;
    --badge-bg:   #FDF2F6;
    --badge-txt:  #D93C76;
    --ok-bg:      #ECFDF5;
    --ok-txt:     #059669;
    --r-sm: 12px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-xxl: 48px;
    --r-pill: 100px;
}

/* ==========================================================================
   RESET & LAYOUT BASE
   ========================================================================== */
.tc-homepage {
    background: #fff;
    width: 100%;
    overflow-x: hidden;
}

.tc-container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.tc-section-spacing {
    padding: 40px 0;
}

.tc-section-heading {
    margin-bottom: 32px;
}
.tc-section-heading h2 {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: var(--g900) !important;
    margin-bottom: 4px !important;
    margin-top: 0 !important;
    letter-spacing: -0.02em;
    line-height: 1.2;
    border: none !important;
    padding: 0 !important;
}
.tc-section-heading p {
    font-size: 15px;
    color: var(--g700);
    font-weight: 400;
    margin: 0;
}

/* ==========================================================================
   COMPONENTES REUTILIZÁVEIS
   ========================================================================== */

/* Badge */
.tc-badge {
    display: inline-flex;
    align-items: center;
    background: var(--badge-bg);
    color: var(--badge-txt);
    padding: 4px 14px;
    border-radius: var(--r-pill);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
    flex-shrink: 0;
    align-self: flex-start;
}

/* Author info */
.tc-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.tc-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--g700);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    overflow: hidden;
}
.tc-avatar svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.tc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tc-avatar.tc-avatar-md { width: 44px; height: 44px; }
.tc-avatar.tc-avatar-xs { width: 20px; height: 20px; }
.tc-avatar.tc-avatar-xs svg { width: 12px; height: 12px; }

.tc-author-details { display: flex; flex-direction: column; }
.tc-author-name { color: var(--g900); font-size: 14px; font-weight: 600; line-height: 1.2; }
.tc-author-meta { color: var(--g500); font-size: 12px; }

/* Footer row & stats */
.tc-card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
.tc-stats { display: flex; gap: 8px; }
.tc-stat-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--g100);
    height: 28px;
    padding: 0 12px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--g500);
}
.tc-stat-pill svg { width: 13px; height: 13px; flex-shrink: 0; }
.tc-share-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--g200);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--g500);
    text-decoration: none;
    flex-shrink: 0;
}
.tc-share-btn:hover { background: var(--g100); }
.tc-share-btn svg { width: 14px; height: 14px; }

/* Nav buttons */
.tc-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--g200);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    padding: 0;
}
.tc-nav-btn:hover { border-color: var(--g500); background: var(--g50); }
.tc-nav-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Ad banners */
.tc-ad-banner-container {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--r-md);
    overflow: hidden;
}
.tc-ad-banner-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.tc-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
.tc-slider-content {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}
.tc-slider-image-container {
    width: 75%;
    height: 480px;
    margin-left: auto;
    border-radius: var(--r-xl);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}
.tc-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}
.tc-slide-img.active {
    display: block;
    position: relative;
}

.tc-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}
.tc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s;
}
.tc-dot.active { background: #fff; }

.tc-glass-card {
    display: none;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    min-width: 400px;
    padding: 44px 48px;
    border-radius: var(--r-xl);
    z-index: 20;
    background: linear-gradient(90deg,
        rgba(255,255,255,1)   0%,
        rgba(255,255,255,0.95) 48%,
        rgba(255,255,255,0.65) 75%,
        rgba(255,255,255,0)   100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
}
.tc-glass-card.active { display: flex; }
.tc-glass-card a { text-decoration: none; color: inherit; }
.tc-slide-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 24px !important;
    margin-top: 0 !important;
    color: var(--g900) !important;
    border: none !important;
    padding: 0 !important;
}

.tc-slider-navigation {
    position: absolute;
    bottom: 0;
    left: 48px;
    display: flex;
    gap: 12px;
    z-index: 20;
}

/* ==========================================================================
   CATEGORIES GRID
   ========================================================================== */
.tc-categories-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}
.tc-header-actions { display: flex; gap: 12px; }

.tc-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.tc-category-card {
    background: var(--g50);
    border-radius: var(--r-xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,0.03);
}
.tc-category-card:hover { transform: translateY(-4px); }
.tc-cat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.tc-cat-title {
    color: var(--g900) !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    margin-bottom: 4px !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border: none !important;
}
.tc-cat-subtitle { color: var(--g500); font-size: 13px; font-weight: 500; }
.tc-cat-rank-badge {
    background: var(--ok-bg);
    color: var(--ok-txt);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 2px;
    white-space: nowrap;
}
.tc-cat-divider {
    width: 100%;
    height: 1px;
    background: var(--g200);
    border: none;
    margin: 20px 0;
}
.tc-cat-image-box {
    width: 100%;
    background: var(--g100);
    border-radius: var(--r-lg);
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    overflow: hidden;
}
.tc-cat-image-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* ==========================================================================
   NEWS GRID 1 — Destaque + 3 laterais
   ========================================================================== */
.tc-news-grid-1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.tc-card-bordered {
    background: var(--white);
    border: 1px solid var(--g200);
    border-radius: var(--r-lg);
    padding: 16px;
    display: flex;
    box-shadow: 0 2px 12px rgba(0,0,0,0.015);
    text-decoration: none;
    transition: transform 0.2s;
    color: inherit;
}
.tc-card-bordered:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

/* Card principal (esquerda) */
.tc-card-main {
    flex-direction: column;
    height: 100%;
}
.tc-img-wrap {
    width: 100%;
    flex: 1;
    min-height: 360px;
    border-radius: var(--r-md);
    overflow: hidden;
    margin-bottom: 24px;
}
.tc-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tc-card-main-title {
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
    margin-top: 0 !important;
    color: var(--g900) !important;
    padding: 0 !important;
    border: none !important;
}
.tc-card-excerpt {
    color: var(--g700);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    margin-top: 0;
}

/* Cards horizontais (direita) */
.tc-cards-column {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
}
.tc-card-horizontal {
    flex-direction: row;
    gap: 20px;
    align-items: stretch;
}
.tc-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}
.tc-card-h-title {
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
    margin-top: 0 !important;
    color: var(--g900) !important;
    padding: 0 !important;
    border: none !important;
}
.tc-card-horizontal .tc-author-info { margin-top: auto; margin-bottom: 16px; }
.tc-h-img-wrap {
    width: 220px;
    height: 140px;
    align-self: center;
    flex-shrink: 0;
    border-radius: var(--r-md);
    overflow: hidden;
}
.tc-h-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   FEATURE BANNER
   ========================================================================== */
.tc-feature-banner {
    width: 100%;
    background: var(--g50);
    border-radius: var(--r-xxl);
    display: flex;
    align-items: center;
    padding: 60px 80px;
    gap: 40px;
    border: 1px solid rgba(0,0,0,0.02);
}
.tc-feature-text {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    max-width: 520px;
}
.tc-feature-eyebrow {
    color: var(--g500);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    display: block;
}
.tc-feature-title {
    color: var(--g900) !important;
    font-size: 48px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.025em !important;
    margin-bottom: 24px !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border: none !important;
}
.tc-feature-desc {
    color: var(--g700);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
    margin-top: 0;
}
.tc-cta-btn {
    align-self: flex-start;
    background: var(--navy);
    color: #fff !important;
    padding: 18px 44px;
    border-radius: var(--r-pill);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    transition: transform 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}
.tc-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46,49,89,0.2);
}
.tc-feature-image { flex: 1.2; display: flex; justify-content: flex-end; }
.tc-feature-image img {
    width: 100%;
    max-width: 800px;
    height: 450px;
    object-fit: cover;
    border-radius: var(--r-lg);
    display: block;
}

/* ==========================================================================
   LAYOUT COM SIDEBAR
   ========================================================================== */
.tc-layout-with-sidebar {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.tc-main-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* List cards */
.tc-list-card {
    background: var(--white);
    border: 1px solid var(--g200);
    border-radius: var(--r-xl);
    padding: 24px;
    display: flex;
    flex-direction: row;
    gap: 32px;
    text-decoration: none;
    transition: transform 0.2s;
    color: inherit;
}
.tc-list-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.tc-list-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}
.tc-list-title {
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
    margin-top: 0 !important;
    color: var(--g900) !important;
    padding: 0 !important;
    border: none !important;
}
.tc-list-excerpt {
    color: var(--g700);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 24px;
    margin-top: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tc-list-img-wrap {
    width: 320px;
    height: 220px;
    align-self: center;
    flex-shrink: 0;
    border-radius: var(--r-lg);
    overflow: hidden;
}
.tc-list-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Sidebar */
.tc-sidebar {
    width: 340px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.tc-widget-box {
    background: var(--white);
    border: 1px solid var(--g200);
    border-radius: var(--r-lg);
    padding: 24px;
}
.tc-widget-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: var(--g900) !important;
    margin-bottom: 20px !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Widget cats */
.tc-widget-cat-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    margin: 0;
}
.tc-widget-cat-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tc-w-cat-left { display: flex; align-items: center; gap: 12px; }
.tc-w-cat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--badge-bg);
    color: var(--pink);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}
.tc-w-cat-icon svg { width: 20px; height: 20px; fill: currentColor; }
.tc-w-cat-name { font-size: 15px; font-weight: 600; color: var(--g900); }
.tc-w-cat-count {
    font-size: 13px;
    color: var(--g500);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}
.tc-w-cat-count:hover { color: var(--pink); }

/* Widget tags */
.tc-widget-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-w-tag {
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid var(--g200);
    font-size: 13px;
    color: var(--g700);
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}
.tc-w-tag:hover {
    border-color: var(--pink);
    color: var(--pink);
    background: var(--badge-bg);
}

/* Widget authors */
.tc-widget-authors { display: flex; flex-direction: column; gap: 16px; }
.tc-w-author-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.tc-w-author-info { display: flex; flex-direction: column; }
.tc-w-author-name { font-size: 15px; font-weight: 600; color: var(--g900); }
.tc-w-author-bio { font-size: 12px; color: var(--g500); }

/* Widget recent posts */
.tc-widget-posts { display: flex; flex-direction: column; gap: 20px; }
.tc-w-post-item {
    display: flex;
    gap: 16px;
    align-items: center;
    text-decoration: none;
}
.tc-w-post-content { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.tc-w-post-author-row { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.tc-w-post-meta { font-size: 11px; color: var(--g500); }
.tc-w-post-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--g900) !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}
.tc-w-post-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}
.tc-w-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   NEWSLETTER BANNER
   ========================================================================== */
.tc-newsletter-wrapper { width: 100%; }
.tc-newsletter-banner {
    position: relative;
    width: 100%;
    background: var(--pink);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 90px 0;
}
.tc-abstract-shapes {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100%;
    max-width: 1400px;
    pointer-events: none;
    z-index: 1;
}
.tc-shape {
    position: absolute;
    border-radius: 44px;
}
.tc-shape-navy       { background: #2E3159;                  width: 300px; height: 600px; transform: rotate(-38deg); top: -280px; left: -100px; z-index: 10; }
.tc-shape-purple-sub { background: rgba(103,55,106,0.8);     width: 280px; height: 550px; transform: rotate(-38deg); top: -120px; left: -40px;  z-index: 15; }
.tc-shape-purple-main{ background: #67376A;                  width: 320px; height: 650px; transform: rotate(-38deg); top:   60px; left:  40px;  z-index: 20; }
.tc-shape-pink-1     { background: rgba(217,60,118,0.8);     width: 160px; height: 500px; transform: rotate(-38deg); top:  220px; left: -120px; z-index:  5; }
.tc-shape-pink-2     { background: rgba(217,60,118,0.6);     width: 160px; height: 400px; transform: rotate(52deg);  top:  380px; left: -80px;  z-index:  5; }

.tc-newsletter-inner {
    position: relative;
    z-index: 30;
    display: flex;
    justify-content: flex-end;
}
.tc-newsletter-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 620px;
}
.tc-news-eyebrow {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}
.tc-news-title {
    color: #fff !important;
    font-size: 44px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 14px !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border: none !important;
}
.tc-news-subtitle {
    color: #fff;
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 32px;
    margin-top: 0;
}
.tc-subscribe-form {
    display: flex;
    gap: 16px;
    width: 100%;
}
.tc-subscribe-input {
    flex: 1;
    height: 56px;
    max-width: 520px;
    background: #fff;
    border: none;
    border-radius: var(--r-pill);
    padding: 0 28px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    color: #111827;
}
.tc-subscribe-btn {
    height: 56px;
    padding: 0 40px;
    background: #2E3159;
    color: #fff;
    border: none;
    border-radius: var(--r-pill);
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    white-space: nowrap;
}
.tc-subscribe-btn:hover { background: #1f2240; transform: scale(1.02); }

/* ==========================================================================
   RESPONSIVE — 1024px
   ========================================================================== */
@media (max-width: 1024px) {
    .tc-slider-image-container { width: 100%; }
    .tc-glass-card { width: 60%; min-width: 300px; }
    .tc-categories-grid { grid-template-columns: repeat(2, 1fr); }
    .tc-feature-banner { padding: 60px; gap: 30px; }
    .tc-feature-title { font-size: 40px !important; }
    .tc-feature-image img { height: 350px; }
    .tc-layout-with-sidebar { flex-direction: column; }
    .tc-sidebar { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
    .tc-newsletter-banner { padding: 60px 0; }
}

/* ==========================================================================
   RESPONSIVE — 900px
   ========================================================================== */
@media (max-width: 900px) {
    .tc-slider-content { flex-direction: column; }
    .tc-slider-image-container { width: 100%; height: 260px; border-radius: 24px; }
    .tc-pagination { display: none; }
    .tc-glass-card {
        position: relative;
        top: auto; left: auto;
        transform: none;
        margin-top: -55px;
        width: calc(100% - 40px);
        min-width: auto;
        padding: 28px 24px;
        border-radius: 24px;
        background: linear-gradient(180deg,
            rgba(255,255,255,0.2)  0%,
            rgba(255,255,255,0.85) 20%,
            rgba(255,255,255,1)    35%,
            rgba(255,255,255,1)   100%);
        align-self: center;
    }
    .tc-slide-title { font-size: 21px !important; }
    .tc-slider-navigation { position: relative; bottom: auto; left: auto; justify-content: center; margin-top: 24px; }

    .tc-news-grid-1 { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
    .tc-img-wrap { min-height: auto; height: 230px; flex: none; }
    .tc-card-excerpt { display: none; }
    .tc-cards-column { display: flex; flex-direction: column; }
    .tc-card-horizontal { align-items: center; padding: 16px; }
    .tc-card-h-title { font-size: 14px !important; }
    .tc-card-horizontal .tc-author-info { margin-bottom: 0; }
    .tc-card-horizontal .tc-card-footer-row { display: none; }
    .tc-h-img-wrap { width: 110px; height: 84px; border-radius: 12px; }

    .tc-list-card { flex-direction: row; align-items: center; gap: 12px; padding: 16px; border-radius: 20px; }
    .tc-list-title { font-size: 15px !important; }
    .tc-list-excerpt { display: none; }
    .tc-list-card .tc-card-footer-row { display: none; }
    .tc-list-card .tc-author-info { margin-bottom: 0; }
    .tc-list-img-wrap { width: 130px; height: 95px; border-radius: 12px; }

    .tc-feature-banner { flex-direction: column; padding: 40px 24px; border-radius: 40px; }
    .tc-feature-text { max-width: 100%; }
    .tc-feature-image { width: 100%; justify-content: center; }
    .tc-feature-image img { height: 250px; max-width: 100%; }
    .tc-feature-title { font-size: 32px !important; }
    .tc-cta-btn { width: 100%; text-align: center; align-self: stretch; }

    .tc-sidebar { grid-template-columns: 1fr; }
}

/* ==========================================================================
   RESPONSIVE — 768px
   ========================================================================== */
@media (max-width: 768px) {
    .tc-categories-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
    }
    .tc-categories-grid::-webkit-scrollbar { display: none; }
    .tc-category-card { min-width: 250px; scroll-snap-align: start; }

    .tc-newsletter-banner { padding: 60px 0; }
    .tc-newsletter-inner { justify-content: center; }
    .tc-news-title { font-size: 34px !important; }
    .tc-subscribe-form { flex-direction: row; gap: 12px; }
    .tc-subscribe-input { height: 52px; padding: 0 16px; font-size: 15px; }
    .tc-subscribe-btn { height: 52px; padding: 0 20px; font-size: 15px; }
}

/* ==========================================================================
   RESPONSIVE — 450px
   ========================================================================== */
@media (max-width: 450px) {
    .tc-subscribe-form { flex-direction: column; }
    .tc-subscribe-btn { width: 100%; }
    .tc-section-heading h2 { font-size: 26px !important; }
}
