/* ===== COMPONENTS & UI ELEMENTS ===== */

/* CARDS BASE */
.card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 16px;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    border: 1px solid transparent;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.news-card h3, 
.card-title,
.article-title,
.slide-title,
.section-title {
    font-weight: 800;
}


@media (min-width: 768px) {
    .card {
        padding: 24px;
    }
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 0, 0, 0.05);
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--dark);
    padding: 24px 0;
    margin-bottom: 40px;
    box-shadow: inset 0 -4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 5;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    display: none;
}

@media (min-width: 768px) {
    .stat-divider {
        display: block;
    }
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--cyan);
    opacity: 0.8;
}

@media (max-width: 767px) {
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        gap: 20px;
    }

    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
        padding: 5px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* NEWS CARD */
.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--light-grey);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-img-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .card-img-container img {
    transform: scale(1.05);
}

.card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--maroon);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--medium-grey);
    margin-bottom: 12px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--dark);
    display: block;
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal;
}

.card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.card-title a:hover {
    color: var(--maroon);
}

.card-excerpt {
    font-size: 14px;
    color: var(--dark-grey);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.read-more {
    color: var(--maroon);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    gap: 8px;
}

.card-stats {
    font-size: 12px;
    color: var(--medium-grey);
}

/* CATEGORY BLOCKS (Politics/Business Grid) */
.category-block-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .category-block-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

.cat-main-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-sm);
}

.cat-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 20px;
    color: white;
}

.cat-content h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.cat-content h4 a {
    color: white;
    text-decoration: none;
}

.cat-side-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cat-mini-item {
    display: flex;
    gap: 15px;
    align-items: center;
    background: white;
    padding: 10px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}

.cat-mini-item:hover {
    transform: translateX(5px);
}

.cat-mini-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.cat-mini-item h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.cat-mini-item h5 a {
    color: var(--dark);
    text-decoration: none;
}

.cat-mini-item .date {
    font-size: 11px;
    color: var(--medium-grey);
}


/* LOADING STATES */
.loading-spinner {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding: 50px;
    color: var(--maroon);
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background: var(--light-grey);
    border-radius: var(--radius-md);
    color: var(--dark-grey);
}

/* TRENDING SIDEBAR ITEMS in new style */
.trending-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.trending-item:last-child {
    border-bottom: none;
}

.trend-rank {
    font-size: 24px;
    font-weight: 800;
    color: var(--light-grey);
    margin-right: 15px;
    width: 30px;
    text-align: center;
    line-height: 1;
}

.trend-info {
    flex: 1;
    min-width: 0;
    /* Prevents overflow from long titles */
}

.trend-info h4 {
    font-size: 15px;
    margin-bottom: 6px;
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.trend-info h4 a {
    color: var(--dark);
    text-decoration: none;
}

.trend-info h4 a:hover {
    color: var(--maroon);
}

.trend-info .views {
    font-size: 11px;
    color: var(--medium-grey);
}


/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.3px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
    gap: 6px;
}

@media (min-width: 768px) {
    .btn {
        padding: 10px 24px;
        font-size: 14px;
        gap: 8px;
    }
}

.btn-primary {
    background: var(--maroon);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(128, 0, 0, 0.2);
}

.btn-primary:active,
.btn-primary.active {
    background: var(--maroon-light);
}

.btn-primary:hover {
    background: var(--maroon-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(128, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--dark-grey);
}

.btn-secondary:hover {
    background: var(--light-grey);
    border-color: var(--dark-grey);
    color: var(--dark);
}

/* HERO CAROUSEL */
.hero-carousel {
    position: relative;
    height: clamp(300px, 50vh, 600px);
    width: 100%;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    background: var(--dark);
}


@media (min-width: 768px) {
    .hero-carousel {
        margin-bottom: 40px;
        border-radius: var(--radius-md);
    }
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    z-index: 2;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    color: white;
    z-index: 3;
}

@media (min-width: 768px) {
    .carousel-content {
        padding: 40px;
    }
}

.slide-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
    .slide-title {
        font-size: 32px;
        margin-bottom: 12px;
    }
}

