/* Páginas editoriales de Links2Redes */
.resource-page {
  background: #f4f9f9;
}
.resource-page .site-header {
  position: sticky;
}
.resource-page .site-header nav a[aria-current="page"] {
  color: var(--blue);
}
.resource-main {
  overflow: hidden;
}
.resource-hero {
  position: relative;
  padding: 72px 0 76px;
  background:
    radial-gradient(
      circle at 86% 16%,
      rgba(8, 168, 154, 0.15),
      transparent 28%
    ),
    radial-gradient(circle at 5% 76%, rgba(8, 127, 195, 0.09), transparent 30%),
    linear-gradient(145deg, #fff 0%, #f4fbfb 100%);
}
.resource-hero:after {
  content: "";
  position: absolute;
  right: -190px;
  bottom: -270px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(8, 127, 195, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 48px rgba(8, 127, 195, 0.03),
    0 0 0 96px rgba(8, 168, 154, 0.02);
}
.resource-hero .container {
  position: relative;
  z-index: 1;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 0.84rem;
}
.breadcrumbs a {
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--blue);
}
.resource-hero h1 {
  max-width: 930px;
  margin: 15px 0 24px;
  font-size: clamp(2.75rem, 6vw, 5rem);
}
.resource-lead {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.27rem);
  line-height: 1.75;
}
.resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.resource-meta span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}
.article-section {
  padding: 86px 0;
  background: #fff;
}
.article-section.alt {
  background: #f1f8f8;
}
.article-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.article-intro h2,
.article-heading h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}
.article-copy {
  color: var(--muted);
  font-size: 1.08rem;
}
.article-copy p {
  margin-bottom: 20px;
}
.article-copy strong {
  color: var(--navy);
}
.article-heading {
  max-width: 820px;
  margin-bottom: 42px;
}
.article-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}
.balance-grid,
.principle-grid,
.market-grid,
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.balance-card,
.principle-card,
.market-card,
.requirement-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}
.balance-card {
  box-shadow: 0 13px 38px rgba(11, 45, 66, 0.07);
}
.balance-card .card-label,
.principle-card > span,
.market-card > span,
.requirement-card > span {
  display: block;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.balance-card h3,
.principle-card h3,
.market-card h3,
.requirement-card h3 {
  font-size: 1.28rem;
  margin-bottom: 12px;
}
.balance-card p,
.principle-card p,
.market-card p,
.requirement-card p {
  margin: 0;
  color: var(--muted);
}
.balance-card.platform {
  border-top: 4px solid var(--blue);
}
.balance-card.own {
  border-top: 4px solid var(--teal);
}
.comparison-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(11, 45, 66, 0.07);
}
.comparison-shell table {
  width: 100%;
  border-collapse: collapse;
}
.comparison-shell th,
.comparison-shell td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
  line-height: 1.52;
}
.comparison-shell th {
  color: #fff;
  background: var(--navy);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.comparison-shell th:first-child {
  width: 22%;
}
.comparison-shell th:nth-child(2),
.comparison-shell th:nth-child(3) {
  width: 39%;
}
.comparison-shell td:first-child {
  color: var(--navy);
  font-weight: 800;
}
.comparison-shell tbody tr:nth-child(even) {
  background: #f7fbfb;
}
.comparison-shell tbody tr:last-child td {
  border-bottom: 0;
}
.market-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.market-card a {
  display: inline-block;
  margin-top: 15px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}
.market-card a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.decision-panel {
  padding: 42px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--navy), #0a526f);
  color: #fff;
  box-shadow: var(--shadow);
}
.decision-panel h2 {
  max-width: 800px;
  margin-bottom: 20px;
  color: #fff;
}
.decision-panel p {
  max-width: 850px;
  color: #d3e4ea;
  font-size: 1.06rem;
}
.decision-panel .button {
  margin-top: 18px;
  background: #fff;
  color: var(--navy);
}
.disclosure {
  margin-top: 38px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f8fbfb;
  color: var(--muted);
  font-size: 0.88rem;
}
.disclosure strong {
  color: var(--navy);
}
.source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.source-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.source-list a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}
.source-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.flow-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.flow-step {
  position: relative;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}
