@import url(https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap);
@charset "UTF-8";
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #12131a;
  background: #f6f5f0;
  font-family: "Manrope", sans-serif;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button, input, textarea, select {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(0, 0, 255, 0.22);
  outline-offset: 2px;
}

.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: #0000ff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.muted {
  color: #656773;
}

.red {
  color: #ff0000;
}

.blue {
  color: #0000ff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 245, 240, 0.94);
  border-bottom: 1px solid rgba(222, 222, 215, 0.9);
  backdrop-filter: blur(18px);
}
.site-header__top {
  background: #12131a;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}
.site-header__top .container {
  min-height: 33px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header__main {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  width: 255px;
  flex: 0 0 auto;
}
.brand img {
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.91rem;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: #ff0000;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s;
}

.nav a:hover::after, .nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #deded7;
  border-radius: 50%;
  background: #fff;
  color: #12131a;
  cursor: pointer;
  transition: 0.2s;
}

.icon-btn:hover {
  border-color: #0000ff;
  color: #0000ff;
}

.menu-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s, border 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--blue {
  background: #0000ff;
  color: #fff;
}
.btn--blue:hover {
  background: #0000c8;
}

.btn--dark {
  background: #12131a;
  color: #fff;
}
.btn--dark:hover {
  background: #ff0000;
}

.btn--outline {
  border-color: #12131a;
  background: transparent;
  color: #12131a;
}
.btn--outline:hover {
  border-color: #0000ff;
  color: #0000ff;
}

.btn--light {
  background: #fff;
  color: #0000ff;
}

.btn--wide {
  width: 100%;
}

.ticker {
  background: #fff;
  border-bottom: 1px solid #deded7;
}

.ticker .container {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
}

.ticker__label {
  flex: 0 0 auto;
  color: #ff0000;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ticker__items {
  display: flex;
  gap: 25px;
  color: #656773;
  font-size: 0.8rem;
  white-space: nowrap;
}

.ticker__items span::before {
  margin-right: 9px;
  color: #0000ff;
  content: "•";
}

.hero {
  padding: 48px 0 48px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, 0.65fr);
  gap: 22px;
}

.lead-story {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 26px;
  background: #12131a;
  color: #fff;
  box-shadow: 0 18px 55px rgba(18, 19, 26, 0.08);
}

.lead-story__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0.72;
  transition: transform 0.7s;
}

.lead-story:hover .lead-story__image {
  transform: scale(1.035);
}

.lead-story::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 19, 26, 0.05) 18%, rgba(18, 19, 26, 0.92) 100%);
  content: "";
}

.lead-story__content {
  position: relative;
  z-index: 1;
  max-width: 740px;
  padding: 52px;
}

.lead-story h1 {
  margin: 12px 0 17px;
  font-family: "Source Serif 4", serif;
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.lead-story p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 25px;
  color: #656773;
  font-size: 0.75rem;
  font-weight: 600;
}

.lead-story .story-meta {
  color: rgba(255, 255, 255, 0.72);
}

.tag {
  display: inline-flex;
  width: -moz-fit-content;
  width: fit-content;
  align-items: center;
  padding: 6px 9px;
  border-radius: 6px;
  background: #0000ff;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.tag--red {
  background: #ff0000;
}

.side-stack {
  display: grid;
  gap: 22px;
}

.mini-feature {
  position: relative;
  min-height: 269px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 18px;
  background: #12131a;
  color: #fff;
}

.mini-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0.62;
}

.mini-feature::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 10%, rgba(18, 19, 26, 0.9));
  content: "";
}

.mini-feature__content {
  position: relative;
  z-index: 1;
  padding: 25px;
}

.mini-feature h2 {
  margin: 10px 0 0;
  font-family: "Source Serif 4", serif;
  font-size: 1.45rem;
  line-height: 1.18;
}

.section {
  padding: 58px 0;
}

.section--white {
  background: #fff;
}

.section--ink {
  background: #12131a;
  color: #fff;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 0;
  font-family: "Source Serif 4", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.section-heading p {
  max-width: 510px;
  margin: 8px 0 0;
  color: #656773;
}

.text-link {
  color: #0000ff;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.text-link:hover {
  color: #ff0000;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #deded7;
  border-radius: 18px;
  background: #fff;
  transition: transform 0.25s, box-shadow 0.25s;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 55px rgba(18, 19, 26, 0.08);
}

.article-card__image {
  position: relative;
  aspect-ratio: 1.58;
  overflow: hidden;
  background: #ddd;
}

.article-card__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s;
}

