.note-rule-page {
  --nr-primary: #f74000;
  --nr-primary-strong: #cc3500;
  --nr-primary-soft: #ff8a65;
  --nr-on-primary: #ffffff;
  --nr-surface: #f7f4ef;
  --nr-surface-low: #F2F4F6;
  --nr-surface-lowest: #ffffff;
  --nr-surface-container: #ece3db;
  --nr-surface-border: #e0c2b5;
  --nr-text: #1d1a17;
  --nr-text-soft: #57453f;
  --nr-text-muted: #70615b;
  --nr-secondary: #556476;
  --nr-secondary-container: #ffffff;
  --nr-secondary-text: #334255;
  --nr-dark: #222628;
  --nr-dark-text: #f2f3f4;
  --nr-shadow: 0 04px 10px rgba(31, 23, 20, 0.08);
  padding: 2rem 0rem 6rem;
}

.note-rule-page section {
  padding: 20px;
}

.note-rule-page p,
.note-rule-page li,
.note-rule-page span,
.note-rule-page h2 {
  color: inherit;
}

.note-rule-page .material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.note-rule-hero {
  margin-bottom: 1rem;
}

.note-rule-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}



.note-rule-eyebrow-line {
  height: 1px;
  flex: 1;
  background: rgba(228, 190, 180, 0.3);
}

.note-rule-title {
  margin: 0;
  color: var(--nr-primary);
  font-family: Manrope, sans-serif;
  font-size: clamp(2rem, 6vw, 4.75rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.note-rule-title span {
  color: var(--nr-text);
}

.note-rule-grid {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
}

.note-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: var(--nr-shadow);
}

.note-card-law25,
.note-card-law101 {
  background: var(--nr-surface-low);
  transition: background-color 0.35s ease, transform 0.35s ease;
}

.note-card-law25:hover,
.note-card-law101:hover {

  transform: translateY(-2px);
}

.note-card-law25 {
  grid-column: span 8;
  padding: 2rem;
}

.note-card-content {
  position: relative;
  z-index: 1;
}

.note-card-watermark {
  position: absolute;
  top: 0;
  right: 0;
  padding: 2rem;
  opacity: 0.1;
  transition: opacity 0.35s ease;
}

.note-card-law25:hover .note-card-watermark {
  opacity: 0.2;
}

.note-card-watermark-icon {
  font-size: 6rem;
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 48;
}

.note-card-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.note-card-heading h2,
.note-card-crtc h2,
.note-card-casl h2 {
  margin: 0;
  color: var(--nr-text);
  font-family: Manrope, sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.note-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.note-card-icon-primary {
  background: var(--nr-primary);
  color: var(--nr-on-primary);
}

.note-card-icon-secondary {
  background: var(--nr-secondary);
  color: var(--nr-on-primary);
}

.note-card-copy {
  color: var(--nr-text-soft);
  line-height: 1.65;
}

.note-card-copy p {
  margin: 0 0 1rem;
}

.note-card-lead {
  color: var(--nr-text);
  font-size: 1.05rem;
  font-weight: 500;
}

.note-card-highlight {
  color: var(--nr-primary);
  font-weight: 800;
}

.note-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.note-feature {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.note-feature-title {
  color: var(--nr-primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.note-feature p {
  margin: 0;
  font-size: 0.9rem;
}

.note-quote-box {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
}

.note-quote-box p {
  margin: 0;
  color: var(--nr-text);
  font-family: Manrope, sans-serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.7;
}

.note-card-crtc {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  background: var(--nr-primary);
  color: var(--nr-on-primary);
}

.note-card-top-icon {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 3rem;
}

.note-card-crtc h2,
.note-card-casl h2 {
  color: inherit;
  margin-bottom: 1rem;
}

.note-card-crtc-description {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin: 0;
}

.note-card-crtc-box {
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.note-card-crtc-box p {
  margin: 0;
  font-family: Manrope, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
}

.note-card-law101 {
  grid-column: span 7;
  padding: 2rem;
}

.note-card-kicker {
  color: rgba(91, 64, 57, 0.6);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.note-law101-layout {
  display: flex;
  gap: 1.5rem;
}

.note-law101-copy {
  flex: 1;
}

.note-law101-copy p {
  margin: 0 0 1rem;
  color: var(--nr-text-soft);
  line-height: 1.7;
}

.note-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.note-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.note-check-list .material-symbols-outlined {
  color: var(--nr-primary);
  font-size: 1rem;
  margin-top: 0.15rem;
}

.note-check-list span:last-child {
  color: var(--nr-text);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.7;
}

.note-law101-media {
  width: 32%;
  flex-shrink: 0;
}

.note-law101-media img {
  display: block;
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(25, 28, 30, 0.08);
}

.note-law101-footer {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: var(--nr-secondary-container);
}

.note-law101-footer p {
  margin: 0;
  color: var(--nr-secondary-text);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.7;
}

.note-card-casl {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--nr-dark);
  color: var(--nr-dark-text);
}

.note-card-casl-copy {
  margin-bottom: auto;
}

.note-card-casl-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.note-card-casl-copy p {
  margin: 0;
  color: rgba(239, 241, 243, 0.7);
  line-height: 1.8;
}

.note-card-casl-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(239, 241, 243, 0.1);
}

.note-card-casl-footer .material-symbols-outlined {
  color: var(--nr-primary-soft);
}

.note-card-casl-footer p {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

@media (max-width: 1024px) {

  .note-card-law25,
  .note-card-crtc,
  .note-card-law101,
  .note-card-casl {
    grid-column: span 12;
  }
}

@media (max-width: 768px) {

  .note-rule-page {
    padding: 6.25rem 1rem 3rem;
  }

  .note-rule-grid {
    gap: 1.25rem;
  }

  .note-card-law25,
  .note-card-crtc,
  .note-card-law101,
  .note-card-casl {
    padding: 1.5rem;
  }

  .note-feature-grid {
    grid-template-columns: 1fr;
  }

  .note-law101-layout {
    flex-direction: column;
  }

  .note-law101-media {
    width: 100%;
  }

  .note-law101-media img {
    height: auto;
    max-height: 16rem;
  }

  .note-card-heading h2,
  .note-card-crtc h2,
  .note-card-casl h2 {
    font-size: 1.6rem;
  }
}