.flow-step > span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  font-weight: 850;
}
.flow-step h3 {
  font-size: 1.05rem;
}
.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.mode-card {
  padding: 30px;
  border-radius: 26px;
  color: #fff;
}
.mode-card.primary-mode {
  background: var(--navy);
}
.mode-card.secondary-mode {
  background: linear-gradient(135deg, var(--blue), var(--teal));
}
.mode-card span {
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mode-card h3 {
  margin: 18px 0 12px;
  color: #fff;
  font-size: 1.45rem;
}
.mode-card p {
  margin: 0;
  color: #d7e7ec;
}
.metric-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}
.metric-note .metric-mark {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
}
.metric-note h3 {
  margin: 0 0 6px;
}
.metric-note p {
  margin: 0;
  color: var(--muted);
}
.resource-footer .footer-grid {
  grid-template-columns: minmax(220px, 1fr) auto auto auto;
}
@media (max-width: 980px) {
  .article-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .market-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow-line {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .resource-hero {
    padding: 52px 0 58px;
  }
  .resource-hero h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }
  .article-section {
    padding: 66px 0;
  }
  .balance-grid,
  .principle-grid,
  .market-grid,
  .requirements-grid,
  .mode-grid,
  .source-list {
    grid-template-columns: 1fr;
  }
  .comparison-shell {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .comparison-shell thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .comparison-shell table,
  .comparison-shell tbody {
    display: block;
  }
  .comparison-shell tr {
    display: block;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
  }
  .comparison-shell td {
    display: block;
    border: 0;
    padding: 15px;
  }
  .comparison-shell td:first-child {
    background: #eaf5f5;
  }
  .comparison-shell td + td {
    border-top: 1px solid var(--line);
  }
  .comparison-shell td:not(:first-child):before {
    content: attr(data-label);
    display: block;
    margin-bottom: 7px;
    color: var(--teal);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .flow-line {
    grid-template-columns: 1fr;
  }
  .decision-panel {
    padding: 30px 24px;
  }
  .metric-note {
    grid-template-columns: 1fr;
  }
  .resource-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}
.comparison-shell tr.comparison-group th {
  padding: 13px 20px;
  background: #e9f5f5;
  color: var(--navy);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}
.comparison-shell tr.comparison-group:first-child th {
  border-top: 0;
}
.comparison-shell tr.comparison-group + tr td {
  background: #fff;
}
.decision-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.decision-panel .decision-actions .button {
  margin-top: 0;
}
.decision-panel .secondary-panel-button {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
}
.comparison-hero-title {
  display: grid;
  gap: 4px;
  max-width: 940px;
}
.comparison-hero-title .title-main,
.comparison-hero-title .title-result {
  display: block;
}
.comparison-hero-title .title-bridge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 10px 0 8px 4px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--teal);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: 0 10px 26px rgba(11, 45, 66, 0.07);
}
.comparison-hero-title .title-result {
  max-width: 760px;
  margin-top: 18px;
  color: #1e596e;
  font-size: clamp(2.1rem, 4.4vw, 3.85rem);
  line-height: 1.02;
}
.help-page .resource-hero h1 {
  max-width: 980px;
}
.help-actions {
  margin-top: 32px;
}
.help-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.help-metric-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(11, 45, 66, 0.06);
}
.help-metric-card span {
  display: block;
  min-height: 42px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}
.help-metric-card strong {
  display: block;
  margin: 8px 0 16px;
  color: var(--navy);
  font-size: 3.1rem;
  line-height: 1;
}
.help-metric-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}
.help-flow .flow-step {
  min-height: 245px;
}
.help-example {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}
.help-example-copy,
.help-ranking {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
}
.help-example-copy h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}
.help-example-copy p {
  margin: 0;
  color: var(--muted);
}
.help-ranking {
  display: grid;
  gap: 12px;
}
.help-ranking div {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(90px, 1.4fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f1f8f8;
}
.help-ranking span {
  color: var(--ink);
  font-weight: 750;
}
.help-ranking i,
.help-mini-bars i {
  display: block;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3eff1;
}
.help-ranking i b,
.help-mini-bars i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}
.help-ranking strong {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
}
.help-detail-grid .principle-card {
  min-height: 240px;
}
.help-mini-bars {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.help-mini-bars div {
  display: grid;
  grid-template-columns: minmax(96px, 1fr) minmax(70px, 1.2fr) auto;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
}
.help-mini-bars strong {
  color: var(--navy);
}
.help-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 680px) {
  .comparison-hero-title {
    gap: 2px;
  }
  .comparison-hero-title .title-bridge {
    margin: 8px 0 6px;
    padding: 7px 13px;
    font-size: 0.92rem;
  }
  .comparison-hero-title .title-result {
    margin-top: 14px;
    font-size: clamp(2rem, 10vw, 2.85rem);
  }
  .help-metric-grid,
  .help-example {
    grid-template-columns: 1fr;
  }
  .help-metric-card {
    min-height: 0;
  }
  .help-ranking div,
  .help-mini-bars div {
    grid-template-columns: 1fr auto;
  }
  .help-ranking i,
  .help-mini-bars i {
    grid-column: 1 / -1;
  }
}

