/* assets/css/blog.css — Blog listing & detail page styles */

/* ═══════════════════════════════════════════════
   SHARED UTILITIES
   ═══════════════════════════════════════════════ */

.tq-blog-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* Category color mapping */
.tq-cat-insights   { background: rgba(77, 97, 244, 0.1);  color: #4d61f4; }
.tq-cat-web        { background: rgba(5, 102, 61, 0.1);   color: #05663d; }
.tq-cat-marketing  { background: rgba(203, 137, 255, 0.15); color: #9b3fd9; }
.tq-cat-ecommerce  { background: rgba(234, 108, 0, 0.1);  color: #c25a00; }
.tq-cat-mobile     { background: rgba(15, 40, 120, 0.1);  color: #0f2878; }

.tq-cat-chip {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════
   BLOG HERO SECTION
   ═══════════════════════════════════════════════ */

.tq-blog-hero {
    background: #232323;
    padding: 9rem 1.5rem 5rem;
    position: relative;
    overflow: hidden;
}

.tq-blog-hero::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -5%;
    width: clamp(340px, 48vw, 680px);
    height: clamp(340px, 48vw, 680px);
    background: radial-gradient(ellipse, rgba(77, 97, 244, 0.18) 0%, transparent 65%);
    pointer-events: none;
}

.tq-blog-hero::after {
    content: '';
    position: absolute;
    bottom: -5%;
    left: -3%;
    width: clamp(200px, 28vw, 420px);
    height: clamp(200px, 28vw, 420px);
    background: radial-gradient(ellipse, rgba(215, 254, 124, 0.1) 0%, transparent 65%);
    pointer-events: none;
}

.tq-blog-hero__inner {
    max-width: 80rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 320px;
    align-items: center;
    gap: 4rem;
}

/* ── Hero stat cards ──────────────────────────── */
.tq-blog-hero__visual {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.tq-blog-hero__stat {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: 1.375rem 1.75rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.tq-blog-hero__stat:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
}

.tq-blog-hero__stat--lime {
    background: rgba(215, 254, 124, 0.04);
    border-color: rgba(215, 254, 124, 0.12);
}

.tq-blog-hero__stat--lime:hover {
    background: rgba(215, 254, 124, 0.07);
    border-color: rgba(215, 254, 124, 0.2);
}

.tq-blog-hero__stat--purple {
    background: rgba(203, 137, 255, 0.04);
    border-color: rgba(203, 137, 255, 0.12);
}

.tq-blog-hero__stat--purple:hover {
    background: rgba(203, 137, 255, 0.07);
    border-color: rgba(203, 137, 255, 0.2);
}

.tq-blog-hero__stat-num {
    display: block;
    font-size: 2.25rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 0.375rem;
}

.tq-blog-hero__stat-plus {
    color: #4d61f4;
    font-size: 1.5rem;
}

.tq-blog-hero__stat-plus--lime   { color: #d7fe7c; }
.tq-blog-hero__stat-plus--purple { color: #cb89ff; }

.tq-blog-hero__stat-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tq-blog-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
}

.tq-blog-hero__badge-dot {
    width: 7px;
    height: 7px;
    background: #d7fe7c;
    border-radius: 50%;
    flex-shrink: 0;
}

.tq-blog-hero__title {
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.032em;
    color: #fff;
    margin-bottom: 1.25rem;
    max-width: 36rem;
}

.tq-blog-mark {
    font-style: normal;
    color: #d7fe7c;
}

.tq-blog-hero__sub {
    font-size: clamp(0.9375rem, 1.3vw, 1.0625rem);
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.72;
    max-width: 32rem;
    margin-bottom: 2.5rem;
}

/* ═══════════════════════════════════════════════
   CATEGORY FILTER PILLS
   ═══════════════════════════════════════════════ */

.tq-blog-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0;
}

.tq-blog-filter__pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4375rem 1.125rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.55);
    background: transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.tq-blog-filter__pill:hover {
    border-color: rgba(77, 97, 244, 0.5);
    color: #fff;
    background: rgba(77, 97, 244, 0.1);
}

.tq-blog-filter__pill.is-active {
    background: #4d61f4;
    border-color: #4d61f4;
    color: #fff;
}

/* ═══════════════════════════════════════════════
   BLOG GRID SECTION
   ═══════════════════════════════════════════════ */

.tq-blog-grid-section {
    background: #f6f5f2;
    padding: 5rem 1.5rem;
}

.tq-blog-grid-inner {
    max-width: 80rem;
    margin: 0 auto;
}

/* ── Featured Post Card ───────────────────────── */

.tq-blog-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid rgba(35, 35, 35, 0.08);
    border-radius: 1.5rem;
    overflow: hidden;
    margin-bottom: 3rem;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.tq-blog-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(35, 35, 35, 0.12);
}

.tq-blog-featured__image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #232323 0%, #3a3a3a 100%);
    min-height: 360px;
    max-height: 440px;
}

.tq-blog-featured__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Blue brand overlay */
.tq-blog-featured__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(77, 97, 244, 0.42);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.35s ease;
}
.tq-blog-featured:hover .tq-blog-featured__image::after { opacity: 0.55; }

.tq-blog-featured__badge { z-index: 2; }

.tq-blog-featured:hover .tq-blog-featured__image img {
    transform: scale(1.03);
}

.tq-blog-featured__image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e1e2e 0%, #2a2a3e 50%, #232340 100%);
    position: relative;
    overflow: hidden;
}

.tq-blog-featured__image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 40%, rgba(77, 97, 244, 0.25) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 70%, rgba(215, 254, 124, 0.1) 0%, transparent 50%);
}

