/*
Theme Name: Custom Auto Theme
Author: System
Version: 1.0
*/
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
:root {
  --s-white: #ffffff;
  --s-bg: #f7f7f5;
  --s-bg2: #eceae4;
  --s-yellow: #f5c842;
  --s-yellow-light: #fef9e7;
  --s-yellow-dark: #c9a115;
  --s-text: #1a1a1a;
  --s-text-soft: #71706b;
  --s-border: #e0ddd6;
  --s-radius: 16px;
  --s-font-head: 'Cormorant Garamond', Georgia, serif;
  --s-font-body: 'Outfit', sans-serif;
  --s-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
body { font-family: var(--s-font-body); background: var(--s-bg); color: var(--s-text); font-size: 16px; line-height: 1.75; min-height: 100vh; }

/* NAV */
.s-nav { background: var(--s-white); border-bottom: 1px solid var(--s-border); position: sticky; top: 0; z-index: 100; }
.s-nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 62px; }
.s-logo { font-family: var(--s-font-head); font-size: 1.9rem; font-weight: 700; color: var(--s-text); text-decoration: none; letter-spacing: -1px; }
.s-logo em { font-style: normal; color: var(--s-yellow-dark); }
.s-nav-links { display: flex; gap: 6px; list-style: none; }
.s-nav-links a { font-size: 0.85rem; font-weight: 500; color: var(--s-text-soft); text-decoration: none; padding: 6px 14px; border-radius: 50px; transition: all 0.2s; }
.s-nav-links a:hover, .s-nav-links a.active { background: var(--s-yellow-light); color: var(--s-text); }
.s-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.s-burger span { display: block; width: 24px; height: 2px; background: var(--s-text); border-radius: 2px; transition: 0.3s; }
.s-mobile-menu { display: none; background: var(--s-white); border-top: 1px solid var(--s-border); padding: 12px 20px; }
.s-mobile-menu.open { display: block; }
.s-mobile-menu a { display: block; padding: 10px 0; color: var(--s-text); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--s-bg2); font-size: 0.95rem; }

/* HERO */
.s-hero { background: var(--s-white); padding: 56px 20px 48px; border-bottom: 3px solid var(--s-yellow); }
.s-hero-inner { max-width: 780px; margin: 0 auto; }
.s-hero-tag { display: inline-block; background: var(--s-yellow); color: var(--s-text); font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 5px 16px; border-radius: 50px; margin-bottom: 20px; }
.s-hero h1 { font-family: var(--s-font-head); font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.15; margin-bottom: 20px; color: var(--s-text); }
.s-hero-lead { font-size: 1.1rem; color: var(--s-text-soft); max-width: 640px; margin-bottom: 20px; line-height: 1.85; }
.s-author { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.s-author-dot { width: 38px; height: 38px; border-radius: 50%; background: var(--s-yellow); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; color: var(--s-text); flex-shrink: 0; }
.s-author-info { font-size: 0.82rem; color: var(--s-text-soft); }
.s-author-info strong { color: var(--s-text); font-weight: 600; }

/* HORIZONTAL SCROLL */
.s-hscroll-wrap { padding: 40px 0; overflow: hidden; }
.s-hscroll-wrap .s-section-head { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.s-hscroll { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 20px 28px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--s-yellow) var(--s-bg2); }
.s-hscroll::-webkit-scrollbar { height: 6px; }
.s-hscroll::-webkit-scrollbar-track { background: var(--s-bg2); border-radius: 3px; }
.s-hscroll::-webkit-scrollbar-thumb { background: var(--s-yellow); border-radius: 3px; }
.s-hcard { min-width: 300px; max-width: 340px; flex-shrink: 0; scroll-snap-align: start; background: var(--s-white); border-radius: var(--s-radius); padding: 28px 24px; box-shadow: var(--s-shadow); border: 1px solid var(--s-border); transition: transform 0.3s, box-shadow 0.3s; position: relative; }
.s-hcard:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
.s-hcard-num { font-family: var(--s-font-head); font-size: 2.8rem; font-weight: 700; color: var(--s-bg2); line-height: 1; margin-bottom: 8px; }
.s-hcard h3 { font-family: var(--s-font-head); font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: var(--s-text); }
.s-hcard p { font-size: 0.88rem; color: var(--s-text-soft); line-height: 1.7; }
.s-hcard-tag { display: inline-block; background: var(--s-yellow-light); color: var(--s-yellow-dark); font-size: 0.7rem; font-weight: 600; padding: 3px 10px; border-radius: 50px; margin-top: 14px; }
.s-hcard-accent { border-top: 3px solid var(--s-yellow); }

/* SECTION HEAD */
.s-section-head { margin-bottom: 8px; }
.s-section-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--s-yellow-dark); margin-bottom: 6px; }
.s-section-title { font-family: var(--s-font-head); font-size: 1.8rem; font-weight: 700; color: var(--s-text); margin-bottom: 6px; }
.s-section-sub { font-size: 0.92rem; color: var(--s-text-soft); }

