:root {
  --color-bg: var(--fm-bg);
  --color-surface: var(--fm-surface);
  --color-text: var(--fm-text);
  --color-muted: var(--fm-muted);
  --color-border: var(--fm-border);
  --color-primary: var(--fm-primary);
  --color-accent: var(--fm-accent);
  --radius: var(--fm-radius);
  --shadow: var(--fm-shadow);
  --container: var(--fm-container);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background:
    radial-gradient(1200px 620px at 0% -8%, rgba(18, 95, 170, 0.14), transparent 60%),
    radial-gradient(860px 520px at 100% 0%, rgba(255, 122, 0, 0.12), transparent 55%),
    var(--color-bg);
  color: var(--color-text);
  line-height: 1.75;
}

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

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(var(--container), calc(100% - 2.2rem));
  margin: 0 auto;
}

.site-main {
  min-height: 62vh;
  padding: 1.6rem 0 3.2rem;
}

.header-mask {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #041429, #0a2f55 45%, #ff7a00 135%);
  color: #fff;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.85s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.55s ease;
}

.header-mask.is-hide {
  clip-path: inset(0 0 100% 0);
  opacity: 0;
}

.header-mask__logo {
  font-size: clamp(1.5rem, 2.8vw, 2.6rem);
  letter-spacing: 0.1em;
  font-weight: 800;
}

body.js-enabled.has-header-mask .site-header-block {
  opacity: 0;
  transform: translateY(-10px);
}