.tq-blog-featured__image-placeholder svg {
    width: 64px;
    height: 64px;
    opacity: 0.18;
    color: #fff;
    position: relative;
    z-index: 1;
}

.tq-blog-featured__badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3125rem 0.75rem;
    background: rgba(215, 254, 124, 0.9);
    color: #232323;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tq-blog-featured__content {
    padding: 2.5rem 2.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tq-blog-featured__cat {
    margin-bottom: 1rem;
}

.tq-blog-featured__title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.018em;
    color: #232323;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.tq-blog-featured:hover .tq-blog-featured__title {
    color: #4d61f4;
}

.tq-blog-featured__excerpt {
    font-size: 0.9375rem;
    color: rgba(35, 35, 35, 0.58);
    line-height: 1.72;
    margin-bottom: 1.75rem;
}

.tq-blog-featured__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tq-blog-featured__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4d61f4, #7b88f7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 900;
    color: #fff;
    flex-shrink: 0;
}

.tq-blog-featured__meta-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.tq-blog-featured__author {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #232323;
}

.tq-blog-featured__date-read {
    font-size: 0.75rem;
    color: rgba(35, 35, 35, 0.42);
    font-weight: 600;
}

.tq-blog-featured__read-link {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #4d61f4;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.tq-blog-featured__read-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.tq-blog-featured:hover .tq-blog-featured__read-link svg {
    transform: translateX(4px);
}

/* ── Grid of Cards ────────────────────────────── */

.tq-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tq-blog-card {
    background: #fff;
    border: 1px solid rgba(35, 35, 35, 0.08);
    border-radius: 1.25rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tq-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(35, 35, 35, 0.1);
}

.tq-blog-card__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #232323 0%, #3a3a3a 100%);
    position: relative;
    flex-shrink: 0;
}

.tq-blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

/* Blue brand overlay */
.tq-blog-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(77, 97, 244, 0.42);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.35s ease;
}
.tq-blog-card:hover .tq-blog-card__image::after { opacity: 0.55; }

.tq-blog-card:hover .tq-blog-card__image img {
    transform: scale(1.04);
}

