/* ============================================
   JUST A CHICKEN - BLOG STYLES
   The Henhouse: Punk Zine Aesthetic
   Designed by Autom84You — https://autom84you.com
   ============================================ */

/* ============================================
   BLOG HERO SECTION
   ============================================ */
.blog-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 40px;
    overflow: hidden;
    text-align: center;
}

.blog-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(227, 28, 37, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 107, 0, 0.1) 0%, transparent 60%),
        linear-gradient(180deg, var(--black) 0%, var(--darker) 50%, var(--dark) 100%);
    z-index: 0;
}

.blog-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.01) 2px,
            rgba(255, 255, 255, 0.01) 4px
        );
    z-index: 1;
}

.blog-hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--red), var(--orange), var(--red), transparent);
}

.blog-hero-content {
    position: relative;
    z-index: 2;
}

.blog-hero-title {
    font-family: var(--font-punk);
    font-size: 4.5rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 12px;
    position: relative;
    text-shadow: 4px 4px 0 var(--red), -2px -2px 0 var(--orange);
}

.blog-hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--cream);
    max-width: 500px;
    margin: 0 auto 24px;
    line-height: 1.6;
    opacity: 0.85;
}

.blog-hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.divider-wing {
    color: var(--red);
    font-size: 1rem;
    opacity: 0.7;
    animation: dividerPulse 3s ease-in-out infinite alternate;
}

.divider-wing:last-child {
    transform: scaleX(-1);
}

.divider-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
}

@keyframes dividerPulse {
    0% { opacity: 0.5; transform: translateY(0); }
    100% { opacity: 1; transform: translateY(-2px); }
}

/* ============================================
   BLOG CONTROLS SECTION
   ============================================ */
.blog-controls-section {
    background: var(--darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    position: relative;
    z-index: 5;
}

.blog-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.blog-search {
    position: relative;
    flex: 1;
    min-width: 220px;
    max-width: 400px;
}

.blog-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-gray);
    font-size: 0.9rem;
    pointer-events: none;
    transition: color 0.3s;
}

.blog-search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    background: var(--gray);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.blog-search-input::placeholder {
    color: var(--light-gray);
    opacity: 0.6;
}

.blog-search-input:focus {
    border-color: var(--red);
    box-shadow: 0 0 12px rgba(227, 28, 37, 0.25);
}

.blog-search-input:focus + i,
.blog-search:focus-within i {
    color: var(--red);
}

.blog-filters {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-group label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--light-gray);
}

.blog-select {
    padding: 10px 36px 10px 14px;
    background: var(--gray);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.blog-select:focus,
.blog-select:hover {
    border-color: var(--red);
    box-shadow: 0 0 8px rgba(227, 28, 37, 0.2);
}

.blog-select option {
    background: var(--dark);
    color: var(--white);
}

/* Active Filters */
.blog-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.blog-active-filters:empty {
    display: none;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(227, 28, 37, 0.15);
    border: 1px solid rgba(227, 28, 37, 0.3);
    border-radius: 20px;
    color: var(--red);
    font-family: var(--font-body);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-tag:hover {
    background: rgba(227, 28, 37, 0.3);
    border-color: var(--red);
}

.filter-tag i {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* ============================================
   BLOG GRID / LISTING
   ============================================ */
.blog-listing-section {
    padding: 50px 0 80px;
    min-height: 50vh;
    position: relative;
}

.blog-listing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        var(--red) 0px,
        var(--red) 8px,
        transparent 8px,
        transparent 16px
    );
    opacity: 0.15;
    pointer-events: none;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* --- Blog Card (Zine Entry Style) --- */
.blog-card {
    display: flex;
    background: var(--darker);
    border-left: 4px solid var(--red);
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s;
    position: relative;
    cursor: pointer;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 1px,
            rgba(255, 255, 255, 0.008) 1px,
            rgba(255, 255, 255, 0.008) 2px
        );
    pointer-events: none;
    z-index: 1;
}

.blog-card::after {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--black) 50%, transparent 50%);
    z-index: 2;
    opacity: 0.6;
}

.blog-card:hover {
    transform: translateY(-4px) rotate(-0.3deg);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(227, 28, 37, 0.15);
    border-left-color: var(--red-glow);
}