.article-card:hover img {
  transform: scale(1.04);
}

.article-card__image .tag {
  position: absolute;
  bottom: 13px;
  left: 13px;
}

.article-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.article-card h3 {
  margin: 0 0 10px;
  font-family: "Source Serif 4", serif;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.article-card p {
  margin: 0;
  color: #656773;
  font-size: 0.86rem;
}

.article-card .story-meta {
  margin-top: auto;
  padding-top: 19px;
}

.discovery-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 25px;
}

.panel {
  padding: 34px;
  border: 1px solid #deded7;
  border-radius: 22px;
  background: #fff;
}

.panel__title {
  margin: 0 0 24px;
  font-family: "Source Serif 4", serif;
  font-size: 1.85rem;
  line-height: 1.1;
}

.category-cloud {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.category-link {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #f6f5f0;
  font-size: 0.84rem;
  font-weight: 700;
  transition: 0.2s;
}

.category-link span:last-child {
  color: #656773;
  font-size: 0.7rem;
}

.category-link:hover {
  background: #0000ff;
  color: #fff;
}
.category-link:hover span:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.author-list {
  display: grid;
  gap: 14px;
}

.author {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #deded7;
}

.author:last-child {
  padding-bottom: 0;
  border: 0;
}

.avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #12131a;
  color: #fff;
  font-weight: 800;
}

.avatar--blue {
  background: #0000ff;
}

.avatar--red {
  background: #ff0000;
}

.author strong, .comment strong {
  display: block;
  font-size: 0.86rem;
}

.author small {
  color: #656773;
  font-size: 0.7rem;
}

.author__score {
  color: #0000ff;
  font-size: 0.74rem;
  font-weight: 800;
}

.newsletter {
  padding: 50px 0;
  background: #0000ff;
  color: #fff;
}

.newsletter .container {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 0.65fr);
  align-items: center;
  gap: 50px;
}

.newsletter h2 {
  margin: 0;
  font-family: "Source Serif 4", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.newsletter p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.inline-form {
  display: flex;
  gap: 8px;
  padding: 7px;
  border-radius: 12px;
  background: #fff;
}

.inline-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0 12px;
  outline: 0;
}

.page-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid #deded7;
  background: #fff;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: #656773;
  font-size: 0.76rem;
}

.breadcrumbs span {
  color: #aaa;
}

.page-hero h1 {
  max-width: 880px;
  margin: 0;
  font-family: "Source Serif 4", serif;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.page-hero__row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.page-hero__row > p {
  max-width: 430px;
  margin: 0;
  color: #656773;
}

.tabs {
  display: flex;
  gap: 6px;
  padding-top: 28px;
  overflow-x: auto;
}

.tab {
  flex: 0 0 auto;
  padding: 10px 15px;
  border: 1px solid #deded7;
  border-radius: 999px;
  background: transparent;
  color: #656773;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.tab.active, .tab:hover {
  border-color: #12131a;
  background: #12131a;
  color: #fff;
}

.category-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 52px;
}

.feed {
  display: grid;
  gap: 21px;
}

.feed-item {
  display: grid;
  grid-template-columns: 225px 1fr;
  gap: 24px;
  padding-bottom: 21px;
  border-bottom: 1px solid #deded7;
}

.feed-item__image {
  aspect-ratio: 1.45;
  overflow: hidden;
  border-radius: 13px;
}

.feed-item__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.feed-item h2 {
  margin: 8px 0;
  font-family: "Source Serif 4", serif;
  font-size: 1.55rem;
  line-height: 1.15;
}

.feed-item p {
  margin: 0;
  color: #656773;
  font-size: 0.84rem;
}

.feed-item .story-meta {
  margin-top: 14px;
}

.sidebar {
  display: grid;
  align-content: start;
  gap: 20px;
}

.sidebar-box {
  padding: 25px;
  border: 1px solid #deded7;
  border-radius: 18px;
  background: #fff;
}

.sidebar-box h3 {
  margin: 0 0 19px;
  font-family: "Source Serif 4", serif;
  font-size: 1.4rem;
}

.rank-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rank;
}

