/*
Theme Name: RATIO
Theme URI: https://example.com/veritas-lab
Author: Codex
Description: Profesionalna, čista medicinska tema za naučni blog sa naglaskom na verifikovanim informacijama.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: veritas-lab
*/

/* Fonts & base */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --blue: #0c2c54;
  --blue-light: #0d5aa8;
  --green: #0f9b6c;
  --text: #1b2230;
  --muted: #3a4252;
  --bg: #fdfefe;
  --bg-soft: #f3f6f9;
  --bg-green: #e9f7f1;
  --bg-blue: #eef5fb;
  --border: #d5dde6;
  --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.06);
  --radius: 6px;
  --transition: 200ms ease;
  --shadow-light: 0 1px 4px rgba(0, 0, 0, 0.04);
  --container: 1200px;
  --gutter: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--blue);
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1,
h2,
h3,
h4 {
  font-family: 'Lora', serif;
  color: var(--blue);
  margin: 0 0 12px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  color: var(--blue);
}

.mini-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

p {
  margin: 0 0 16px;
  color: var(--text);
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  animation: fadeIn 0.6s ease;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
  }

.fade-in {
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.02em;
}

.brand .logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
}

.brand .wordmark {
  font-size: 18px;
  letter-spacing: 0.08em;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  padding: 0;
  box-sizing: border-box;
}

.primary-menu a {
  padding: 10px 0;
  position: relative;
  display: block;
  width: 100%;
}

.primary-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width var(--transition);
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after {
  width: 100%;
}

.primary-menu li {
  list-style: none;
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 14px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--blue);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.icon-btn:hover {
  border-color: var(--blue);
  color: var(--blue-light);
}

.menu-toggle {
  display: none;
  margin-left: auto;
}

.nav-search {
  display: none;
}

.nav-search input {
  width: 220px;
  background: #fff;
  border-radius: 6px;
}

.nav-search.open {
  display: block;
}

/* Hero */
.hero {
  position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  min-height: 70vh;
  animation: fadeIn 0.6s ease;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(13, 90, 168, 0.12), transparent 45%), radial-gradient(circle at 70% 60%, rgba(15, 155, 108, 0.12), transparent 40%);
  opacity: 0.35;
}

.hero-overlay {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 252, 0.92));
  overflow: hidden;
  animation: fadeIn 0.6s ease;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 168, 225, 0.2), rgba(0, 200, 150, 0.15));
  mix-blend-mode: screen;
  animation: heroGradient 8s ease-in-out infinite alternate;
}

.hero-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22200%22 height=%22200%22 viewBox=%220 0 200 200%22%3E%3Cpath fill=%22%23cfd8e3%22 fill-opacity=%220.25%22 d=%22M45 3h4v4h-4zM115 23h4v4h-4zM175 63h4v4h-4zM95 93h4v4h-4zM25 123h4v4h-4zM145 143h4v4h-4zM65 173h4v4h-4z%22/%3E%3C/svg%3E');
  opacity: 0.3;
  mix-blend-mode: multiply;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px var(--gutter) 60px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(42px, 8vw, 72px);
  color: var(--blue);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.status-panel {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.8);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 16px;
}

.status-panel div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

.status-panel div:last-child {
  border-bottom: none;
}

.status-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--muted);
}

.status-value {
  font-weight: 700;
  color: var(--blue);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  font-size: 20px;
  color: var(--blue);
  animation: bounce 1.4s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -6px); }
}

@keyframes heroGradient {
  0% { opacity: 0.9; }
  100% { opacity: 0.75; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: none;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn-primary:hover {
  background: #002c5f;
  border-color: #002c5f;
}

.btn-outline {
  background: #fff;
  border-color: var(--border);
  color: var(--blue);
}

.btn-outline:hover {
  border-color: var(--blue);
}

.fact-filter.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
}

.badge-blue {
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
}

.badge-green {
  background: var(--green);
  color: #fff;
  border: 1px solid var(--green);
}

/* Trust indicators */
.trust-bar {
  width: 100%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
  animation: fadeIn 0.6s ease;
  padding: 12px 0;
}

.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: stretch;
  text-align: center;
}