/* CONTENT BLOCK */
.s-content { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.s-content-narrow { max-width: 780px; margin: 0 auto; padding: 40px 20px; }
.s-prose { background: var(--s-white); border-radius: var(--s-radius); padding: 32px 36px; box-shadow: var(--s-shadow); margin-bottom: 28px; }
.s-prose h2 { font-family: var(--s-font-head); font-size: 1.55rem; font-weight: 700; color: var(--s-text); margin-bottom: 14px; }
.s-prose h3 { font-family: var(--s-font-head); font-size: 1.25rem; font-weight: 700; color: var(--s-text); margin-bottom: 10px; }
.s-prose p { color: var(--s-text-soft); margin-bottom: 14px; }
.s-prose p:last-child { margin-bottom: 0; }

/* IMAGE */
.s-img-block { border-radius: var(--s-radius); overflow: hidden; margin-bottom: 28px; box-shadow: var(--s-shadow); }
.s-img-block img { width: 100%; height: 320px; object-fit: cover; display: block; }
.s-img-caption { background: var(--s-white); padding: 12px 20px; font-size: 0.8rem; color: var(--s-text-soft); font-style: italic; }

/* QUOTE */
.s-quote-block { background: var(--s-yellow-light); border-left: 4px solid var(--s-yellow); border-radius: 0 var(--s-radius) var(--s-radius) 0; padding: 28px 32px; margin-bottom: 28px; }
.s-quote-block blockquote { font-family: var(--s-font-head); font-size: 1.2rem; font-weight: 600; color: var(--s-text); line-height: 1.55; font-style: italic; margin-bottom: 8px; }
.s-quote-block cite { font-size: 0.78rem; color: var(--s-text-soft); font-style: normal; }

/* HIGHLIGHT */
.s-highlight { background: var(--s-text); color: var(--s-white); border-radius: var(--s-radius); padding: 32px 36px; margin-bottom: 28px; position: relative; overflow: hidden; }
.s-highlight::after { content: '✦'; position: absolute; right: 24px; top: 16px; font-size: 5rem; opacity: 0.06; color: var(--s-yellow); }
.s-highlight h3 { font-family: var(--s-font-head); font-size: 1.35rem; margin-bottom: 12px; color: var(--s-yellow); }
.s-highlight p { font-size: 0.92rem; opacity: 0.85; line-height: 1.75; }
.s-highlight ul { margin: 14px 0 0 18px; }
.s-highlight ul li { font-size: 0.9rem; opacity: 0.85; margin-bottom: 6px; }

/* TWO COL LAYOUT */
.s-two-col { display: grid; grid-template-columns: 1fr 320px; gap: 32px; max-width: 1200px; margin: 0 auto; padding: 0 20px 40px; align-items: start; }
.s-sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 20px; }
.s-sidebar-card { background: var(--s-white); border-radius: var(--s-radius); padding: 22px 18px; box-shadow: var(--s-shadow); }
.s-sidebar-card h4 { font-family: var(--s-font-head); font-size: 1rem; font-weight: 700; color: var(--s-text); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--s-bg2); }
.s-side-link { display: block; padding: 10px 0; text-decoration: none; color: var(--s-text); font-size: 0.88rem; font-weight: 500; border-bottom: 1px solid var(--s-bg2); transition: color 0.2s; }
.s-side-link:last-child { border-bottom: none; }
.s-side-link:hover { color: var(--s-yellow-dark); }
.s-side-link span { font-size: 0.72rem; color: var(--s-yellow-dark); font-weight: 600; display: block; margin-top: 2px; }
.s-side-tip { background: var(--s-yellow-light); border-radius: 12px; padding: 16px; margin-bottom: 10px; }
.s-side-tip p { font-size: 0.84rem; color: var(--s-text); }
.s-side-tip-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--s-yellow-dark); margin-bottom: 4px; }

