/* Контентные страницы: «Идеи подарков» и SEO-страницы */
html, body { overflow-x: clip; }
.c-wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.c-wrap.narrow { width: min(820px, 100% - 40px); }
.c-nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.c-nav .c-wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.c-nav nav { display: flex; gap: 4px; }
.c-nav nav a { padding: 8px 14px; border-radius: 99px; color: var(--ink-2); font-weight: 500; }
.c-nav nav a:hover { background: var(--surface-2); color: var(--ink); }
.c-cta { margin-left: auto; }
@media (max-width: 720px) { .c-nav nav { display: none; } }

.c-hero { padding: 48px 0 28px; background: radial-gradient(60% 100% at 90% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%); }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 16px; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--accent); }
.c-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -.045em; line-height: 1.02; margin: 0 0 16px; }
.c-lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); line-height: 1.55; max-width: 720px; margin: 0 0 26px; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; }

.ideas { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin: 20px 0 30px; }
.ideas.small { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.idea { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 18px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--sh-1); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.idea:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.idea-em { width: 64px; height: 64px; border-radius: 20px; background: var(--p1); display: flex; align-items: center; justify-content: center; font-size: 36px; }
.idea:nth-child(6n+2) .idea-em { background: var(--p2); } .idea:nth-child(6n+3) .idea-em { background: var(--p3); }
.idea:nth-child(6n+4) .idea-em { background: var(--p4); } .idea:nth-child(6n+5) .idea-em { background: var(--p5); } .idea:nth-child(6n) .idea-em { background: var(--p6); }
.idea h3 { margin: 6px 0 0; font-size: 17px; line-height: 1.3; }
.idea p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.45; flex: 1; }
.idea-price { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--accent); letter-spacing: -.02em; }
.idea-add { margin-top: 4px; }
.idea-shops { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.idea-shops a { color: var(--ink-3); font-weight: 500; }
.idea-shops a:hover { color: var(--accent); }
.ad-note { font-size: 12px; color: var(--ink-3); }

.c-article { padding-bottom: 40px; }
.c-article h2 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.035em; margin: 44px 0 12px; }
.c-article p { color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.c-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 36px 0 8px; }
.c-features div { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.c-features b { display: block; color: var(--ink); margin-bottom: 4px; }
@media (max-width: 600px) { .c-features { grid-template-columns: 1fr; } }
.more { color: var(--accent); font-weight: 600; }
.c-article details { border-bottom: 1px solid var(--line-2); padding: 4px 0; }
.c-article summary { cursor: pointer; font-weight: 600; font-size: 17px; padding: 14px 0; }
.c-article details p { margin: 0 0 14px; }

.c-cta-box { margin: 40px 0 60px; padding: 44px 30px; border-radius: 30px; text-align: center; color: #fff;
  background: radial-gradient(50% 80% at 50% 120%, color-mix(in srgb, var(--rasp) 70%, transparent), transparent), var(--plum); }
.c-cta-box h2 { color: #fff; margin: 0 0 10px; font-family: var(--display); font-size: clamp(24px, 3vw, 34px); letter-spacing: -.04em; }
.c-cta-box p { color: rgba(255,255,255,.78); margin: 0 auto 24px; max-width: 520px; }

.c-foot { border-top: 1px solid var(--line); padding: 44px 0 50px; color: var(--ink-2); font-size: 14px; }
.c-foot .c-wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.c-foot p { max-width: 320px; line-height: 1.6; }
.c-links { display: flex; flex-direction: column; gap: 8px; }
.c-links b { color: var(--ink); margin-bottom: 4px; }
.c-links a:hover { color: var(--accent); }
@media (max-width: 720px) { .c-foot .c-wrap { grid-template-columns: 1fr; } }

/* тёмная тема */
[data-theme="dark"] .c-hero { background: radial-gradient(60% 100% at 90% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%); }
[data-theme="dark"] .c-cta-box { box-shadow: 0 0 0 1px var(--line); }
[data-theme="dark"] .idea-shops a { color: var(--ink-2); }
