:root {
    --maroon: #800000;
    --darkred: #300900;
    --gold: #FFE800;
    --white: #FFFFFF;
    --text-dark: #3b3b3b;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    padding-top: 80px;
    margin: 0;
}

/* HERO */
.cf-hero {
    background: linear-gradient(135deg, var(--maroon), var(--darkred));
    color: var(--white);
    text-align: center;
    padding: 20px 15px;
    border-radius: 12px;
    margin: 30px 20px 30px 20px;
}

.cf-hero h1, .cf-hero h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.cf-hero p {
    font-size: 1.2rem;
    font-weight: 400;
}

/* PAGE LAYOUT */
.cf-page {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px auto;
    padding: 0 15px;
}

.cf-left {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cf-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* PANELS */
.cf-panel {
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.cf-panel-title {
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: 10px;
}

.cf-mini-list .cf-mini-item {
    margin-bottom: 8px;
    font-weight: 500;
}

.cf-mini-list .cf-mini-item i {
    color: var(--maroon);
    margin-right: 8px;
}

/* SOCIAL MEDIA STYLE FEED CARDS */
.cf-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.cf-card:hover {
    transform: translateY(-4px);
}

/* Header: poster name & time */
.cf-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
}

/* Content */
.cf-card-body {
    padding: 15px 16px;
}

.cf-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--maroon);
}

.cf-card-body p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.cf-see-more {
    color: var(--maroon);
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
    display: inline-block;
}

/* Image */
.cf-card-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* FOOTER: actions + share */
.cf-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-top: 1px solid #eee;
    background-color: #fafafa;
}

.cf-card-footer .cf-action-btn {
    display: inline-flex; /* keep button styling */
    gap: 6px;
    padding: 6px 14px;
    border-radius: 25px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    background: var(--maroon);
    color: var(--white);
    transition: background 0.3s, color 0.3s;
    align-items: center;
}

.cf-card-footer .cf-action-btn:hover {
    background: var(--gold);
    color: var(--maroon);
}

.cf-share i {
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 8px;
    color: var(--maroon);
    transition: color 0.3s;
}

.cf-share i:hover {
    color: var(--gold);
}

/* MODAL */
.cf-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    justify-content: center;
    align-items: center;
    z-index: 1050;
    overflow-y: auto;
    padding: 30px 15px;
}

.cf-modal.active {
    display: flex;
}

.cf-modal-box {
    background: var(--white);
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.cf-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--maroon);
    cursor: pointer;
}

.cf-modal-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.cf-modal-content {
    padding: 20px 25px;
}

.cf-modal-content h2 {
    color: var(--maroon);
    margin-bottom: 8px;
}

.cf-modal-content p {
    line-height: 1.6;
    font-size: 0.95rem;
    color: #333;
}

/* MEDIA QUERIES */
@media (max-width: 991px) {
    .cf-page {
        flex-direction: column;
    }

    .cf-left {
        flex: 1;
    }
}

@media (max-width: 576px) {
    .cf-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}