/* REC CARDS */
.s-rec-card { display: flex; gap: 16px; background: var(--s-white); border-radius: 12px; padding: 20px; box-shadow: var(--s-shadow); margin-bottom: 16px; align-items: flex-start; transition: transform 0.2s; }
.s-rec-card:hover { transform: translateX(4px); }
.s-rec-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--s-yellow-light); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.s-rec-card h4 { font-family: var(--s-font-head); font-size: 1rem; font-weight: 700; color: var(--s-text); margin-bottom: 5px; }
.s-rec-card p { font-size: 0.84rem; color: var(--s-text-soft); }

/* TAGS */
.s-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.s-tag { background: var(--s-bg2); color: var(--s-text-soft); border-radius: 50px; padding: 5px 14px; font-size: 0.78rem; font-weight: 500; transition: all 0.2s; cursor: default; }
.s-tag:hover { background: var(--s-yellow-light); color: var(--s-yellow-dark); }

/* NEWSLETTER */
.s-newsletter { background: var(--s-text); border-radius: var(--s-radius); padding: 32px 24px; color: var(--s-white); text-align: center; margin-bottom: 28px; }
.s-newsletter h3 { font-family: var(--s-font-head); font-size: 1.25rem; margin-bottom: 8px; }
.s-newsletter p { font-size: 0.84rem; opacity: 0.75; margin-bottom: 16px; }
.s-nl-input { width: 100%; padding: 11px 16px; border-radius: 50px; border: none; font-family: var(--s-font-body); font-size: 0.88rem; margin-bottom: 10px; outline: none; background: rgba(255,255,255,0.12); color: #fff; }
.s-nl-input::placeholder { color: rgba(255,255,255,0.5); }
.s-nl-btn { width: 100%; padding: 11px; background: var(--s-yellow); color: var(--s-text); font-weight: 700; font-size: 0.88rem; border: none; border-radius: 50px; cursor: pointer; transition: opacity 0.2s; font-family: var(--s-font-body); }
.s-nl-btn:hover { opacity: 0.85; }

/* CONCLUSION */
.s-conclusion { background: var(--s-yellow-light); border-radius: var(--s-radius); padding: 32px 36px; border-left: 5px solid var(--s-yellow); margin-bottom: 28px; }
.s-conclusion h3 { font-family: var(--s-font-head); font-size: 1.35rem; color: var(--s-text); margin-bottom: 12px; }
.s-conclusion p { color: var(--s-text-soft); font-size: 0.95rem; margin-bottom: 10px; }

/* ARTICLE GRID - for articles page */
.s-article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-bottom: 32px; }
.s-article-card { background: var(--s-white); border-radius: var(--s-radius); overflow: hidden; box-shadow: var(--s-shadow); transition: transform 0.3s, box-shadow 0.3s; text-decoration: none; color: inherit; display: block; }
.s-article-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
.s-article-card-body { padding: 22px 20px; }
.s-article-card-cat { font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--s-yellow-dark); margin-bottom: 6px; display: inline-block; }
.s-article-card h3 { font-family: var(--s-font-head); font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--s-text); }
.s-article-card p { font-size: 0.85rem; color: var(--s-text-soft); line-height: 1.65; }

