/* Editorial resources use the existing type, colors, and page margins. */
.home-feature,
.resource-feature {
  margin: 0 7% 60px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 6%;
  align-items: center;
}
.home-feature h2,
.resource-feature h2 { font-size: clamp(28px, 3.2vw, 44px); margin: 12px 0 20px; }
.home-feature p,
.resource-feature p { line-height: 1.7; }
.home-feature .button,
.resource-feature .button { margin-top: 12px; }
.feature-image { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 360px; object-fit: cover; object-position: 50% 68%; }
.home-feature .feature-image { aspect-ratio: auto; max-height: none; object-fit: contain; }
.home-feature { grid-template-columns: minmax(0, 1fr); gap: 28px; text-align: center; }
.home-feature > div { width: min(100%, 720px); margin-inline: auto; }
.home-feature .button { margin-inline: auto; }
.home-feature-art { position: relative; width: min(100%, 1000px); margin: 0 auto; overflow: hidden; }
.home-feature-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgb(255 255 255 / .13) 50%, transparent 65%);
  transform: translateX(-120%); animation: featureShimmer 16s ease-in-out infinite;
}
@keyframes featureShimmer {
  0%, 12% { transform: translateX(-120%); }
  70%, 100% { transform: translateX(120%); }
}
@media (prefers-reduced-motion: reduce) {
  .home-feature-art::after { animation: none; display: none; }
}
.resource-visual { width: min(900px, 86%); margin: 0 auto 48px; }
.resource-visual img { display: block; width: 100%; aspect-ratio: 16 / 10; max-height: 560px; object-fit: cover; object-position: 50% 68%; height: auto; }
.resource-copy { width: min(760px, 86%); margin: 0 auto 80px; line-height: 1.8; }
.resource-copy h2 { font-size: clamp(25px, 3vw, 32px); margin-top: 44px; }
.resource-copy a { text-decoration: underline; text-underline-offset: 3px; }
.resource-copy li { margin-bottom: 12px; }
.resource-copy { overflow-wrap: anywhere; }
.resource-copy .availability-note { font-size: 14px; color: var(--muted); }
.resource-visual img:not([src$="Swilson.JPEG"]) { aspect-ratio: auto; object-fit: contain; max-height: none; }
.article-list { margin: 0 7% 80px; }
.article-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 6%; padding-block: 36px; border-top: 1px solid var(--line); align-items: center; }
.article-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; }
.article-card img[src$="Swilson.JPEG"] { object-fit: cover; object-position: 50% 68%; }
.article-card h2,.article-card h3 { font-size: clamp(26px, 3vw, 38px); margin: 12px 0 20px; }
.article-card h2 a:hover,.article-card h3 a:hover { color: var(--blue); }
.article-list > h2 { font-size:clamp(28px,3vw,36px); margin-bottom:24px; }
.article-card p { line-height: 1.75; }
.related-reading { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 12px; }
.related-reading ul { padding-left: 20px; }
.related-reading .button { text-decoration: none; }
.resource-scope { margin: 0 7% 70px; max-width: 760px; line-height: 1.75; }
@media (max-width: 650px) {
  .home-feature,
  .resource-feature { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .article-card { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

.home-feature .feature-title-link { color: inherit; text-decoration: none; }
.home-feature .feature-title-link:hover { color: var(--blue); }
.feature-image-link { display: block; }
.feature-title-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.feature-image-link:focus-visible { outline: 2px solid var(--blue); outline-offset: -3px; }

/* Published R&G guides: compact editorial rows, distinct from external reference. */
.resource-jump-links { display:flex; flex-wrap:wrap; gap:8px 24px; margin:0 7% 28px; }
.resource-jump-links a { display:inline-flex; align-items:center; min-height:44px; text-decoration:underline; text-underline-offset:4px; }
.article-list .article-card { grid-template-columns:minmax(120px,240px) minmax(0,1fr); gap:28px; padding-block:24px; }
.article-art { display:block; min-width:0; }
.article-art:focus-visible { outline:2px solid var(--blue); outline-offset:4px; }
.article-list .article-card h3 { font-size:clamp(22px,2.5vw,30px); margin:8px 0 12px; }
.article-list .article-card p { margin-block:8px; line-height:1.6; }
.article-list .article-card .plain-link { display:inline-flex; align-items:center; min-height:44px; }
@media(max-width:600px) {
  .article-list .article-card { grid-template-columns:80px minmax(0,1fr); gap:16px; align-items:start; }
  .article-list .article-card .article-art img { aspect-ratio:1; }
  .article-list .article-card p { font-size:15px; }
  .article-list .article-card .eyebrow { margin-top:0; }
}

/* Keep the three-column royalty comparison readable within the article width. */
.royalty-comparison { width:100%; table-layout:fixed; border-collapse:collapse; margin-block:24px; }
.royalty-comparison th,.royalty-comparison td { border:1px solid var(--line); padding:clamp(6px,1.4vw,14px); text-align:left; vertical-align:top; overflow-wrap:anywhere; }
@media (max-width:600px) { .royalty-comparison { font-size:14px; line-height:1.5; } }
