:root {
  --sns-home-header-offset: 90px;
  --sns-home-black: #050505;
  --sns-home-panel: #101010;
  --sns-home-panel-soft: #171717;
  --sns-home-white: #ffffff;
  --sns-home-text: #f5f2ea;
  --sns-home-muted: #b9b4aa;
  --sns-home-bronze: #b87333;
  --sns-home-bronze-dark: #8e4f2a;
  --sns-home-red: #c72820;
  --sns-home-red-hover: #dc352b;
  --sns-home-border: rgba(255,255,255,0.14);
  --sns-home-shadow: 0 32px 90px rgba(0,0,0,0.42);
}

html,
body {
  background: var(--sns-home-black);
}

body .site,
body .site-content,
body .content-area,
body .inside-article,
body .entry-content {
  background: transparent;
}

body .container.grid-container,
body .site-content .content-area,
body .site-main,
body .inside-article,
body .entry-content {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

body .inside-article {
  padding-top: 0;
  padding-bottom: 0;
}

.sns-home-page {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--sns-home-black);
  color: var(--sns-home-text);
}

.sns-home-page * {
  box-sizing: border-box;
}

.sns-home-inner {
  width: min(90vw, 1840px);
  margin-left: auto;
  margin-right: auto;
}

.sns-home-section {
  position: relative;
  width: 100%;
  padding-top: clamp(82px, 7vw, 130px);
  padding-bottom: clamp(82px, 7vw, 130px);
}

.sns-home-kicker,
.sns-home-card-kicker {
  display: inline-block;
  margin: 0 0 24px;
  color: var(--sns-home-bronze) !important;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.sns-home-blog-heading .sns-home-kicker,
.sns-home-tools-panel .sns-home-kicker,
.sns-home-about-panel .sns-home-kicker,
.sns-home-web-panel .sns-home-kicker {
  font-size: clamp(0.92rem, 0.82vw, 1.08rem);
  letter-spacing: 0.24em;
}

.sns-home-page h1,
.sns-home-page h2,
.sns-home-page h3,
.sns-home-page h4 {
  margin-top: 0;
  color: var(--sns-home-white);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.sns-home-page h1 {
  max-width: 1080px;
  margin-bottom: 24px;
  font-size: clamp(3.5rem, 7.2vw, 9rem);
}

.sns-home-page h2 {
  max-width: 1320px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 3.9vw, 5.35rem);
}

.sns-home-page h3 {
  font-size: clamp(1.65rem, 2.2vw, 2.8rem);
}

.sns-home-page p {
  color: var(--sns-home-muted);
  line-height: 1.78;
}

.sns-home-lead,
.sns-home-subtitle {
  max-width: 980px;
  margin: 0;
  font-size: clamp(1.05rem, 1.26vw, 1.34rem);
}

.sns-home-section-heading {
  margin-bottom: clamp(42px, 5vw, 82px);
}

.sns-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 34px;
}

.sns-home-button,
.sns-home-button:visited {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border: 1px solid var(--sns-home-red);
  border-radius: 8px;
  background: var(--sns-home-red);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sns-home-button:hover,
.sns-home-button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--sns-home-bronze);
  background: #050505;
  color: var(--sns-home-bronze);
}

/* HERO */
.sns-home-hero {
  min-height: var(--sns-home-hero-real-height, calc(100vh - var(--sns-home-header-offset)));
  height: var(--sns-home-hero-real-height, calc(100vh - var(--sns-home-header-offset)));
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(110px, 12vw, 190px) 0 clamp(92px, 9vw, 150px);
  isolation: isolate;
  background-image: var(--sns-home-hero-bg);
  background-size: cover;
  background-position: center;
  color: var(--sns-home-text);
}

.sns-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 78% 22%, rgba(199,40,32,0.19), transparent 34%),
    radial-gradient(circle at 18% 82%, rgba(184,115,51,0.22), transparent 38%),
    linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.58) 45%, rgba(0,0,0,0.30) 100%);
}

.sns-home-hero-video {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.sns-home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5,5,5,0.06), rgba(5,5,5,0.58)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 80px);
  pointer-events: none;
}

.sns-home-hero-content {
  position: relative;
  z-index: 2;
}

