:root {
  --ggg-pink: #e13f97;
  --ggg-pink-dark: #a9276f;
  --ggg-violet: #64386b;
  --ggg-ink: #211b28;
  --ggg-night: #17131d;
  --ggg-paper: #fffafc;
  --ggg-muted: #6f6574;
  --ggg-line: rgba(100, 56, 107, 0.16);
}

html { scroll-behavior: smooth; }
body.editorial-page { background: #f4edf4; color: var(--ggg-ink); }
.editorial-page h1,
.editorial-page h2,
.editorial-page h3,
.editorial-page h4 { color: var(--ggg-ink); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(23, 19, 29, 0.96);
  border-bottom: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 8px 30px rgba(23,19,29,.18);
}
.site-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.site-header__logo img { width: 210px; max-height: 56px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.site-nav a { color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: #ff8ac8; }

.editorial-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(23,19,29,.94), rgba(100,56,107,.83)),
    url('../images/headerimg/header_elphi.jpg') center/cover;
  padding: 92px 0 112px;
}
.editorial-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -95px -8%;
  height: 150px;
  background: #f4edf4;
  transform: rotate(-2deg);
}
.editorial-hero .container { position: relative; z-index: 1; }
.editorial-kicker,
.article-category {
  display: inline-block;
  color: #ffb4dc;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.editorial-hero h1 { color: #fff; font-size: clamp(38px, 6vw, 72px); line-height: 1.04; max-width: 900px; margin-bottom: 20px; }
.editorial-hero p { color: rgba(255,255,255,.86); font-size: 19px; line-height: 1.7; max-width: 760px; }

.content-shell { position: relative; z-index: 2; margin-top: -42px; padding-bottom: 80px; }
.content-panel {
  background: var(--ggg-paper);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(52,34,59,.13);
  padding: clamp(28px, 5vw, 64px);
}
.content-panel h2 { margin-top: 42px; font-size: 30px; }
.content-panel h2:first-child { margin-top: 0; }
.content-panel p,
.content-panel li { color: #4f4653; font-size: 16px; line-height: 1.82; }
.content-panel a { color: var(--ggg-pink-dark); text-decoration: underline; }
.accent-rule { width: 72px; height: 5px; background: var(--ggg-pink); border-radius: 9px; margin: 20px 0 30px; }
.notice-box,
.method-box {
  background: linear-gradient(135deg, #f8ddea, #eee0f1);
  border-left: 5px solid var(--ggg-pink);
  border-radius: 8px;
  padding: 22px 25px;
  margin: 28px 0;
}

.info-grid,
.article-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.info-card,
.article-card {
  background: #fff;
  border: 1px solid var(--ggg-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(52,34,59,.08);
}
.info-card { padding: 25px; }
.info-card h3 { font-size: 21px; margin-bottom: 12px; }
.article-card { display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.article-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(52,34,59,.16); }
.article-card__image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #dacbdc; }
.article-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.article-card:hover img { transform: scale(1.04); }
.article-card__body { display: flex; flex-direction: column; flex: 1; padding: 23px; }
.article-card__meta { color: var(--ggg-pink-dark); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.article-card h2,
.article-card h3 { font-size: 22px; line-height: 1.28; margin-bottom: 12px; }
.article-card p { color: var(--ggg-muted); line-height: 1.65; }
.article-card__link { margin-top: auto; padding-top: 16px; color: var(--ggg-pink-dark); font-weight: 800; }

.article-hero {
  min-height: 620px;
  display: flex;
  align-items: end;
  position: relative;
  color: white;
  background-position: center;
  background-size: cover;
}
.article-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,19,29,.12), rgba(23,19,29,.95)); }
.article-hero__inner { position: relative; z-index: 1; padding: 100px 0 72px; }
.article-hero h1 { color: #fff; max-width: 980px; font-size: clamp(38px, 6vw, 68px); line-height: 1.05; }
.article-summary { max-width: 820px; color: rgba(255,255,255,.9); font-size: 19px; line-height: 1.65; }
.article-byline { color: rgba(255,255,255,.72); margin-top: 20px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 55px; }
.article-body { max-width: 820px; }
.article-body > p { font-family: Merriweather, Georgia, serif; font-size: 17px; line-height: 1.92; color: #3e3742; }
.article-body h2 { font-size: 32px; margin: 52px 0 20px; }
.article-body h3 { font-size: 22px; margin: 32px 0 14px; }
.article-aside { position: sticky; top: 105px; align-self: start; }
.article-aside .info-card { border-top: 5px solid var(--ggg-pink); }
.source-list li { margin-bottom: 12px; overflow-wrap: anywhere; }
.source-list a { color: var(--ggg-pink-dark); }
.article-count { color: var(--ggg-muted); font-size: 13px; }

.faq-list details { background: #fff; border: 1px solid var(--ggg-line); border-radius: 10px; margin-bottom: 14px; padding: 0 22px; }
.faq-list summary { cursor: pointer; color: var(--ggg-ink); font-weight: 800; padding: 20px 0; }
.faq-list details p { padding-bottom: 20px; }
.contact-form label { display: block; font-weight: 800; margin-bottom: 6px; }
.contact-form input,
.contact-form textarea { width: 100%; border: 1px solid #d9cbdc; border-radius: 7px; padding: 13px 14px; margin-bottom: 18px; background: #fff; }
.contact-form button { border: 0; border-radius: 4px; background: var(--ggg-pink); color: #fff; padding: 13px 24px; font-weight: 800; }

.editorial-footer { background: var(--ggg-night); color: rgba(255,255,255,.74); padding: 48px 0 30px; }
.editorial-footer__grid { display: grid; grid-template-columns: 1.4fr 2fr; gap: 45px; align-items: start; }
.editorial-footer img { width: 220px; margin-bottom: 15px; }
.editorial-footer__links { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px 22px; }
.editorial-footer a { color: rgba(255,255,255,.82); }
.editorial-footer a:hover { color: #ff8ac8; }
.editorial-footer__fine { border-top: 1px solid rgba(255,255,255,.1); margin-top: 30px; padding-top: 20px; font-size: 12px; }

@media (max-width: 991px) {
  .site-header__inner { flex-direction: column; align-items: flex-start; padding: 15px 0; }
  .site-header { position: relative; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .article-grid, .info-grid, .related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .site-nav { gap: 12px 16px; }
  .site-nav a { font-size: 10px; }
  .editorial-hero { padding-top: 62px; }
  .article-grid, .info-grid, .related-grid, .editorial-footer__grid, .editorial-footer__links { grid-template-columns: 1fr; }
  .article-hero { min-height: 520px; }
  .content-panel { border-radius: 10px; }
}
