/* Zimbabwean History Blog - Main Stylesheet */
:root {
    --bg-dark: #121416;
    --bg-card: #1c1f22;
    --bg-card-hover: #23272b;
    --text-light: #f8f9fa;
    --text-muted: #a0aec0;
    --gold: #d32f2f; /* Brand Crimson matching logo option B */
    --gold-hover: #b71c1c; /* Darker Brand Crimson for hover states */
    --green: #198754;
    --red: #dc3545;
    --border-color: #2d3238;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.015em;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
header.site-header {
    background-color: rgba(18, 20, 22, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: var(--text-light);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--gold);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.25rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Page Banner */
.page-banner {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    border-bottom: 2px solid var(--gold);
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(18,20,22,1) 0%, rgba(18,20,22,0.4) 100%);
}

.page-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-banner h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--text-light);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

/* Home Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    border-bottom: 2px solid var(--gold);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(18,20,22,0.1) 0%, rgba(18,20,22,0.9) 100%),
                linear-gradient(0deg, rgba(18,20,22,1) 0%, rgba(18,20,22,0.3) 100%);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: var(--transition);
}

.scroll-indicator:hover {
    color: var(--gold);
}

.scroll-indicator span {
    width: 16px;
    height: 16px;
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-8px) rotate(45deg);
    }
    60% {
        transform: translateY(-4px) rotate(45deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.hero h1 span {
    color: var(--gold);
    display: block;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
}

.hero p.quote {
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-muted);
    margin: 2rem auto;
    text-align: center;
    max-width: 600px;
}

.hero-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--gold);
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: var(--transition);
    border: 2px solid var(--gold);
}

.hero-btn:hover {
    background-color: transparent;
    color: var(--gold);
}

/* Sections & Grids */
.section {
    padding: 3.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

/* Content Blocks */
.content-text h2 {
    font-family: var(--font-serif);
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.content-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.content-img-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.content-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.content-img-wrapper:hover img {
    transform: scale(1.05);
}

/* Home Info Cards */
.info-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(5px);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

.info-card-img {
    height: 200px;
    overflow: hidden;
}

.info-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.info-card:hover .info-card-img img {
    transform: scale(1.05);
}

.info-card-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.info-card h3 {
    font-family: var(--font-serif);
    color: var(--gold);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* History Narrative Styles */
.narrative-block {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.narrative-block h2 {
    font-family: var(--font-serif);
    color: var(--gold);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.narrative-block p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    text-align: justify;
}

/* Timeline/Chronicles Styles */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto;
    padding: 2rem 0;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 2rem 0;
    position: relative;
    width: 50%;
}

.timeline-item-left {
    left: 0;
    padding-right: 3rem;
    text-align: right;
}

.timeline-item-right {
    left: 50%;
    padding-left: 3rem;
}

.timeline-badge {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    border: 3px solid var(--gold);
    top: calc(50% - 8px);
    z-index: 10;
}

.timeline-item-left .timeline-badge {
    right: -8px;
}

.timeline-item-right .timeline-badge {
    left: -8px;
}

.timeline-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}

.timeline-date {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.timeline-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.timeline-img {
    margin-top: 1rem;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.timeline-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-light);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #1a1d20;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    border-radius: 4px;
    font-family: var(--font-sans);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--gold);
    color: var(--bg-dark);
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--gold-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-secondary:hover {
    background-color: var(--gold);
    color: var(--bg-dark);
}

.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-success {
    background-color: rgba(25, 135, 84, 0.2);
    color: #2ec4b6;
    border: 1px solid var(--green);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.2);
    color: #e63946;
    border: 1px solid var(--red);
}

/* Contact Grid */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--gold);
}

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--text-muted);
}

/* Blog Cards */
.blog-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

.blog-card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--gold);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.blog-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    gap: 1rem;
}

.blog-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.blog-title a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.blog-title a:hover {
    color: var(--gold);
}

.blog-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--text-light);
}

/* Single Post View */
.post-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.post-header {
    margin-bottom: 2rem;
    text-align: center;
}