/* Card Image */
.blog-card-image {
    width: 250px;
    min-width: 250px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(60%) contrast(1.1);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    filter: grayscale(10%) contrast(1.05);
    transform: scale(1.05);
}

.blog-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 3;
    transform: rotate(-2deg);
}

.blog-card-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
}

/* Card Content */
.blog-card-content {
    flex: 1;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.blog-card-title {
    font-family: var(--font-punk);
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.3;
    transition: color 0.3s;
}

.blog-card:hover .blog-card-title {
    color: var(--red);
}

.blog-card-excerpt {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--cream);
    opacity: 0.75;
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.78rem;
    color: var(--light-gray);
    flex-wrap: wrap;
}

.blog-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-card-meta i {
    color: var(--red);
    font-size: 0.7rem;
    opacity: 0.8;
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.blog-card-tag {
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    font-size: 0.7rem;
    color: var(--light-gray);
    font-family: var(--font-body);
    transition: all 0.3s;
}

.blog-card-tag:hover {
    background: rgba(227, 28, 37, 0.15);
    border-color: rgba(227, 28, 37, 0.3);
    color: var(--red);
}

/* --- Blog Empty State --- */
.blog-empty {
    text-align: center;
    padding: 80px 20px;
    position: relative;
    z-index: 2;
}

.blog-empty i {
    font-size: 4rem;
    color: var(--red);
    opacity: 0.4;
    margin-bottom: 20px;
    display: block;
    animation: emptyBounce 2s ease-in-out infinite;
}

@keyframes emptyBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(-5deg); }
    75% { transform: translateY(-4px) rotate(5deg); }
}

.blog-empty h3 {
    font-family: var(--font-punk);
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 8px;
}

.blog-empty p {
    font-family: var(--font-body);
    color: var(--light-gray);
    font-size: 0.95rem;
}

/* ============================================
   BREADCRUMB SECTION (Blog Post Page)
   ============================================ */
.breadcrumb-section {
    background: var(--darker);
    padding: 100px 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.breadcrumbs a {
    color: var(--cream);
    opacity: 0.7;
    transition: all 0.3s;
}

.breadcrumbs a:hover {
    color: var(--red);
    opacity: 1;
}

.bc-separator {
    color: var(--light-gray);
    font-size: 0.6rem;
    opacity: 0.4;
}

.bc-current {
    color: var(--red);
    font-weight: bold;
}

/* ============================================
   BLOG POST LAYOUT
   ============================================ */
.blog-post-section {
    padding: 40px 0 80px;
}

.blog-post-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

/* --- Post Header --- */
.blog-post-header {
    margin-bottom: 30px;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.blog-post-category {
    padding: 4px 12px;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: rotate(-1deg);
    display: inline-block;
}

.blog-post-date {
    font-family: var(--font-body);
    color: var(--light-gray);
    font-size: 0.85rem;
}

.blog-post-date::before {
    content: '\f073';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 6px;
    color: var(--red);
    opacity: 0.7;
    font-size: 0.75rem;
}

.blog-post-views {
    font-family: var(--font-body);
    color: var(--light-gray);
    font-size: 0.85rem;
}

.blog-post-views i {
    color: var(--red);
    opacity: 0.7;
    margin-right: 4px;
}

.blog-post-title {
    font-family: var(--font-punk);
    font-size: 2.8rem;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 2px 2px 0 rgba(227, 28, 37, 0.3);
    position: relative;
}

.blog-post-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--orange));
    margin-top: 12px;
}

.blog-post-author {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--cream);
    opacity: 0.8;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--red);
    object-fit: cover;
}

.blog-post-author strong {
    color: var(--red);
}

/* --- Post Cover (Polaroid Style) --- */
.blog-post-cover {
    position: relative;
    background: var(--white);
    padding: 12px 12px 40px;
    margin-bottom: 36px;
    transform: rotate(-1.5deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    box-shadow:
        4px 4px 0 rgba(0, 0, 0, 0.3),
        8px 8px 20px rgba(0, 0, 0, 0.4);
}

.blog-post-cover:hover {
    transform: rotate(0deg);
    box-shadow:
        2px 2px 0 rgba(0, 0, 0, 0.2),
        4px 4px 15px rgba(0, 0, 0, 0.3);
}

.blog-post-cover img {
    width: 100%;
    display: block;
    filter: contrast(1.05) saturate(0.9);
}

/* Tape Effects */
.cover-tape {
    position: absolute;
    width: 80px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 3;
    backdrop-filter: blur(2px);
}

.cover-tape::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 3px,
        rgba(255, 255, 255, 0.05) 3px,
        rgba(255, 255, 255, 0.05) 6px
    );
}

