/* Foreign Love Finder Lifestyle Magazine Stylesheet */
:root {
    --flf-rose: #e11d48;
    --flf-dark-rose: #881337;
    --flf-deep: #4c0519;
    --flf-pink-bg: #fff1f2;
    --flf-pink-border: #fecdd3;
    --flf-gold: #d97706;
    --flf-text: #27272a;
    --flf-muted: #71717a;
    --flf-white: #ffffff;
    --flf-cream: #faf5f0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--flf-cream);
    color: var(--flf-text);
    line-height: 1.8;
    font-size: 16.5px;
}

h1, h2, h3, .flf-serif-heading, .flf-header h1 {
    font-family: Didot, "Bodoni MT", "Cinzel", Georgia, serif;
    color: var(--flf-deep);
    font-weight: 600;
}

a {
    color: var(--flf-rose);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--flf-dark-rose);
    text-decoration: underline;
}

.flf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Masthead Header */
.flf-header {
    background: var(--flf-white);
    border-bottom: 1px solid var(--flf-pink-border);
    padding: 30px 0 15px 0;
    text-align: center;
}

.flf-issue-meta {
    font-size: 0.82rem;
    color: var(--flf-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.flf-header h1 {
    font-size: 2.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--flf-dark-rose);
    margin: 0;
}

.flf-tagline {
    font-size: 0.92rem;
    color: var(--flf-muted);
    font-style: italic;
    letter-spacing: 0.5px;
}

/* Category Nav */
.flf-nav-wrapper {
    border-top: 1px solid var(--flf-pink-border);
    margin-top: 15px;
    padding-top: 10px;
    background: var(--flf-white);
    position: sticky;
    top: 0;
    z-index: 999;
}

.flf-nav {
    display: flex;
    justify-content: center;
    gap: 26px;
    list-style: none;
    font-size: 0.9rem;
    font-weight: 600;
    flex-wrap: wrap;
}

.flf-nav a {
    color: var(--flf-text);
    letter-spacing: 0.5px;
    padding: 6px 0;
    display: block;
}

.flf-nav a.active, .flf-nav a:hover {
    color: var(--flf-rose);
    text-decoration: none;
    border-bottom: 2px solid var(--flf-rose);
}

/* Layout Grid with Sidebar */
.flf-layout-grid {
    display: grid;
    grid-template-columns: 2.3fr 1fr;
    gap: 35px;
    margin: 35px 0;
}

/* Cover Story Hero Card */
.flf-cover-story {
    background: var(--flf-white);
    border: 1px solid var(--flf-pink-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 35px;
    box-shadow: 0 6px 25px rgba(225, 29, 72, 0.04);
}

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

.flf-cover-body {
    padding: 35px;
}

.flf-hero-tag {
    display: inline-block;
    background: var(--flf-pink-bg);
    color: var(--flf-rose);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.flf-cover-body h2 {
    font-size: 2.3rem;
    line-height: 1.25;
    margin: 12px 0 15px 0;
}

.flf-byline {
    font-size: 0.85rem;
    color: var(--flf-muted);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.flf-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

/* 2-Column Essay Grid */
.flf-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 35px;
}

.flf-card {
    background: var(--flf-white);
    border: 1px solid var(--flf-pink-border);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.flf-card-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.flf-card-body {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.flf-card h3 {
    font-size: 1.35rem;
    margin: 10px 0;
    line-height: 1.3;
}

.flf-card p {
    color: #52525b;
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 15px;
}

.flf-card-footer {
    border-top: 1px solid var(--flf-pink-border);
    padding-top: 12px;
    font-size: 0.82rem;
    color: var(--flf-muted);
    display: flex;
    justify-content: space-between;
}

/* Sidebar */
.flf-sidebar-box {
    background: var(--flf-white);
    border: 1px solid var(--flf-pink-border);
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 25px;
}

.flf-sidebar-title {
    font-size: 1.15rem;
    color: var(--flf-dark-rose);
    border-bottom: 2px solid var(--flf-pink-border);
    padding-bottom: 8px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flf-trending-list {
    list-style: none;
}

.flf-trending-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--flf-pink-bg);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.flf-trending-list li:last-child {
    border-bottom: none;
}

.flf-trending-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--flf-pink-border);
    line-height: 1;
    font-family: Didot, serif;
}

.flf-trending-list a {
    color: var(--flf-text);
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.4;
}

.flf-trending-list a:hover {
    color: var(--flf-rose);
}

/* Standalone Article Layout */
.flf-article-container {
    max-width: 860px;
    margin: 35px auto;
    background: var(--flf-white);
    border: 1px solid var(--flf-pink-border);
    border-radius: 12px;
    padding: 50px 45px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.flf-breadcrumb {
    font-size: 0.85rem;
    color: var(--flf-muted);
    margin-bottom: 20px;
}

.flf-article-header h1 {
    font-size: 2.6rem;
    line-height: 1.25;
    margin: 15px 0 20px 0;
}

.flf-pull-quote {
    background: var(--flf-pink-bg);
    border-left: 3px solid var(--flf-rose);
    padding: 20px 25px;
    margin: 30px 0;
    font-family: Georgia, serif;
    font-style: italic;
    color: var(--flf-dark-rose);
    font-size: 1.15rem;
    line-height: 1.6;
}

.flf-article-content h2 {
    font-size: 1.6rem;
    margin: 35px 0 15px 0;
}

.flf-article-content p {
    margin-bottom: 22px;
    font-size: 1.05rem;
}

.flf-author-card {
    background: var(--flf-pink-bg);
    border: 1px solid var(--flf-pink-border);
    border-radius: 8px;
    padding: 24px;
    margin: 40px 0;
    display: flex;
    gap: 20px;
    align-items: center;
}

.flf-author-card img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
}

/* Reader Pitch Banner */
.flf-pitch-banner {
    background: linear-gradient(135deg, var(--flf-dark-rose) 0%, var(--flf-deep) 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: 45px 35px;
    text-align: center;
    margin-bottom: 40px;
}

.flf-pitch-banner h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 10px;
}

.flf-pitch-banner p {
    color: #fecdd3;
    max-width: 680px;
    margin: 0 auto 25px auto;
}

.flf-btn-rose {
    background: #ffffff;
    color: var(--flf-dark-rose) !important;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.flf-btn-rose:hover {
    background: #fff1f2;
    text-decoration: none;
}

/* Footer */
.flf-footer {
    background: #27030d;
    color: #fda4af;
    border-top: 1px solid #4c0519;
    padding: 60px 0 30px 0;
    font-size: 0.9rem;
}

.flf-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 35px;
    text-align: left;
}

.flf-footer h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 14px;
}

.flf-footer ul {
    list-style: none;
}

.flf-footer li {
    margin-bottom: 8px;
}

.flf-footer a {
    color: #fecdd3;
}

.flf-footer a:hover {
    color: #ffffff;
}

.flf-footer-bottom {
    border-top: 1px solid #4c0519;
    padding-top: 25px;
    text-align: center;
    font-size: 0.82rem;
    color: #9f1239;
}

/* Cookie */
.flf-cookie {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #4c0519;
    color: #ffffff;
    padding: 14px 20px;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    border-top: 2px solid var(--flf-rose);
    font-size: 0.88rem;
}

@media (max-width: 868px) {
    .flf-layout-grid, .flf-grid-2, .flf-footer-grid {
        grid-template-columns: 1fr;
    }
    .flf-header h1 {
        font-size: 2.2rem;
    }
}
