/**
 * GC Post Counts Styles
 * Enqueued by inc/posts/init.php
 *
 * Minimal document card icon styling.
 * All layout classes (Bootstrap utility classes) are applied inline.
 */

/* ─── Document Card Icon ──────────────────────────────────────── */
.gc-pc-document-card-icon {
    width: calc(var(--font-size) * 3);
    height: calc(var(--font-size) * 3);
    font-size: calc(var(--font-size) * 1.5);
    background: #f8f9fa;
    color: #dc3545;
    transition: background 0.2s ease, color 0.2s ease;
}

.gc-pc-document-card-icon-link:hover .gc-pc-document-card-icon {
    background: #dc3545;
    color: #fff;
}

/* ─── Skeleton Styles ─────────────────────────────────────────── */
.gc_stocks_skeleton {
    background: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    padding: 20px;
}

.gc_skel {
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: gc-skel-shimmer 1.5s ease-in-out infinite;
    border-radius: 4px;
    margin-bottom: 12px;
}

.gc_skel--image {
    height: 160px;
}

.gc_skel--company-logo {
    height: 40px;
    width: 120px;
}

.gc_skel--tag {
    height: 24px;
    width: 80px;
    display: inline-block;
}

.gc_skel--date {
    height: 14px;
    width: 100px;
}

.gc_skel--title {
    height: 20px;
    width: 70%;
}

.gc_skel--line {
    height: 14px;
    width: 100%;
}

.gc_skel--short {
    width: 50%;
}

.gc_skel--btn {
    height: 36px;
    width: 120px;
}

@keyframes gc-skel-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
