/* HerCity CMS — Default Theme */

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

:root {
    --color-primary: #1a1a1a;
    --color-accent: #c9a96e;
    --color-text: #333;
    --color-light: #f8f8f8;
    --color-border: #e5e5e5;
    --color-muted: #888;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', -apple-system, sans-serif;
    --max-width: 1200px;
    --sidebar-width: 320px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--color-text); line-height: 1.7; background: #fff; }

a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent); }

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

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

/* Header */
.site-header { background: var(--color-accent); padding: 16px 0; position: relative; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-logo { display: flex; align-items: center; }
.logo-image { max-height: 60px; width: auto; }
.logo-text { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--header-text, #fff); }

.main-nav .nav-list { list-style: none; display: flex; gap: 24px; flex-wrap: nowrap; white-space: nowrap; }
.main-nav .nav-list a { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; color: var(--header-text, #fff); }
.main-nav .nav-list a:hover { opacity: 0.7; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--header-text, #fff); }

/* When nav overflows, switch to hamburger */
.nav-overflow .nav-list { display: none; }
.nav-overflow .menu-toggle { display: block; }
.nav-overflow .nav-list.active {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-accent);
    padding: 16px 20px;
    z-index: 50;
    white-space: normal;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.hero-track {
    position: relative;
    height: 380px;
}
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    text-decoration: none;
    color: #fff;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    cursor: pointer;
}
.hero-slide:hover { color: #fff; }
.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}
.hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 6s ease;
}
.hero-image--none { background: linear-gradient(135deg, var(--color-accent), #1a1a1a); }
.hero-slide.active .hero-image { transform: scale(1.04); }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.05) 100%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 20px;
}
.hero-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 3px;
    width: fit-content;
    margin-bottom: 12px;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    max-width: 600px;
}
.hero-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.85);
    margin-bottom: 14px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    max-width: 600px;
}
.hero-cta {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff;
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    right: 40px;
    display: flex;
    gap: 8px;
    z-index: 5;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}
.hero-dot.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.2);
}

@media (max-width: 600px) {
    .hero-track { height: 280px; }
    .hero-content { padding: 24px; }
    .hero-title { font-size: 1.3rem; }
    .hero-excerpt { display: none; }
    .hero-dots { right: 24px; bottom: 16px; }
}

/* Post Hero Banner */
.post-hero {
    position: relative;
    width: 100%;
    height: 340px;
    overflow: hidden;
}
.post-hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.post-hero-image--none { background: linear-gradient(135deg, var(--color-accent), #1a1a1a); }
.post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.1) 100%);
}
.post-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px 36px;
}
.post-hero-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 3px;
    width: fit-content;
    margin-bottom: 12px;
}
.post-hero-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    max-width: 700px;
}
.post-hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

@media (max-width: 600px) {
    .post-hero { height: 260px; }
    .post-hero-content { padding: 0 20px 24px; }
    .post-hero-title { font-size: 1.5rem; }
}

/* Content Layout */
.site-content { padding: 40px 0; }
.site-content .container { display: flex; gap: 40px; }
.content-area { flex: 1; min-width: 0; }
.sidebar { width: var(--sidebar-width); flex-shrink: 0; }

/* Post Cards */
.post-list { display: grid; gap: 40px; }
.post-card { display: grid; grid-template-columns: 300px 1fr; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid var(--color-border); }
.post-card-image img { width: 300px; height: 200px; object-fit: cover; border-radius: 4px; }
.post-card-content { display: flex; flex-direction: column; gap: 8px; }
.post-card-content h2 { font-family: var(--font-heading); font-size: 1.4rem; line-height: 1.3; }
.post-card-content time { font-size: 0.85rem; color: var(--color-muted); }
.post-card-content p { font-size: 0.95rem; color: #555; }
.post-category { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--color-accent); font-weight: 600; }
.read-more { font-size: 0.85rem; font-weight: 600; color: var(--color-accent); margin-top: auto; }

/* Single Post */
.single-post { max-width: 800px; }

