/* =============================================
   Ne Olmuş? tarzı haber/blog sitesi - stil dosyası
   ============================================= */

:root {
    --orange: #FF6A3D;
    --orange-dark: #E85A2A;
    --navy: #17202E;
    --cream: #FDF9F4;
    --paper: #FFFFFF;
    --border: #EFE7DD;
    --text: #1F2530;
    --text-muted: #6B7280;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow: 0 4px 20px rgba(23, 32, 46, 0.06);
    --shadow-lg: 0 12px 34px rgba(23, 32, 46, 0.12);
    --max-width: 1320px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', 'Inter', sans-serif;
    margin: 0;
    line-height: 1.25;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 8px 18px rgba(255, 106, 61, .35);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }

.tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.tag-outline {
    background: transparent !important;
    border: 1.5px solid currentColor;
    padding: 4px 12px;
}
.tag-text {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    margin-top: 4px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.section-heading h2 {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-heading .bar,
.categories-widget h3 .bar {
    width: 6px;
    height: 22px;
    background: var(--orange);
    border-radius: 4px;
    display: inline-block;
}
.see-all {
    font-weight: 600;
    color: var(--orange-dark);
    font-size: .9rem;
}
.see-all:hover { text-decoration: underline; }

/* ===== HEADER ===== */
.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}
.header-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo .brand-logo {
    flex-shrink: 0;
    display: block;
    filter: drop-shadow(0 3px 8px rgba(255, 106, 61, .35));
}
.logo-mark {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--navy);
    white-space: nowrap;
}
.logo-q { color: var(--orange); }
.logo-tagline {
    font-size: .72rem;
    color: var(--text-muted);
    border-left: 2px solid var(--border);
    padding-left: 12px;
    line-height: 1.35;
    font-weight: 500;
    white-space: nowrap;
}

.main-nav {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: nowrap;
    width: max-content;
}
.main-nav a {
    display: inline-block;
    padding: 8px 9px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    transition: background .15s ease, color .15s ease;
}
.main-nav a:hover { background: var(--cream); }
.main-nav a.active { background: var(--orange); color: #fff; }
.main-nav li:first-child a { background: var(--orange); color: #fff; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    background: var(--cream);
    transition: background .15s ease;
    flex-shrink: 0;
}
.icon-btn:hover { background: var(--border); }
.search-form { position: relative; display: flex; align-items: center; }
.search-input {
    width: 0;
    opacity: 0;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .9rem;
    transition: width .2s ease, opacity .2s ease, padding .2s ease;
    margin-right: -40px;
    height: 40px;
}
.search-form.open .search-input {
    width: 200px;
    opacity: 1;
    padding: 0 44px 0 16px;
    margin-right: -40px;
}
.menu-toggle { display: none; }

/* category pill row */
.category-pills {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 24px;
    border-top: 1px solid var(--border);
}
.pills-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
}
.pills-scroll::-webkit-scrollbar { display: none; }
.pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    width: 76px;
    padding: 6px 4px;
    border-radius: var(--radius-sm);
    transition: background .15s ease;
}
.pill:hover { background: var(--cream); }
.pill-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.pill-icon svg { width: 20px; height: 20px; }
.pill-label { font-size: .72rem; font-weight: 600; color: var(--text); text-align: center; }

.feel-good-bubble {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--cream);
    border: 1.5px dashed var(--orange);
    border-radius: 999px;
    padding: 8px 18px 8px 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: .78rem;
    color: var(--navy);
    line-height: 1.15;
    white-space: nowrap;
}
.bubble-emoji { font-size: 1.2rem; }