.sns-home-hero .sns-home-lead {
  max-width: 760px;
  color: rgba(245,242,234,0.86);
}

.sns-home-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 5;
  width: 42px;
  height: 64px;
  transform: translateX(-50%);
  border: 1px solid rgba(184,115,51,0.55);
  border-radius: 999px;
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
}

.sns-home-scroll-cue span {
  position: absolute;
  top: 13px;
  left: 50%;
  width: 6px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--sns-home-bronze);
  animation: sns-home-scroll 1.8s ease-in-out infinite;
}

@keyframes sns-home-scroll {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 24px); }
}

/* BLOG */
.sns-home-blog-section {
  background: #050505;
  color: var(--sns-home-text);
  padding-top: 0;
  padding-bottom: 20px;
}

.sns-home-blog-section::before {
  display: none;
}

.sns-home-blog-section::after {
  content: "";
  position: absolute;
  top: clamp(82px, 8vw, 130px);
  right: min(5vw, 92px);
  width: clamp(42px, 4vw, 70px);
  height: clamp(42px, 4vw, 70px);
  border-top: 2px solid rgba(184,115,51,0.82);
  border-right: 2px solid rgba(184,115,51,0.82);
  pointer-events: none;
  z-index: 2;
}

.sns-home-blog-section h2,
.sns-home-blog-section h3 {
  color: var(--sns-home-white);
}

.sns-home-blog-section p {
  color: var(--sns-home-muted);
}


.sns-home-blog-heading h2 {
  color: #080808;
}

.sns-home-blog-heading p,
.sns-home-blog-heading .sns-home-subtitle {
  color: rgba(8, 8, 8, 0.72);
}

.sns-home-blog-heading .sns-home-kicker {
  color: var(--sns-home-bronze);
}

.sns-home-blog-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 70px);
  align-items: end;
  padding-top: clamp(76px, 6vw, 118px);
  padding-bottom: clamp(118px, 8vw, 170px);
  margin-bottom: 0;
  border-bottom: 0;
  box-shadow: none;
}

.sns-home-blog-heading::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  background:
    radial-gradient(circle at 82% 16%, rgba(184, 115, 51, 0.16), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f5efe6 56%, #eadfce 100%);
  border-bottom: 0;
}


.sns-home-blog-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: clamp(20px, 2.1vw, 36px);
  width: min(76vw, 1480px);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent 0%, rgba(184,115,51,0.10) 9%, rgba(184,115,51,0.72) 50%, rgba(184,115,51,0.10) 91%, transparent 100%);
  pointer-events: none;
}

.sns-home-blog-heading h2 {
  max-width: 1600px;
}

.sns-home-blog-heading .sns-home-subtitle {
  max-width: 1420px;
}

.sns-home-blog-button {
  margin-bottom: 10px;
  white-space: nowrap;
}

.sns-home-carousel-block {
  position: relative;
  margin-top: clamp(6px, 0.8vw, 14px);
}

.sns-home-carousel-block + .sns-home-carousel-block {
  margin-top: clamp(34px, 3vw, 58px);
}

.sns-home-carousel-block:not(.sns-home-featured-block)::after {
  content: "";
  display: block;
  width: min(76vw, 1480px);
  height: 1px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 12%, rgba(255,255,255,0.46) 50%, rgba(255,255,255,0.08) 88%, transparent 100%);
}

.sns-home-carousel-head {
  width: min(90vw, 1840px);
  margin: 0 auto 14px;
}

.sns-home-carousel-head h3,
.sns-home-carousel-title {
  margin-bottom: 0;
  color: var(--sns-home-bronze);
  font-size: clamp(1.42rem, 1.70vw, 2.23rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sns-home-carousel-title a,
.sns-home-carousel-title a:visited {
  color: inherit;
  text-decoration: none;
}

.sns-home-carousel-title a:hover,
.sns-home-carousel-title a:focus-visible {
  color: var(--sns-home-red);
}

.sns-home-carousel-shell {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.sns-home-carousel-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 8px;
  scroll-behavior: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--sns-home-bronze) rgba(0,0,0,0.12);
  cursor: grab;
  user-select: none;
  touch-action: auto;
  -webkit-overflow-scrolling: touch;
}

.sns-home-carousel-track.is-pointer-down,
.sns-home-carousel-track.is-dragging {
  cursor: grabbing;
}

.sns-home-carousel-track::-webkit-scrollbar {
  height: 8px;
}

.sns-home-carousel-track::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.1);
}