.rank-list li {
  position: relative;
  padding: 0 0 18px 42px;
  border-bottom: 1px solid #deded7;
  margin-bottom: 18px;
  counter-increment: rank;
}

.rank-list li:last-child {
  padding-bottom: 0;
  border: 0;
  margin-bottom: 0;
}

.rank-list li::before {
  position: absolute;
  top: -8px;
  left: 0;
  color: #0000ff;
  font-family: "Source Serif 4", serif;
  font-size: 2rem;
  font-weight: 700;
  content: "0" counter(rank);
}

.rank-list a {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
}

.rank-list small {
  color: #656773;
  font-size: 0.68rem;
}

.pagination {
  display: flex;
  gap: 8px;
  margin-top: 34px;
}

.pagination a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #deded7;
  border-radius: 9px;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.pagination a.active, .pagination a:hover {
  border-color: #0000ff;
  background: #0000ff;
  color: #fff;
}

.article-head {
  padding: 58px 0 38px;
  background: #fff;
}

.article-head__inner {
  max-width: 950px;
}

.article-head h1 {
  margin: 16px 0 22px;
  font-family: "Source Serif 4", serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.99;
  letter-spacing: -0.05em;
}

.article-lead {
  max-width: 800px;
  color: #656773;
  font-family: "Source Serif 4", serif;
  font-size: 1.25rem;
  line-height: 1.45;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 25px;
  font-size: 0.78rem;
}

.article-author small {
  display: block;
  color: #656773;
}

.article-cover {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 25px;
}

.article-cover img {
  width: 100%;
  max-height: 680px;
  -o-object-fit: cover;
     object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: 64px minmax(0, 740px) 270px;
  justify-content: center;
  gap: 38px;
  padding-top: 60px;
}

.share-rail {
  position: sticky;
  top: 150px;
  height: -moz-fit-content;
  height: fit-content;
  display: grid;
  gap: 10px;
}

.article-content {
  font-family: "Source Serif 4", serif;
  font-size: 1.08rem;
  line-height: 1.85;
}

.article-content > p:first-child::first-letter {
  float: left;
  margin: 8px 8px 0 0;
  color: #0000ff;
  font-size: 4.7rem;
  font-weight: 700;
  line-height: 0.75;
}

.article-content h2 {
  margin: 45px 0 12px;
  font-size: 2.15rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.article-content blockquote {
  margin: 38px 0;
  padding: 10px 0 10px 28px;
  border-left: 5px solid #ff0000;
  color: #12131a;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
}

.article-content .info-box {
  margin: 34px 0;
  padding: 25px;
  border-radius: 14px;
  background: rgba(0, 0, 255, 0.07);
  font-family: "Manrope", sans-serif;
  font-size: 0.86rem;
}

.article-toc {
  position: sticky;
  top: 145px;
  height: -moz-fit-content;
  height: fit-content;
  padding-left: 20px;
  border-left: 1px solid #deded7;
}

.article-toc strong {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-toc a {
  display: block;
  margin-top: 12px;
  color: #656773;
  font-size: 0.75rem;
  line-height: 1.4;
}

.article-toc a:hover {
  color: #0000ff;
}

.comments {
  max-width: 840px;
  margin: 65px auto;
}

.comments h2 {
  font-family: "Source Serif 4", serif;
  font-size: 2.4rem;
}

.comment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 28px;
  border-radius: 18px;
  background: #fff;
}

.field {
  display: grid;
  gap: 7px;
}

.field--full {
  grid-column: 1/-1;
}

.field label {
  font-size: 0.72rem;
  font-weight: 800;
}

.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid #deded7;
  border-radius: 10px;
  background: #fff;
  padding: 13px 14px;
  color: #12131a;
  outline: 0;
}

.field textarea {
  min-height: 145px;
  resize: vertical;
}

.field input:focus, .field textarea:focus, .field select:focus {
  border-color: #0000ff;
  box-shadow: 0 0 0 3px rgba(0, 0, 255, 0.08);
}

.comment-list {
  display: grid;
  gap: 17px;
  margin-top: 28px;
}

.comment {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 15px;
  padding: 22px;
  border: 1px solid #deded7;
  border-radius: 14px;
  background: #fff;
}

.comment p {
  margin: 6px 0 0;
  color: #656773;
  font-size: 0.84rem;
}

.comment small {
  color: #999;
  font-size: 0.67rem;
}

