/*
Theme Name: Rogeniancn
Theme URI: https://www.rogenilan.net/
Author: Rogeniancn
Description: 罗格尼兰门窗企业官网主题，复刻原站首页结构并保留 WordPress 内容管理能力。
Version: 1.7.1
Text Domain: rogeniancn
*/

:root {
  --gold: #d3bb92;
  --ink: #231815;
  --text: #686563;
  --muted: #92908e;
  --paper: #ffffff;
  --pale: #f4f5f4;
  --footer: #201a18;
  --line: #e8e5e0;
  --content: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; transition: color .25s ease, opacity .25s ease; }
a:hover { color: var(--gold); }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
.wrap { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; }
.eyebrow {
  margin: 0;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}
.section-title { margin: 10px 0 0; color: #777; font-size: 20px; text-align: center; }
.section-copy { max-width: 920px; margin: 22px auto 0; text-align: center; line-height: 2.5; }
.more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 98px;
  height: 48px;
  margin-top: 28px;
  border: 1px solid var(--gold);
  border-radius: 24px;
  color: var(--gold);
  font: 12px Arial, sans-serif;
  text-transform: uppercase;
}
.more-link:hover { color: #fff; background: var(--gold); }

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  min-height: 78px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 7px 24px rgba(0,0,0,.08);
  backdrop-filter: blur(9px);
}
.header-inner { display: flex; align-items: center; min-height: 78px; padding: 8px 0; }
.site-logo { width: 250px; flex: 0 0 250px; }
.site-logo img { width: 100%; }
.desktop-nav { margin-left: auto; }
.desktop-nav > ul { display: flex; align-items: stretch; gap: 2px; margin: 0; padding: 0; list-style: none; }
.desktop-nav li { position: relative; }
.desktop-nav > ul > li > a { display: block; padding: 18px 13px; color: #333; font-size: 15px; white-space: nowrap; }
.desktop-nav > ul > li:first-child > a,
.desktop-nav > ul > li:hover > a { color: var(--gold); }
.desktop-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: 150px;
  margin: 0;
  padding: 8px 0;
  transform: translate(-50%, 8px);
  visibility: hidden;
  opacity: 0;
  list-style: none;
  background: rgba(255,255,255,.97);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  transition: .25s ease;
}
.desktop-nav li:hover .sub-menu { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.desktop-nav .sub-menu a { display: block; padding: 8px 20px; color: #555; font-size: 14px; text-align: center; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }
.mobile-panel { display: none; }

/* Hero */
.hero { position: relative; margin-top: 0; overflow: hidden; background: #eee; }
.hero-slide { position: relative; display: none; min-height: min(48.5vw, 900px); background-position: center; background-size: cover; }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: rgba(5,10,18,.28); }
.hero-slide.active { display: block; animation: heroFade .8s ease; }
.hero-copy { position: absolute; z-index: 2; top: 50%; left: max(7vw, calc((100% - var(--content)) / 2)); width: min(660px, 72vw); transform: translateY(-42%); color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.45); }
.hero-copy span { display: block; margin-bottom: 18px; color: #ead8b7; font: 14px/1.5 Georgia, serif; }
.hero-copy h2 { margin: 0; color: #fff; font-size: clamp(32px, 3.5vw, 60px); font-weight: 500; line-height: 1.25; letter-spacing: 0; }
.hero-copy p { margin: 20px 0 0; color: rgba(255,255,255,.9); font-size: 19px; letter-spacing: 0; }
@keyframes heroFade { from { opacity: .35; } to { opacity: 1; } }
.hero-dots { position: absolute; z-index: 4; right: 0; bottom: 24px; left: 0; display: flex; justify-content: center; gap: 10px; }
.hero-dot { width: 36px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.6); cursor: pointer; }
.hero-dot.active { background: var(--gold); }
.hero-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 50px;
  height: 64px;
  border: 0;
  color: #fff;
  background: rgba(0,0,0,.08);
  font-size: 38px;
  cursor: pointer;
  transform: translateY(-50%);
}
.hero-prev { left: 20px; }
.hero-next { right: 20px; }

/* Home */
.brand-section { position: relative; padding: 84px 0 110px; overflow: hidden; }
.brand-section::before {
  content: "";
  position: absolute;
  top: 20px;
  left: max(0px, calc(50% - 570px));
  width: 420px;
  height: 620px;
  background: url("assets/images/logo-bg.png") left top / contain no-repeat;
  opacity: .45;
  pointer-events: none;
}
.brand-section .wrap { position: relative; }
.brand-intro { text-align: center; }
.product-row { display: grid; grid-template-columns: .95fr repeat(3, 1fr); gap: 10px; margin-top: 70px; }
.product-lead { display: flex; flex-direction: column; justify-content: center; padding: 18px; text-align: center; }
.product-lead .eyebrow { font-size: 35px; }
.product-lead p { margin: 20px 0 0; }
.product-card { position: relative; min-height: 350px; overflow: hidden; background: #333; }
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,.02) 70%);
  transition: .4s ease;
}
.product-card > img { width: 100%; height: 100%; min-height: 350px; object-fit: cover; transition: transform .6s ease; }
.product-card:hover > img { transform: scale(1.06); }
.product-card:hover::after { inset: 20px; background: rgba(211,187,146,.88); border: 1px solid rgba(255,255,255,.65); }
.product-card-content { position: absolute; z-index: 2; right: 22px; bottom: 24px; left: 22px; color: #fff; text-align: left; }
.product-card-content img { width: 62px; margin-bottom: 12px; }
.product-card h3 { margin: 0; font-size: 18px; }
.product-card p { margin: 2px 0 0; font-family: Georgia, serif; font-size: 17px; text-transform: uppercase; }
.product-card small { font-size: 12px; }

.case-section { padding: 0 0 100px; }
.case-layout { position: relative; min-height: 560px; }
.case-image { width: calc(100% - 230px); height: 560px; object-fit: cover; }
.case-panel {
  position: absolute;
  right: 0;
  bottom: 60px;
  width: 420px;
  min-height: 400px;
  padding: 58px 42px;
  color: #fff;
  background: rgba(20,20,20,.78);
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
  text-align: center;
}
.case-panel .eyebrow { font-size: 42px; }
.case-panel h2 { margin: 12px 0 20px; font-size: 21px; }
.case-panel p { margin: 0; line-height: 2; }

.news-section { padding: 90px 0 110px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 62px; }
.news-card { position: relative; padding: 9px; background: #fff; box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.news-card img { width: 100%; aspect-ratio: 300 / 185; object-fit: cover; }
.news-date { position: absolute; top: 166px; left: 25px; min-width: 62px; padding: 6px 8px; color: #fff; background: var(--gold); line-height: 1.25; text-align: center; }
.news-card-body { padding: 24px 10px 16px; }
.news-card h3 { margin: 0; padding-left: 10px; border-left: 6px solid var(--gold); color: #555; font-size: 16px; line-height: 1.5; }
.news-card p { margin: 14px 0 0; color: #777; font-size: 12px; line-height: 1.9; }
.news-more { text-align: center; }

/* Inner pages */
.page-hero { min-height: 260px; margin-top: 78px; background: url("assets/images/inner-lifestyle-banner.jpg") center 48% / cover no-repeat; }
.content-section { min-height: 500px; padding: 75px 0 110px; }
.breadcrumbs { margin-bottom: 42px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.article-title { margin: 0; color: #555; font-size: 30px; text-align: center; }
.article-title::after { content: ""; display: block; width: 50px; height: 3px; margin: 18px auto 38px; background: var(--gold); }
.article-content { max-width: 1120px; margin: 0 auto; color: #656260; line-height: 2.15; }
.article-content img { margin: 30px auto; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }

/* Catalog content */
.catalog-lead { max-width: 860px; margin: 0 auto 36px; color: #656260; font-size: 17px; line-height: 2.15; text-align: center; }
.catalog-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 38px 0 50px; background: var(--line); }
.catalog-fact { padding: 28px 22px; background: #fff; text-align: center; }
.catalog-fact strong { display: block; color: #132758; font-family: Georgia, serif; font-size: 30px; line-height: 1.2; }
.catalog-fact span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.catalog-heading { margin: 58px 0 24px; color: #132758; font-size: 25px; text-align: center; }
.catalog-heading::after { content: ""; display: block; width: 42px; height: 2px; margin: 13px auto 0; background: var(--gold); }
.catalog-page { margin: 28px auto 48px; }
.catalog-page a { display: block; }
.catalog-page img { width: 100%; margin: 0; border: 1px solid #eee; background: #f7f7f7; box-shadow: 0 10px 28px rgba(0,0,0,.08); }
.catalog-page figcaption { margin-top: 8px; color: #999; font-size: 12px; text-align: center; }
.catalog-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 30px 0 55px; }
.catalog-gallery .catalog-page { margin: 0; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 34px 0 65px; }
.catalog-card { display: block; overflow: hidden; border: 1px solid #eee; background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.07); }
.catalog-card img { width: 100%; aspect-ratio: 1.35; margin: 0; object-fit: cover; transition: transform .45s ease; }
.catalog-card:hover img { transform: scale(1.035); }
.catalog-card-body { min-height: 92px; padding: 18px; }
.catalog-card h3 { margin: 0; color: #3f4145; font-size: 15px; line-height: 1.55; }
.catalog-card span { color: var(--gold); font: 11px Arial, sans-serif; text-transform: uppercase; }
.catalog-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; max-width: 900px; margin: 28px auto 50px; padding: 0; list-style: none; }
.catalog-features li { position: relative; padding: 14px 14px 14px 28px; border-bottom: 1px solid var(--line); }
.catalog-features li::before { content: ""; position: absolute; top: 25px; left: 8px; width: 7px; height: 7px; background: var(--gold); }
.catalog-note { margin: 36px 0; padding: 18px 22px; border-left: 3px solid var(--gold); color: #85817e; background: #f7f7f5; font-size: 13px; }
.catalog-contact { margin-top: 55px; padding: 34px; color: #fff; background: #132758; text-align: center; }
.catalog-contact strong { display: block; color: var(--gold); font-size: 30px; }
.catalog-contact strong a { color: inherit; }
.product-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 38px 0 70px; }
.product-guide { position: relative; display: block; min-height: 390px; overflow: hidden; background: #222; }
.product-guide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.04) 72%); }
.product-guide img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; object-fit: cover; transition: transform .5s ease; }
.product-guide:hover img { transform: scale(1.04); }
.product-guide-copy { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 28px; color: #fff; }
.product-guide-copy h3 { margin: 0 0 8px; color: #fff; font-size: 23px; }
.product-guide-copy p { margin: 0; color: rgba(255,255,255,.82); font-size: 13px; line-height: 1.85; }
.product-guide-copy span { display: inline-block; margin-top: 16px; color: var(--gold); font-size: 12px; }
.product-copy { max-width: 900px; margin: 0 auto; }
.product-copy p { margin: 0 0 18px; }

/* Corporate profile */
.company-lead { max-width: 880px; margin: 0 auto 42px; color: #555; font-size: 18px; line-height: 2.2; text-align: center; }
.company-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 45px 0 70px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.company-stat { padding: 30px 18px; border-right: 1px solid var(--line); text-align: center; }
.company-stat:last-child { border-right: 0; }
.company-stat strong { display: block; color: #132758; font: 32px/1.2 Georgia, serif; }
.company-stat span { display: block; margin-top: 7px; color: var(--muted); font-size: 13px; }
.company-section { max-width: 900px; margin: 58px auto 0; }
.company-section h2 { margin: 0 0 22px; color: #132758; font-size: 25px; text-align: center; }
.company-section h2::after { content: ""; display: block; width: 42px; height: 2px; margin: 14px auto 0; background: var(--gold); }
.company-section p { margin: 0 0 18px; }
.company-quote { max-width: 820px; margin: 45px auto; padding: 30px 38px; border-left: 4px solid var(--gold); color: #132758; background: #f7f7f5; font-family: Georgia, "Songti SC", serif; font-size: 22px; line-height: 1.8; text-align: center; }
.company-quote small { display: block; margin-top: 10px; color: var(--muted); font: 13px Arial, sans-serif; }
.company-timeline { max-width: 900px; margin: 45px auto 20px; border-top: 1px solid var(--line); }
.company-event { display: grid; grid-template-columns: 145px 1fr; gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.company-event time { color: var(--gold); font: 30px/1 Georgia, serif; }
.company-event > time { grid-column: 1; grid-row: 1; }
.company-event > div { grid-column: 2; grid-row: 1; min-width: 0; }
.company-event > p:empty { display: none; }
.company-event h3 { margin: 0 0 8px; color: #132758; font-size: 18px; }
.company-event p { margin: 0; }
.company-values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 42px 0 62px; }
.company-value { min-height: 220px; padding: 25px 20px; border-top: 3px solid var(--gold); background: #f7f7f5; }
.company-value strong { display: block; margin-bottom: 12px; color: #132758; font-size: 21px; }
.company-value p { margin: 0; color: #777; font-size: 13px; line-height: 1.9; }
.company-principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; max-width: 900px; margin: 28px auto 0; padding: 0; list-style: none; }
.company-principles li { position: relative; padding: 16px 10px 16px 24px; border-bottom: 1px solid var(--line); }
.company-principles li::before { content: ""; position: absolute; top: 27px; left: 4px; width: 7px; height: 7px; background: var(--gold); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; max-width: 900px; margin: 45px auto 70px; border: 1px solid var(--line); }
.contact-primary { display: flex; flex-direction: column; justify-content: center; padding: 42px; color: #fff; background: #132758; }
.contact-primary span { margin: 18px 0 3px; color: rgba(255,255,255,.66); font-size: 13px; }
.contact-primary span:first-child { margin-top: 0; }
.contact-primary strong { color: #fff; font-size: 25px; font-weight: 500; }
.contact-primary a { color: var(--gold); font: 28px/1.35 Georgia, serif; }
.contact-details { padding: 42px; background: #f7f7f5; }
.contact-details h2 { margin: 0 0 28px; color: #132758; font-size: 21px; }
.contact-details p { margin: 0 0 22px; }
.contact-details a { color: #132758; }
.contact-address-en { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.75; }

/* Footer */
.site-footer { position: relative; color: #aaa; background: var(--footer); }
.footer-logo { display: flex; align-items: center; justify-content: center; min-height: 140px; padding: 32px 20px 24px; background: var(--footer); }
.footer-logo img { width: min(320px, 70vw); height: auto; margin: 0; filter: brightness(0) invert(1); }
.footer-main { display: grid; grid-template-columns: 1.1fr 1.1fr 1fr 280px; gap: 34px; padding: 48px 0 52px; border-top: 1px solid #3a302c; }
.footer-column h3 { margin: 0 0 16px; color: #fff; font-size: 16px; }
.footer-column a { display: block; color: #98918d; font-size: 13px; line-height: 2.1; }
.footer-column a:hover { color: var(--gold); }
.footer-external { display: inline-block; padding-bottom: 8px; border-bottom: 1px solid var(--gold); color: var(--gold); font: 16px/1.5 Georgia, serif; text-transform: capitalize; }
.footer-contact { margin-top: 26px; color: #eee; font-size: 16px; line-height: 2; }
.footer-contact a { color: #fff; }
.footer-bottom { padding: 22px 0; border-top: 1px solid #3a302c; color: #777; font-size: 12px; text-align: center; }
.back-top { position: absolute; top: 120px; right: 28px; color: #999; font: 12px Arial, sans-serif; }

@media (max-width: 1180px) {
  .site-header { overflow: visible; backdrop-filter: none; }
  .desktop-nav { display: none; }
  .menu-toggle { position: relative; z-index: 1102; display: block; }
  .site-logo { width: 230px; flex-basis: 230px; }
  .mobile-panel {
    position: fixed;
    z-index: 1101;
    top: 78px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: calc(100dvh - 78px);
    padding: 24px;
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: rgba(255,255,255,.98);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 16px 32px rgba(0,0,0,.12);
    transition: transform .35s ease, opacity .25s ease, visibility 0s linear .35s;
  }
  .mobile-panel.open {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .mobile-panel ul { margin: 0; padding: 0; list-style: none; }
  .mobile-panel > ul > li { border-bottom: 1px solid var(--line); }
  .mobile-panel a { display: block; padding: 13px 8px; color: #444; text-align: center; }
  .mobile-panel .sub-menu { display: grid; grid-template-columns: repeat(2, 1fr); padding-bottom: 10px; }
  .mobile-panel .sub-menu a { padding: 7px; color: #888; font-size: 13px; }
  .hero { margin-top: 78px; }
  .hero-slide { min-height: 52vw; }
  .hero-copy { left: 7vw; width: 78vw; }
}

@media (max-width: 900px) {
  .eyebrow { font-size: 32px; }
  .brand-section { padding: 65px 0 80px; }
  .product-row { grid-template-columns: repeat(3, 1fr); }
  .product-lead { grid-column: 1 / -1; padding: 0 8% 28px; }
  .case-image { width: 100%; height: 480px; }
  .case-panel { position: relative; bottom: auto; width: calc(100% - 40px); min-height: 0; margin: -100px auto 0; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card:nth-child(3) { display: none; }
  .footer-main { grid-template-columns: repeat(3, 1fr); }
  .footer-social { grid-column: 1 / -1; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .product-guide-grid { grid-template-columns: repeat(3, 1fr); }
  .company-values { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px) {
  .wrap { width: min(calc(100% - 28px), var(--content)); }
  .site-header, .header-inner { min-height: 68px; }
  .site-logo { width: 190px; flex-basis: 190px; }
  .mobile-panel { top: 68px; height: calc(100dvh - 68px); padding: 18px 20px 34px; }
  .hero { margin-top: 68px; }
  .hero-slide { min-height: clamp(520px, 72svh, 680px); }
  .hero-slide--energy { background-position: 56% center; }
  .hero-slide--global { background-position: 62% center; }
  .hero-slide::before { background: rgba(5,10,18,.36); }
  .hero-copy { top: 50%; right: 28px; left: 28px; width: auto; transform: translateY(-46%); text-align: center; }
  .hero-copy span { margin-bottom: 8px; font-size: 10px; }
  .hero-copy h2 { font-size: 25px; }
  .hero-copy p { margin-top: 10px; font-size: 13px; line-height: 1.6; }
  .brand-intro .eyebrow { font-size: 28px; overflow-wrap: anywhere; }
  .hero-arrow { display: none; }
  .hero-dots { bottom: 10px; }
  .brand-section::before { width: 250px; }
  .section-copy { line-height: 2; }
  .product-row { grid-template-columns: 1fr; }
  .product-card, .product-card > img { min-height: 420px; }
  .case-layout { min-height: 0; }
  .case-image { height: 330px; }
  .case-panel { width: calc(100% - 20px); margin-top: -45px; padding: 40px 24px; }
  .news-section { padding: 65px 0 80px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card:nth-child(3) { display: block; }
  .news-date { top: auto; bottom: 114px; }
  .page-hero { min-height: 160px; margin-top: 68px; background-position: center 48%; }
  .content-section { padding: 50px 0 80px; }
  .article-title { font-size: 24px; }
  .archive-grid { grid-template-columns: 1fr; }
  .catalog-facts, .catalog-grid, .catalog-gallery, .catalog-features, .product-guide-grid { grid-template-columns: 1fr; }
  .catalog-fact { padding: 22px 14px; }
  .catalog-page { margin-bottom: 30px; }
  .product-guide { min-height: 360px; }
  .company-lead { font-size: 16px; text-align: left; }
  .company-stats { grid-template-columns: repeat(2, 1fr); }
  .company-stat:nth-child(2) { border-right: 0; }
  .company-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .company-event { grid-template-columns: 1fr; gap: 12px; }
  .company-event > time, .company-event > div { grid-column: 1; grid-row: auto; }
  .company-values, .company-principles { grid-template-columns: 1fr; }
  .company-value { min-height: 0; }
  .company-quote { padding: 25px 20px; font-size: 19px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-primary, .contact-details { padding: 30px 24px; }
  .contact-primary a { font-size: 24px; }
  .footer-logo { min-height: 110px; padding: 24px 18px 18px; }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; padding-top: 38px; }
  .footer-social { grid-column: 1 / -1; }
  .back-top { top: 74px; right: 14px; }
}

@media (max-width: 620px) and (max-height: 560px) {
  .hero-slide { min-height: calc(100svh - 68px); }
}

.archive-intro {
  max-width: 860px;
  margin: -14px auto 42px;
  color: var(--text);
  line-height: 2;
  text-align: center;
}