.mobile-nav {
    display: none;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { padding: 8px 20px 16px; display: flex; flex-direction: column; }
.mobile-nav a { display: block; padding: 10px 4px; font-weight: 600; border-bottom: 1px solid var(--border); }

/* ===== LAYOUT ===== */
.page-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    padding-top: 28px;
    padding-bottom: 60px;
    align-items: start;
}
.main-col { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.side-col { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }

/* ===== HERO ===== */
.hero-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 20px;
}
.hero-carousel {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 420px;
    background: var(--navy);
    box-shadow: var(--shadow-lg);
}
.hero-track { position: relative; width: 100%; height: 100%; min-height: 420px; }
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease;
    display: block;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.hero-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 36px 40px 32px;
    background: linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 55%, transparent 100%);
    color: #fff;
}
.hero-overlay .tag { margin-bottom: 14px; }
.hero-overlay h1 {
    font-size: 2rem;
    margin-bottom: 12px;
    max-width: 640px;
}
.hero-overlay p {
    max-width: 560px;
    color: rgba(255,255,255,.85);
    font-size: .98rem;
    margin: 0;
}
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    color: var(--navy);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease;
}
.hero-arrow:hover { background: #fff; }
.hero-prev { left: 18px; }
.hero-next { right: 18px; }
.hero-dots {
    position: absolute;
    bottom: 16px;
    right: 40px;
    display: flex;
    gap: 6px;
}
.hero-dot {
    width: 22px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255,255,255,.4);
    transition: background .2s ease, width .2s ease;
}
.hero-dot.active { background: var(--orange); width: 34px; }

.hero-middle { display: flex; flex-direction: column; gap: 16px; }
.promo-box {
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    box-shadow: var(--shadow-lg);
}
.promo-box h2 { font-size: 1.5rem; }
.promo-box h2 span { color: var(--orange); }
.promo-box p { margin: 0; color: rgba(255,255,255,.7); font-size: .88rem; }
.promo-box .btn { align-self: flex-start; }

.mini-cards { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.mini-card {
    display: flex;
    gap: 12px;
    background: var(--paper);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    flex: 1;
    align-items: stretch;
}
.mini-card img { width: 92px; height: 100%; min-height: 84px; object-fit: cover; flex-shrink: 0; }
.mini-card-body { padding: 12px 14px 12px 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.mini-card-body h3 { font-size: .88rem; line-height: 1.35; }
.mini-card-body .tag-outline { align-self: flex-start; font-size: .62rem; padding: 2px 9px; }

/* ===== CARD GRID ===== */
.picks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.card {
    background: var(--paper);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease;
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img .tag { position: absolute; top: 12px; left: 12px; }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 1rem; line-height: 1.4; }
.card-body p { margin: 0; font-size: .84rem; color: var(--text-muted); line-height: 1.5; }
.card-meta {
    margin-top: auto;
    font-size: .76rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 6px;
}
.card-meta .dot { width: 16px; height: 16px; border-radius: 50%; background: var(--border); flex-shrink: 0; }
.card-comment-count { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; flex-shrink: 0; color: var(--text-muted); }

/* ===== TREND LISTS ===== */
.trend-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.trend-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow: var(--shadow);
}
.trend-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.trend-card:hover img { transform: scale(1.06); }
.trend-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.75), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}
.trend-card-overlay h3 { color: #fff; font-size: .95rem; line-height: 1.35; }

/* ===== SIDEBAR WIDGETS ===== */
.widget {
    background: var(--paper);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow);
}
.widget h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.popular-widget { background: #FFF7EC; }
.popular-list { display: flex; flex-direction: column; gap: 14px; }
.popular-list li { display: flex; align-items: center; gap: 12px; }
.popular-list .rank {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--orange);
    width: 22px;
    flex-shrink: 0;
}
.popular-list img {
    width: 56px; height: 56px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}
