.heroStorm {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.42)),
    url("../img/storm-dmg-bg.webp") center/cover;

  .heroStormShell {
    display: flex;
    align-items: center;
    min-height: 600px;
    width: var(--container);
    margin: 0 auto;
    padding: 56px 0;
  }

  .heroStormContent {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 100%;
  }

  .heroStormTitle {
    margin: 0;
    font-size: clamp(2.55rem, 10vw, 4.2rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.05em;
    text-wrap: balance;
  }

  .heroStormBody {
    max-width: 44rem;
    margin: 0;
    color: #d1d5dc;
    font-size: 1rem;
    line-height: 1.7;
  }

  .heroStormActions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .heroStormPrimary,
  .heroStormSecondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    width: 100%;
    padding: 14px 24px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  }

  .heroStormPrimary:hover,
  .heroStormSecondary:hover {
    transform: translateY(-1px);
  }

  .heroStormPrimary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .heroStormSecondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.08);
  }
}

@media (width >= 768px) {
  .heroStorm {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 48%, rgba(0, 0, 0, 0.08) 100%),
      url("../img/storm-dmg-bg.webp") center/cover;

    .heroStormShell {
      padding: 88px 0;
    }

    .heroStormContent {
      gap: 28px;
      max-width: 44rem;
    }

    .heroStormTitle {
      font-size: clamp(3.5rem, 7vw, 4.8rem);
    }

    .heroStormBody {
      font-size: 1.125rem;
      line-height: 1.625;
    }

    .heroStormActions {
      flex-direction: row;
      align-items: center;
      width: auto;
    }

    .heroStormPrimary,
    .heroStormSecondary {
      width: auto;
      min-height: 62px;
      padding: 15px 28px;
    }
  }
}

@media (width >= 1024px) {
  .heroStorm {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 48%, rgba(0, 0, 0, 0) 100%),
      url("../img/storm-dmg-bg.webp") center/cover;

    .heroStormShell {
      padding: 110px 0;
    }

    .heroStormContent {
      gap: 29px;
      max-width: 48rem;
    }

    .heroStormTitle {
      max-width: 45rem;
      font-size: 4.375rem;
      line-height: 1;
    }

    .heroStormBody {
      max-width: 44rem;
      font-size: 1.25rem;
      line-height: 1.625;
    }

    .heroStormSecondary {
      padding-right: 31px;
      padding-left: 31px;
    }
  }
}

.defaultPageContent {
  width: var(--container);
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 0 30px;
}

.singlePostContent {
  display: flow-root;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;

  > * {
    margin: 0;
  }

  > * + * {
    margin-top: 1.25rem;
  }

  h2,
  h3,
  h4,
  h5,
  h6 {
    margin: 2rem 0 1rem;
    color: var(--navy);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-wrap: balance;
  }

  h2 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  h3 {
    font-size: 1.375rem;
    line-height: 1.25;
  }

  h4 {
    font-size: 1.125rem;
    line-height: 1.35;
  }

  h5,
  h6 {
    font-size: 1rem;
    line-height: 1.5;
  }

  p,
  li {
    color: inherit;
  }

  a {
    color: var(--orange);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
  }

  strong,
  b {
    color: var(--navy);
    font-weight: 700;
  }

  em {
    font-style: italic;
  }

  ul,
  ol {
    padding-left: 1.35rem;
    margin: 1.5rem 0;
  }

  li::marker {
    color: var(--orange);
  }

  li + li {
    margin-top: 0.55rem;
  }

  blockquote {
    margin: 2rem 0;
    padding: 1.5rem 1.5rem 1.5rem 1.75rem;
    border-left: 4px solid var(--orange);
    border-radius: 20px;
    background: var(--surface);
    color: var(--navy);
  }

  blockquote p {
    margin: 0;
    color: inherit;
    font-size: 1.125rem;
    line-height: 1.75;
  }

  blockquote p + p {
    margin-top: 1rem;
  }

  blockquote cite {
    display: block;
    margin-top: 0.75rem;
    color: var(--muted-soft);
    font-size: 0.9375rem;
    font-style: normal;
  }

  figure {
    margin: 2rem 0;
  }

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

  figure img,
  .wp-block-image img,
  .wp-caption img {
    border-radius: 20px;
  }

  figcaption,
  .wp-caption-text {
    margin-top: 0.75rem;
    color: var(--muted-soft);
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  hr,
  .wp-block-separator {
    margin: 2.5rem 0;
    border: 0;
    border-top: 1px solid var(--line);
  }

  pre {
    overflow-x: auto;
    padding: 1rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--navy);
    color: #fff;
    font-size: 0.925rem;
    line-height: 1.7;
    white-space: pre;
  }

  code {
    padding: 0.15rem 0.35rem;
    border-radius: 6px;
    background: rgba(16, 24, 40, 0.08);
    color: var(--navy);
    font-family: ui-monospace, SFMono-Regular, SF Mono, Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.92em;
  }

  pre code {
    padding: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
  }

  table {
    display: block;
    width: 100%;
    margin: 2rem 0;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 16px;
    border-collapse: collapse;
  }

  thead th {
    background: var(--surface);
    color: var(--navy);
    font-weight: 700;
  }

  th,
  td {
    min-width: 120px;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
  }

  tbody tr:last-child td {
    border-bottom: 0;
  }

  iframe,
  video,
  audio,
  embed,
  object {
    max-width: 100%;
  }

  .wp-block-image,
  .wp-block-embed,
  .wp-block-table,
  .wp-block-gallery,
  .wp-block-buttons {
    margin: 2rem 0;
  }

  .wp-block-table {
    overflow-x: auto;
  }

  .wp-block-buttons {
    gap: 12px;
  }

  .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(255, 127, 0, 0.22);
  }

  .wp-block-button.is-style-outline .wp-block-button__link {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--navy);
    box-shadow: none;
  }

  .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .alignwide,
  .alignfull {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .alignwide,
  .alignfull {
    width: 100%;
    max-width: 100%;
  }
}

@media (width >= 721px) {
  .singlePostContent {
    font-size: 1.0625rem;
    line-height: 1.8;

    h2 {
      font-size: 2rem;
    }

    h3 {
      font-size: 1.5rem;
    }

    blockquote p {
      font-size: 1.1875rem;
      line-height: 1.8;
    }

    .alignleft {
      float: left;
      max-width: 48%;
      margin: 0 1.5rem 1rem 0;
    }

    .alignright {
      float: right;
      max-width: 48%;
      margin: 0 0 1rem 1.5rem;
    }

    .alignwide,
    .alignfull {
      width: 100%;
      max-width: 100%;
    }
  }
}