.cover-tape-tl {
    top: -10px;
    left: 20px;
    transform: rotate(-15deg);
    background: rgba(227, 28, 37, 0.25);
    border-color: rgba(227, 28, 37, 0.15);
}

.cover-tape-br {
    bottom: 25px;
    right: 20px;
    transform: rotate(12deg);
    background: rgba(255, 204, 0, 0.2);
    border-color: rgba(255, 204, 0, 0.1);
}

/* ============================================
   BLOG POST CONTENT (Rich Text)
   ============================================ */
.blog-post-content {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--cream);
    line-height: 1.8;
    margin-bottom: 40px;
}

.blog-post-content h1 {
    font-family: var(--font-punk);
    font-size: 2.2rem;
    color: var(--white);
    margin: 36px 0 16px;
    text-shadow: 1px 1px 0 rgba(227, 28, 37, 0.2);
}

.blog-post-content h2 {
    font-family: var(--font-punk);
    font-size: 1.8rem;
    color: var(--white);
    margin: 32px 0 14px;
    padding-left: 14px;
    border-left: 3px solid var(--red);
}

.blog-post-content h3 {
    font-family: var(--font-punk);
    font-size: 1.5rem;
    color: var(--white);
    margin: 28px 0 12px;
}

.blog-post-content h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--white);
    margin: 24px 0 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.blog-post-content h5 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--cream);
    margin: 20px 0 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-post-content h6 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--light-gray);
    margin: 16px 0 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-post-content p {
    margin-bottom: 18px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 16px 0 18px 24px;
    list-style: none;
}

.blog-post-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.blog-post-content ul li::before {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--red);
    font-size: 0.8rem;
    top: 3px;
}

.blog-post-content ol {
    counter-reset: punk-counter;
}

.blog-post-content ol li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 8px;
    counter-increment: punk-counter;
}

.blog-post-content ol li::before {
    content: counter(punk-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    transform: rotate(-2deg);
}

.blog-post-content blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--red);
    background: rgba(227, 28, 37, 0.06);
    position: relative;
    font-style: italic;
    color: var(--cream);
}

.blog-post-content blockquote::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 12px;
    font-family: var(--font-punk);
    font-size: 3rem;
    color: var(--red);
    opacity: 0.3;
    line-height: 1;
}

.blog-post-content blockquote p:last-child {
    margin-bottom: 0;
}

.blog-post-content strong {
    color: var(--white);
    font-weight: bold;
}

.blog-post-content em {
    color: var(--cream);
    font-style: italic;
}

.blog-post-content a {
    color: var(--red);
    text-decoration: underline;
    text-decoration-style: wavy;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color 0.3s, text-decoration-color 0.3s;
}

.blog-post-content a:hover {
    color: var(--red-glow);
    text-decoration-color: var(--orange);
}

.blog-post-content code {
    padding: 2px 8px;
    background: var(--gray);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.88rem;
    color: var(--orange);
}

.blog-post-content pre {
    margin: 20px 0;
    padding: 20px;
    background: var(--black);
    border: 1px solid var(--gray);
    border-left: 3px solid var(--orange);
    border-radius: 4px;
    overflow-x: auto;
    position: relative;
}

.blog-post-content pre::before {
    content: 'CODE';
    position: absolute;
    top: 8px;
    right: 12px;
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--light-gray);
    opacity: 0.5;
}

.blog-post-content pre code {
    padding: 0;
    background: none;
    border: none;
    font-size: 0.85rem;
    color: var(--cream);
}

.blog-post-content img {
    margin: 24px 0;
    border: 2px solid var(--gray);
    border-radius: 2px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

.blog-post-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    margin: 32px 0;
    opacity: 0.4;
}

/* ============================================
   TAGS SECTION
   ============================================ */
.blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.post-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--cream);
    transition: all 0.3s;
    cursor: pointer;
    transform: rotate(-1deg);
}

.post-tag:nth-child(even) {
    transform: rotate(1deg);
}

.post-tag:hover {
    background: rgba(227, 28, 37, 0.15);
    border-color: var(--red);
    color: var(--red);
    transform: rotate(0deg) scale(1.05);
}

.post-tag i {
    font-size: 0.65rem;
    opacity: 0.6;
}

/* ============================================
   REACTIONS
   ============================================ */
.blog-post-reactions {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.reaction-label {
    font-family: var(--font-punk);
    font-size: 1.2rem;
    color: var(--cream);
}

.reaction-buttons {
    display: flex;
    gap: 12px;
}

.reaction-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gray);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--cream);
    font-family: var(--font-display);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reaction-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.reaction-btn:hover {
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.reaction-btn:hover i {
    transform: rotate(-12deg) scale(1.1);
}

.reaction-like:hover {
    background: rgba(227, 28, 37, 0.2);
    border-color: var(--red);
    color: var(--red);
    box-shadow: 0 0 16px rgba(227, 28, 37, 0.25);
}

.reaction-dislike:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--light-gray);
    color: var(--light-gray);
}

.reaction-btn.active.reaction-like {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    box-shadow: 0 0 20px rgba(227, 28, 37, 0.4);
}

.reaction-btn.active.reaction-dislike {
    background: var(--gray);
    border-color: var(--light-gray);
    color: var(--white);
}

.reaction-btn.active i {
    animation: reactionPop 0.4s ease;
}

@keyframes reactionPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4) rotate(-20deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* ============================================
   SHARE SECTION
   ============================================ */
.blog-post-share {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.share-label {
    font-family: var(--font-punk);
    font-size: 1rem;
    color: var(--cream);
    opacity: 0.8;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--cream);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    transform: translateY(-3px) rotate(-5deg);
    box-shadow: 0 6px 16px rgba(227, 28, 37, 0.3);
}

/* ============================================
   COMMENTS SECTION
   ============================================ */
.blog-comments-section {
    padding-top: 30px;
    border-top: 2px dashed rgba(255, 255, 255, 0.08);
}

.comments-title {
    font-family: var(--font-punk);
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-title i {
    color: var(--red);
}

.comments-count {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--light-gray);
    opacity: 0.7;
}

/* Comment Form */
.comment-form {
    background: var(--darker);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--red);
    padding: 24px;
    margin-bottom: 30px;
    position: relative;
}

.comment-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 28px,
        rgba(255, 255, 255, 0.01) 28px,
        rgba(255, 255, 255, 0.01) 29px
    );
    pointer-events: none;
}

.comment-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.comment-field {
    margin-bottom: 12px;
}

.comment-form-row .comment-field {
    margin-bottom: 0;
}

.comment-field input,
.comment-field textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--gray);
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    resize: vertical;
}

.comment-field input::placeholder,
.comment-field textarea::placeholder {
    color: var(--light-gray);
    opacity: 0.5;
}

.comment-field input:focus,
.comment-field textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 10px rgba(227, 28, 37, 0.2);
}

.comment-submit {
    margin-top: 4px;
}

.comment-notice {
    margin-top: 10px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--light-gray);
    opacity: 0.5;
    font-style: italic;
}

/* Comments List */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-card {
    background: var(--darker);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-left: 3px solid var(--orange);
    padding: 20px;
    position: relative;
    transition: border-color 0.3s;
}

.comment-card:hover {
    border-left-color: var(--red);
}

.comment-card:nth-child(even) {
    border-left-color: var(--yellow);
}

.comment-card:nth-child(even):hover {
    border-left-color: var(--red);
}

.comment-card::after {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, var(--black) 50%, transparent 50%);
    opacity: 0.4;
}

.comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.comment-name {
    font-family: var(--font-punk);
    font-size: 1rem;
    color: var(--white);
}

.comment-date {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--light-gray);
    opacity: 0.6;
}

.comment-body {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--cream);
    line-height: 1.6;
    opacity: 0.85;
}

/* ============================================
   SIDEBAR
   ============================================ */
.blog-post-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--darker);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}

.sidebar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--red), var(--orange), transparent);
}