/* Related Posts */
.related-posts {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}
.related-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.related-card {
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: box-shadow 0.2s, transform 0.2s;
}
.related-card:hover {
    color: inherit;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.related-image {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
}
.related-image--none { background: linear-gradient(135deg, var(--color-accent), #1a1a1a); }
.related-info {
    padding: 14px;
}
.related-category {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
}
.related-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 4px 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-date {
    font-size: 0.75rem;
    color: var(--color-muted);
}

@media (max-width: 600px) {
    .related-grid { grid-template-columns: 1fr; }
    .related-image { height: 180px; }
}
.post-content { font-size: 1.05rem; line-height: 1.8; }
.post-content p { margin-bottom: 1.2em; }
.post-content h2, .post-content h3 { font-family: var(--font-heading); margin: 1.5em 0 0.5em; }
.post-content h2 { font-size: 1.6rem; }
.post-content h3 { font-size: 1.3rem; }
.post-content img { margin: 1.5em 0; border-radius: 4px; }
.post-content a { color: var(--color-accent); text-decoration: underline; }
.post-content ul, .post-content ol { margin: 0 0 1.2em 1.5em; }
.post-content blockquote { border-left: 3px solid var(--color-accent); padding-left: 20px; margin: 1.5em 0; font-style: italic; color: #555; }

/* Sidebar */
.widget { margin-bottom: 30px; padding: 20px; background: var(--color-light); border-radius: 4px; }
.widget-title { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--color-accent); }

.popular-posts { list-style: none; }
.popular-post { display: flex; gap: 12px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--color-border); }
.popular-post:last-child { margin-bottom: 0; padding-bottom: 0; border: none; }
.popular-post-thumb img { width: 70px; height: 70px; object-fit: cover; border-radius: 4px; }
.popular-post-info a { font-size: 0.9rem; font-weight: 600; line-height: 1.3; display: block; }
.popular-post-info time { font-size: 0.75rem; color: var(--color-muted); }

.sidebar-links { list-style: none; }
.sidebar-links li { margin-bottom: 8px; }
.sidebar-links li a { font-size: 0.9rem; }
.sidebar-links li img { width: 24px; height: 24px; display: inline-block; vertical-align: middle; margin-right: 8px; }

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; padding-top: 20px; }
.pagination a, .pagination .current, .pagination .dots { padding: 8px 14px; border: 1px solid var(--color-border); border-radius: 4px; font-size: 0.9rem; }
.pagination .dots { border: none; color: var(--color-muted); padding: 8px 4px; }
.pagination .current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.pagination a:hover { background: var(--color-light); }

/* Page Title */
.page-title { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 30px; padding-bottom: 16px; border-bottom: 2px solid var(--color-accent); }

/* 404 */
.error-page { text-align: center; padding: 80px 0; }
.error-page h1 { font-family: var(--font-heading); font-size: 6rem; color: var(--color-accent); }
.error-page p { font-size: 1.1rem; margin: 16px 0 30px; color: var(--color-muted); }
.btn { display: inline-block; padding: 12px 28px; background: var(--color-primary); color: #fff; border-radius: 4px; font-weight: 600; }
.btn:hover { background: var(--color-accent); color: #fff; }

/* Footer */
.site-footer { margin-top: 60px; }
.footer-main {
    background: var(--color-accent);
    color: var(--header-text, #fff);
    padding: 48px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}
.footer-brand { }
.footer-logo { max-height: 40px; display: block; margin-bottom: 14px; }
.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: inherit;
    text-decoration: none;
    display: block;
    margin-bottom: 14px;
}
.footer-desc {
    font-size: 0.85rem;
    opacity: 0.75;
    line-height: 1.6;
    max-width: 340px;
}
.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    opacity: 0.6;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
    color: inherit;
    text-decoration: none;
    font-size: 0.88rem;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.footer-col ul a:hover { opacity: 1; color: inherit; }
.footer-bottom {
    background: #fff;
    padding: 14px 0;
    text-align: center;
    font-size: 0.78rem;
    color: #1a1a1a;
}

/* Legal Pages */
.legal-page { max-width: 800px; }
.legal-page h1 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 8px; }
.legal-updated { font-size: 0.85rem; color: var(--color-muted); margin-bottom: 32px; }
.legal-page h2 { font-family: var(--font-heading); font-size: 1.2rem; margin: 28px 0 10px; }
.legal-page p, .legal-page li { font-size: 0.95rem; line-height: 1.7; color: #444; }
.legal-page ul { margin: 0 0 16px 20px; }
.legal-page a { color: var(--color-accent); }

/* Contact Page */
.contact-page { max-width: 800px; }
.contact-page h1 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 8px; }
.contact-page > p { font-size: 0.95rem; color: #555; margin-bottom: 32px; }
.contact-grid { display: grid; gap: 32px; }
.contact-info h2 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 8px; }
.contact-info p { font-size: 0.95rem; color: #555; line-height: 1.6; }
.contact-method { margin-top: 20px; padding: 16px; background: var(--color-light); border-radius: 6px; }
.contact-method strong { display: block; font-size: 0.85rem; margin-bottom: 4px; }
.contact-method a { color: var(--color-accent); }

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Mobile */
@media (max-width: 900px) {
    .site-content .container { flex-direction: column; }
    .sidebar { width: 100%; }
    .post-card { grid-template-columns: 1fr; }
    .post-card-image img { width: 100%; height: 220px; }
}

@media (max-width: 600px) {
    .site-header .container { flex-direction: row; align-items: center; justify-content: space-between; }
    .logo-image { max-height: 40px; }
}
/* v1775664415 */