.popular-list a {
    font-size: .86rem;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.popular-list a:hover { color: var(--orange-dark); }

.test-widget {
    background: linear-gradient(160deg, #FFE3D3, #FFD3E2);
    border: none;
}
.test-widget h4 { font-size: 1.15rem; margin-bottom: 8px; }
.test-widget p { font-size: .85rem; color: #55402f; margin: 0 0 16px; line-height: 1.5; }

.quote-widget { background: var(--navy); color: #fff; text-align: left; }
.quote-mark { font-family: 'Poppins', sans-serif; font-size: 2.6rem; color: var(--orange); margin: 0; line-height: 1; height: 28px; }
.quote-text { font-size: 1.05rem; font-weight: 600; line-height: 1.5; margin: 4px 0 14px; }
.quote-author { color: rgba(255,255,255,.6); font-size: .82rem; margin: 0; }

.categories-widget h3 { gap: 10px; }
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.cat-chip {
    aspect-ratio: 1;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: var(--cream);
    transition: transform .15s ease;
}
.cat-chip:hover { transform: translateY(-2px); }
.cat-chip.active { outline: 2px solid var(--orange); }
.cat-chip svg { width: 22px; height: 22px; }

/* ===== CATEGORY / SEARCH / DISCOVER PAGES ===== */
.category-hero {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 26px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}
.cat-hero-icon {
    width: 60px; height: 60px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.cat-hero-icon svg { width: 30px; height: 30px; }
.category-hero h1 { font-size: 1.6rem; margin-bottom: 4px; }
.category-hero p { margin: 0; color: var(--text-muted); font-size: .9rem; }

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    background: var(--paper);
    border: 1px solid var(--border);
    font-size: .86rem;
    font-weight: 600;
    color: var(--text);
    transition: background .15s ease, color .15s ease;
}
.page-link:hover { background: var(--cream); }
.page-link.active { background: var(--orange); border-color: var(--orange); color: #fff; }
.page-ellipsis { padding: 0 4px; color: var(--text-muted); }

.inline-search {
    display: flex;
    gap: 10px;
    margin: -12px 0 4px;
}
.inline-search input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .95rem;
}

.discover-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.discover-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: transform .15s ease;
}
.discover-card:hover { transform: translateY(-3px); }
.discover-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.discover-icon svg { width: 26px; height: 26px; }
.discover-card h3 { font-size: 1.05rem; }
.discover-card p { margin: 4px 0 0; color: var(--text-muted); font-size: .82rem; }

/* ===== ARTICLE DETAIL ===== */
.article-detail { max-width: 780px; }
.breadcrumb { font-size: .82rem; color: var(--text-muted); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--orange-dark); }
.article-title { font-size: 2rem; margin: 14px 0 10px; line-height: 1.3; }
.article-meta { color: var(--text-muted); font-size: .88rem; margin-bottom: 20px; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 28px; box-shadow: var(--shadow-lg); }
.article-cover img { width: 100%; max-height: 480px; object-fit: cover; }
.article-body p { font-size: 1.05rem; line-height: 1.8; color: #2B3140; margin: 0 0 20px; }
.article-body .lead { font-weight: 600; font-size: 1.15rem; color: var(--navy); }
.related-section { margin-top: 44px; }
.related-section .picks-grid { grid-template-columns: repeat(2, 1fr); }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy); color: rgba(255,255,255,.85); margin-top: 40px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 30px;
    padding: 50px 24px 30px;
}
.footer-brand p { color: rgba(255,255,255,.55); font-size: .88rem; margin-top: 10px; line-height: 1.5; }
.site-footer h4 { font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .9rem; color: rgba(255,255,255,.85); }
.footer-col a:hover { color: var(--orange); }
.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    font-size: .78rem; font-weight: 700;
}
.social-links a:hover { background: var(--orange); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px 24px;
    font-size: .8rem;
    color: rgba(255,255,255,.45);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1360px) {
    .logo-tagline { display: none; }
}

