:root {
  --bg: #f7f8fc;
  --bg-alt: #ffffff;
  --text: #1a1a2e;
  --text-soft: #4b5563;
  --muted: #6b7280;
  --primary: #e94560;
  --primary-dark: #c73550;
  --secondary: #0f3460;
  --secondary-light: #16213e;
  --accent: #f9c74f;
  --accent-soft: #43aa8b;
  --border: #e5e7eb;
  --card-bg: rgba(255, 255, 255, 0.86);
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.6);
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 8px 28px rgba(26, 26, 46, 0.1);
  --shadow-lg: 0 16px 48px rgba(26, 26, 46, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --gradient-banner: linear-gradient(135deg, #1a1a2e 0%, #0f3460 45%, #e94560 120%);
  --gradient-primary: linear-gradient(135deg, #e94560 0%, #f3722c 100%);
  --gradient-accent: linear-gradient(135deg, #f9c74f 0%, #43aa8b 100%);
  --header-bg: rgba(15, 52, 96, 0.92);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.dark-mode {
  --bg: #0d0d17;
  --bg-alt: #14141f;
  --text: #ececf5;
  --text-soft: #c3c3d4;
  --muted: #9ca3af;
  --primary: #ff5c77;
  --primary-dark: #e94560;
  --secondary: #1a1a2e;
  --secondary-light: #16213e;
  --accent: #f9c74f;
  --border: #2a2a3e;
  --card-bg: rgba(26, 26, 46, 0.72);
  --glass-bg: rgba(26, 26, 46, 0.55);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --gradient-banner: linear-gradient(135deg, #0d0d17 0%, #1a1a2e 45%, #e94560 130%);
  --header-bg: rgba(13, 13, 23, 0.92);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(233, 69, 96, 0.08), transparent 40%),
    radial-gradient(circle at 88% 22%, rgba(249, 199, 79, 0.08), transparent 42%),
    radial-gradient(circle at 50% 100%, rgba(15, 52, 96, 0.08), transparent 55%);
  background-attachment: fixed;
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--primary-dark);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 600;
  transition: top 0.3s var(--ease);
}

.skip-link:focus {
  top: 12px;
  text-decoration: none;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 10px 0;
  transition: box-shadow 0.3s var(--ease), padding 0.3s var(--ease), background 0.4s var(--ease);
}

.site-header.sticky {
  box-shadow: var(--shadow-md);
  padding: 6px 0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.92;
}

.brand-logo {
  border-radius: 10px;
  transition: transform 0.5s var(--ease);
}

.brand:hover .brand-logo {
  transform: rotate(-8deg) scale(1.06);
}

.brand-name {
  background: linear-gradient(90deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-nav {
  flex: 1 1 auto;
}

.main-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.main-nav a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
  background: rgba(233, 69, 96, 0.28);
  text-decoration: none;
  transform: translateY(-2px);
}

.site-search {
  display: flex;
  gap: 6px;
  margin-left: auto;
  align-items: center;
}

.site-search input {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
  width: 200px;
  transition: width 0.35s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-search input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.site-search input:focus {
  width: 240px;
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent);
  outline: none;
}

.site-search button {
  padding: 8px 18px;
  border: none;
  border-radius: 999px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(233, 69, 96, 0.4);
}

.theme-toggle,
.menu-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s var(--ease), transform 0.3s var(--ease);
  flex-shrink: 0;
}

.theme-toggle:hover,
.menu-toggle:hover {
  background: rgba(233, 69, 96, 0.35);
  transform: rotate(12deg) scale(1.05);
}

.menu-toggle {
  display: none;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  max-width: 1200px;
  margin: 20px auto 0;
  padding: 0 20px;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--muted);
  opacity: 0.6;
}

.breadcrumb a {
  color: var(--text-soft);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb li[aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
}

/* ===== Hero / Banner ===== */
.hero {
  position: relative;
  max-width: 1200px;
  margin: 20px auto 56px;
  padding: 0 20px;
}

.hero-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gradient-banner);
  min-height: 360px;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(249, 199, 79, 0.28), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(233, 69, 96, 0.3), transparent 50%);
  z-index: 0;
  pointer-events: none;
}