.tq-blog-card__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e1e2e 0%, #2a2a3e 100%);
    position: relative;
    overflow: hidden;
}

.tq-blog-card__image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(77, 97, 244, 0.2) 0%, transparent 65%);
}

.tq-blog-card__image-placeholder svg {
    width: 40px;
    height: 40px;
    opacity: 0.2;
    color: #fff;
    position: relative;
    z-index: 1;
}

.tq-blog-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tq-blog-card__cat {
    margin-bottom: 0.75rem;
}

.tq-blog-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.015em;
    color: #232323;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

.tq-blog-card:hover .tq-blog-card__title {
    text-decoration: underline;
    text-decoration-color: rgba(77, 97, 244, 0.5);
    text-underline-offset: 3px;
    color: #4d61f4;
}

.tq-blog-card__excerpt {
    font-size: 0.875rem;
    color: rgba(35, 35, 35, 0.55);
    line-height: 1.68;
    margin-bottom: 1.25rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tq-blog-card__meta {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(35, 35, 35, 0.07);
}

.tq-blog-card__avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4d61f4, #7b88f7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 900;
    color: #fff;
    flex-shrink: 0;
}

.tq-blog-card__meta-text {
    display: flex;
    flex-direction: column;
    gap: 0.0625rem;
    flex: 1;
}

.tq-blog-card__meta-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #232323;
}

.tq-blog-card__meta-date {
    font-size: 0.6875rem;
    color: rgba(35, 35, 35, 0.4);
    font-weight: 600;
}

.tq-blog-card__read-time {
    font-size: 0.6875rem;
    font-weight: 700;
    color: rgba(35, 35, 35, 0.38);
    white-space: nowrap;
    background: rgba(35, 35, 35, 0.05);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
}

/* ── Empty State ─────────────────────────────── */

.tq-blog-empty {
    text-align: center;
    padding: 5rem 1.5rem;
    grid-column: 1 / -1;
}

.tq-blog-empty__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: rgba(35, 35, 35, 0.06);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(35, 35, 35, 0.3);
}

.tq-blog-empty__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #232323;
    margin-bottom: 0.5rem;
}

.tq-blog-empty__sub {
    font-size: 0.9375rem;
    color: rgba(35, 35, 35, 0.45);
}

/* ── Pagination ───────────────────────────────── */

.tq-blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    margin-top: 3.5rem;
}

.tq-blog-pagination a,
.tq-blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.tq-blog-pagination a {
    color: rgba(35, 35, 35, 0.55);
    border: 1.5px solid rgba(35, 35, 35, 0.12);
}

.tq-blog-pagination a:hover {
    background: rgba(77, 97, 244, 0.07);
    border-color: rgba(77, 97, 244, 0.3);
    color: #4d61f4;
}

.tq-blog-pagination span.current {
    background: #4d61f4;
    color: #fff;
    border: 1.5px solid #4d61f4;
}

.tq-blog-pagination .ellipsis {
    color: rgba(35, 35, 35, 0.3);
    border: none;
    width: auto;
    padding: 0 0.25rem;
}

/* ── CTA Strip ───────────────────────────────── */

.tq-blog-cta {
    background: #232323;
    padding: 4rem 1.5rem;
}

.tq-blog-cta__inner {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.tq-blog-cta__label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 0.625rem;
}

.tq-blog-cta__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin: 0;
}

.tq-blog-cta__title em {
    font-style: normal;
    color: #d7fe7c;
}

.tq-blog-cta__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    flex-shrink: 0;
}

.tq-blog-cta__btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8125rem 1.75rem;
    background: #4d61f4;
    color: #fff;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.tq-blog-cta__btn-primary:hover {
    background: #3a4edf;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(77, 97, 244, 0.3);
}

.tq-blog-cta__btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 0.8125rem 1.75rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.tq-blog-cta__btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

/* ═══════════════════════════════════════════════
   BLOG POST DETAIL PAGE
   ═══════════════════════════════════════════════ */