@media (max-width: 1180px) {
    .main-nav { display: none; }
    .menu-toggle { display: flex; }
    .picks-grid { grid-template-columns: repeat(3, 1fr); }
    .trend-grid { grid-template-columns: repeat(3, 1fr); }
    .discover-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
    .page-layout { grid-template-columns: 1fr; }
    .side-col { position: static; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-carousel, .hero-track, .hero-slide img { min-height: 320px; }
}

@media (max-width: 680px) {
    .header-top { padding: 14px 16px; flex-wrap: wrap; }
    .logo-tagline { display: none; }
    .category-pills { padding: 10px 16px; }
    .feel-good-bubble { display: none; }
    .picks-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .trend-grid { grid-template-columns: repeat(2, 1fr); }
    .related-section .picks-grid { grid-template-columns: 1fr; }
    .discover-grid { grid-template-columns: 1fr; }
    .hero-overlay h1 { font-size: 1.4rem; }
    .hero-overlay { padding: 22px 20px 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .article-title { font-size: 1.5rem; }
    .container { padding: 0 16px; }
}

/* Managed social links and mood discovery */
.social-links { flex-wrap: wrap; gap: 10px; }
.social-links .social-icon { width: 44px; height: 44px; border: 1px solid #ffffff30; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; background: #ffffff0d; transition: transform .2s, background .2s; }
.social-links .social-icon:hover { transform: translateY(-3px); background: #ffffff25; }
.social-links .social-icon:focus-visible, .mood-picker select:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.social-links .social-icon.placeholder { opacity: .35; cursor: default; }
.social-links .social-icon.placeholder:hover { transform: none; background: #ffffff0d; }
.mood-picker { flex: 0 0 220px; padding: 12px 14px; background: #fff0e6; border: 1px solid #f5d7c2; border-radius: 16px; }
.mood-picker label { display: block; font-size: .78rem; font-weight: 700; margin-bottom: 7px; }
.mood-picker > div { display: flex; gap: 5px; }
.mood-picker select { min-width: 0; width: 100%; padding: 7px; border: 1px solid #f5d7c2; border-radius: 8px; background: white; color: var(--navy); font: inherit; font-size: .8rem; }
.mood-picker button { color: var(--orange-dark); font-weight: 700; padding: 4px; }
.mood-summary { padding: 16px 20px; margin-bottom: 20px; border: 1px solid #f5d7c2; background: #fff0e6; border-radius: 14px; }
.mood-summary a { text-decoration: underline; margin-left: 12px; }
.custom-logo { max-width: 150px; height: 38px; object-fit: contain; }
@media(max-width:680px) { .category-pills { flex-wrap: wrap; } .pills-scroll { flex-basis: 100%; min-width: 0; } .mood-picker { flex: 1 1 100%; } .mood-picker > div { max-width: 100%; } }

.header-actions { margin-left: auto; }
.search-form .search-input { display:none; position:absolute; right:0; top:calc(100% + 8px); margin:0; z-index:60; background:white; box-shadow:var(--shadow); }
.search-form.open .search-input { display:block; margin:0; width:min(260px,80vw); padding:0 14px; }
@media(max-width:420px) { .header-top { gap:8px; } .site-header .brand-logo { height:32px; width:auto; } .header-actions { gap:5px; } .header-actions .follow-btn { display:none; } }

/* ===== ÜYELİK: giriş/kayıt formları, yorum ve favori ===== */
.auth-page {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 48px;
    padding-bottom: 60px;
    min-height: 55vh;
}
.member-form-col { max-width: 480px; margin: 0 auto; width: 100%; }
.member-panel h1 { font-size: 1.5rem; margin-bottom: 6px; }
.member-sub { color: var(--text-muted); font-size: .9rem; margin: 0 0 20px; }
.member-switch { margin-top: 18px; font-size: .88rem; color: var(--text-muted); text-align: center; }
.member-switch a { color: var(--orange-dark); font-weight: 600; }

.article-tag-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.favorite-form { margin: 0; }
.favorite-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--border);
    background: var(--paper); color: var(--text); font-size: .82rem; font-weight: 700;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.favorite-btn:hover { border-color: #FF5C7A; color: #FF5C7A; }
.favorite-btn.active { background: #FFF0F3; border-color: #FF5C7A; color: #FF5C7A; }

.comments-section { margin-top: 44px; scroll-margin-top: 100px; }
.comment-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.comment-form textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px;
    font: inherit; font-size: .92rem; resize: vertical; background: var(--cream);
}
.comment-form textarea:focus { outline: none; border-color: var(--orange); background: #fff; }
.comment-form .btn { align-self: flex-end; }
.comment-login-prompt {
    background: var(--cream); border: 1px solid var(--border); border-radius: 12px;
    padding: 14px 18px; font-size: .9rem; margin-bottom: 20px;
}
.comment-login-prompt a { color: var(--orange-dark); font-weight: 700; }
.no-comments { color: var(--text-muted); font-size: .9rem; }
.comment-list { display: flex; flex-direction: column; gap: 18px; }
.comment-item { display: flex; gap: 12px; align-items: flex-start; }
.comment-avatar {
    flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
    background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center;
    font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .95rem;
}
.comment-body { flex: 1; min-width: 0; }
.comment-meta { font-size: .82rem; margin-bottom: 4px; }
.comment-meta strong { color: var(--navy); }
.comment-meta span { color: var(--text-muted); margin-left: 6px; }
.comment-body p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--text); white-space: pre-line; }