/* FOOTER */
.s-footer { background: var(--s-text); color: rgba(255,255,255,0.65); padding: 44px 20px 20px; }
.s-footer-inner { max-width: 1200px; margin: 0 auto; }
.s-footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; margin-bottom: 32px; }
.s-footer-brand .s-logo { color: #fff; font-size: 1.6rem; display: inline-block; margin-bottom: 10px; }
.s-footer-brand p { font-size: 0.84rem; line-height: 1.7; max-width: 300px; }
.s-footer-col h5 { color: #fff; font-size: 0.8rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
.s-footer-col a { display: block; color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.84rem; margin-bottom: 8px; transition: color 0.2s; }
.s-footer-col a:hover { color: #fff; }
.s-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; align-items: center; }
.s-footer-copy { font-size: 0.78rem; }
.s-footer-disclaimer { font-size: 0.72rem; opacity: 0.55; margin-top: 12px; max-width: 700px; line-height: 1.6; }
.s-footer-legal { display: flex; gap: 16px; }
.s-footer-legal a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.76rem; transition: color 0.2s; }
.s-footer-legal a:hover { color: #fff; }

/* COOKIE BANNER */
.s-cookie-check { display: none; }
.s-cookie-banner { position: fixed; bottom: 20px; right: 20px; background: var(--s-white); border-radius: var(--s-radius); padding: 22px 24px; box-shadow: 0 8px 40px rgba(0,0,0,0.15); z-index: 200; max-width: 380px; border: 1px solid var(--s-border); }
.s-cookie-check:checked ~ .s-cookie-banner { display: none; }
.s-cookie-banner h4 { font-family: var(--s-font-head); font-size: 1rem; margin-bottom: 8px; }
.s-cookie-banner p { font-size: 0.8rem; color: var(--s-text-soft); margin-bottom: 14px; line-height: 1.6; }
.s-cookie-banner a { color: var(--s-yellow-dark); }
.s-cookie-btns { display: flex; gap: 10px; }
.s-cookie-btns label { padding: 8px 18px; border-radius: 50px; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: opacity 0.2s; border: none; font-family: var(--s-font-body); min-height: 44px; display: flex; align-items: center; }
.s-cookie-accept { background: var(--s-yellow); color: var(--s-text); }
.s-cookie-reject { background: var(--s-bg2); color: var(--s-text-soft); }
.s-cookie-btns label:hover { opacity: 0.8; }

/* LEGAL PAGES */
.s-legal { max-width: 780px; margin: 0 auto; padding: 40px 20px; }
.s-legal h1 { font-family: var(--s-font-head); font-size: 2rem; margin-bottom: 24px; }
.s-legal h2 { font-family: var(--s-font-head); font-size: 1.3rem; margin: 24px 0 10px; }
.s-legal p { color: var(--s-text-soft); margin-bottom: 12px; font-size: 0.92rem; }

/* SUCCESS / 404 */
.s-center-page { max-width: 600px; margin: 0 auto; padding: 80px 20px; text-align: center; }
.s-center-page h1 { font-family: var(--s-font-head); font-size: 2.5rem; margin-bottom: 16px; }
.s-center-page p { color: var(--s-text-soft); margin-bottom: 24px; font-size: 1.05rem; }
.s-btn { display: inline-block; background: var(--s-yellow); color: var(--s-text); padding: 12px 28px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.92rem; transition: opacity 0.2s; min-height: 44px; }
.s-btn:hover { opacity: 0.85; }

/* ANIMATIONS */
@keyframes s-fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.s-anim { animation: s-fade-up 0.5s ease forwards; }
.s-anim-d1 { animation: s-fade-up 0.5s 0.1s ease both; }
.s-anim-d2 { animation: s-fade-up 0.5s 0.2s ease both; }
.s-anim-d3 { animation: s-fade-up 0.5s 0.3s ease both; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .s-two-col { grid-template-columns: 1fr; }
  .s-sidebar { position: static; }
  .s-footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .s-nav-links { display: none; }
  .s-burger { display: flex; }
  .s-hero { padding: 36px 16px 32px; }
  .s-hero h1 { font-size: 1.8rem; }
  .s-prose { padding: 22px 18px; }
  .s-highlight { padding: 24px 18px; }
  .s-conclusion { padding: 24px 18px; }
  .s-footer-top { grid-template-columns: 1fr; gap: 24px; }
  .s-footer-bottom { flex-direction: column; align-items: flex-start; }
  .s-cookie-banner { left: 12px; right: 12px; max-width: none; bottom: 12px; }
  .s-hcard { min-width: 270px; }
}