/* ── Post Hero ────────────────────────────────── */

.tq-post-hero {
    background-color: #232323;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 9rem 1.5rem 5rem;
    min-height: 460px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Gradient overlay — always rendered, dims the cover image */
.tq-post-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(20, 22, 46, 0.82) 0%,
            rgba(20, 22, 46, 0.65) 45%,
            rgba(20, 22, 46, 0.94) 100%
        );
    pointer-events: none;
    z-index: 0;
}

/* Ambient blue glow when no cover */
.tq-post-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -8%;
    width: clamp(300px, 42vw, 600px);
    height: clamp(300px, 42vw, 600px);
    background: radial-gradient(ellipse, rgba(77, 97, 244, 0.18) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.tq-post-hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: clamp(200px, 30vw, 440px);
    height: clamp(200px, 30vw, 440px);
    background: radial-gradient(ellipse, rgba(203, 137, 255, 0.1) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.tq-post-hero__inner {
    max-width: 80rem;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Breadcrumb */
.tq-post-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    flex-wrap: wrap;
}

.tq-post-breadcrumb a {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.2s ease;
}

.tq-post-breadcrumb a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.tq-post-breadcrumb__sep {
    color: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.tq-post-breadcrumb__current {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 28rem;
}

.tq-post-hero__cat {
    margin-bottom: 1.25rem;
}

.tq-post-hero__title {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.022em;
    color: #fff;
    margin-bottom: 1.75rem;
    max-width: 50rem;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.tq-post-hero__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.tq-post-hero__author-row {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.tq-post-hero__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4d61f4, #7b88f7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 900;
    color: #fff;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.tq-post-hero__author-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.tq-post-hero__author-role {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
}

.tq-post-hero__meta-sep {
    width: 1px;
    height: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.tq-post-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.tq-post-hero__meta-item svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: 0.6;
}

/* ── Post Layout ─────────────────────────────── */

.tq-post-layout-section {
    background: #fff;
    padding: 4rem 1.5rem 5rem;
}

.tq-post-layout {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 4rem;
    align-items: start;
}

/* ── Post Body (Content) ─────────────────────── */

.tq-post-body {
    min-width: 0;
}

.tq-post-body__content {
    font-size: 1.125rem;
    line-height: 1.85;
    color: #3a3a3a;
}

.tq-post-body__content h2 {
    font-size: 1.875rem;
    font-weight: 900;
    letter-spacing: -0.022em;
    color: #232323;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.tq-post-body__content h3 {
    font-size: 1.3125rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #232323;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.tq-post-body__content p {
    margin-bottom: 1.5rem;
}

.tq-post-body__content strong {
    font-weight: 700;
    color: #232323;
}

.tq-post-body__content em {
    font-style: italic;
}

.tq-post-body__content a {
    color: #4d61f4;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.tq-post-body__content a:hover {
    color: #3a4edf;
}

.tq-post-body__content ul,
.tq-post-body__content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.tq-post-body__content li {
    margin-bottom: 0.5rem;
}

.tq-post-body__content blockquote {
    border-left: 3px solid #4d61f4;
    padding: 1.125rem 1.5rem;
    margin: 2rem 0;
    background: #f6f5f2;
    border-radius: 0 0.75rem 0.75rem 0;
    font-style: italic;
    color: rgba(35, 35, 35, 0.72);
    font-size: 1.0625rem;
}

.tq-post-body__content blockquote p {
    margin-bottom: 0;
}

/* Tags */
.tq-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(35, 35, 35, 0.08);
}

.tq-post-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3125rem 0.875rem;
    background: rgba(35, 35, 35, 0.05);
    border: 1px solid rgba(35, 35, 35, 0.09);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(35, 35, 35, 0.55);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tq-post-tag:hover {
    background: rgba(77, 97, 244, 0.07);
    border-color: rgba(77, 97, 244, 0.25);
    color: #4d61f4;
}

/* Author Card */
.tq-post-author-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: #f6f5f2;
    border: 1px solid rgba(35, 35, 35, 0.08);
    border-radius: 1.25rem;
    padding: 1.75rem;
    margin-top: 2.5rem;
}

.tq-post-author-card__photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4d61f4, #7b88f7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 900;
    color: #fff;
    flex-shrink: 0;
}

.tq-post-author-card__photo img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.tq-post-author-card__info {
    flex: 1;
    min-width: 0;
}

.tq-post-author-card__label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(35, 35, 35, 0.35);
    margin-bottom: 0.25rem;
}