.slide {
  display: none;
  position: relative;
  z-index: 1;
  padding: 32px 36px 64px;
  color: #fff;
  animation: slideIn 0.7s var(--ease) both;
}

.slide.active {
  display: block;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide svg {
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-height: 300px;
  object-fit: cover;
}

.slide-title {
  font-size: 30px;
  line-height: 1.35;
  margin: 20px 0 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.slide-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 660px;
  margin: 0;
}

.slider-controls {
  position: absolute;
  bottom: 18px;
  right: 24px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.slider-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.slider-controls button:hover {
  background: var(--primary);
  transform: scale(1.1);
}

/* ===== Sections ===== */
main {
  display: block;
}

section {
  max-width: 1200px;
  margin: 0 auto 56px;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

h1 {
  font-size: 34px;
  line-height: 1.4;
  margin: 28px 0 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(120deg, var(--secondary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark-mode h1 {
  background: linear-gradient(120deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 26px;
  margin: 36px 0 18px;
  padding-left: 16px;
  position: relative;
  font-weight: 800;
  line-height: 1.4;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 6px;
  border-radius: 3px;
  background: var(--gradient-primary);
}

h3 {
  font-size: 20px;
  margin: 26px 0 12px;
  font-weight: 700;
  color: var(--secondary);
}

body.dark-mode h3 {
  color: var(--accent);
}

h4 {
  font-size: 17px;
  margin: 18px 0 8px;
  font-weight: 700;
  color: var(--primary);
}

p {
  margin: 0 0 14px;
  color: var(--text-soft);
}

.intro-lead {
  font-size: 17px;
  line-height: 1.9;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 22px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  border-left: 5px solid var(--primary);
  box-shadow: var(--shadow-sm);
  color: var(--text);
}

/* ===== Cards ===== */
.article-card {
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.article-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--gradient-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(233, 69, 96, 0.4);
}

.article-card:hover::after {
  transform: scaleY(1);
}

.article-card h3 {
  margin-top: 0;
  font-size: 19px;
}

.article-card h3 a {
  color: var(--text);
}

.article-card h3 a:hover {
  color: var(--primary);
  text-decoration: none;
}

.meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.summary {
  font-size: 15px;
  margin-bottom: 12px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(233, 69, 96, 0.1);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), gap 0.25s var(--ease);
}

.read-more::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.read-more:hover {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}

.read-more:hover::after {
  transform: translateX(4px);
}

/* ===== News ===== */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.news-list li {
  padding: 14px 22px;
  border-bottom: 1px dashed var(--border);
  color: var(--text-soft);
  transition: background 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list li:hover {
  background: rgba(233, 69, 96, 0.06);
  padding-left: 28px;
}

.news-list time {
  color: var(--primary);
  margin-right: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ===== HowTo ===== */
.howto ol {
  padding-left: 0;
  list-style: none;
  counter-reset: step;
}

.howto ol li {
  counter-increment: step;
  position: relative;
  padding: 12px 16px 12px 56px;
  margin-bottom: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(233, 69, 96, 0.3);
}

.howto ol li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

/* ===== FAQ ===== */
details {
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

details:hover {
  border-color: rgba(233, 69, 96, 0.35);
  box-shadow: var(--shadow-sm);
}

details summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 52px 16px 22px;
  position: relative;
  list-style: none;
  color: var(--text);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.3s var(--ease);
}

details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

details[open] summary {
  color: var(--primary);
  background: rgba(233, 69, 96, 0.06);
}

details p {
  padding: 0 22px 18px;
  margin: 0;
  animation: fadeIn 0.4s var(--ease);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Contact ===== */
.contact {
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
}

.contact h2 {
  margin-top: 0;
}

address {
  font-style: normal;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 24px;
  margin: 18px 0;
}

address p {
  margin: 0;
  padding: 10px 14px;
  background: rgba(15, 52, 96, 0.06);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

body.dark-mode address p {
  background: rgba(255, 255, 255, 0.05);
}

address p:hover {
  background: rgba(233, 69, 96, 0.1);
  transform: translateY(-2px);
}

/* ===== Sitemap & Friends ===== */
.sitemap ul,
.friends ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sitemap li,
.friends li {
  flex: 0 0 auto;
}

.sitemap a,
.friends a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-soft);
  transition: all 0.28s var(--ease);
}

.sitemap a:hover,
.friends a:hover {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(233, 69, 96, 0.3);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--gradient-banner);
  color: rgba(255, 255, 255, 0.8);
  padding: 44px 20px 32px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 10%, rgba(249, 199, 79, 0.15), transparent 45%);
  pointer-events: none;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.footer-inner p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 10px;
}

.footer-brand {
  font-size: 20px;
  font-weight: 800;
  color: #fff !important;
  letter-spacing: 0.5px;
  margin-bottom: 14px !important;
}

.footer-inner a {
  color: var(--accent);
}

.footer-inner a:hover {
  color: #fff;
}

.copyright {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 13px;
  margin-top: 16px !important;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  z-index: 99;
  box-shadow: 0 8px 24px rgba(233, 69, 96, 0.4);
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 12px 30px rgba(233, 69, 96, 0.55);
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  section {
    opacity: 1;
    transform: none;
  }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .main-nav ul {
    gap: 2px;
  }
  .main-nav a {
    padding: 6px 9px;
    font-size: 13px;
  }
  .site-search input {
    width: 150px;
  }
  .site-search input:focus {
    width: 180px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    gap: 10px;
    padding: 0 14px;
  }

  .brand-name {
    font-size: 18px;
  }

  .menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .theme-toggle {
    order: 4;
  }

  .main-nav {
    display: none;
    order: 5;
    width: 100%;
    flex-basis: 100%;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    animation: fadeIn 0.35s var(--ease);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .main-nav a {
    display: block;
    padding: 10px 14px;
    font-size: 15px;
    border-radius: var(--radius-sm);
  }

  .site-search {
    order: 6;
    width: 100%;
    margin-left: 0;
    padding-top: 8px;
  }

  .site-search input,
  .site-search input:focus {
    flex: 1;
    width: auto;
  }

  .hero {
    padding: 0 14px;
    margin-top: 14px;
    margin-bottom: 36px;
  }

  .hero-slider {
    min-height: 300px;
    border-radius: var(--radius-md);
  }

  .slide {
    padding: 20px 20px 66px;
  }

  .slide svg {
    max-height: 180px;
  }

  .slide-title {
    font-size: 22px;
    margin-top: 14px;
  }

  .slide-desc {
    font-size: 14px;
  }

  .slider-controls {
    bottom: 14px;
    right: 16px;
  }

  .slider-controls button {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  section {
    padding: 0 14px;
    margin-bottom: 40px;
  }

  h1 {
    font-size: 25px;
  }

  h2 {
    font-size: 21px;
    padding-left: 13px;
  }

  h3 {
    font-size: 18px;
  }

  .intro-lead {
    padding: 16px 18px;
    font-size: 15px;
  }

  .article-card {
    padding: 18px;
  }

  .contact {
    padding: 24px 18px;
  }

  address {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 22px;
  }
  .slide-title {
    font-size: 19px;
  }
  .brand-name {
    font-size: 16px;
  }
  .brand-logo {
    width: 34px;
    height: 34px;
  }
  .sitemap a,
  .friends a {
    padding: 7px 14px;
    font-size: 13px;
  }
}
</style>