.sns-home-carousel-track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sns-home-bronze), rgba(184,115,51,0.55));
}

.sns-home-category-card,
.sns-home-post-card {
  flex: 0 0 calc((100vw - 24px) / 4);
  min-width: 0;
}

.sns-home-category-card {
  height: clamp(300px, 25vw, 435px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.11);
  border-radius: 18px;
  background-image: var(--sns-card-bg);
  background-size: cover;
  background-position: center;
  box-shadow: 0 28px 80px rgba(0,0,0,0.18);
}

.sns-home-category-card a {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 2.2vw, 34px);
  text-decoration: none;
  color: #fff;
}

.sns-home-card-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0.76)),
    radial-gradient(circle at 18% 88%, rgba(199,40,32,0.12), transparent 48%);
  transition: opacity 0.22s ease;
}

.sns-home-category-card:hover .sns-home-card-shade {
  opacity: 0.86;
}

.sns-home-category-name,
.sns-home-category-count {
  position: relative;
  z-index: 2;
}

.sns-home-category-name {
  font-size: clamp(1.8rem, 2.35vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.sns-home-category-count {
  margin-top: 12px;
  color: rgba(255,255,255,0.74);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sns-home-post-card {
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 28px 80px rgba(0,0,0,0.16);
}

.sns-home-post-image {
  display: block;
  height: clamp(210px, 19vw, 330px);
  overflow: hidden;
  background: #111;
}

.sns-home-post-image img,
.sns-home-card-placeholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.sns-home-post-card:hover .sns-home-post-image img {
  transform: scale(1.035);
  filter: brightness(1.08);
}

.sns-home-post-body {
  padding: clamp(22px, 2vw, 32px);
}

.sns-home-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.sns-home-post-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(111,55,28,0.42);
  background: rgba(111,55,28,0.06);
  color: #6f371c;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.sns-home-post-card h4 {
  min-height: 3.1em;
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 1.35vw, 1.72rem);
  letter-spacing: -0.035em;
}

.sns-home-post-card h4 a {
  color: #111;
  text-decoration: none;
}

.sns-home-post-card p {
  min-height: 4.8em;
  margin: 0 0 22px;
  color: #4b463f;
  font-size: 0.96rem;
}

.sns-home-read-link {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--sns-home-red);
  background: var(--sns-home-red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sns-home-read-link:hover,
.sns-home-read-link:focus-visible {
  border-color: var(--sns-home-bronze);
  background: #050505;
  color: var(--sns-home-bronze);
}

/* STRUMENTI */
 .sns-home-tools-section {
  position: relative;
  min-height: clamp(560px, 48vw, 760px);
  display: flex;
  align-items: center;
  padding-top: clamp(86px, 8vw, 140px);
  padding-bottom: clamp(86px, 8vw, 140px);
  overflow: hidden;
  background: #f5f5f2;
  color: #111;
  isolation: isolate;
}

.sns-home-tools-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--sns-home-tools-bg) center/cover no-repeat;
  opacity: 0.86;
}

.sns-home-tools-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.54) 0%, rgba(255,255,255,0.28) 45%, rgba(255,255,255,0.12) 100%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.22), rgba(255,255,255,0.04) 58%, rgba(255,255,255,0) 100%);
}

.sns-home-tools-section h2 {
  color: #111;
}

.sns-home-tools-section p {
  color: #37322d;
}

.sns-home-tools-panel {
  width: min(86vw, 1540px);
  max-width: none;
  margin: 0 auto;
  padding: clamp(44px, 5.2vw, 86px) clamp(42px, 5.5vw, 96px);
  border: 1px solid rgba(184,115,51,0.46);
  border-radius: 24px;
  background: rgba(255,255,255,0.74);
  box-shadow: 0 28px 90px rgba(0,0,0,0.12);
  backdrop-filter: blur(8px);
}

.sns-home-tools-visual {
  display: none;
}

