/* Dedicated styling for the Graffiti Fonts & Styles Guide blog post */
.gb-toc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 28px 0 36px;
}

.gb-toc-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #475569;
    margin: 0 0 12px;
}

.gb-toc ol {
    margin: 0;
    padding-left: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 20px;
}

.gb-toc li {
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.gb-toc a {
    color: #0f172a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.gb-toc a:hover {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.gb-hero-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 65%, #312e81 100%);
    color: #f8fafc;
    border-radius: 14px;
    padding: 22px 26px;
    margin: 28px 0 36px;
}

.gb-hero-cta p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    color: #e2e8f0;
    max-width: 520px;
}

.blog-content .gb-hero-cta strong,
.gb-hero-cta strong {
    color: #ffffff;
    font-weight: 700;
}

.gb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    white-space: nowrap;
}

.gb-btn-primary {
    background: #38bdf8;
    color: #0f172a;
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35);
}

.gb-btn-primary:hover {
    background: #7dd3fc;
    transform: translateY(-1px);
}

.gb-btn-outline {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

.gb-btn-outline:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}

/* Live Font Specimen Grid */
.gb-specimen-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 20px 0 32px;
}

.gb-specimen-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.gb-specimen-card:hover {
    border-color: #94a3b8;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.gb-specimen-preview {
    padding: 24px 16px 18px;
    min-height: 106px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
    word-break: break-word;
    user-select: none;
}

.gb-specimen-preview.dark {
    background: radial-gradient(circle at 30% 20%, #1e293b 0%, #0b1120 100%);
}

.gb-specimen-preview.brick {
    background: linear-gradient(135deg, #451a1a 0%, #271212 100%);
}

.gb-specimen-preview.concrete {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.gb-specimen-preview.sunset {
    background: linear-gradient(135deg, #3b0764 0%, #9d174d 60%, #f97316 100%);
}

.gb-specimen-sample {
    font-size: 2.35rem;
    letter-spacing: 0.02em;
    display: inline-block;
}

.gb-specimen-meta {
    padding: 14px 16px 16px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.gb-specimen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.gb-specimen-name {
    font-weight: 700;
    font-size: 0.98rem;
    color: #0f172a;
}

.gb-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.gb-specimen-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #475569;
    margin: 0;
}

.gb-specimen-link {
    margin-top: auto;
    padding-top: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.gb-specimen-link:hover {
    text-decoration: underline;
}

/* Rendered Effect Showcase Cards */
.gb-effect-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    margin: 24px 0 36px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.gb-effect-figure {
    margin: 0;
    background: #0f172a;
}

.gb-effect-figure img {
    width: 100%;
    height: auto;
    margin: 0 !important;
    border-radius: 0 !important;
    display: block;
}

.gb-effect-body {
    padding: 20px 24px 22px;
}

.gb-effect-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.gb-effect-top h3 {
    margin: 0 !important;
    font-size: 1.38rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
}

.gb-layer-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 16px;
}

.gb-layer-pill {
    font-size: 0.78rem;
    background: #f1f5f9;
    color: #334155;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
}

.gb-effect-body p {
    margin-bottom: 12px !important;
    font-size: 0.98rem;
    color: #334155;
}

.gb-effect-body p:last-child {
    margin-bottom: 0 !important;
}

/* Comparison Table Override */
.blog-content .gb-table-wrap {
    overflow-x: auto;
    margin: 24px 0 36px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.blog-content table.gb-table {
    margin: 0;
    border: none;
    width: 100%;
    min-width: 640px;
    font-size: 0.92rem;
}

.blog-content table.gb-table thead th {
    background: #0f172a;
    color: #f8fafc;
    font-weight: 600;
    text-align: left;
    border: none;
    border-bottom: 1px solid #1e293b;
    padding: 13px 14px;
}

.blog-content table.gb-table tbody td {
    border: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 14px;
    vertical-align: top;
    color: #334155;
}

.blog-content table.gb-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.blog-content table.gb-table tbody tr:last-child td {
    border-bottom: none;
}

/* Layer Breakdown Grid */
.gb-layer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0 32px;
}

.gb-layer-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 18px;
}

.gb-layer-box h4 {
    margin: 0 0 6px !important;
    font-size: 1.02rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
}

.gb-layer-box p {
    margin: 0 !important;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #475569;
}

/* FAQ Cards */
.gb-faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 20px 0 36px;
}

.gb-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 20px;
    background: #ffffff;
}

.gb-faq-item h3 {
    margin: 0 0 8px !important;
    font-size: 1.08rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
}

.gb-faq-item p {
    margin: 0 !important;
    font-size: 0.96rem;
    color: #334155;
}

@media (max-width: 768px) {
    .gb-toc ol,
    .gb-specimen-grid,
    .gb-layer-grid {
        grid-template-columns: 1fr !important;
    }

    .gb-effect-body {
        padding: 16px;
    }

    .gb-specimen-sample {
        font-size: 1.95rem;
    }
}