.tq-post-author-card__name {
    font-size: 1.0625rem;
    font-weight: 900;
    color: #232323;
    letter-spacing: -0.015em;
    margin-bottom: 0.125rem;
}

.tq-post-author-card__role {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #4d61f4;
    margin-bottom: 0.75rem;
}

.tq-post-author-card__bio {
    font-size: 0.875rem;
    color: rgba(35, 35, 35, 0.58);
    line-height: 1.65;
    margin: 0;
}

/* ── Post Sidebar ─────────────────────────────── */

.tq-post-sidebar {
    position: sticky;
    top: 6rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Table of Contents */
.tq-post-toc {
    background: #f6f5f2;
    border: 1px solid rgba(35, 35, 35, 0.08);
    border-radius: 1rem;
    padding: 1.375rem 1.5rem;
}

.tq-post-toc__title {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(35, 35, 35, 0.38);
    margin-bottom: 1rem;
}

.tq-post-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.tq-post-toc__item a {
    display: block;
    padding: 0.4375rem 0.625rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(35, 35, 35, 0.58);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    line-height: 1.4;
}

.tq-post-toc__item a:hover,
.tq-post-toc__item.is-active a {
    background: rgba(77, 97, 244, 0.08);
    color: #4d61f4;
}

/* Share Buttons */
.tq-post-share {
    background: #f6f5f2;
    border: 1px solid rgba(35, 35, 35, 0.08);
    border-radius: 1rem;
    padding: 1.375rem 1.5rem;
}

.tq-post-share__title {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(35, 35, 35, 0.38);
    margin-bottom: 0.875rem;
}

.tq-post-share__buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tq-post-share__btn {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    border-radius: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease, transform 0.15s ease;
}

.tq-post-share__btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.tq-post-share__btn--copy {
    background: rgba(35, 35, 35, 0.06);
    color: #232323;
}

.tq-post-share__btn--copy:hover {
    background: rgba(35, 35, 35, 0.1);
}

.tq-post-share__btn--whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #1a8a45;
}

.tq-post-share__btn--whatsapp:hover {
    background: rgba(37, 211, 102, 0.18);
    transform: translateY(-1px);
}

.tq-post-share__btn--linkedin {
    background: rgba(0, 119, 181, 0.1);
    color: #0077b5;
}

.tq-post-share__btn--linkedin:hover {
    background: rgba(0, 119, 181, 0.18);
    transform: translateY(-1px);
}

/* Sidebar CTA Card */
.tq-post-sidebar-cta {
    background: #232323;
    border-radius: 1rem;
    padding: 1.5rem;
    overflow: hidden;
    position: relative;
}

.tq-post-sidebar-cta::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 160px;
    height: 160px;
    background: radial-gradient(ellipse, rgba(77, 97, 244, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.tq-post-sidebar-cta__label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.625rem;
}

.tq-post-sidebar-cta__title {
    font-size: 1.0625rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.018em;
    line-height: 1.2;
    margin-bottom: 0.625rem;
}

.tq-post-sidebar-cta__sub {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    margin-bottom: 1.125rem;
}

.tq-post-sidebar-cta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.6875rem 1rem;
    background: #d7fe7c;
    color: #232323;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 900;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}

.tq-post-sidebar-cta__btn:hover {
    background: #cbf970;
    transform: translateY(-2px);
}

.tq-post-sidebar-cta__btn svg {
    width: 13px;
    height: 13px;
}

/* ── Related Posts Section ───────────────────── */

.tq-post-related {
    background: #232323;
    padding: 5rem 1.5rem;
}

.tq-post-related__inner {
    max-width: 80rem;
    margin: 0 auto;
}

.tq-post-related__header {
    margin-bottom: 2.5rem;
}

.tq-post-related__label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.625rem;
}