.sns-home-tools-panel h2 {
  max-width: 1480px;
}

.sns-home-tools-panel p {
  max-width: 1320px;
  font-size: clamp(1.02rem, 1.18vw, 1.25rem);
}

/* ABOUT */
.sns-home-about-section {
  position: relative;
  min-height: auto;
  display: block;
  padding-top: clamp(86px, 7vw, 136px);
  padding-bottom: clamp(88px, 7vw, 140px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5,5,5,0.92), rgba(5,5,5,0.72)),
    var(--sns-home-about-bg) center/cover no-repeat;
  color: var(--sns-home-text);
  isolation: isolate;
}

.sns-home-about-section::after {
  content: "";
  position: absolute;
  top: clamp(54px, 5.4vw, 92px);
  right: min(5vw, 92px);
  width: clamp(42px, 4vw, 70px);
  height: clamp(42px, 4vw, 70px);
  border-top: 2px solid rgba(184,115,51,0.76);
  border-right: 2px solid rgba(184,115,51,0.76);
  pointer-events: none;
  z-index: 1;
}

.sns-home-about-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 70px);
  align-items: end;
  width: min(90vw, 1840px);
  max-width: none;
  margin: 0 auto;
  padding: clamp(18px, 2vw, 34px) 0 clamp(56px, 4.5vw, 86px);
  border: 0;
  border-bottom: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.sns-home-about-panel::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 1.8vw, 34px);
  width: min(76vw, 1480px);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent 0%, rgba(184,115,51,0.10) 9%, rgba(184,115,51,0.62) 50%, rgba(184,115,51,0.10) 91%, transparent 100%);
  pointer-events: none;
}

.sns-home-about-panel h2 {
  max-width: 1480px;
  margin-bottom: 22px;
  color: var(--sns-home-white);
  font-size: clamp(2.35rem, 3.9vw, 5.35rem);
}

.sns-home-about-panel p {
  max-width: 1320px;
  color: var(--sns-home-muted);
  font-size: clamp(1.02rem, 1.18vw, 1.25rem);
}

.sns-home-about-panel .sns-home-button {
  align-self: end;
  margin-bottom: clamp(18px, 1.8vw, 34px);
  white-space: nowrap;
}

/* WEB DESIGN */
.sns-home-web-section {
  position: relative;
  min-height: clamp(560px, 48vw, 760px);
  display: flex;
  align-items: center;
  padding-top: clamp(86px, 8vw, 140px);
  padding-bottom: clamp(86px, 8vw, 140px);
  overflow: hidden;
  background: #f5f5f2;
  color: #111;
  isolation: isolate;
}

.sns-home-web-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--sns-home-web-bg) center/cover no-repeat;
  opacity: 0.86;
}

.sns-home-web-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.54) 0%, rgba(255,255,255,0.28) 45%, rgba(255,255,255,0.12) 100%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.22), rgba(255,255,255,0.04) 58%, rgba(255,255,255,0) 100%);
}

.sns-home-web-section h2 {
  color: #111;
}

.sns-home-web-section p {
  color: #37322d;
}

.sns-home-web-panel {
  width: min(86vw, 1540px);
  max-width: none;
  margin: 0 auto;
  padding: clamp(44px, 5.2vw, 86px) clamp(42px, 5.5vw, 96px);
  border: 1px solid rgba(184,115,51,0.46);
  border-radius: 24px;
  background: rgba(255,255,255,0.74);
  box-shadow: 0 28px 90px rgba(0,0,0,0.12);
  backdrop-filter: blur(8px);
}

.sns-home-web-panel h2 {
  max-width: 1480px;
}

.sns-home-web-panel p {
  max-width: 1320px;
  font-size: clamp(1.02rem, 1.18vw, 1.25rem);
}

/* CONTATTI */
.sns-home-contact-section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(88px, 7vw, 140px);
  padding-bottom: clamp(88px, 7vw, 140px);
  background:
    linear-gradient(90deg, rgba(5,5,5,0.91), rgba(5,5,5,0.64)),
    var(--sns-home-contact-bg) center/cover no-repeat;
}