.trust-metric {
  padding: 18px 14px;
  display: grid;
  gap: 6px;
  border-right: 1px solid var(--border);
}

.trust-metric:last-child {
  border-right: none;
}

.trust-number {
  font-size: 38px;
  font-weight: 800;
  color: var(--blue);
}

.trust-label {
  color: var(--muted);
  font-size: 14px;
}

/* Sections */
.section {
  width: 100%;
  margin: 72px 0;
  padding: 0 var(--gutter);
  animation: fadeIn 0.6s ease;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
}

.section-head h2 {
  margin: 6px 0 0;
  font-size: 42px;
  position: relative;
}

.section-head h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--blue-light);
  margin-top: 8px;
  border-radius: 4px;
}

.tabs {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  position: sticky;
  top: 70px;
  background: #fff;
  z-index: 5;
  max-width: 100%;
  flex-wrap: wrap;
}

.tabs a {
  padding: 10px 14px;
  color: var(--text);
  border-right: 1px solid var(--border);
  background: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tabs a:last-child {
  border-right: none;
}

.tabs a.active {
  background: var(--blue);
  color: #fff;
}

.tabs a:hover {
  background: #e6f2ff;
}

/* Cards */
.grid {
  display: grid;
  gap: 24px;
}

.posts-grid {
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
  transition: border-color var(--transition), background var(--transition);
}

.card:hover {
  border-color: var(--blue);
  background: #f5f8fc;
}

.glass {
  background: #fff;
  border: 1px solid var(--border);
}

.thumb {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
  position: relative;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.feature-media {
  margin: 10px 0 20px;
}

.badge-thumb {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(12, 44, 84, 0.9);
  color: #fff;
  padding: 6px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
}

.badge-thumb a {
  color: #fff;
}

.meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.meta .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
}

.meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
}

.entry-title {
  font-size: 24px;
  margin: 8px 0;
}

.excerpt {
  color: var(--muted);
}

.read-more {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--blue);
  font-weight: 700;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: var(--blue);
}

/* Fact grid */
.fact-section {
  background: #ffffff;
  padding: 80px 0;
  animation: fadeIn 0.6s ease;
}

.fact-card {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: none;
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 14px;
  align-items: start;
  position: relative;
  border-radius: 4px;
  padding: 12px;
}

.fact-card .badge {
  background: var(--green);
  color: #fff;
  grid-column: 1 / -1;
}

.fact-icon {
  font-size: 24px;
  color: var(--green);
  align-self: center;
  margin-left: -2px;
}

.fact-card:hover {
  border-color: #00a87a;
}

.fact-strip {
  background: var(--green);
  border-radius: 0;
  height: 100%;
  width: 12px;
}

.evidence-tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 12px;
  color: var(--blue);
}

/* Expert team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 40px 0;
}

.team-member {
  text-align: left;
  background: white;
  border-radius: 6px;
  padding: 18px;
  border: 1px solid var(--border);
}

.team-member:hover {
  border-color: var(--blue);
}

.team-member h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #003d82;
}

.team-member .title {
  font-size: 14px;
  color: #00a8e1;
  margin-bottom: 4px;
}

.team-member .specialty {
  font-size: 13px;
  color: #4a5568;
}

.team-member .initials {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 10px;
}

.expert-links {
  display: inline-flex;
  gap: 10px;
  margin-top: 10px;
}

.expert-links a {
  color: var(--blue);
  font-weight: 700;
}

/* Research highlight */
.research {
  background: var(--bg-blue);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 26px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 20px;
  align-items: center;
  animation: fadeIn 0.6s ease;
}

.research-meta {
  color: var(--muted);
}

.key-findings {
  padding-left: 18px;
  color: var(--text);
}

.key-findings li {
  margin-bottom: 6px;
}

.research-img {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  aspect-ratio: 4 / 3;
}

.badge-research {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #ff4d4f;
  color: #fff;
  font-weight: 800;
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.35); }
  70% { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(255, 77, 79, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 77, 79, 0); }
}

/* Newsletter */
.newsletter {
  display: none;
}

input,
select,
textarea {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 18px;
  font-family: 'Inter', sans-serif;
  width: 100%;
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--blue-light);
  border-color: var(--blue-light);
}

