*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --c1: #d97706;
  --c2: #78350f;
  --cl: #fffbeb;
  --acc: #10b981;
  --text: #111827;
  --muted: #6b7280;
  --bg: #f9fafb;
  --white: #fff;
  --border: #e5e7eb;
  --r: 10px;
}
body { font-family: 'Josefin Sans', sans-serif; color: var(--text); background: var(--bg); line-height: 1.65; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.top-bar { background: var(--c2); color: rgba(255,255,255,0.8); font-size: 12px; padding: 6px 0; }
.top-bar .wrap { display: flex; justify-content: space-between; }

.hdr { background: var(--white); border-bottom: 2px solid var(--cl); position: sticky; top: 0; z-index: 100; }
.hdr-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand-link { display: flex; align-items: center; gap: 10px; }
.brand-ico { font-size: 28px; }
.brand-txt { display: flex; flex-direction: column; }
.bn { font-size: 18px; font-weight: 700; color: var(--c2); line-height: 1.1; }
.bs { font-size: 11px; color: var(--muted); }
.topnav { display: flex; gap: 4px; }
.nlink { padding: 7px 14px; border-radius: 8px; font-weight: 600; font-size: 14px; color: var(--muted); transition: all 0.2s; }
.nlink:hover, .nlink.cur { background: var(--cl); color: var(--c2); }
.hmb { display: none; background: none; border: 1px solid var(--border); padding: 7px 11px; border-radius: 8px; cursor: pointer; font-size: 18px; }
.drp { display: none; flex-direction: column; background: var(--white); border-top: 1px solid var(--border); }
.drp a { padding: 11px 20px; font-weight: 600; border-bottom: 1px solid var(--border); }
.drp.open { display: flex; }

.banner { position: relative; min-height: 460px; display: flex; align-items: center; overflow: hidden; }
.banner-photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.banner-shade { position: absolute; inset: 0; background: linear-gradient(135deg, #78350fee 0%, #d9770677 100%); }
.banner-content { position: relative; z-index: 1; color: var(--white); padding: 72px 0; max-width: 600px; }
.banner-label { display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 16px; }
.banner-content h1 { font-family: 'Spectral', serif; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.25; margin-bottom: 14px; }
.banner-content p { font-size: 15px; opacity: 0.9; margin-bottom: 24px; }
.banner-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.bb-solid { background: var(--white); color: var(--c2); padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 14px; transition: transform 0.2s; }
.bb-solid:hover { transform: translateY(-2px); }
.bb-outline { border: 2px solid rgba(255,255,255,0.6); color: var(--white); padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 14px; }

.main-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding: 48px 0; }
.main-col { display: flex; flex-direction: column; gap: 40px; }
.posts-section { }
.posts-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.posts-head h2 { font-family: 'Spectral', serif; font-size: 1.6rem; }
.posts-head a { color: var(--c1); font-weight: 600; font-size: 14px; }
.posts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: transform 0.2s; }
.card:hover { transform: translateY(-3px); }
.card-photo { position: relative; height: 190px; overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-photo img { transform: scale(1.05); }
.badge { position: absolute; top: 10px; left: 10px; background: var(--c1); color: var(--white); padding: 3px 10px; border-radius: 20px; font-size: 10px; font-weight: 700; }
.card-info { padding: 18px; }
.card-info h3 { font-size: 13px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.card-info p { font-size: 12px; color: var(--muted); margin-bottom: 12px; line-height: 1.6; }
.more-link { color: var(--c1); font-weight: 700; font-size: 12px; }

.promo-box { background: linear-gradient(135deg, var(--c2) 0%, var(--c1) 100%); color: var(--white); padding: 32px; border-radius: var(--r); }
.promo-box h3 { font-family: 'Spectral', serif; font-size: 1.4rem; margin-bottom: 12px; }
.promo-box p { font-size: 14px; opacity: 0.9; margin-bottom: 20px; }
.promo-btn { display: inline-block; background: var(--white); color: var(--c2); padding: 10px 22px; border-radius: 8px; font-weight: 700; font-size: 14px; }

.sidebar-col { display: flex; flex-direction: column; gap: 24px; }
.widget { background: var(--white); border-radius: var(--r); padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.widget-h { font-size: 15px; font-weight: 700; color: var(--c2); border-bottom: 2px solid var(--cl); padding-bottom: 10px; margin-bottom: 16px; }
.widget p { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.side-form { display: flex; flex-direction: column; gap: 10px; }
.side-form input { padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-family: inherit; outline: none; }
.side-form button { background: var(--c1); color: var(--white); padding: 10px; border: none; border-radius: 8px; font-weight: 700; font-size: 13px; cursor: pointer; }
.cats { display: flex; flex-direction: column; gap: 8px; }
.cat-link { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: var(--cl); border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--c2); transition: background 0.2s; }
.cat-link:hover { background: var(--c1); color: var(--white); }
.cat-link span { background: var(--white); color: var(--c2); padding: 2px 8px; border-radius: 10px; font-size: 11px; }
.popular { display: flex; flex-direction: column; gap: 12px; }
.pop-item { display: flex; gap: 12px; align-items: flex-start; }
.pop-item img { width: 60px; height: 48px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.pop-item span { font-size: 12px; font-weight: 600; line-height: 1.4; color: var(--text); }

.pg-head { background: linear-gradient(135deg, var(--c2) 0%, var(--c1) 100%); padding: 48px 0; color: var(--white); text-align: center; }
.pg-head h1 { font-family: 'Spectral', serif; font-size: 2.2rem; margin-bottom: 8px; }
.pg-head p { font-size: 14px; opacity: 0.85; }

.about-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.legal-box { max-width: 780px; margin: 0 auto; background: var(--white); padding: 48px; border-radius: var(--r); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.legal-box h2 { font-family: 'Spectral', serif; font-size: 1.3rem; color: var(--c2); margin: 24px 0 12px; }
.legal-box p { color: var(--muted); line-height: 1.8; margin-bottom: 12px; }

.ftr { background: #111827; color: #9ca3af; }
.ftr-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding: 48px 0 36px; }
.ftr-about .bn { color: var(--white); }
.ftr-about p { margin-top: 12px; font-size: 13px; line-height: 1.7; }
.ftr-col h4 { color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.ftr-col { display: flex; flex-direction: column; gap: 10px; }
.ftr-col a { font-size: 13px; transition: color 0.2s; }
.ftr-col a:hover { color: var(--white); }
.ftr-col p { font-size: 13px; }
.ftr-bar { border-top: 1px solid #1f2937; padding: 16px 0; text-align: center; font-size: 12px; }

.ck-notice { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #1f2937; color: var(--white); padding: 16px 24px; border-radius: var(--r); display: flex; align-items: center; gap: 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.3); z-index: 999; max-width: 540px; width: calc(100% - 40px); }
.ck-notice p { font-size: 13px; }
.ck-notice a { color: #d97706; }
.ck-notice button { background: var(--c1); color: var(--white); border: none; padding: 8px 18px; border-radius: 8px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.ck-notice.hidden { display: none; }

@media (max-width: 1000px) {
  .main-layout { grid-template-columns: 1fr; }
  .sidebar-col { display: grid; grid-template-columns: 1fr 1fr; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .about-2col { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .topnav { display: none; }
  .hmb { display: block; }
  .posts-grid { grid-template-columns: 1fr; }
  .sidebar-col { display: flex; }
  .ftr-grid { grid-template-columns: 1fr; }
  .ck-notice { flex-direction: column; text-align: center; }
  .top-bar .wrap { flex-direction: column; gap: 4px; }
}