.auth-page {
  min-height: calc(105vh - 120px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-visual {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #12131a;
  color: #fff;
}

.auth-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0.48;
}

.auth-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 255, 0.2), rgba(18, 19, 26, 0.94));
  content: "";
}

.auth-visual__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 60px;
}

.auth-visual h1 {
  margin: 10px 0;
  font-family: "Source Serif 4", serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.auth-panel {
  display: grid;
  place-items: center;
  padding: 55px;
  background: #fff;
}

.auth-box {
  width: min(440px, 100%);
}

.auth-box h2 {
  margin: 0;
  font-family: "Source Serif 4", serif;
  font-size: 2.6rem;
}

.auth-box > p {
  margin: 8px 0 27px;
  color: #656773;
  font-size: 0.86rem;
}

.auth-form {
  display: grid;
  gap: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-options {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.74rem;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #656773;
}

.check input {
  margin-top: 4px;
  accent-color: #0000ff;
}

.auth-switch {
  margin-top: 22px;
  text-align: center;
  color: #656773;
  font-size: 0.8rem;
}

.auth-switch a {
  color: #0000ff;
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 60px;
}

.contact-copy h2 {
  margin: 0 0 14px;
  font-family: "Source Serif 4", serif;
  font-size: 2.35rem;
  line-height: 1.1;
}

.contact-copy > p {
  color: #656773;
}

.contact-items {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.contact-item {
  display: grid;
  grid-template-columns: 43px 1fr;
  gap: 13px;
  align-items: center;
}

.contact-item__icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(0, 0, 255, 0.08);
  color: #0000ff;
  font-weight: 800;
}

.contact-item strong {
  display: block;
  font-size: 0.78rem;
}

.contact-item span {
  color: #656773;
  font-size: 0.8rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 35px;
  border: 1px solid #deded7;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(18, 19, 26, 0.08);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.faq {
  padding: 24px;
  border-top: 3px solid #0000ff;
  background: #fff;
}

.faq:nth-child(2) {
  border-color: #ff0000;
}

.faq h3 {
  margin: 0 0 8px;
  font-size: 0.9rem;
}

.faq p {
  margin: 0;
  color: #656773;
  font-size: 0.8rem;
}

.site-footer {
  padding: 55px 0 25px;
  background: #12131a;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 1fr;
  gap: 45px;
}

.footer-brand img {
  width: 220px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 330px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

.footer-col h3 {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.77rem;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.68rem;
}

.search-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  place-items: start center;
  padding-top: 14vh;
  background: rgba(18, 19, 26, 0.86);
  backdrop-filter: blur(10px);
}

.search-overlay.open {
  display: grid;
}

.search-box {
  width: min(750px, 100% - 34px);
  padding: 30px;
  border-radius: 18px;
  background: #fff;
}

.search-box__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}

.search-box h2 {
  margin: 0;
  font-family: "Source Serif 4", serif;
  font-size: 2rem;
}

.search-input {
  display: flex;
}

.search-input input {
  width: 100%;
  border: 0;
  padding: 13px 0;
  font-size: 1.25rem;
  outline: 0;
}

.mobile-nav {
  display: none;
}

.toast {
  position: fixed;
  z-index: 120;
  right: 20px;
  bottom: 20px;
  max-width: 360px;
  padding: 15px 18px;
  border-radius: 10px;
  background: #12131a;
  color: #fff;
  font-size: 0.8rem;
  transform: translateY(130%);
  transition: transform 0.3s;
}

.toast.show {
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }
  .menu-toggle {
    display: inline-grid;
  }
  .mobile-nav {
    position: fixed;
    z-index: 80;
    inset: 119px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 30px 20px;
    background: #f6f5f0;
    transform: translateX(100%);
    transition: transform 0.3s;
  }
  .mobile-nav.open {
    transform: translateX(0);
  }
  .mobile-nav a {
    padding: 13px 0;
    border-bottom: 1px solid #deded7;
    font-family: "Source Serif 4", serif;
    font-size: 1.45rem;
    font-weight: 700;
  }
  .hero__grid, .discovery-grid, .category-layout, .contact-grid {
    grid-template-columns: 1fr;
  }
  .side-stack {
    grid-template-columns: 1fr 1fr;
  }
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .newsletter .container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .sidebar {
    grid-template-columns: 1fr 1fr;
  }
  .article-layout {
    grid-template-columns: 50px minmax(0, 740px);
    padding-inline: 24px;
  }
  .article-toc {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .auth-visual__content {
    padding: 38px;
  }
  .auth-panel {
    padding: 38px;
  }
}
@media (max-width: 680px) {
  .container, .article-cover {
    width: min(100% - 28px, 1180px);
  }
  .site-header__top {
    display: none;
  }
  .site-header__main {
    min-height: 74px;
  }
  .brand {
    width: 190px;
  }
  .header-actions .btn {
    display: none;
  }
  .mobile-nav {
    inset-block-start: 75px;
  }
  .ticker {
    display: none;
  }
  .hero {
    padding-top: 18px;
  }
  .hero__grid, .side-stack, .article-grid, .category-cloud, .sidebar, .faq-grid {
    grid-template-columns: 1fr;
  }
  .lead-story {
    min-height: 500px;
    border-radius: 18px;
  }
  .lead-story__content {
    padding: 28px 22px;
  }
  .lead-story h1 {
    font-size: 2.45rem;
  }
  .mini-feature {
    min-height: 230px;
  }
  .section {
    padding: 42px 0;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
  }
  .panel {
    padding: 22px;
  }
  .newsletter .container {
    gap: 20px;
  }
  .inline-form {
    align-items: stretch;
    flex-direction: column;
    background: transparent;
    padding: 0;
  }
  .inline-form input {
    min-height: 48px;
    border-radius: 9px;
    padding-inline: 14px;
  }
  .page-hero {
    padding: 38px 0 28px;
  }
  .page-hero__row {
    align-items: start;
    flex-direction: column;
  }
  .feed-item {
    grid-template-columns: 115px 1fr;
    gap: 15px;
  }
  .feed-item p {
    display: none;
  }
  .feed-item h2 {
    font-size: 1.12rem;
  }
  .feed-item .story-meta span:nth-child(n+2) {
    display: none;
  }
  .article-head {
    padding-top: 38px;
  }
  .article-head h1 {
    font-size: 2.7rem;
  }
  .article-cover {
    border-radius: 14px;
  }
  .article-layout {
    grid-template-columns: 1fr;
    padding: 35px 21px 0;
  }
  .share-rail {
    position: static;
    display: flex;
  }
  .article-content {
    font-size: 1rem;
  }
  .article-content h2 {
    font-size: 1.7rem;
  }
  .comment-form, .contact-form {
    grid-template-columns: 1fr;
    padding: 21px;
  }
  .field--full {
    grid-column: auto;
  }
  .comments {
    padding-inline: 14px;
  }
  .auth-page {
    grid-template-columns: 1fr;
  }
  .auth-visual {
    min-height: 410px;
  }
  .auth-visual__content {
    padding: 28px 22px;
  }
  .auth-panel {
    padding: 36px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-direction: column;
  }
}
.comment-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  margin-bottom: 2rem;
}

