:root {
  --ink: #17181c; --muted: #6b6f76; --line: #e5e2da; --paper: #fdfcf9;
  --accent: #b3241c; --accent-ink: #ffffff; --sidebar-bg: #f4f2ec;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); }
body { font-family: 'Inter', -apple-system, sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.placeholder-img { background: repeating-linear-gradient(45deg, #ece8dd, #ece8dd 10px, #e2ddce 10px, #e2ddce 20px); display: flex; align-items: center; justify-content: center; color: #9a9385; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; object-fit: cover; }

.topbar { background: var(--ink); color: #cfd0d3; font-size: 12.5px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; padding: 7px 24px; flex-wrap: wrap; gap: 6px; }
.topbar-left { display: flex; gap: 18px; align-items: center; }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.social-dot { width: 22px; height: 22px; border-radius: 50%; border: 1px solid #4b4d53; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #cfd0d3; }

.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: center; padding: 24px 24px 20px; }
.logo-group { display: flex; align-items: center; gap: 14px; }
.logo-box, .logo-img { width: 60px; height: 60px; border-radius: 8px; flex-shrink: 0; }
.logo-box { border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 900; font-size: 24px; }
.logo-img { object-fit: cover; }
.site-name { font-size: 32px; font-weight: 900; letter-spacing: -0.01em; text-align: center; }
.site-tagline { font-size: 13px; color: var(--muted); font-style: italic; margin-top: 2px; text-align: center; }

.main-nav { background: var(--ink); }
.main-nav .wrap { display: flex; gap: 2px; justify-content: center; flex-wrap: wrap; }
.main-nav a { color: #fff; font-size: 13.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 13px 20px; display: block; }
.main-nav a.home { background: var(--accent); }
.main-nav a:hover:not(.home) { background: #2a2b30; }

.ticker-bar { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); background: #fff; }
.ticker-label { background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 10px 18px; flex-shrink: 0; display: flex; align-items: center; }
.ticker-track { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ticker-content { display: inline-flex; white-space: nowrap; animation: scroll-left 28s linear infinite; padding-left: 100%; font-size: 13.5px; font-weight: 500; }
.ticker-content span { margin-right: 48px; }
.ticker-content span::after { content: "\2022"; color: var(--accent); margin-left: 48px; }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-100%); } }

.layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; padding: 32px 24px 20px; max-width: 1180px; margin: 0 auto; align-items: start; }

.hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin-bottom: 48px; }
.hero-main .placeholder-img, .hero-main img { width: 100%; height: 340px; border-radius: 8px; margin-bottom: 14px; }
.cat-tag { color: var(--accent); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.hero-main h1 { font-size: 30px; line-height: 1.2; margin: 8px 0 10px; }
.hero-main p { color: var(--muted); font-size: 15.5px; margin: 0 0 8px; }
.meta { color: #9a9385; font-size: 12.5px; }
.hero-side { display: flex; flex-direction: column; gap: 18px; }
.hero-side-item { display: flex; gap: 12px; }
.hero-side-item .placeholder-img, .hero-side-item img { width: 96px; height: 76px; border-radius: 6px; flex-shrink: 0; font-size: 9px; }
.hero-side-item h3 { font-size: 15px; line-height: 1.3; margin: 4px 0; }

.section-heading { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 22px; }
.section-heading h2 { font-size: 21px; }
.section-heading .see-all { font-size: 12.5px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .03em; }
section.cat-section { margin-bottom: 50px; }

.tech-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tech-item { border-left: 3px solid var(--accent); padding-left: 14px; display: block; }
.tech-item .placeholder-img, .tech-item img { width: 100%; height: 90px; border-radius: 4px; margin-bottom: 10px; font-size: 9px; }
.tech-item h3 { font-size: 14.5px; line-height: 1.3; margin: 0; }

.picks-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; background: var(--sidebar-bg); border-radius: 12px; padding: 28px; }
.picks-feature { display: block; }
.picks-feature .placeholder-img, .picks-feature img { width: 100%; height: 240px; border-radius: 8px; margin-bottom: 14px; font-size: 10px; }
.picks-feature h3 { font-size: 22px; line-height: 1.25; margin: 8px 0; }
.picks-list { list-style: none; margin: 0; padding: 0; counter-reset: pick; }
.picks-list li { counter-increment: pick; display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #e6e2d4; }
.picks-list li:last-child { border-bottom: none; }
.picks-list li::before { content: counter(pick); font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: #cbc4ae; width: 26px; flex-shrink: 0; }
.picks-list .p-title { font-size: 14px; font-weight: 600; line-height: 1.3; }

.lifestyle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lifestyle-card { position: relative; border-radius: 10px; overflow: hidden; height: 260px; display: block; }
.lifestyle-card .placeholder-img, .lifestyle-card img { width: 100%; height: 100%; }
.lifestyle-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px; background: linear-gradient(transparent, rgba(0,0,0,.78)); color: #fff; }
.lifestyle-overlay h3 { color: #fff; font-size: 16.5px; margin-top: 4px; }

.travel-feature { display: grid; grid-template-columns: 1.4fr 1fr; background: var(--ink); color: #fff; border-radius: 12px; overflow: hidden; margin-bottom: 20px; }
.travel-feature .placeholder-img, .travel-feature > img { width: 100%; height: 100%; min-height: 260px; }
.travel-copy { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.travel-copy h3 { color: #fff; font-size: 24px; margin: 10px 0 12px; line-height: 1.25; }
.travel-copy p { color: #cfd0d3; font-size: 14px; margin: 0; }
.travel-small { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.travel-small .placeholder-img, .travel-small img { width: 100%; height: 130px; border-radius: 8px; margin-bottom: 10px; font-size: 9px; }
.travel-small h3 { font-size: 15px; line-height: 1.3; }

.business-list { border-top: 1px solid var(--line); }
.business-row { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.business-row .placeholder-img, .business-row img { width: 90px; height: 66px; border-radius: 6px; flex-shrink: 0; font-size: 8px; }
.business-row h3 { font-size: 15.5px; line-height: 1.3; margin: 4px 0 4px; }

.popular-list { list-style: none; margin: 0; padding: 0; counter-reset: pop; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.popular-list li { counter-increment: pop; display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.popular-list li::before { content: counter(pop); font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--accent); width: 26px; flex-shrink: 0; }
.popular-list .pop-title { font-size: 14.5px; font-weight: 600; line-height: 1.3; }

.cta-banner { background: var(--accent); color: #fff; border-radius: 12px; padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 50px; flex-wrap: wrap; }
.cta-banner h2 { color: #fff; font-size: 24px; margin-bottom: 6px; }
.cta-banner p { margin: 0; font-size: 14px; color: #f6d3cf; }
.cta-form { display: flex; gap: 10px; flex-shrink: 0; }
.cta-form input { padding: 12px 14px; border-radius: 6px; border: none; font-size: 14px; width: 240px; font-family: inherit; }
.cta-form button { padding: 12px 20px; border-radius: 6px; border: none; background: var(--ink); color: #fff; font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: .03em; cursor: pointer; }

.widget { background: var(--sidebar-bg); border-radius: 10px; padding: 20px; margin-bottom: 20px; }
.widget h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; margin-bottom: 16px; font-family: 'Inter', sans-serif; }
.weather-widget { background: var(--ink); color: #fff; }
.weather-widget h3 { color: #cfd0d3; }
.weather-now { display: flex; align-items: center; justify-content: space-between; }
.weather-now .temp-big { font-size: 40px; font-weight: 700; }
.weather-now .cond { font-size: 13px; color: #cfd0d3; }
.weather-date { font-size: 12.5px; color: #9fa1a6; margin-top: 12px; border-top: 1px solid #3a3b40; padding-top: 12px; }
.weather-date .clock { font-weight: 700; color: #fff; font-size: 15px; }
.trending-list { list-style: none; margin: 0; padding: 0; counter-reset: trend; }
.trending-list li { counter-increment: trend; display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e6e2d4; }
.trending-list li:last-child { border-bottom: none; padding-bottom: 0; }
.trending-list li::before { content: counter(trend); font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: #cbc4ae; flex-shrink: 0; width: 24px; }
.trending-list .t-title { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.trending-list .t-meta { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.newsletter-widget p { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.newsletter-widget input { width: 100%; padding: 10px 12px; border: 1px solid #d6d2c4; border-radius: 6px; font-size: 13.5px; margin-bottom: 10px; font-family: inherit; }
.newsletter-widget button { width: 100%; padding: 10px; background: var(--accent); color: #fff; border: none; border-radius: 6px; font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; cursor: pointer; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { background: #fff; border: 1px solid #d6d2c4; padding: 6px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 600; }
.social-row { display: flex; gap: 10px; }
.social-row a { flex: 1; background: #fff; border: 1px solid #d6d2c4; border-radius: 8px; text-align: center; padding: 12px 6px; font-size: 12px; font-weight: 700; }
.ad-widget { border: 1px dashed #c9c4b6; background: transparent; text-align: center; color: #9a9385; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 60px 10px; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 26px; }
.post-card { display: block; }
.post-card .placeholder-img, .post-card img { width: 100%; height: 150px; border-radius: 6px; margin-bottom: 10px; font-size: 10px; }
.post-card h3 { font-size: 16.5px; line-height: 1.3; margin: 6px 0 6px; }
.post-card p { font-size: 13.5px; color: var(--muted); margin: 0 0 8px; }

.category-title { font-size: 30px; margin: 0 0 28px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.pagination { display: flex; justify-content: space-between; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 600; }
.pagination a { color: var(--accent); }

.single-post { max-width: 760px; }
.single-post-header h1 { font-size: 38px; line-height: 1.2; margin: 10px 0 14px; }
.single-post-headline { width: 100%; max-height: 480px; object-fit: cover; border-radius: 10px; margin: 20px 0 30px; }
.single-post-content { font-size: 19px; }
.single-post-content p { margin: 0 0 22px; }
.single-post-content h2 { font-size: 26px; margin: 36px 0 16px; }
.single-post-content h3 { font-size: 21px; margin: 28px 0 12px; }
.single-post-content img { border-radius: 8px; margin: 24px 0; width: 100%; }
.single-post-content a { color: var(--accent); text-decoration: underline; }

.related-posts { max-width: 760px; margin: 60px 0 0; border-top: 1px solid var(--line); padding-top: 30px; }
.related-posts h2 { font-size: 20px; margin-bottom: 20px; }

.site-footer { background: var(--ink); color: #cfd0d3; padding: 48px 24px 20px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: 32px; padding-bottom: 30px; border-bottom: 1px solid #3a3b40; }
.footer-grid h4 { color: #fff; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 14px; }
.footer-grid p { font-size: 13px; color: #9fa1a6; line-height: 1.6; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; font-size: 13px; }
.footer-bottom { padding-top: 18px; font-size: 12px; color: #7d7f85; }

.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty-state h1 { color: var(--ink); font-size: 28px; }
.btn { display: inline-block; margin-top: 16px; background: var(--accent); color: #fff; padding: 10px 20px; border-radius: 6px; font-weight: 600; }

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .hero, .picks-split, .travel-feature { grid-template-columns: 1fr; }
  .tech-row, .lifestyle-grid, .travel-small, .popular-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