.sidebar-card h4 {
    font-family: var(--font-punk);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-card h4 i {
    color: var(--red);
    font-size: 0.9rem;
}

/* Sidebar: Reading Time */
.sidebar-reading-time {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--cream);
}

.sidebar-reading-time i {
    color: var(--red);
    font-size: 1.2rem;
}

/* Sidebar: Related Posts */
.sidebar-related a,
.sidebar-related .related-post-link {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--cream);
    transition: all 0.3s;
    line-height: 1.4;
}

.sidebar-related a:last-child,
.sidebar-related .related-post-link:last-child {
    border-bottom: none;
}

.sidebar-related a:hover,
.sidebar-related .related-post-link:hover {
    color: var(--red);
    padding-left: 8px;
}

.sidebar-related a::before,
.sidebar-related .related-post-link::before {
    content: '\f0da ';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--red);
    opacity: 0.5;
    margin-right: 6px;
    font-size: 0.7rem;
}

/* Sidebar: Tag Cloud */
.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sidebar-tags .sidebar-tag,
.sidebar-tags a {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--light-gray);
    transition: all 0.3s;
    cursor: pointer;
}

.sidebar-tags .sidebar-tag:hover,
.sidebar-tags a:hover {
    background: rgba(227, 28, 37, 0.15);
    border-color: var(--red);
    color: var(--red);
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.loading-spinner i {
    font-size: 2.5rem;
    color: var(--red);
    margin-bottom: 16px;
}

.loading-spinner p {
    font-family: var(--font-punk);
    font-size: 1.1rem;
    color: var(--cream);
    opacity: 0.7;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .blog-post-layout {
        grid-template-columns: 1fr;
    }

    .blog-post-sidebar {
        position: relative;
        top: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .sidebar-card {
        margin-bottom: 0;
    }

    .blog-card-image {
        width: 200px;
        min-width: 200px;
    }
}

/* Larger mobile */
@media (max-width: 768px) {
    .blog-hero {
        padding: 100px 0 30px;
        min-height: auto;
    }

    .blog-hero-title {
        font-size: 3rem;
        letter-spacing: 2px;
    }

    .blog-hero-subtitle {
        font-size: 1rem;
    }

    .blog-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-search {
        max-width: 100%;
    }

    .blog-filters {
        flex-direction: column;
        gap: 12px;
    }

    .blog-card {
        flex-direction: column;
    }

    .blog-card-image {
        width: 100%;
        min-width: 100%;
        height: 220px;
    }

    .blog-card-content {
        padding: 20px;
    }

    .blog-card-title {
        font-size: 1.3rem;
    }

    .blog-post-title {
        font-size: 2rem;
    }

    .blog-post-cover {
        padding: 8px 8px 30px;
        transform: rotate(-0.5deg);
    }

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

    .comment-form-row {
        grid-template-columns: 1fr;
    }

    .blog-post-reactions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .blog-post-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .breadcrumb-section {
        padding-top: 80px;
    }

    .blog-listing-section::before {
        display: none;
    }

    .blog-post-meta {
        gap: 10px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .blog-hero-title {
        font-size: 2.2rem;
    }

    .blog-hero-subtitle {
        font-size: 0.9rem;
    }

    .blog-card-content {
        padding: 16px;
    }

    .blog-card-title {
        font-size: 1.15rem;
    }

    .blog-card-excerpt {
        -webkit-line-clamp: 2;
        font-size: 0.85rem;
    }

    .blog-card-meta {
        font-size: 0.72rem;
        gap: 10px;
    }

    .blog-post-title {
        font-size: 1.6rem;
    }

    .blog-post-content {
        font-size: 0.92rem;
    }

    .blog-post-content h1 { font-size: 1.7rem; }
    .blog-post-content h2 { font-size: 1.4rem; }
    .blog-post-content h3 { font-size: 1.2rem; }

    .reaction-btn {
        padding: 8px 14px;
        font-size: 0.9rem;
    }

    .share-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .comments-title {
        font-size: 1.4rem;
    }

    .comment-form {
        padding: 16px;
    }

    .cover-tape {
        width: 60px;
        height: 22px;
    }

    .blog-post-cover {
        margin-left: -8px;
        margin-right: -8px;
    }

    .divider-line {
        width: 50px;
    }
}