.author-bubble {
  border: solid 0.5px;
  background-color: #ebebeb;
  font-weight: bold;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 14px;
  max-width: -moz-fit-content;
  max-width: fit-content;
  position: relative;
  z-index: 2;
}

.comment-bubble {
  top: -10px;
  background: #ebebeb;
  border-radius: 0px 15px 15px 15px;
  padding: 1rem;
  margin-left: 2.5rem;
  position: relative;
}
.comment-bubble .comment-text {
  font-size: 14px;
  line-height: 1.5;
}
.comment-bubble .comment-time {
  font-size: 12px;
  color: #333;
  text-align: right;
  margin-top: 0.5rem;
}

.pagination {
  display: flex;
}

.page-link {
  position: relative;
  display: block;
  color: black;
  background-color: white;
}
.page-link:hover {
  z-index: 2;
}
.page-link:focus {
  z-index: 3;
}

.page-item {
  style-type: none;
}
.page-item.active .page-link {
  z-index: 3;
}
.page-item.disabled .page-link {
  pointer-events: none;
}

.pulse-dot {
  display: inline-block;
  margin-left: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  position: relative;
}

.pulse-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 1.5s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}
.footer-bottom__credit {
  display: inline-flex;
  align-items: center;
  gap: 6px; /* space between "by" and the logo */
}

.footer-bottom__logo {
  height: auto;
  display: block;
  margin-top: -10px;
}