.search-form {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
}

.search-field {
  min-width: 200px;
}

.search-select {
  min-width: 150px;
}

.newsletter small {
  color: var(--muted);
}

.newsletter-form input {
  border-radius: 8px 0 0 8px;
  border-right: none;
}

.newsletter-form button {
  border-radius: 0 8px 8px 0;
  padding: 16px 24px;
}

.newsletter h2 {
  font-size: 36px;
}

/* Footer */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-title {
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.footer-links {
  display: grid;
  gap: 8px;
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 14px 20px 20px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}

.breadcrumbs a {
  color: var(--blue);
}

.breadcrumbs .sep {
  color: var(--border);
}

/* Single article */
.single-wrap,
.page-wrap,
.archive-wrap {
  max-width: 900px;
  margin: 40px auto 70px;
  padding: 0 20px;
}

.single-hero {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 22px;
}

.last-updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.content {
  color: var(--text);
}

.content h2,
.content h3,
.content h4 {
  color: var(--blue);
  margin-top: 26px;
}

.content blockquote {
  border-left: 4px solid var(--blue);
  padding-left: 14px;
  color: var(--muted);
  margin: 18px 0;
}

.content code,
.content pre {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.content pre {
  padding: 14px;
  overflow-x: auto;
}

.share-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--blue);
}

.author-box {
  margin: 30px 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  background: #fff;
}

.author-info {
  display: flex;
  gap: 14px;
  align-items: center;
}

.related {
  margin: 40px 0;
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment-body {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}

.pagination {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.pagination a,
.pagination span {
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
}

.reading-progress {
  position: relative;
  width: 100%;
  height: 4px;
  background: var(--bg-soft);
  border-radius: 4px;
  overflow: hidden;
  margin: 10px 0 18px;
}

.reading-progress__bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--blue);
  transition: width 0.1s linear;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.toc {
  margin: 20px 0;
  position: static;
  border: 1px solid var(--border);
}

.toc-list {
  list-style: none;
  padding-left: 0;
}

.toc-list li {
  margin-bottom: 8px;
}

.references {
  margin: 20px 0;
}

/* Utility */
.muted {
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--muted);
}

/* Print */
@media print {
  body {
    background: #fff;
  }
  .site-header,
  .site-footer,
  .hero,
  .share-bar,
  .newsletter,
  .comment-list,
  .breadcrumbs {
    display: none !important;
  }
  .single-wrap {
    max-width: 100%;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .primary-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    padding: 80px var(--gutter);
    flex-direction: column;
    align-items: flex-start;
    transform: translateX(-100%);
    transition: transform var(--transition);
    gap: 14px;
    list-style: none;
    overflow-y: auto;
    box-sizing: border-box;
    align-items: stretch;
  }

  .primary-menu.open {
    transform: translateX(0);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-menu li {
    border-bottom: 1px solid var(--border);
  }

  .primary-menu li:last-child {
    border-bottom: none;
  }

  .primary-menu a {
    padding: 14px 0;
    font-size: 18px;
  }

  .primary-menu a::after {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 60px var(--gutter-mobile);
    text-align: center;
  }

  .research {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav-search {
    width: 100%;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero-ctas {
    justify-content: center;
  }

  .status-panel {
    text-align: left;
    justify-content: center;
  }

  .section-head {
    align-items: center;
    text-align: center;
  }

  .section-head h2::after {
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    margin: 56px auto;
    padding: 0 var(--gutter-mobile);
  }

  .container {
    padding: 0 var(--gutter-mobile);
  }

  .hero-title {
    font-size: clamp(32px, 8vw, 48px);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-form input,
  .newsletter-form button {
    border-radius: 8px;
    border-right: 1px solid var(--border);
  }
}

@media (min-width: 901px) {
  .nav-search {
    display: block;
  }
  .search-toggle {
    display: none;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .section {
    margin: 56px auto;
    padding: 0 var(--gutter-mobile);
  }

  .tabs {
    top: 60px;
    width: 100%;
    justify-content: flex-start;
  }

  .trust-bar .container {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 12px;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .section {
    margin: 60px auto;
  }

  .tabs {
    top: 60px;
  }
}