@media (min-width: 1024px) {
    .slide-title {
        font-size: 44px;
    }
}

.slide-desc {
    font-size: 13px;
    opacity: 0.9;
    max-width: 100%;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 768px) {
    .slide-desc {
        font-size: 16px;
        max-width: 600px;
        -webkit-line-clamp: initial;
        line-clamp: initial;
    }
}

/* CAROUSEL DOTS */
.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 4;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
    width: 24px;
    border-radius: 10px;
}

/* ALERTS & TOASTS */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: fadeInUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

.alert-dismissing {
    animation: fadeOutDown 0.5s forwards !important;
}

.alert-success {
    background: #e8f5e9;
    color: #1b5e20;
    border-color: #c8e6c9;
}

.alert-error {
    background: #ffebee;
    color: #b71c1c;
    border-color: #ffcdd2;
}

.alert-info {
    background: #e3f2fd;
    color: #0d47a1;
    border-color: #bbdefb;
}

/* NOTIFICATION TOAST */
.notification-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--dark);
    color: white;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2000;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 400px;
}

.notification-toast.active {
    transform: translateY(0);
}

.toast-icon {
    width: 40px;
    height: 40px;
    background: var(--maroon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* NEWS INTERACTIONS */
.interaction-btn {
    background: none;
    border: none;
    color: var(--medium-grey);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    padding: 4px 8px;
    border-radius: 4px;
}

.interaction-btn:hover {
    background: var(--light-grey);
    color: var(--maroon);
}

.interaction-btn.active {
    color: var(--maroon);
}

.interaction-btn.active i {
    animation: heartBeat 0.3s ease-in-out;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* ADVERTISEMENTS */
.ad-container-sidebar-large {
    width: 300px;
    height: 600px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-sm);
}

.ad-container-sidebar-large img {
    border: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.ad-label {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    font-size: 8px;
    padding: 1px 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 2px;
}

/* SERVICE PROMO CARDS (ADVANCED) */
.service-promo-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.service-card-inner {
    padding: clamp(20px, 4vw, 32px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-promo-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(128, 0, 0, 0.1);
    border-color: rgba(128, 0, 0, 0.2);
}

.service-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: #f8f9fa;
    color: var(--maroon);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-badge {
    padding: 6px 12px;
    background: rgba(0, 188, 212, 0.08);
    color: var(--cyan);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
}

.service-promo-card:hover .service-icon {
    background: var(--maroon);
    color: white;
    transform: rotateY(180deg);
}

.service-promo-card h3 {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--dark);
    letter-spacing: -0.5px;
    line-height: 1.3;
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: keep-all;
    /* Prevent the mid-word break seen in the image */
}

.featured-service {
    border: 2px solid var(--maroon) !important;
    background: linear-gradient(180deg, rgba(128, 0, 0, 0.02) 0%, #fff 100%);
}

.featured-service .service-icon {
    background: var(--maroon) !important;
    color: white !important;
}

.service-promo-card p {
    font-size: 14px;
    color: var(--medium-grey);
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-features-list {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features-list li {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-grey);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features-list li i {
    color: var(--maroon);
    font-size: 12px;
}

.btn-service-link {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: var(--light-grey);
    border-radius: 12px;
    color: var(--dark);
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.service-promo-card:hover .btn-service-link {
    background: var(--maroon);
    color: white;
}

.btn-service-link i {
    transition: transform 0.3s ease;
}

.btn-service-link:hover i {
    transform: translateX(5px);
}

/* EXECUTIVE GRID STYLING (PREMIUM) */
.executive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.executive-card {
    background: var(--white);
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    height: 100%;
}

.executive-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(128, 0, 0, 0.12);
    border-color: var(--maroon);
}

.executive-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(128, 0, 0, 0.03), transparent);
    pointer-events: none;
}

.executive-photo-wrap {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 25px;
}

.executive-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    border: 4px solid var(--white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.role-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--maroon);
    color: white;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(128, 0, 0, 0.3);
    border: 2px solid var(--white);
}

.executive-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.executive-role {
    color: var(--maroon);
    font-weight: 700;
    font-size: 11px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.executive-role strong {
    font-weight: 800;
}

.executive-bio {
    font-size: 14px;
    line-height: 1.7;
    color: var(--medium-grey);
    margin-bottom: 25px;
    padding: 0 10px;
    font-weight: 500;
    font-style: italic;
    position: relative;
}

.executive-bio::before {
    content: '"';
    font-size: 30px;
    color: var(--maroon);
    opacity: 0.1;
    position: absolute;
    top: -10px;
    left: 0;
}

.executive-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

.executive-socials a {
    width: 36px;
    height: 36px;
    background: var(--light-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--dark);
    transition: all 0.3s ease;
}

.executive-socials a:hover {
    background: var(--maroon);
    color: white;
    transform: scale(1.15) rotate(8deg);
}

.premium-divider {
    width: 30px;
    height: 3px;
    background: var(--maroon);
    margin: 15px auto;
    border-radius: 20px;
    opacity: 0.2;
}

/* ===== ADVANTAGE SECTION ===== */
.advantage-section {
    padding: 100px 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.advantage-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(128, 0, 0, 0.03) 0%, transparent 70%);
}

.section-header-compact {
    text-align: center;
    margin-bottom: 70px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header-compact .section-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.advantage-item {
    padding: 40px;
    background: #fdfdfd;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.advantage-item:hover {
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    transform: translateY(-8px);
    border-color: var(--maroon);
}

.advantage-icon-box {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    color: var(--maroon);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 25px;
    transition: all 0.5s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.advantage-item:hover .advantage-icon-box {
    background: var(--maroon);
    color: white;
    transform: rotateY(360deg);
}

.advantage-item h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.advantage-item p {
    font-size: 15px;
    color: var(--medium-grey);
    line-height: 1.7;
    margin: 0;
}

/* ===== PREMIUM COMMENTARY SYSTEM ===== */
.comments-section {
    margin-top: 80px;
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.comments-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 15px;
    letter-spacing: -0.5px;
}

.comments-title span {
    background: var(--maroon);
    color: white;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.comment-form-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.comment-form-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--maroon), var(--maroon-light));
}

.comment-form-card .form-control {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 14px 18px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.comment-form-card .form-control:focus {
    background: #fff;
    border-color: var(--maroon);
    box-shadow: 0 0 0 4px rgba(128, 0, 0, 0.08);
    outline: none;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.comment-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.comment-item:hover {
    background: #fcfcfc;
    border-color: var(--border-color);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--maroon), #a00);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
    font-size: 16px;
    box-shadow: 0 8px 16px rgba(128, 0, 0, 0.15);
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: 800;
    font-size: 16px;
    color: var(--dark);
    letter-spacing: -0.2px;
}

.comment-date {
    font-size: 11px;
    color: var(--medium-grey);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comment-body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--dark-grey);
    word-break: break-word;
}

.comment-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 20px;
    border: 2px dashed #dee2e6;
    color: var(--medium-grey);
}

.comment-empty-state i {
    font-size: 40px;
    color: #ced4da;
    margin-bottom: 15px;
    display: block;
}

.comment-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .comment-info-grid {
        grid-template-columns: 1fr;
    }

    .comment-form-card {
        padding: 25px;
    }

    .comment-item {
        padding: 15px;
    }
}

/* ===== LIKE BUTTON ===== */
.like-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    padding: 6px 10px;
    border-radius: 20px;
    transition: all 0.2s ease;
    font-family: inherit;
    line-height: 1;
}

.like-btn:hover {
    background: rgba(231, 76, 60, 0.08);
    color: #e74c3c;
    transform: scale(1.05);
}

.like-btn.liked {
    color: #e74c3c;
}

.like-btn.liked i {
    animation: heartPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.like-btn i {
    font-size: 15px;
    color: #e74c3c;
    transition: transform 0.2s ease;
}

@keyframes heartPop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.5); }
    70%  { transform: scale(0.85); }
    100% { transform: scale(1); }
}