body.header-revealed .site-header-block {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.font-system_1 {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.font-system_2 {
  font-family: "Avenir Next", "Hiragino Kaku Gothic ProN", sans-serif;
}

.font-system_3 {
  font-family: ui-serif, "Hiragino Mincho ProN", serif;
}

.font-yu_gothic {
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
}

.font-hiragino {
  font-family: "Hiragino Sans", sans-serif;
}

.font-meiryo {
  font-family: Meiryo, sans-serif;
}

.topbar {
  background: linear-gradient(110deg, #07203b 0%, #093562 70%, #0f4f90 100%);
  color: #e7f3ff;
  font-size: 0.78rem;
}

.topbar__inner {
  min-height: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topbar__inner p {
  margin: 0;
  opacity: 0.9;
}

.topbar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.85rem;
}

.topbar-menu a {
  opacity: 0.9;
}

.site-header-block {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 75, 143, 0.12);
  box-shadow: 0 12px 26px rgba(12, 33, 61, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header-block__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header-block__logo {
  font-size: 1.45rem;
  font-weight: 900;
  color: #0a3f74;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 10px;
  padding: 0.45rem 0.72rem;
  font-weight: 700;
}

.global-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.4rem;
}

.global-nav__list > li > a {
  display: block;
  padding: 0.48rem 0.86rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #1a3858;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.global-nav__list > li > a:hover,
.global-nav__list > li > a:focus-visible {
  background: rgba(10, 76, 143, 0.1);
  color: #0a4b8f;
  transform: translateY(-1px);
}

.hero-block {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(500px 240px at 82% 0%, rgba(255, 171, 72, 0.32), transparent 68%),
    linear-gradient(126deg, #053160 0%, #09559a 58%, #0c6abf 100%);
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 28px 60px rgba(8, 35, 64, 0.3);
}

.hero-block::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 34, 0.3), transparent 70%);
}

.hero-block__inner {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.hero-block__kicker {
  margin: 0;
  letter-spacing: 0.11em;
  font-size: 0.75rem;
  opacity: 0.9;
}

.hero-block h1 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
}

.hero-block p {
  margin: 0.7rem 0 0;
  max-width: 56ch;
}

.mask-scroll-stage {
  margin-top: 1.6rem;
  min-height: 200vh;
}

.mask-scroll-stage__sticky {
  position: sticky;
  top: 88px;
  min-height: calc(100vh - 108px);
  display: grid;
  place-items: center;
}

.mask-scroll-stage__media {
  --mask-progress: 0;
  width: min(86vw, 1120px);
  aspect-ratio: 16 / 9;
  border-radius: calc(42px * (1 - var(--mask-progress)));
  overflow: hidden;
  transform: scale(calc(0.82 + (var(--mask-progress) * 0.28)));
  box-shadow: 0 26px 56px rgba(12, 26, 45, 0.32);
  transition: border-radius 0.2s linear;
}

.mask-scroll-stage__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mask-scroll-stage__copy {
  position: absolute;
  left: max(1rem, calc(50% - 560px));
  bottom: 4.8rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.mask-scroll-stage__copy p {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.mask-scroll-stage__copy h2 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.08rem, 2.25vw, 1.92rem);
  line-height: 1.35;
}

.full-slider {
  margin-top: 1.6rem;
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.full-slider__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.full-slider__slide {
  flex: 0 0 100%;
  min-width: 100%;
  position: relative;
}

.full-slider__slide a {
  display: block;
  height: min(60vw, 540px);
  position: relative;
}

.full-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.full-slider__slide span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(4, 23, 43, 0.65);
  color: #fff;
  padding: 0.45rem 0.68rem;
  border-radius: 10px;
  font-size: 0.88rem;
}

.full-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(6, 23, 42, 0.52);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.full-slider__btn--prev {
  left: 0.8rem;
}

.full-slider__btn--next {
  right: 0.8rem;
}

.kenburns-hero {
  margin-top: 1.6rem;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  height: min(58vw, 520px);
  position: relative;
  box-shadow: var(--shadow);
}

.kenburns-hero__layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  animation: kenburnsFade 16s ease-in-out infinite;
  animation-delay: calc(var(--layer-index) * 4s);
}

.kenburns-hero__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kenburns-hero__content {
  position: absolute;
  z-index: 2;
  left: 1.15rem;
  bottom: 1rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.kenburns-hero__content p {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.kenburns-hero__content h2 {
  margin: 0.4rem 0 0;
  font-size: clamp(1rem, 2vw, 1.5rem);
}

.section {
  margin-top: 2rem;
}

.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section__header h1,
.section__header h2:not(.fm-section-title) {
  margin: 0;
  line-height: 1.3;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(17, 43, 74, 0.09);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(17, 43, 74, 0.16);
}

.card__link {
  display: block;
  height: 100%;
}

.card__image-wrap {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: #d8e2ed;
}

.card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.card__image--placeholder {
  display: block;
  background: repeating-linear-gradient(-45deg, #dbe7f2, #dbe7f2 12px, #d2ddeb 12px, #d2ddeb 24px);
}

.card__body {
  padding: 0.95rem 1rem 1.05rem;
}

.card__meta-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-muted);
  font-size: 0.78rem;
}

.card__title {
  margin: 0.5rem 0 0;
  font-size: 1.03rem;
  line-height: 1.4;
}

.card__excerpt {
  margin: 0.45rem 0 0;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.68rem;
  padding: 0.14rem 0.56rem;
  font-weight: 700;
}

.badge--paid {
  background: #ffe5ea;
  color: #b5234f;
}

.badge--ad {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  background: rgba(0, 0, 0, 0.74);
  color: #fff;
}

.ranking-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.ranking-list li a {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 0.6rem;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  padding: 0.56rem 0.58rem;
}

.ranking-list__num {
  width: 1.55rem;
  height: 1.55rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9a2f, #f56b00);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.ranking-list__title {
  font-size: 0.9rem;
  line-height: 1.35;
}

.ranking-list__views {
  color: var(--color-muted);
  font-size: 0.78rem;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.chip {
  border: 1px solid rgba(9, 70, 130, 0.2);
  border-radius: 999px;
  padding: 0.36rem 0.72rem;
  background: linear-gradient(180deg, #fff, #f4f8fc);
  color: #0f3960;
  font-weight: 700;
  font-size: 0.84rem;
}

.author-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.86rem;
}

.author-card {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #fff;
  padding: 0.85rem;
  text-align: center;
}

.author-card img {
  border-radius: 50%;
}

.author-card h2,
.author-card strong {
  margin: 0.45rem 0 0;
  display: block;
  font-size: 0.95rem;
}

.author-card p {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.breadcrumb {
  margin-bottom: 1rem;
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.breadcrumb li + li::before {
  content: ">";
  margin-right: 0.35rem;
}

.single-layout {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.single-layout__meta {
  display: flex;
  gap: 0.8rem;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.single-layout__thumb {
  margin-top: 0.7rem;
  border-radius: 12px;
  overflow: hidden;
}

.single-layout--2 .single-layout__header {
  text-align: center;
}

.single-layout--3 .single-layout__header {
  background: #f8fafc;
  border-radius: 10px;
  padding: 0.8rem;
}

.single-layout--4 .single-layout__header {
  border-left: 4px solid var(--color-accent);
  padding-left: 0.8rem;
}

.paywall-box {
  margin-top: 1rem;
  border: 1px dashed #f2b36f;
  background: #fff6ea;
  border-radius: 12px;
  padding: 0.9rem;
}

.paywall-box__price {
  font-weight: 700;
  color: #ad5200;
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(7, 31, 58, 0.12);
}

.btn--primary {
  background: linear-gradient(125deg, #0a4c90, #1271ca);
  border-color: #0a4c90;
  color: #fff;
}

.btn--ghost {
  background: transparent;
}

.article-space {
  margin: 0.9rem 0;
  padding: 0.8rem;
  border: 1px dashed var(--color-border);
  border-radius: 9px;
}

.footer-cta {
  margin-top: 2.4rem;
  background: linear-gradient(122deg, #07335f, #0c60ac);
  color: #fff;
  background-size: cover;
  background-position: center;
}

.footer-cta__inner {
  padding: 2.15rem 0;
  text-align: center;
}

.footer-cta__inner h2 {
  margin: 0;
}

.footer-cta__inner p {
  margin: 0.55rem 0 1rem;
}

.side-cta {
  position: fixed;
  right: 0.7rem;
  bottom: 33%;
  z-index: 40;
  background: linear-gradient(145deg, #ff8e1d, #ea5d00);
  color: #fff;
  border-radius: 999px;
  padding: 0.62rem 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.side-cta.is-desktop-only {
  display: none;
}

.popup-cta {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.55);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.popup-cta__panel {
  width: min(450px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(5, 26, 49, 0.35);
}

.popup-cta__close {
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  border: 0;
  background: transparent;
  font-size: 1.3rem;
  cursor: pointer;
}

.mobile-footer-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--color-border);
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mobile-footer-bar a {
  display: grid;
  place-items: center;
  min-height: 58px;
  font-size: 0.7rem;
}

.mobile-footer-bar__icon {
  font-size: 0.95rem;
  font-weight: 700;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: #fff;
  display: grid;
  place-items: center;
  transition: opacity 0.35s ease;
}

.site-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.site-loader__inner {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 4px solid #dce7f2;
  border-top-color: var(--color-primary);
  animation: spin 0.8s linear infinite;
}

.loader-loader_2 .site-loader__inner {
  width: 46px;
  height: 8px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  animation: pulse 1s ease-in-out infinite;
}

.loader-loader_3 .site-loader__inner {
  border-style: dashed;
}

.loader-loader_4 .site-loader__inner {
  border: 0;
  background: radial-gradient(circle, var(--color-primary) 30%, rgba(28, 78, 128, 0.15) 32%);
  animation: pulse 1s ease-in-out infinite;
}

.loader-loader_5 .site-loader__inner {
  border-radius: 8px;
}

.hover-zoom .hover-target img {
  transform-origin: center;
}

.hover-zoom .card:hover .hover-target img {
  transform: scale(1.06);
}

.hover-slide .card:hover .hover-target img {
  transform: translateY(-4px);
}

.hover-fade .card:hover .hover-target img {
  opacity: 0.82;
}

.account-form,
.mypage {
  max-width: 560px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1rem;
}

.account-form input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0 0.55rem;
}

.site-footer {
  margin-top: 2.2rem;
  border-top: 1px solid var(--color-border);
  background: #fff;
}

.site-footer .container {
  padding: 1rem 0 5rem;
}

.footer-menu {
  list-style: none;
  margin: 0 0 0.7rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.section__header h1,
.section__header h2 {
  font-size: clamp(1.28rem, 2.1vw, 1.72rem);
  position: relative;
  padding-left: 0.82rem;
}

.section__header h1::before,
.section__header h2:not(.fm-section-title)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(160deg, #1182d8, #ff7d0d);
}

.entry-content {
  color: #1b2a3b;
}

.entry-content > * + * {
  margin-top: 1.1rem;
}

.entry-content p,
.entry-content li {
  font-size: 1rem;
  line-height: 1.9;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.entry-content h2 {
  font-size: clamp(1.2rem, 1.8vw, 1.48rem);
  padding: 0.55rem 0.75rem;
  background: linear-gradient(180deg, #f4f8fd, #edf4fb);
  border-left: 4px solid #1a79cb;
  border-radius: 10px;
}

.entry-content h3 {
  font-size: clamp(1.08rem, 1.5vw, 1.26rem);
  border-bottom: 1px solid rgba(9, 68, 124, 0.17);
  padding-bottom: 0.4rem;
}

.entry-content h4 {
  font-size: 1.02rem;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.2rem;
}

.entry-content blockquote {
  margin: 1.1rem 0;
  padding: 0.72rem 0.92rem;
  border-left: 4px solid #1f7ed0;
  background: #f6fafe;
  border-radius: 10px;
}

.entry-content img {
  border-radius: 12px;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.entry-content table th,
.entry-content table td {
  border: 1px solid var(--color-border);
  padding: 0.52rem 0.62rem;
}

.entry-content table th {
  background: #f4f8fd;
  text-align: left;
}

.page-content,
.notice-single,
.lp-page,
.not-found-page,
.author-profile,
.mypage {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
  padding: clamp(1rem, 2.4vw, 1.4rem);
}

.page-content h1,
.notice-single h1,
.lp-page__hero h1 {
  margin-top: 0;
  line-height: 1.3;
}

.lp-page {
  display: grid;
  gap: 1rem;
}

.lp-page__hero {
  background: linear-gradient(125deg, #073764, #0e68b8);
  color: #fff;
  border-radius: 14px;
  padding: clamp(1rem, 2.4vw, 1.4rem);
}

.lp-page__hero p {
  opacity: 0.95;
}

.lp-section {
  border: 1px solid rgba(9, 73, 134, 0.14);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  padding: 0.95rem;
}

.lp-section h2 {
  margin: 0;
}

.lp-section p {
  margin: 0.6rem 0 0.8rem;
}

.author-profile__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.author-profile__head img {
  border-radius: 50%;
}

.author-profile__head h1 {
  margin: 0;
}

.author-profile__head p {
  margin: 0.4rem 0 0;
  color: var(--color-muted);
}

.not-found-page h1 {
  margin: 0;
}

.not-found-page p {
  margin: 0.55rem 0 1rem;
  color: var(--color-muted);
}

.account-form p {
  margin: 0 0 0.8rem;
}

.account-form label {
  display: block;
  font-size: 0.88rem;
  color: #294561;
  font-weight: 700;
}

.account-form label input[type="text"],
.account-form label input[type="email"],
.account-form label input[type="password"] {
  display: block;
  margin-top: 0.35rem;
}

.account-form input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-right: 0.4rem;
}

.mypage h2 {
  margin: 0;
}

.mypage-list {
  margin: 0.9rem 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.mypage-list a {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #f9fbff;
  padding: 0.58rem 0.7rem;
}

.post-password-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.9rem;
  max-width: 520px;
}

.post-password-form input[type="password"] {
  width: 100%;
  max-width: 280px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0 0.6rem;
}

.post-password-form input[type="submit"] {
  height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 0.9rem;
  background: linear-gradient(125deg, #0a4c90, #1271ca);
  color: #fff;
  font-weight: 700;
}

.pagination {
  margin-top: 1.2rem;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pagination .page-numbers {
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.pagination .page-numbers.current {
  border-color: #0a4d91;
  background: #0a4d91;
  color: #fff;
}

.widget {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.9rem;
  box-shadow: 0 12px 24px rgba(17, 41, 70, 0.08);
}

.widget + .widget {
  margin-top: 0.8rem;
}

.widget__title {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  line-height: 1.35;
}

.widget ul {
  margin: 0;
  padding-left: 1rem;
}

:focus-visible {
  outline: 2px solid rgba(10, 84, 155, 0.6);
  outline-offset: 2px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.92);
    opacity: 0.6;
  }
}

@keyframes kenburnsFade {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  8% {
    opacity: 1;
  }
  28% {
    opacity: 1;
    transform: scale(1.12);
  }
  40% {
    opacity: 0;
    transform: scale(1.17);
  }
  100% {
    opacity: 0;
  }
}

@media (max-width: 980px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .author-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .topbar__inner {
    flex-wrap: wrap;
    padding: 0.45rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-loader__inner,
  .kenburns-hero__layer,
  .card,
  .card__image,
  .full-slider__track,
  .btn,
  .global-nav__list > li > a {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 760px) {
  .site-main {
    padding-top: 1.1rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .global-nav {
    display: none;
    width: 100%;
  }

  .global-nav.is-open {
    display: block;
  }

  .global-nav__list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0.4rem 0 0.9rem;
  }

  .site-header-block__inner {
    flex-wrap: wrap;
    min-height: 66px;
  }

  .post-grid,
  .author-grid {
    grid-template-columns: 1fr;
  }

  .mobile-footer-bar {
    display: grid;
  }

  .side-cta {
    bottom: 78px;
  }

  .mask-scroll-stage {
    min-height: 130vh;
  }

  .mask-scroll-stage__sticky {
    top: 72px;
    min-height: calc(100vh - 94px);
  }

  .mask-scroll-stage__media {
    width: calc(100vw - 1.2rem);
    transform: scale(calc(0.9 + (var(--mask-progress) * 0.15)));
  }

  .mask-scroll-stage__copy {
    left: 1rem;
    right: 1rem;
    bottom: 1.1rem;
  }

  .full-slider__btn {
    width: 38px;
    height: 38px;
  }

  .footer-menu {
    gap: 0.5rem;
    font-size: 0.86rem;
  }

  .author-profile__head {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .author-profile__head img {
    justify-self: center;
  }

  .pagination .page-numbers {
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.6rem;
    font-size: 0.85rem;
  }
}
