/* Boat Owner's Resource Center — shared styles */
.resource-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.resource-nav a {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.65);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.resource-nav a:hover,
.resource-nav a:focus {
  border-color: rgba(255, 82, 0, 0.5);
  color: #ff5200;
}
[data-theme="light"] .resource-nav a {
  color: rgba(6, 15, 26, 0.72);
}
.resource-category {
  scroll-margin-top: 1.5rem;
}
.resource-tip {
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  background: var(--bg-card);
  overflow: hidden;
}
.resource-tip summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.resource-tip summary::-webkit-details-marker {
  display: none;
}
.resource-tip summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ff5200;
  line-height: 1.2;
}
.resource-tip[open] summary::after {
  content: "−";
}
.resource-tip summary:hover {
  background: rgba(255, 82, 0, 0.04);
}
.resource-tip-body {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
}
.resource-tip-body h4 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #ff5200;
  margin: 1rem 0 0.5rem;
}
.resource-tip-body h4:first-child {
  margin-top: 1rem;
}
.resource-tip-body p,
.resource-tip-body li {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}
[data-theme="light"] .resource-tip-body p,
[data-theme="light"] .resource-tip-body li {
  color: rgba(6, 15, 26, 0.78);
}
.resource-tip-body ul {
  margin: 0.25rem 0 0;
  padding-left: 1.15rem;
}
.resource-no-regrets {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border-left: 3px solid #ff5200;
  background: rgba(255, 82, 0, 0.07);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}
[data-theme="light"] .resource-no-regrets {
  color: rgba(6, 15, 26, 0.85);
}
.resource-cta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}
.resource-cta p {
  font-size: 0.8125rem;
  margin-bottom: 0.75rem;
}
.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.resource-links a {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 82, 0, 0.35);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ff5200;
  transition: background 0.2s;
}
.resource-links a:hover {
  background: rgba(255, 82, 0, 0.12);
}
.resource-links a.resource-book {
  background: rgba(255, 82, 0, 0.15);
  border-color: rgba(255, 82, 0, 0.5);
}
.breadcrumb-resources {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-sub);
}
.breadcrumb-resources a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}
.breadcrumb-resources a:hover {
  color: #ff5200;
}
[data-theme="light"] .breadcrumb-resources a {
  color: rgba(6, 15, 26, 0.55);
}

.tip-card {
  display: block;
  border-radius: 1rem;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  background: var(--bg-card, rgba(0, 0, 0, 0.45));
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
}
.tip-card:hover {
  border-color: rgba(255, 82, 0, 0.45);
  transform: translateY(-2px);
}
.tip-card h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 0.5rem;
}
[data-theme="light"] .tip-card h3 {
  color: #060f1a;
}
.tip-card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}
[data-theme="light"] .tip-card p {
  color: rgba(6, 15, 26, 0.75);
}