.post-category {
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.post-header h1 {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.post-featured-image {
    width: 100%;
    max-height: 450px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    border: 1px solid var(--border-color);
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 4rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

/* Elegant drop cap for the first paragraph of article content */
.post-content > p:first-of-type::first-letter {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    float: left;
    line-height: 0.85;
    margin-right: 0.65rem;
    margin-top: 0.15rem;
    color: var(--gold);
}

.post-content h2, .post-content h3 {
    font-family: var(--font-serif);
    color: var(--gold);
    margin: 2rem 0 1rem 0;
}

.post-content blockquote {
    border-left: 4px solid var(--gold);
    padding: 0.5rem 0 0.5rem 1.5rem;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-muted);
    margin: 2.5rem 0;
    line-height: 1.6;
}

/* Comments Section */
.comments-section {
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
}

.comments-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--gold);
}

.comment-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.comment-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 6px;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.comment-author {
    font-weight: 700;
    color: var(--text-light);
}

.comment-body {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer */
footer.site-footer {
    background-color: #0b0c0d;
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 2rem 2rem;
    color: var(--text-muted);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-about h3 {
    font-family: var(--font-serif);
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.footer-about p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--gold);
    bottom: 0;
    left: 0;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact p {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.footer-contact a {
    color: var(--gold);
    text-decoration: none;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.85rem;
}

/* Admin Styles */
.admin-login-container {
    max-width: 450px;
    margin: 8rem auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.admin-nav {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.admin-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.admin-nav a:hover,
.admin-nav a.active {
    color: var(--gold);
}

.admin-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 6px;
    text-align: center;
}

.admin-card h3 {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.admin-card .stat {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
}

/* Table styles for Admin */
.admin-table-wrapper {
    overflow-x: auto;
    margin-top: 1.5rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background-color: #1a1d20;
    color: var(--gold);
    font-weight: 600;
}

.admin-table tr:hover {
    background-color: rgba(255,255,255,0.02);
}

.badge {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-success {
    background-color: rgba(25, 135, 84, 0.2);
    color: #2ec4b6;
    border: 1px solid var(--green);
}

.badge-warning {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.action-links {
    display: flex;
    gap: 0.75rem;
}

.action-links a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
}

.link-approve { color: var(--green); }
.link-delete { color: var(--red); }
.link-edit { color: var(--gold); }

/* Responsive adjustments */
@media (max-width: 992px) {
    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        border-bottom: 1px solid var(--border-color);
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 15px rgba(0,0,0,0.5);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .grid-5 {
        grid-template-columns: 1fr;
    }
    
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    /* Timeline adjustments */
    .timeline-container::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 60px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    
    .timeline-item-left,
    .timeline-item-right {
        left: 0;
    }
    
    .timeline-badge {
        left: 23px !important;
        right: auto !important;
    }
}

/* Quote Bubble */
.quote-bubble {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--gold);
    border-radius: 12px;
    padding: 2.25rem 2.5rem;
    margin: 1rem auto;
    max-width: 900px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.quote-bubble:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    border-color: rgba(212, 175, 55, 0.3);
}

.quote-bubble p {
    font-style: italic;
    font-size: 1.35rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-family: var(--font-serif);
}

.quote-bubble cite {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gold);
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
}

/* News Cards Feed */
.news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 8px;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card:hover .news-card-img img {
    transform: scale(1.05);
}

.news-card:hover .news-card-body {
    border-color: var(--gold) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

.news-source-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(18, 20, 22, 0.85);
    backdrop-filter: blur(5px);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

/* Card Flip Layout */
.flip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.flip-card {
    perspective: 1000px;
    height: 320px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.flip-card-front {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    background-size: cover;
    background-position: center;
    position: relative;
}

.flip-card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(18,20,22,0.95) 15%, rgba(18,20,22,0.4) 60%, rgba(18,20,22,0.1) 100%);
    z-index: 1;
}

.flip-card-front * {
    position: relative;
    z-index: 2;
}

.flip-card-front h3 {
    font-family: var(--font-serif);
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.flip-card-front .flip-badge {
    color: var(--gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.25rem;
}

.flip-card-front .flip-hint {
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: var(--transition);
}

.flip-card:hover .flip-hint {
    color: var(--gold);
}

.flip-card-back {
    transform: rotateY(180deg);
    background-color: var(--bg-card);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.flip-card-back h3 {
    font-family: var(--font-serif);
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.flip-card-back p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.flip-card-back .flip-back-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 0.75rem;
}

/* Media Queries for Flip Grid */
@media (max-width: 992px) {
    .flip-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .flip-card {
        height: 280px;
    }
}