.sns-home-contact-box {
  width: min(90vw, 1580px);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(44px, 5.4vw, 88px) clamp(42px, 5.8vw, 104px);
  border: 1px solid rgba(184,115,51,0.34);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 18%, rgba(184,115,51,0.12), transparent 30%),
    linear-gradient(145deg, rgba(16,16,16,0.84), rgba(10,10,10,0.68));
  box-shadow: 0 32px 90px rgba(0,0,0,0.42);
  backdrop-filter: blur(10px);
}

.sns-home-contact-box h2 {
  max-width: 1480px;
}

.sns-home-contact-box p {
  max-width: 1220px;
  font-size: clamp(1.02rem, 1.18vw, 1.25rem);
}

.sns-home-contact-box .sns-home-button {
  margin-top: 10px;
  white-space: nowrap;
}


.sns-home-featured-block {
  margin-bottom: 0;
}

.sns-home-featured-block .sns-home-carousel-track {
  padding-bottom: 6px;
}

@media (max-width: 900px) {
  .sns-home-carousel-track {
    overflow-x: auto;
    overflow-y: hidden;
    touch-action: auto;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: default;
  }

  .sns-home-category-card,
  .sns-home-post-card {
    scroll-snap-align: center;
    scroll-snap-stop: normal;
  }
}

@media (max-width: 1320px) {
  .sns-home-category-card,
  .sns-home-post-card {
    flex-basis: calc((100vw - 16px) / 3);
  }
}

@media (max-width: 980px) {
  .sns-home-blog-heading,
  .sns-home-about-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .sns-home-blog-button,
  .sns-home-about-panel .sns-home-button {
    width: fit-content;
    margin-bottom: 0;
  }
}

@media (max-width: 900px) {
  .sns-home-inner,
  .sns-home-carousel-head {
    width: min(92vw, 100%);
  }

  .sns-home-hero {
    min-height: 82vh;
  }

  .sns-home-page h1 {
    font-size: clamp(2.85rem, 13vw, 5.1rem);
  }

  .sns-home-page h2 {
    font-size: clamp(2rem, 10vw, 3.8rem);
  }

  .sns-home-carousel-head h3,
  .sns-home-carousel-title {
    font-size: clamp(1.66rem, 7.4vw, 2.4rem);
    letter-spacing: 0.14em;
    line-height: 1.08;
  }

  .sns-home-category-card,
  .sns-home-post-card {
    flex-basis: 100vw;
  }

  .sns-home-carousel-track {
    gap: 0;
  }

  .sns-home-category-card,
  .sns-home-post-card {
    border-radius: 16px;
  }


  .sns-home-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .sns-home-button,
  .sns-home-button:visited,
  .sns-home-blog-button {
    width: 100%;
  }

  .sns-home-scroll-cue {
    bottom: 22px;
  }
}

@media (max-width: 560px) {
  .sns-home-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .sns-home-hero {
    padding-top: 96px;
    padding-bottom: 108px;
  }

  .sns-home-post-body,
  .sns-home-category-card a,
  .sns-home-tools-panel,
  .sns-home-web-panel,
  .sns-home-contact-box {
    padding: 24px;
  }

  .sns-home-post-card h4,
  .sns-home-post-card p {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .sns-home-contact-box .sns-home-button {
    width: fit-content;
  }
}

@media (max-width: 560px) {
  .sns-home-contact-box .sns-home-button {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .sns-home-contact-box .sns-home-button {
    width: fit-content;
  }
}

@media (max-width: 560px) {
  .sns-home-contact-box .sns-home-button {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .sns-home-tools-section {
    min-height: 520px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.82) 48%, rgba(255,255,255,0.48) 100%),
      var(--sns-home-tools-bg) center/cover no-repeat;
  }
}


@media (max-width: 900px) {
  .sns-home-blog-section {
    padding-bottom: 20px;
  }

  .sns-home-blog-heading::before {
    background: #ffffff;
  }

  .sns-home-carousel-block:not(.sns-home-featured-block)::after {
    width: min(82vw, 1000px);
    margin-top: 10px;
  }
}



@media (max-width: 900px) {
  .sns-home-web-section {
    min-height: 520px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.82) 48%, rgba(255,255,255,0.48) 100%),
      var(--sns-home-web-bg) center/cover no-repeat;
  }
}
