@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
  --navy: #092b69;
  --navy-deep: #06245d;
  --blue: #0865f5;
  --blue-dark: #064fd1;
  --text: #173566;
  --muted: #5b6e8e;
  --line: #e5edf8;
  --pale: #f2f7ff;
  --shadow: 0 5px 18px rgba(25, 67, 128, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: #fff; font-family: 'DM Sans', Arial, sans-serif; font-size: 13px; }
a { color: inherit; text-decoration: none; }
.page-shell { width: min(calc(100% - 40px), 1440px); margin-inline: auto; padding-inline: 0; }
.btn { border-radius: 8px; font-weight: 700; box-shadow: 0 3px 9px rgba(8, 101, 245, .12); }
.btn-primary { background: var(--blue); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
h1, h2, h3 { color: var(--navy-deep); }
h1, .section-heading h2, .why-banner h2, .submit-banner h2, .spotlight-copy h3 { font-family: 'Playfair Display', Georgia, serif; letter-spacing: -.035em; }
.announcement-wrap { padding-top: 3px; background: #fff; }
.announcement-bar { min-height: 49px; display: flex; align-items: center; gap: 10px; padding: 7px 13px; border: 1px solid #e4edff; border-radius: 9px; background: linear-gradient(95deg, #edf4ff, #eaf2ff); color: var(--navy); }
.announcement-icon { font-size: 19px; color: #2875f5; }
.announcement-label { font-size: 10px; font-weight: 800; color: #1162df; white-space: nowrap; }
.new-pill { font-size: 9px; font-weight: 700; color: #fff; background: #e24b4b; border-radius: 10px; padding: 3px 7px; }
.announcement-copy { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.announcement-copy strong { font-size: 11px; }
.announcement-copy small { font-size: 9px; color: #526889; }
.announcement-action { font-size: 10px; padding: 7px 12px; white-space: nowrap; }
.announcement-close { border: 0; background: transparent; color: #7b8ba4; padding: 2px 0 2px 10px; }
.site-header { background: #fff; border-bottom: 1px solid #f0f4fb; }
.navbar { min-height: 69px; gap: 18px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 8px; min-width: max-content; color: var(--navy); }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 7px; background: #082b68; color: #fff; font-size: 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.brand-lockup strong { display: block; font-size: 14px; line-height: 1.15; font-weight: 800; letter-spacing: -.035em; }
.brand-lockup small { display: block; margin-top: 3px; color: #5d6f8c; font-size: 8px; }
.nav-links { gap: 15px; }
.nav-links .nav-link { color: #566984; font-size: 11px; padding: 11px 4px !important; position: relative; }
.nav-links .nav-link.active { color: #064bb9; font-weight: 700; }
.nav-links .nav-link.active:after { content: ''; height: 2px; width: 100%; background: var(--blue); position: absolute; bottom: 2px; left: 0; }
.nav-search { height: 34px; width: clamp(190px, 24vw, 310px); border: 1px solid #e0e8f5; border-radius: 7px; align-items: center; overflow: hidden; color: #637897; }
.nav-search > i { margin-left: 10px; font-size: 13px; }
.nav-search input { width: 100%; min-width: 0; border: 0; outline: 0; padding: 0 9px; font-size: 9px; color: var(--text); }
.nav-search button { height: 100%; width: 38px; border: 0; background: var(--blue); color: white; flex-shrink: 0; }
.create-profile-btn { font-size: 10px; padding: 9px 13px; white-space: nowrap; }
.navbar-toggler { padding: 5px 8px; border-color: #dbe6f7; }

.hero-section { min-height: 430px; display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 20px; padding-top: 26px; padding-bottom: 22px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 88% 60%, #f2f7ff 0, #fff 57%); }
.hero-copy { position: relative; z-index: 2; padding: 0 0 10px 20px; }
.eyebrow { color: #61799b; font-size: 10px; font-weight: 800; letter-spacing: .1em; margin-bottom: 15px; }
.eyebrow span { color: #a7b8d1; margin: 0 4px; }
.hero-copy h1 { font-size: clamp(31px, 3.4vw, 49px); line-height: 1.03; font-weight: 800; margin: 0 0 13px; max-width: 560px; }
.hero-description { color: #5c6e8b; line-height: 1.6; font-size: 13px; max-width: 510px; margin-bottom: 20px; }
.hero-search { display: flex; align-items: center; height: 44px; max-width: 510px; border: 1px solid #e0e8f5; background: #fff; border-radius: 9px; box-shadow: var(--shadow); padding: 4px; gap: 9px; }
.hero-search > i { color: #647b9f; margin-left: 10px; font-size: 16px; }
.hero-search input { border: 0; outline: 0; flex: 1; min-width: 0; font-size: 11px; color: var(--text); }
.hero-search input::placeholder, .nav-search input::placeholder { color: #8392a9; }
.hero-search .btn { height: 34px; padding: 0 24px; font-size: 11px; }
.popular-searches { display: flex; flex-wrap: wrap; gap: 12px; margin: 11px 0 21px; align-items: center; font-size: 9px; }
.popular-searches strong { font-size: 9px; color: #304c77; }
.popular-searches a { color: #0760e8; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { padding: 12px 19px; font-size: 11px; }
.hero-actions .btn-light { background: #fff; border: 1px solid #e6edf7; color: var(--navy); }
.hero-actions i { margin-left: 7px; }
.hero-visual { position: relative; height: 365px; min-width: 0; }
.map-dots { position: absolute; inset: 10px 0 0 0; opacity: .58; background-image: radial-gradient(#b8d3ff 1.05px, transparent 1.05px); background-size: 5px 5px; mask-image: radial-gradient(ellipse at 45% 45%, #000 0%, transparent 69%); }
.hero-card { position: absolute; background: #fff; width: 28%; max-width: 170px; border-radius: 12px; padding: 5px; box-shadow: 0 8px 24px rgba(21, 56, 103, .15); border: 1px solid rgba(220, 230, 245, .85); transform: rotate(-5deg); overflow: hidden; }
.hero-card img { width: 100%; height: 130px; object-fit: cover; object-position: center 24%; border-radius: 8px; display: block; }
.hero-card-caption { display: flex; flex-direction: column; gap: 2px; padding: 7px 6px 5px; font-size: 9px; line-height: 1.25; color: #61718b; }
.hero-card-caption strong { font-size: 10px; color: var(--navy); }
.verified { color: #0874f9; font-size: .92em; }
.hero-card-elon { left: 9%; top: 3%; width: 31%; transform: rotate(-7deg); z-index: 2; }
.hero-card-elon img { height: 155px; }
.hero-card-jeff { left: 43%; top: 5%; width: 26%; transform: rotate(-5deg); z-index: 3; }
.hero-card-jeff img { height: 98px; }
.hero-card-melinda { right: 1%; top: 13%; width: 26%; transform: rotate(-6deg); z-index: 2; }
.hero-card-melinda img { height: 94px; }
.hero-card-mark { left: 10%; bottom: 2%; width: 29%; transform: rotate(-4deg); z-index: 4; }
.hero-card-mark img { height: 105px; }
.hero-card-sundar { left: 42%; bottom: 0; width: 26%; transform: rotate(-5deg); z-index: 3; }
.hero-card-sundar img { height: 95px; }
.hero-card-satya { right: 0; bottom: 5%; width: 26%; transform: rotate(-5deg); z-index: 2; }
.hero-card-satya img { height: 95px; }
.hero-note { position: absolute; left: 48%; top: 48%; z-index: 5; color: #1671f2; font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: 13px; line-height: 1.2; transform: rotate(-7deg); text-shadow: 0 1px white; }
.hero-note i { display: block; font-size: 19px; margin-left: 38px; margin-top: 2px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-top: 2px; padding-bottom: 15px; }
.stat-card { display: flex; align-items: center; gap: 13px; min-height: 90px; border: 1px solid #edf2f9; border-radius: 9px; padding: 14px 16px; background: #fff; box-shadow: var(--shadow); }
.stat-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 13px; flex-shrink: 0; font-size: 23px; }
.stat-icon.blue { color: #1672f8; background: #edf5ff; }
.stat-icon.green { color: #32a852; background: #effaf0; }
.stat-card strong { display: block; font-size: 21px; line-height: 1.15; font-weight: 800; color: var(--navy-deep); letter-spacing: -.04em; }
.stat-card span:not(.stat-icon) { display: block; color: #314c78; font-size: 11px; margin-top: 4px; }
.stat-card small { display: block; font-size: 9px; color: #74839a; margin-top: 3px; }

.why-banner { display: grid; grid-template-columns: 2.3fr 1fr 1.2fr 1fr; align-items: center; gap: 18px; padding: 16px 22px; min-height: 100px; border-radius: 9px; background: linear-gradient(105deg, #eff6ff, #edf5ff); margin-bottom: 26px; }
.why-intro { display: flex; align-items: center; gap: 16px; }
.why-book { display: grid; place-items: center; width: 65px; height: 65px; border-radius: 50%; background: #78adff; color: #fff; font-size: 27px; flex-shrink: 0; box-shadow: inset 0 0 0 6px rgba(255,255,255,.12); }
.why-banner h2 { font-size: 21px; margin: 0 0 5px; font-weight: 700; }
.why-banner p { font-size: 10px; color: #61728d; line-height: 1.45; max-width: 370px; margin: 0; }
.why-point { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.why-point > span { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; background: #d8e8ff; color: #064ab2; font-size: 18px; margin-bottom: 1px; }
.why-point strong { color: var(--navy); font-size: 9px; }
.why-point small { color: #6a7c98; font-size: 8px; }

.content-section { margin-bottom: 23px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
.section-heading h2 { font-size: 23px; line-height: 1.15; margin: 0 0 4px; font-weight: 700; }
.section-heading p { color: #647895; font-size: 11px; margin: 0; }
.section-icon { font-family: 'DM Sans', sans-serif; font-size: 22px; margin-right: 9px; vertical-align: -1px; }
.section-icon.star { color: #ffb72c; }
.section-icon.document { color: #438cf6; }
.section-icon.clock { color: #438cf6; }
.section-controls { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.section-controls > a { color: #0662e9; font-size: 9px; font-weight: 700; margin-right: 7px; }
.section-controls button { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #e6edf7; border-radius: 50%; background: #fff; color: #5d7293; box-shadow: 0 2px 5px rgba(22, 55, 100, .04); }
.featured-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 11px; }
.profile-card { border: 1px solid #e9eff8; border-radius: 7px; overflow: hidden; background: #fff; box-shadow: 0 3px 9px rgba(21, 58, 106, .04); min-width: 0; }
.profile-card > img { width: 100%; height: 135px; display: block; object-fit: cover; object-position: center 23%; background: #e9eff7; }
.profile-card-body { padding: 9px 9px 10px; }
.profile-card h3 { font-size: 11px; line-height: 1.3; font-weight: 800; margin: 0 0 5px; letter-spacing: -.02em; }
.profile-card .role { color: #687b98; font-size: 9px; line-height: 1.45; min-height: 27px; margin: 0 0 7px; }
.profile-card .bio { color: #4e6281; font-size: 9px; line-height: 1.48; min-height: 54px; margin: 0 0 9px; }
.profile-card a, .spotlight-copy a, .story-mini a { color: #0064ed; font-size: 10px; font-weight: 700; }
.profile-card a i, .spotlight-copy a i, .story-mini a i { margin-left: 4px; }

.spotlight-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 15px; }
.spotlight-feature { display: grid; grid-template-columns: 40% 1fr; gap: 16px; min-height: 205px; border: 1px solid #e9eff8; border-radius: 9px; overflow: hidden; box-shadow: var(--shadow); background: #fff; padding: 8px; }
.spotlight-feature > img { width: 100%; height: 100%; min-height: 185px; object-fit: cover; object-position: center 18%; border-radius: 6px; }
.spotlight-copy { align-self: center; padding: 7px 8px 7px 0; }
.featured-label { display: inline-block; padding: 5px 8px; background: #fff0cf; color: #9a5b00; font-size: 9px; font-weight: 800; border-radius: 5px; margin-bottom: 10px; }
.spotlight-copy h3 { font-size: 19px; line-height: 1.25; margin: 0 0 9px; font-weight: 700; }
.spotlight-copy p { color: #61728c; font-size: 11px; line-height: 1.55; margin: 0 0 16px; }
.story-list { display: flex; flex-direction: column; gap: 9px; }
.story-mini { display: grid; grid-template-columns: 82px 1fr; gap: 12px; align-items: stretch; border: 1px solid #e9eff8; border-radius: 8px; overflow: hidden; padding: 5px; box-shadow: 0 3px 9px rgba(21, 58, 106, .04); }
.story-mini img { width: 82px; height: 100%; min-height: 56px; max-height: 64px; object-fit: cover; object-position: center 25%; border-radius: 5px; }
.story-mini h3 { font-size: 11px; font-weight: 800; margin: 2px 0 4px; }
.story-mini p { color: #657894; font-size: 9px; line-height: 1.4; margin: 0 0 2px; }
.story-mini a { font-size: 9px; }

.recent-section { margin-bottom: 16px; }
.recent-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 11px; }
.recent-card { border: 1px solid #e9eff8; border-radius: 7px; overflow: hidden; box-shadow: 0 3px 9px rgba(21, 58, 106, .04); background: #fff; min-width: 0; }
.recent-card > img { display: block; width: 100%; height: 91px; object-fit: cover; object-position: center 20%; background: #eef3fa; }
.recent-card > div { padding: 8px 9px 10px; }
.recent-card h3 { font-size: 10px; font-weight: 800; line-height: 1.25; margin: 0 0 5px; }
.recent-card p, .recent-card small { display: block; font-size: 9px; line-height: 1.3; color: #6a7c98; margin: 0 0 2px; }

.submit-banner { min-height: 105px; border-radius: 10px; background: linear-gradient(105deg, #062b70, #0053b9 72%, #0871ed); color: #fff; display: flex; align-items: center; gap: 22px; padding: 18px clamp(20px, 7vw, 95px); margin-bottom: 22px; }
.submit-icon { display: grid; place-items: center; width: 67px; height: 67px; flex-shrink: 0; border-radius: 50%; background: rgba(43, 143, 255, .35); font-size: 29px; }
.submit-copy { flex: 1; }
.submit-banner h2 { color: #fff; font-size: 22px; margin: 0 0 5px; font-weight: 700; }
.submit-banner p { color: #e2edff; font-size: 11px; line-height: 1.5; margin: 0; }
.submit-banner .btn { color: var(--navy); background: #fff; border: 1px solid rgba(255,255,255,.6); padding: 12px 19px; font-size: 10px; white-space: nowrap; }
.submit-banner .btn i { margin-left: 6px; }

.site-footer { display: grid; grid-template-columns: 1.4fr .7fr .7fr .7fr 1.45fr; gap: 28px; padding-top: 4px; }
.footer-brand .brand-mark { width: 28px; height: 28px; }
.footer-brand .brand-lockup strong { font-size: 13px; }
.social-links { display: flex; gap: 15px; margin-top: 17px; color: #5b6d87; font-size: 12px; }
.social-links a:hover, .footer-column a:hover { color: var(--blue); }
.footer-column, .footer-newsletter { display: flex; flex-direction: column; align-items: flex-start; }
.footer-column h3, .footer-newsletter h3 { font-size: 11px; color: var(--navy); font-weight: 800; margin: 2px 0 8px; }
.footer-column a { font-size: 10px; color: #62748f; margin-bottom: 5px; }
.footer-newsletter p { color: #6b7d96; font-size: 9px; margin: 0 0 7px; }
.footer-newsletter form { width: 100%; display: flex; height: 34px; border: 1px solid #dce7f7; border-radius: 7px; overflow: hidden; }
.footer-newsletter input { width: 100%; min-width: 0; border: 0; outline: 0; padding: 0 10px; font-size: 10px; }
.footer-newsletter button { font-size: 9px; border-radius: 0; padding: 0 13px; }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid #edf1f7; padding: 12px 0 18px; margin-top: 3px; display: flex; justify-content: space-between; gap: 15px; color: #8a98ad; font-size: 9px; }

/* Responsive behavior */
@media (min-width: 1500px) {
  .hero-section { min-height: 470px; }
  .hero-visual { height: 410px; }
  .profile-card > img { height: 155px; }
}
@media (max-width: 1199.98px) {
  .navbar { gap: 12px; }
  .nav-links { gap: 8px; }
  .nav-search { width: 220px; }
  .hero-section { grid-template-columns: 1fr 1fr; gap: 6px; }
  .hero-copy { padding-left: 8px; }
  .hero-card img { height: 105px; }
  .hero-card-elon img { height: 130px; }
  .hero-card-jeff img, .hero-card-melinda img, .hero-card-sundar img, .hero-card-satya img { height: 82px; }
  .hero-card-mark img { height: 90px; }
  .stat-card { padding: 12px 10px; gap: 9px; }
  .stat-icon { width: 43px; height: 43px; }
  .featured-grid, .recent-grid { gap: 8px; }
  .profile-card > img { height: 115px; }
  .profile-card-body { padding: 8px 7px; }
  .profile-card .bio { min-height: 68px; }
  .site-footer { gap: 18px; }
}
@media (max-width: 991.98px) {
  .page-shell { width: min(calc(100% - 28px), 900px); }
  .navbar { padding-top: 12px; padding-bottom: 12px; }
  .navbar-collapse { padding-top: 14px; }
  .nav-links { align-items: flex-start; margin-bottom: 12px; }
  .nav-links .nav-link.active:after { display: none; }
  .nav-search { width: 100%; margin-bottom: 12px; }
  .create-profile-btn { display: inline-block; width: fit-content; }
  .hero-section { min-height: 0; grid-template-columns: 1fr 1fr; padding-top: 28px; padding-bottom: 20px; }
  .hero-copy h1 { font-size: clamp(30px, 4.3vw, 42px); }
  .hero-visual { height: 330px; }
  .hero-card { padding: 4px; }
  .hero-card-caption { padding: 5px 4px; font-size: 8px; }
  .hero-card-caption strong { font-size: 9px; }
  .hero-card-elon img { height: 115px; }
  .hero-card-jeff img, .hero-card-melinda img, .hero-card-sundar img, .hero-card-satya img { height: 70px; }
  .hero-card-mark img { height: 78px; }
  .hero-note { font-size: 11px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-banner { grid-template-columns: 1.7fr 1fr 1fr; }
  .why-point:last-child { display: none; }
  .featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile-card > img { height: 170px; }
  .profile-card .bio { min-height: 42px; }
  .recent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .recent-card > img { height: 135px; }
  .spotlight-layout { grid-template-columns: 1fr; }
  .spotlight-feature { min-height: 230px; }
  .story-list { display: grid; grid-template-columns: repeat(3, 1fr); }
  .story-mini { grid-template-columns: 70px 1fr; }
  .story-mini img { width: 70px; }
  .site-footer { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: span 2; }
  .footer-newsletter { grid-column: span 2; }
}
@media (max-width: 767.98px) {
  body { font-size: 12px; }
  .page-shell { width: min(calc(100% - 24px), 640px); }
  .announcement-bar { gap: 6px; padding: 8px; align-items: flex-start; }
  .announcement-icon { font-size: 16px; margin-top: 2px; }
  .announcement-label { font-size: 8px; padding-top: 4px; }
  .new-pill { font-size: 8px; margin-top: 2px; }
  .announcement-copy strong { font-size: 9px; line-height: 1.3; }
  .announcement-copy small { display: none; }
  .announcement-action { display: none; }
  .announcement-close { margin-left: auto; padding-left: 2px; }
  .brand-lockup strong { font-size: 13px; }
  .hero-section { display: flex; flex-direction: column; align-items: stretch; padding-top: 25px; }
  .hero-copy { padding: 0; }
  .eyebrow { font-size: 9px; margin-bottom: 12px; }
  .hero-copy h1 { font-size: clamp(32px, 8vw, 44px); }
  .hero-description { font-size: 12px; margin-bottom: 15px; }
  .hero-search { max-width: none; }
  .hero-search input { font-size: 10px; }
  .popular-searches { gap: 9px; margin-bottom: 15px; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn { padding: 10px 12px; font-size: 10px; }
  .hero-visual { height: 355px; margin-top: 10px; width: 100%; }
  .hero-card { width: 27%; }
  .hero-card img { height: 90px; }
  .hero-card-caption { font-size: 7px; }
  .hero-card-caption strong { font-size: 8px; }
  .hero-card-elon { left: 7%; top: 3%; width: 31%; }
  .hero-card-elon img { height: 115px; }
  .hero-card-jeff { left: 40%; top: 4%; width: 27%; }
  .hero-card-jeff img { height: 77px; }
  .hero-card-melinda { right: 2%; top: 12%; width: 27%; }
  .hero-card-melinda img { height: 78px; }
  .hero-card-mark { left: 7%; bottom: 0; width: 30%; }
  .hero-card-mark img { height: 82px; }
  .hero-card-sundar { left: 39%; bottom: 0; width: 28%; }
  .hero-card-sundar img { height: 74px; }
  .hero-card-satya { right: 2%; bottom: 3%; width: 27%; }
  .hero-card-satya img { height: 75px; }
  .hero-note { left: 44%; top: 46%; font-size: 11px; }
  .stats-grid { gap: 8px; padding-bottom: 12px; }
  .stat-card { min-height: 78px; padding: 10px; gap: 8px; }
  .stat-icon { width: 37px; height: 37px; font-size: 18px; border-radius: 10px; }
  .stat-card strong { font-size: 16px; }
  .stat-card span:not(.stat-icon) { font-size: 9px; }
  .stat-card small { font-size: 8px; }
  .why-banner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; padding: 14px; margin-bottom: 22px; }
  .why-intro { grid-column: 1 / -1; gap: 12px; }
  .why-book { width: 49px; height: 49px; font-size: 22px; }
  .why-banner h2 { font-size: 19px; }
  .why-banner p { font-size: 9px; }
  .why-point:last-child { display: flex; }
  .why-point > span { width: 32px; height: 32px; font-size: 15px; }
  .why-point strong { font-size: 8px; }
  .why-point small { font-size: 7px; }
  .section-heading { align-items: flex-start; margin-bottom: 11px; }
  .section-heading h2 { font-size: 20px; }
  .section-heading p { font-size: 10px; }
  .section-controls { gap: 4px; }
  .section-controls > a { display: none; }
  .section-controls button { width: 27px; height: 27px; }
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .profile-card > img { height: clamp(145px, 42vw, 220px); }
  .profile-card-body { padding: 9px; }
  .profile-card h3 { font-size: 11px; }
  .profile-card .role { min-height: 27px; }
  .profile-card .bio { min-height: 0; font-size: 9px; }
  .spotlight-feature { grid-template-columns: 38% 1fr; gap: 12px; min-height: 195px; }
  .spotlight-feature > img { min-height: 180px; }
  .spotlight-copy h3 { font-size: 16px; }
  .spotlight-copy p { font-size: 10px; margin-bottom: 10px; }
  .featured-label { font-size: 8px; margin-bottom: 7px; }
  .story-list { grid-template-columns: 1fr; gap: 8px; }
  .story-mini { grid-template-columns: 76px 1fr; }
  .story-mini img { width: 76px; max-height: 65px; }
  .recent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .recent-card > img { height: clamp(110px, 34vw, 170px); }
  .submit-banner { flex-wrap: wrap; gap: 12px; padding: 18px; }
  .submit-icon { width: 48px; height: 48px; font-size: 22px; }
  .submit-copy { flex: 1 1 calc(100% - 65px); }
  .submit-banner h2 { font-size: 20px; }
  .submit-banner p { font-size: 10px; }
  .submit-banner .btn { margin-left: 60px; font-size: 10px; padding: 10px 13px; }
  .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 15px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-newsletter { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 5px; font-size: 8px; }
}
@media (max-width: 380px) {
  .announcement-label { display: none; }
  .hero-copy h1 { font-size: 30px; }
  .hero-actions .btn { flex: 1; text-align: center; }
  .hero-visual { height: 310px; }
  .hero-card-caption { font-size: 6.5px; }
  .hero-card-caption strong { font-size: 7px; }
  .stat-card { padding: 8px 7px; }
  .stat-icon { width: 31px; height: 31px; font-size: 15px; }
  .stat-card strong { font-size: 14px; }
  .why-banner { grid-template-columns: 1fr 1fr 1fr; }
  .why-point strong { font-size: 7px; }
  .section-heading h2 { font-size: 18px; }
  .section-heading p { max-width: 250px; }
  .spotlight-feature { grid-template-columns: 1fr; }
  .spotlight-feature > img { height: 175px; min-height: 175px; }
  .spotlight-copy { padding: 4px 6px 8px; }
  .submit-banner .btn { margin-left: 0; }
}


/* =========================================================
   Header repair — stable desktop grid + polished mobile drawer
   ========================================================= */
html, body {
  max-width: 100%;
}
body {
  overflow-x: clip;
}
.site-header {
  position: relative;
  z-index: 20;
  width: 100%;
  background: #fff;
}
.site-header .site-navbar {
  width: calc(100% - clamp(40px, 4.2vw, 80px));
  max-width: 1840px;
  min-height: 88px;
  margin-inline: auto;
  padding: 14px 0;
  display: grid !important;
  grid-template-columns: minmax(300px, 1fr) auto minmax(300px, 1fr);
  align-items: center;
  gap: clamp(12px, 1.25vw, 24px);
  flex-wrap: nowrap;
}
.site-header .brand-lockup {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: var(--navy);
  white-space: nowrap;
}
.site-header .brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 8px;
  font-size: 20px;
}
.site-header .brand-copy {
  min-width: 0;
}
.site-header .brand-lockup strong {
  font-size: clamp(13px, .9vw, 17px);
  line-height: 1.2;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.site-header .brand-lockup small {
  margin-top: 4px;
  font-size: clamp(8px, .55vw, 10px);
  line-height: 1.2;
  white-space: nowrap;
}
.site-header .desktop-nav-links {
  grid-column: 2;
  justify-self: center;
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.35vw, 26px);
  min-width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-header .desktop-nav-links .nav-link {
  position: relative;
  padding: 13px 0 !important;
  color: #526681;
  font-size: clamp(11px, .72vw, 14px);
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}
.site-header .desktop-nav-links .nav-link:hover,
.site-header .desktop-nav-links .nav-link.active {
  color: var(--blue-dark);
}
.site-header .desktop-nav-links .nav-link.active {
  font-weight: 700;
}
.site-header .desktop-nav-links .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  width: auto;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.site-header .desktop-nav-actions {
  grid-column: 3;
  justify-self: end;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(8px, .8vw, 14px);
  width: 100%;
  min-width: 0;
  margin: 0;
}
.site-header .desktop-nav-actions .nav-search {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  max-width: 340px;
  height: 42px;
  margin: 0;
  border-radius: 9px;
  background: #fff;
}
.site-header .desktop-nav-actions .nav-search > i {
  margin-left: 12px;
  flex: 0 0 auto;
  font-size: 15px;
}
.site-header .desktop-nav-actions .nav-search input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  padding: 0 10px;
  font-size: clamp(9px, .62vw, 12px);
}
.site-header .desktop-nav-actions .nav-search button {
  width: 43px;
  flex: 0 0 43px;
  font-size: 15px;
}
.site-header .create-profile-btn {
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px clamp(12px, 1.1vw, 20px);
  border-radius: 9px;
  font-size: clamp(10px, .68vw, 12px);
  white-space: nowrap;
}
.site-header .mobile-menu-toggle {
  display: none !important;
}

/* A little tighter at common laptop widths, while keeping the links centered. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-header .site-navbar {
    grid-template-columns: minmax(300px, 1fr) auto minmax(300px, 1fr);
    gap: 12px;
    min-height: 78px;
  }
  .site-header .brand-lockup {
    gap: 8px;
  }
  .site-header .brand-mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 18px;
  }
  .site-header .brand-lockup strong {
    font-size: 13px;
  }
  .site-header .brand-lockup small {
    font-size: 8px;
  }
  .site-header .desktop-nav-links {
    gap: 13px;
  }
  .site-header .desktop-nav-links .nav-link {
    font-size: 11px;
  }
  .site-header .desktop-nav-actions {
    gap: 8px;
  }
  .site-header .desktop-nav-actions .nav-search {
    height: 39px;
  }
  .site-header .desktop-nav-actions .nav-search button {
    width: 38px;
    flex-basis: 38px;
  }
  .site-header .create-profile-btn {
    min-height: 39px;
    padding-inline: 11px;
    font-size: 10px;
  }
}

/* Mobile/tablet header: logo left, real styled Menu button right. */
@media (max-width: 991.98px) {
  .site-header .site-navbar {
    display: flex !important;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: calc(100% - 28px);
    max-width: 720px;
    min-height: 72px;
    margin-inline: auto;
    padding: 12px 0;
    flex-wrap: nowrap;
  }
  .site-header .brand-lockup {
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
  }
  .site-header .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 19px;
  }
  .site-header .brand-copy {
    overflow: hidden;
  }
  .site-header .brand-lockup strong {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
  }
  .site-header .brand-lockup small {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 8px;
  }
  .site-header .desktop-nav-links,
  .site-header .desktop-nav-actions {
    display: none !important;
  }
  .site-header .mobile-menu-toggle {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 13px;
    border: 1px solid #d9e5f7;
    border-radius: 9px;
    background: #fff;
    color: var(--navy);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(19, 62, 125, .07);
    cursor: pointer;
  }
  .site-header .mobile-menu-toggle i {
    font-size: 18px;
    line-height: 1;
  }
  .site-header .mobile-menu-toggle:focus-visible {
    outline: 3px solid rgba(8, 101, 245, .22);
    outline-offset: 2px;
  }
}

/* Bootstrap offcanvas navigation styling */
.mobile-offcanvas {
  --bs-offcanvas-width: min(390px, 90vw);
  z-index: 1060;
  border: 0;
  border-left: 1px solid #e5edf8;
  background: #fff;
  box-shadow: -18px 0 48px rgba(8, 36, 85, .14);
}
.mobile-offcanvas .offcanvas-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 20px 18px;
  border-bottom: 1px solid #edf2fa;
}
.mobile-offcanvas .offcanvas-header .brand-lockup {
  flex: 1 1 auto;
  min-width: 0;
}
.mobile-offcanvas .offcanvas-header .brand-lockup strong {
  font-size: 14px;
}
.mobile-offcanvas .offcanvas-header .brand-lockup small {
  font-size: 8px;
}
.mobile-offcanvas .offcanvas-body {
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.offcanvas-kicker {
  margin: 2px 0 12px;
  color: #8292ab;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}
.mobile-nav-links {
  gap: 5px;
  margin: 0 0 16px;
}
.mobile-nav-links .nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 12px 13px;
  border-radius: 10px;
  color: #334c73;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  transition: background .18s ease, color .18s ease;
}
.mobile-nav-links .nav-link > i:first-child {
  display: inline-grid;
  place-items: center;
  width: 20px;
  flex: 0 0 20px;
  color: #6280aa;
  font-size: 16px;
}
.mobile-nav-links .nav-link .nav-chevron {
  margin-left: auto;
  color: #9aabc2;
  font-size: 11px;
}
.mobile-nav-links .nav-link:hover,
.mobile-nav-links .nav-link.active {
  background: #eef5ff;
  color: #0759d9;
}
.mobile-nav-links .nav-link.active > i:first-child {
  color: #0759d9;
}
.mobile-nav-search {
  width: 100%;
  height: 43px;
  flex: 0 0 auto;
  margin: 0 0 16px;
  border-radius: 9px;
}
.mobile-nav-search input {
  font-size: 11px;
}
.mobile-nav-search button {
  width: 42px;
  flex: 0 0 42px;
}
.mobile-offcanvas-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}
.mobile-offcanvas-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 43px;
  padding: 11px 14px;
  font-size: 12px;
}
.mobile-offcanvas-actions .btn-outline-primary {
  border-color: #cfe0fb;
  color: #0759d9;
  background: #fff;
}
.offcanvas-trust-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 24px;
  padding: 15px 13px;
  border: 1px solid #e3edfb;
  border-radius: 11px;
  background: linear-gradient(120deg, #f5f9ff, #edf5ff);
}
.offcanvas-trust-note > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  background: #dbeaff;
  color: #0759d9;
  font-size: 17px;
}
.offcanvas-trust-note strong {
  display: block;
  margin: 1px 0 4px;
  color: var(--navy);
  font-size: 11px;
}
.offcanvas-trust-note small {
  display: block;
  color: #667995;
  font-size: 10px;
  line-height: 1.5;
}

@media (max-width: 575.98px) {
  .site-header .site-navbar {
    width: calc(100% - 24px);
    min-height: 66px;
    padding-block: 10px;
  }
  .site-header .brand-mark {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
    font-size: 17px;
  }
  .site-header .brand-lockup {
    gap: 7px;
  }
  .site-header .brand-lockup strong {
    font-size: 12px;
  }
  .site-header .brand-lockup small {
    font-size: 7.5px;
  }
  .site-header .mobile-menu-toggle {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 11px;
  }
}
@media (max-width: 359.98px) {
  .site-header .brand-lockup strong {
    font-size: 11px;
  }
  .site-header .brand-lockup small {
    display: none;
  }
  .site-header .mobile-menu-toggle span {
    display: none;
  }
  .site-header .mobile-menu-toggle {
    width: 40px;
    height: 40px;
    padding: 0;
  }
}


/* Prevent narrow-device horizontal clipping and keep each section inside the viewport. */
@media (max-width: 767.98px) {
  .page-shell {
    width: min(calc(100% - 24px), 640px);
    max-width: 640px;
    margin-inline: auto;
  }
  .hero-section,
  .hero-copy,
  .hero-visual {
    min-width: 0;
    max-width: 100%;
  }
  .hero-copy h1 {
    max-width: 100%;
    overflow-wrap: normal;
  }
}

.site-header .sign-in-btn { flex: 0 0 auto; border: 0; background: transparent; color: #173566; padding: 9px 4px; font-family: inherit; font-size: clamp(10px, .68vw, 12px); font-weight: 600; white-space: nowrap; cursor: pointer; }
.site-header .sign-in-btn:hover { color: #0865f5; }
.site-header .sign-in-btn:focus-visible { outline: 3px solid rgba(8, 101, 245, .22); outline-offset: 2px; border-radius: 5px; }
.mobile-offcanvas-actions .mobile-sign-in { background: #fff; }

/* Full-width colourful footer shared by every public page. */
.site-footer.page-shell{position:relative;width:100%;max-width:none;margin:42px 0 0;padding:34px max(22px,calc((100vw - 1120px)/2)) 15px;grid-template-columns:1.35fr .72fr .72fr .82fr 1.2fr;gap:22px;background:linear-gradient(125deg,#10284f 0%,#1b3768 48%,#29356f 100%);color:#dce8ff;border-top:0;box-sizing:border-box}
.site-footer.page-shell:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#39c5a0 0%,#63a0ff 35%,#b18af1 68%,#f1b66d 100%)}
.site-footer .brand-lockup{color:#fff}.site-footer .brand-lockup strong{color:#fff;font-size:14px}.site-footer .brand-lockup small{color:#b6c8e8;font-size:9px}
.site-footer .footer-brand .brand-mark{background:rgba(255,255,255,.13);color:#fff;border:1px solid rgba(255,255,255,.18);border-radius:9px}
.footer-brand-copy{max-width:240px;margin:12px 0 0;color:#b9c9e3;font-size:10px;line-height:1.65}
.site-footer .social-links{gap:7px;margin-top:13px}.site-footer .social-links a{display:grid;place-items:center;width:29px;height:29px;border:1px solid rgba(255,255,255,.15);border-radius:9px;background:rgba(255,255,255,.08);color:#e5edff;text-decoration:none;transition:.18s}
.site-footer .social-links a:hover{background:#fff;color:#5367c9;transform:translateY(-2px)}
.site-footer .footer-column h3{color:#9fc1ff;font-size:10px;letter-spacing:.1em;text-transform:uppercase;margin:3px 0 11px}
.site-footer .footer-column a{color:#d2def3;font-size:10px;margin-bottom:8px;text-decoration:none;transition:.16s}
.site-footer .footer-column a:hover{color:#fff;transform:translateX(2px)}
.site-footer .footer-newsletter{padding:13px;border:1px solid rgba(255,255,255,.13);border-radius:12px;background:rgba(255,255,255,.07)}
.footer-newsletter-label{display:inline-block;color:#8ee1ca;font-size:8px;font-weight:850;letter-spacing:.13em;margin-bottom:5px}
.site-footer .footer-newsletter h3{color:#fff;font-size:15px;margin:0 0 5px}.site-footer .footer-newsletter p{color:#c0cce2;font-size:9px;line-height:1.6;margin:0 0 10px}
.site-footer .footer-newsletter form{height:35px;border:1px solid rgba(255,255,255,.24);background:#fff;border-radius:8px}
.site-footer .footer-newsletter input{font-size:10px;color:#253d63}.site-footer .footer-newsletter button{background:linear-gradient(120deg,#536fe0,#8a68d8);color:#fff;font-size:9px;font-weight:800}
.site-footer .footer-bottom{border-top:1px solid rgba(222,235,255,.17);padding:13px 0 3px;margin-top:2px;color:#aebfda;font-size:9px}
@media(max-width:1050px){.site-footer.page-shell{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.site-footer .footer-brand{grid-column:span 2}.site-footer .footer-newsletter{grid-column:span 2}}
@media(max-width:767.98px){.site-footer.page-shell{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 13px;padding:28px 20px 14px;margin-top:32px}.site-footer .footer-brand{grid-column:1/-1}.site-footer .footer-newsletter{grid-column:1/-1}.site-footer .footer-bottom{flex-direction:column;gap:5px;font-size:8px}}

/* Shared AJAX search UI for desktop header, mobile menu and homepage hero. */
.site-search-box {
  position: relative;
  min-width: 0;
}
.header-search-box {
  flex: 1 1 0;
  width: clamp(190px, 24vw, 340px);
  max-width: 340px;
}
.site-header .desktop-nav-actions .header-search-box .nav-search {
  width: 100%;
  max-width: none;
}
.hero-search-box {
  width: 100%;
  max-width: 510px;
}
.mobile-search-box {
  width: 100%;
  margin-bottom: 16px;
}
.mobile-search-box .mobile-nav-search {
  margin-bottom: 0;
}
.search-results-dropdown {
  position: absolute;
  z-index: 1200;
  top: calc(100% + 7px);
  left: 0;
  width: 100%;
  max-height: 360px;
  overflow-y: auto;
  border: 1px solid #dce7f7;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(12, 43, 91, .16);
  padding: 6px;
}
.search-results-dropdown[hidden] { display: none !important; }
.search-results-heading {
  padding: 8px 10px 7px;
  color: #7788a2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.search-result-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 11px;
  border-radius: 8px;
  color: var(--text);
  transition: background .15s ease, transform .15s ease;
}
.search-result-item + .search-result-item { border-top: 1px solid #f0f3f8; }
.search-result-item:hover,
.search-result-item:focus-visible {
  background: #f1f6ff;
  color: var(--navy);
  outline: none;
}
.search-result-type {
  align-self: flex-start;
  border-radius: 20px;
  background: #eaf2ff;
  color: #0759d9;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
}
.search-result-title { color: #102f65; font-size: 12px; font-weight: 800; }
.search-result-subtitle { color: #526987; font-size: 10px; }
.search-result-description {
  color: #7a8aa2;
  font-size: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-result-message { padding: 14px 11px; color: #61738e; font-size: 11px; }
.search-result-message.is-error { color: #b42318; }
.search-result-message.is-loading { color: #0759d9; }
.popular-search-chip {
  border: 1px solid #dce8fb;
  border-radius: 30px;
  background: #f5f8ff;
  color: #0759d9;
  padding: 5px 10px;
  font: inherit;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.popular-search-chip:hover,
.popular-search-chip:focus-visible {
  border-color: #0865f5;
  background: #0865f5;
  color: #fff;
  outline: none;
}

/* Lightweight public profile destination for AJAX search matches. */
.public-profile-page { max-width: 1100px; min-height: 55vh; }
.public-profile-hero {
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid #e1eaf8;
  border-radius: 20px;
  background: radial-gradient(circle at 90% 10%, #dceaff 0, transparent 34%), linear-gradient(120deg, #f5f8ff, #fff 65%);
  box-shadow: var(--shadow);
}
.public-profile-type {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 30px;
  background: #e5efff;
  color: #0759d9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.public-profile-hero h1 { margin: 14px 0 8px; font-size: clamp(30px, 5vw, 48px); }
.public-profile-subtitle { color: #38577f; font-size: 16px; font-weight: 700; }
.public-profile-description { max-width: 780px; color: #60728e; font-size: 14px; line-height: 1.8; }
.public-profile-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 20px; color: #5a6e8b; font-size: 11px; }
.public-profile-meta i { color: #0865f5; margin-right: 5px; }
.public-profile-meta .verified-label { color: #07845b; font-weight: 800; }
.public-profile-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 22px 0; }
.public-profile-facts > div { display: flex; flex-direction: column; gap: 5px; padding: 16px; border: 1px solid #e5edf8; border-radius: 12px; background: #fff; }
.public-profile-facts small { color: #7b8ca5; font-size: 10px; }
.public-profile-facts strong, .public-profile-facts a { color: #183a70; font-size: 12px; font-weight: 800; }
.public-profile-section { margin-top: 22px; padding: 24px; border: 1px solid #e7edf7; border-radius: 14px; background: #fff; }
.public-profile-section h2 { margin-bottom: 12px; font-size: 21px; }
.public-profile-section p { color: #5d6f8a; font-size: 13px; line-height: 1.8; }
.public-profile-item { padding: 14px 0; border-top: 1px solid #edf1f7; }
.public-profile-item h3 { margin-bottom: 5px; font-size: 15px; }
.public-profile-item strong { color: #526987; font-size: 11px; }
.public-profile-item a, .public-profile-links a { color: #0865f5; font-size: 11px; font-weight: 700; }
.public-profile-links { display: flex; flex-wrap: wrap; gap: 10px; }
.public-profile-links a { padding: 8px 12px; border-radius: 8px; background: #f1f6ff; }

@media (max-width: 991.98px) {
  .header-search-box { width: 100%; max-width: none; }
}
@media (max-width: 575.98px) {
  .search-results-dropdown { max-height: 300px; }
  .hero-search-box { max-width: none; }
  .public-profile-section { padding: 18px; }
}


/* Featured Entrepreneurs carousel: preserves the original profile-card appearance. */
.featured-carousel {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.featured-carousel::-webkit-scrollbar {
    display: none;
}
.featured-carousel > .profile-card {
    flex: 0 0 calc((100% - 55px) / 6);
    min-width: 0;
    scroll-snap-align: start;
}
.featured-carousel .profile-card > img {
    width: 100%;
}
@media (max-width: 991.98px) {
    .featured-carousel > .profile-card {
        flex-basis: calc((100% - 22px) / 3);
    }
}
@media (max-width: 767.98px) {
    .featured-carousel > .profile-card {
        flex-basis: calc((100% - 10px) / 2);
    }
}

/* Keep linked recent-profile titles visually identical to the original text titles. */
.recent-card h3 a { color: inherit; }
.recent-card h3 a:hover { color: #0865f5; }

/* Footer newsletter feedback; keeps the existing newsletter layout intact. */
.footer-newsletter .newsletter-feedback { margin: 8px 0; font-size: 12px; line-height: 1.45; }
.footer-newsletter .newsletter-success { color: #b9f6d0; }
.footer-newsletter .newsletter-error { color: #ffd0d0; }