.tq-post-related__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.tq-post-related__title em {
    font-style: normal;
    color: #d7fe7c;
}

.tq-post-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.tq-post-related__card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.125rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: background 0.25s ease, transform 0.25s ease;
}

.tq-post-related__card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-3px);
}

.tq-post-related__card-image {
    aspect-ratio: 16 / 8;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.tq-post-related__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.35s ease, opacity 0.25s ease;
}

.tq-post-related__card:hover .tq-post-related__card-image img {
    transform: scale(1.04);
    opacity: 0.95;
}

.tq-post-related__card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 97, 244, 0.08);
}

.tq-post-related__card-image-placeholder svg {
    width: 32px;
    height: 32px;
    opacity: 0.2;
    color: #fff;
}

.tq-post-related__card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tq-post-related__card-cat {
    margin-bottom: 0.625rem;
}

.tq-post-related__card-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    letter-spacing: -0.012em;
    margin-bottom: 0.75rem;
    flex: 1;
    transition: color 0.2s ease;
}

.tq-post-related__card:hover .tq-post-related__card-title {
    color: #d7fe7c;
}

.tq-post-related__card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
}

/* ── Category chips on dark backgrounds ─────── */
.tq-post-related .tq-cat-chip {
    background: rgba(255, 255, 255, 0.07) !important;
    color: rgba(255, 255, 255, 0.45) !important;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

/* 1024px — hide sidebar */
@media (max-width: 1024px) {
    .tq-post-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .tq-post-sidebar {
        display: none;
    }

    .tq-blog-featured {
        grid-template-columns: 1fr;
    }

    .tq-blog-featured__image {
        min-height: 240px;
    }

    .tq-blog-featured__image-placeholder {
        min-height: 240px;
    }

    .tq-blog-featured__content {
        padding: 2rem;
    }

    .tq-post-related__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 768px — 2-col blog grid */
@media (max-width: 768px) {
    .tq-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tq-blog-hero {
        padding: 7rem 1.25rem 4rem;
    }

    .tq-blog-hero__inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .tq-blog-hero__visual {
        display: none;
    }

    .tq-post-hero {
        padding: 7rem 1.25rem 3.5rem;
        min-height: 380px;
    }

    .tq-blog-cta__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

/* 640px — 1-col blog grid */
@media (max-width: 640px) {
    .tq-blog-grid {
        grid-template-columns: 1fr;
    }

    .tq-post-related__grid {
        grid-template-columns: 1fr;
    }

    .tq-blog-hero__title {
        font-size: 2.25rem;
    }

    .tq-post-hero__title {
        font-size: 1.875rem;
    }

    .tq-post-hero__meta {
        gap: 0.625rem;
    }

    .tq-post-hero__meta-sep {
        display: none;
    }

    .tq-post-hero {
        padding: 6rem 1.25rem 3rem;
        min-height: 320px;
    }

    .tq-blog-featured__content {
        padding: 1.5rem;
    }

    .tq-post-author-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .tq-blog-cta__actions {
        width: 100%;
    }

    .tq-blog-cta__btn-primary,
    .tq-blog-cta__btn-ghost {
        flex: 1;
        justify-content: center;
    }
}

/* ── Copy link confirmation state ─────────────── */
.tq-post-share__btn--copy.copied {
    background: rgba(34, 197, 94, 0.12);
    color: #166534;
}
