/* Euclid Flex (display / headings / CTAs) and Euclid Circular B (body / paragraph copy),
   per the Zoosk Brand Guidelines. Licensed font files live in assets/fonts/. */
@font-face{
  font-family:'Euclid Flex';
  src:url($assets-EuclidFlex-Regular-ttf) format('truetype');
  font-weight:400; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'Euclid Flex';
  src:url($assets-EuclidFlex-Medium-otf) format('opentype');
  font-weight:500; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'Euclid Flex';
  src:url($assets-EuclidFlex-Semibold-otf) format('opentype');
  font-weight:600; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'Euclid Flex';
  src:url($assets-EuclidFlex-UltralightItalic-ttf) format('truetype');
  font-weight:200; font-style:italic; font-display:swap;
}
@font-face{
  font-family:'Euclid Circular';
  src:url($assets-EuclidCircularB-Light-ttf) format('truetype');
  font-weight:300; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'Euclid Circular';
  src:url($assets-EuclidCircularB-Regular-ttf) format('truetype');
  font-weight:400; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'Euclid Circular';
  src:url($assets-EuclidCircularB-Medium-otf) format('opentype');
  font-weight:500; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'Euclid Circular';
  src:url($assets-EuclidCircularB-MediumItalic-ttf) format('truetype');
  font-weight:500; font-style:italic; font-display:swap;
}
@font-face{
  font-family:'Euclid Circular';
  src:url($assets-EuclidCircularB-Bold-ttf) format('truetype');
  font-weight:700; font-style:normal; font-display:swap;
}

:root{
  --navy: #27446A;
  --blue: #1379DE;
  --sky: #19B7EA;
  --teal-tint: #90D7DE;
  --gold: #FBD05F;
  --coral: #FF6868;
  --gray-700: #585E68;
  --gray-400:#A3AABC;
  --gray-200:#CBD3DF;
  --gray-100: #EBEDF1;
  --gray-50:#F2F5F6;
  --bg: #F9FAFB;
  --white:#FFFFFF;
  --radius-lg:24px;
  --radius-md:16px;
  --radius-sm:12px;
}
*{ box-sizing:border-box; }
body{
  margin:0; font-family:'Euclid Circular', sans-serif; background:var(--bg); color:var(--navy);
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{ font-family:'Euclid Flex', sans-serif; font-weight:600; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; margin:0; padding:0; }

/* ---- Top nav ---- */
header.topnav{ background:var(--white); border-bottom:1px solid var(--gray-100); }
.topnav-inner{ max-width:1120px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; padding:20px 24px; }
.brand{ font-size:22px; font-weight:600; color:var(--navy); display:flex; align-items:center; gap:10px; letter-spacing:-0.02em; }
.brand-logo{ height:24px; width:auto; display:block; }
.brand-suffix{ font-weight:500; color:var(--gray-700); font-size:15px; }
nav.toplinks{ display:flex; gap:28px; font-weight:600; font-size:14px; color:var(--gray-700); }
nav.toplinks a:hover{ color:var(--blue); }
/* Brand guide rule: pill buttons, never with shadow or depth */
.signin-btn{ background:var(--blue); color:var(--white); font-weight:700; font-size:14px; padding:10px 22px; border-radius:999px; }
.user-menu{ display:flex; align-items:center; gap:8px; font-weight:600; font-size:14px; }
.user-avatar{ width:28px; height:28px; border-radius:50%; }

/* ---- Hero (home page) ---- */
.hero{
  position:relative; overflow:hidden;
  background:linear-gradient(155deg, var(--sky) 0%, var(--blue) 45%, var(--navy) 100%);
  padding:72px 24px 100px; text-align:center; color:var(--white);
}
.hero .shape{ position:absolute; border-radius:50%; }
.shape.tint{ width:320px; height:320px; top:-120px; left:-80px; background:var(--teal-tint); opacity:0.35; }
.shape.gold{ width:150px; height:150px; bottom:-40px; left:6%; background:var(--gold); opacity:0.9; border-radius:50% 50% 50% 0; transform:rotate(45deg); }
.shape.coral{ width:140px; height:140px; bottom:-60px; right:10%; background:var(--coral); opacity:0.9; border-radius:50% 50% 0 50%; }
.hero-eyebrow{ display:inline-block; font-weight:700; font-size:13px; letter-spacing:0.08em; background:rgba(255,255,255,0.16); padding:6px 16px; border-radius:999px; margin-bottom:20px; position:relative; z-index:2; }
.hero h1{ font-size:42px; line-height:1.15; margin:0 0 14px; position:relative; z-index:2; }
.hero p{ font-family:'Euclid Circular',sans-serif; font-size:17px; opacity:0.92; max-width:520px; margin:0 auto 34px; position:relative; z-index:2; font-weight:500; }

/* Style overrides for the built-in search-helper markup (form.hc-search). No shadow, per brand guide. */
.search-pill{ position:relative; z-index:2; max-width:600px; margin:0 auto; }
.search-pill .hc-search{ background:var(--white); border-radius:999px; display:flex; align-items:center; padding:8px 8px 8px 48px; position:relative; }
.search-pill .hc-search::before{
  content:""; position:absolute; left:20px; top:50%; width:18px; height:18px;
  transform:translateY(-50%); pointer-events:none;
  background-color:var(--gray-400);
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>") center / contain no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>") center / contain no-repeat;
}
.search-pill .hc-search input{ flex:1; border:none; outline:none; padding:12px 14px; font-size:15px; font-family:'Euclid Circular',sans-serif; color:var(--navy); background:transparent; }

/* ---- Breadcrumbs / secondary nav rows (category/section/article/search/error pages) ---- */
.breadcrumbs-row{ font-size:13.5px; color:var(--gray-700); margin-bottom:10px; }
.breadcrumbs-row ol,
.breadcrumbs-row ul{ list-style:none; margin:0; padding:0; display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
.breadcrumbs-row li{ display:flex; align-items:center; gap:6px; }
.breadcrumbs-row li::before{ content:"›"; color:var(--gray-400); font-size:16px; }
.breadcrumbs-row li:first-child::before{ display:none; }
.breadcrumbs-row a{ color:var(--gray-700); font-weight:500; }
.breadcrumbs-row a:hover{ color:var(--blue); }
.breadcrumbs-row li:last-child{ color:var(--navy); font-weight:600; }

/* ---- My Activities nav (requests / contributions / subscriptions) ---- */
.my-activities-nav{ background:var(--white); border-bottom:1px solid var(--gray-100); }
.my-activities-nav ul{ max-width:1080px; margin:0 auto; display:flex; gap:28px; padding:16px 24px; list-style:none; }
.my-activities-nav li{ font-weight:600; font-size:14px; color:var(--gray-700); }
.my-activities-nav li[aria-selected='true']{ color:var(--blue); }
.my-activities-nav a{ color:inherit; }

.request-form-wrap{ background:var(--white); border-radius:var(--radius-md); padding:24px; border:1px solid var(--gray-100); }
.request-form-wrap input[type='text'],
.request-form-wrap input[type='email'],
.request-form-wrap input[type='search'],
.request-form-wrap select,
.request-form-wrap textarea{
  box-sizing:border-box; width:100%; max-width:100%;
  border:1px solid var(--gray-200); border-radius:12px; padding:12px;
  font-family:'Euclid Circular',sans-serif; font-size:14px; margin-bottom:14px;
}
.request-form-wrap input[type='submit']{ margin-top:12px; background:var(--blue); color:var(--white); font-weight:700; border:none; padding:12px 24px; border-radius:12px; cursor:pointer; }

/* ---- Generic page header (category / section / article) ---- */
.page-header{ background:var(--white); border-bottom:1px solid var(--gray-100); padding:36px 24px; }
.page-header-tight{ padding:20px 24px; }
.page-header-inner{ max-width:1080px; margin:0 auto; }
.page-header-inner h1{ font-size:28px; margin:10px 0 6px; }
.page-header-inner p{ font-family:'Euclid Circular',sans-serif; color:var(--gray-700); font-size:15px; font-weight:500; }
.breadcrumbs{ font-size:13px; color:var(--gray-700); }
.breadcrumbs a:hover{ color:var(--blue); }

/* ---- Sections / general layout ---- */
.section{ max-width:1080px; margin:0 auto; padding:64px 24px; }
.section h2{ font-size:26px; margin-bottom:6px; }
.subhead{ font-family:'Euclid Circular',sans-serif; color:var(--gray-700); font-size:15px; margin-bottom:36px; font-weight:500; }

/* ---- Category grid (home page) ---- */
.cat-grid{ display:flex; flex-wrap:wrap; justify-content:center; gap:20px; margin-top:-70px; position:relative; z-index:3; }
.cat-card{ flex:1 1 300px; max-width:330px; background:var(--white); border-radius:var(--radius-md); padding:26px 22px; border:1px solid var(--gray-100); transition:transform .15s ease, border-color .15s ease; }
.cat-card:hover{ transform:translateY(-4px); border-color:var(--blue); }
.cat-icon{ width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; margin-bottom:16px; color:var(--blue); background:#E7F1FC; }
.cat-icon svg{ width:20px; height:20px; }

/* Uploaded icons8 SVGs are rendered as CSS masks (not <img>) so they still
   pick up currentColor and cycle per-card like the hand-drawn placeholders. */
.cat-icon-mask{ width:20px; height:20px; background-color:currentColor; display:inline-block; }
.icon-heart{
  -webkit-mask:url(/hc/theming_assets/01M08XEMG5YM9RRBHQE08NY2P5) center / contain no-repeat;
  mask:url(/hc/theming_assets/01M08XEMG5YM9RRBHQE08NY2P5) center / contain no-repeat;
}
.icon-chat{
  -webkit-mask:url(/hc/theming_assets/01M08XEMG0VBW550T7PBV8H95G) center / contain no-repeat;
  mask:url(/hc/theming_assets/01M08XEMG0VBW550T7PBV8H95G) center / contain no-repeat;
}
.icon-person{
  -webkit-mask:url(/hc/theming_assets/01M08Z4FECXQNJ8VEHQXN30RTG) center / contain no-repeat;
  mask:url(/hc/theming_assets/01M08Z4FECXQNJ8VEHQXN30RTG) center / contain no-repeat;
}
.icon-credit-card{
  -webkit-mask:url(/hc/theming_assets/01M08Z4FJ238EWEKM7R0SFF76M) center / contain no-repeat;
  mask:url(/hc/theming_assets/01M08Z4FJ238EWEKM7R0SFF76M) center / contain no-repeat;
}
.icon-shield{
  -webkit-mask:url(/hc/theming_assets/01M08XEMFTABYKX7V0KJTB5Q1Q) center / contain no-repeat;
  mask:url(/hc/theming_assets/01M08XEMFTABYKX7V0KJTB5Q1Q) center / contain no-repeat;
}
.icon-settings{
  -webkit-mask:url(/hc/theming_assets/01M08XEMHGJX7TFMHBKF8SA0A2) center / contain no-repeat;
  mask:url(/hc/theming_assets/01M08XEMHGJX7TFMHBKF8SA0A2) center / contain no-repeat;
}
.cat-card h3{ font-family:'Euclid Flex',sans-serif; font-size:17px; font-weight:700; margin:0 0 6px; }
.cat-card p{ font-family:'Euclid Circular',sans-serif; font-size:13.5px; color:var(--gray-700); line-height:1.5; margin:0 0 12px; font-weight:500; }
.cat-count{ font-family:'Euclid Flex',sans-serif; font-size:12.5px; font-weight:700; color:var(--blue); }
/* icon backgrounds cycle through brand-only colors so the grid isn't monochrome,
   but never introduces a hue outside the guide's palette */
.cat-card:nth-child(6n+1) .cat-icon{ background:#E7F1FC; color:var(--blue); }
.cat-card:nth-child(6n+2) .cat-icon{ background:#E3F8FC; color:var(--sky); }
.cat-card:nth-child(6n+3) .cat-icon{ background:#EAF1F1; color:var(--navy); }
.cat-card:nth-child(6n+4) .cat-icon{ background:#FFF6E1; color:#C98A0E; }
.cat-card:nth-child(6n+5) .cat-icon{ background:#FFE9E9; color:var(--coral); }
.cat-card:nth-child(6n+0) .cat-icon{ background:var(--gray-100); color:var(--gray-700); }

/* ---- Section list (category page) ---- */
.section-list{ display:grid; grid-template-columns:repeat(2, 1fr); gap:18px; }
.section-card{ background:var(--white); border-radius:var(--radius-md); padding:22px; border:1px solid var(--gray-100); }
.section-card h3{ font-size:16px; font-weight:700; margin:0 0 6px; }
.section-card p{ font-size:13.5px; color:var(--gray-700); margin:0 0 10px; font-weight:500; }

/* ---- Article list (section page + popular articles) ---- */
.articles-section{ background:var(--white); }
.article-list{ display:flex; flex-direction:column; gap:2px; }
.article-list.numbered{ counter-reset:article-num; }
.article-list.numbered .article-badge{ counter-increment:article-num; }
.article-list.numbered .article-badge::before{ content:counter(article-num, decimal-leading-zero); font-family:'Euclid Flex',sans-serif; font-weight:600; }
.article-row{ display:flex; align-items:center; justify-content:space-between; padding:18px 20px; border-radius:var(--radius-sm); }
.article-row:hover{ background:var(--gray-50); }
.article-left{ display:flex; align-items:center; gap:14px; }
.article-badge{ width:34px; height:34px; border-radius:10px; background:#E7F1FC; color:var(--blue); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; flex-shrink:0; }
.article-row h4{ font-family:'Euclid Flex',sans-serif; font-size:15px; font-weight:700; margin:0; }
.article-row span.tag{ font-size:12.5px; color:var(--gray-700); font-weight:500; }
.arrow{ color:var(--gray-400); font-size:18px; }
.empty-state{ color:var(--gray-700); font-size:14px; padding:12px 4px; }

/* ---- Single article page ---- */
.article-section{ padding-top:44px; }
.article-layout{ display:grid; grid-template-columns:2.2fr 1fr; gap:48px; align-items:start; }
.article-body h1{ font-size:28px; margin:0 0 8px; }
.article-meta{ font-size:13px; color:var(--gray-700); margin-bottom:28px; }
.article-content{ font-size:15.5px; line-height:1.75; font-weight:500; }
.article-content img{ max-width:100%; border-radius:var(--radius-sm); }
.article-content h2{ font-size:20px; margin:32px 0 12px; }
.article-vote{ display:flex; align-items:center; gap:12px; margin-top:40px; padding-top:24px; border-top:1px solid var(--gray-100); font-size:14px; color:var(--gray-700); }
/* Round-rec vote buttons -- flat, no shadow, per brand guide */
.vote-btn{
  border:1.5px solid var(--gray-200); background:var(--white); color:var(--gray-700);
  border-radius:12px; padding:8px 16px; font-size:13.5px; font-weight:700; cursor:pointer;
  display:inline-flex; align-items:center; gap:8px; text-decoration:none;
}
.vote-btn::before{ font-size:15px; line-height:1; }
.vote-btn.vote-up::before{ content:"👍"; }
.vote-btn.vote-down::before{ content:"👎"; }
.vote-btn::after{ content:attr(title); }
.vote-btn:hover{ border-color:var(--blue); color:var(--blue); }
.vote-btn[aria-selected="true"]{ border-color:var(--blue); color:var(--blue); background:#E7F1FC; }
.vote-thanks{ color:var(--blue); font-weight:700; font-size:13.5px; }
.article-sidebar{ background:var(--white); border-radius:var(--radius-md); padding:22px; border:1px solid var(--gray-100); }
.article-sidebar h4{ font-size:14px; font-weight:700; margin:0 0 12px; }

/* ---- Pagination ---- */
.pagination{
  display:flex; align-items:center; justify-content:center; flex-wrap:wrap;
  gap:8px; list-style:none; margin:36px 0 0; padding:0; text-align:center;
}
.pagination li{ list-style:none; }
.pagination a, .pagination span{
  display:flex; align-items:center; justify-content:center;
  min-width:36px; height:36px; padding:0 10px; border-radius:999px;
  font-family:'Euclid Flex',sans-serif; font-weight:600; font-size:14px;
  color:var(--gray-700); text-decoration:none;
}
.pagination li:hover:not(.pagination-current) a,
.pagination li:hover:not(.pagination-current) span{ background:var(--gray-50); color:var(--blue); }
.pagination-current a, .pagination-current span{
  background:var(--blue); color:var(--white);
}
/* Previous / Next sit at the first and last position of the list and are
   styled as pill buttons flanking the centered page numbers. */
.pagination li:first-child a, .pagination li:first-child span,
.pagination li:last-child a, .pagination li:last-child span{
  background:var(--white); border:1.5px solid var(--gray-200); color:var(--navy);
  font-weight:700; padding:0 20px; border-radius:999px;
}
.pagination li:first-child:hover a, .pagination li:last-child:hover a{
  border-color:var(--blue); color:var(--blue); background:var(--white);
}
.sidebar-list li{ padding:9px 0; border-bottom:1px solid var(--gray-100); font-size:14px; font-weight:500; }
.sidebar-list li:last-child{ border-bottom:none; }
.sidebar-list li.active a, .sidebar-list a:hover{ color:var(--blue); font-weight:700; }

/* ---- Contact strip + footer ---- */
.contact-strip{ background:var(--gray-50); }
.contact-inner{ max-width:1080px; margin:0 auto; padding:56px 24px; display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; }
.contact-text{ display:flex; flex-direction:column; gap:8px; }
.contact-inner h2{ font-family:'Euclid Flex',sans-serif; font-size:24px; margin:0; }
.contact-inner p{ font-family:'Euclid Circular',sans-serif; color:var(--gray-700); font-size:14.5px; max-width:420px; margin:0; font-weight:500; }
.contact-actions{ display:flex; align-items:center; flex-shrink:0; }
/* Round-rec buttons: for layouts with more than one CTA, per brand guide. No shadow. */
.btn-primary{ background:var(--blue); color:var(--white); font-weight:700; font-size:14px; height:44px; padding:0 24px; border-radius:12px; display:inline-flex; align-items:center; justify-content:center; }
.btn-secondary{ background:var(--white); color:var(--blue); font-weight:700; font-size:14px; height:44px; padding:0 24px; border-radius:12px; border:1.5px solid var(--blue); display:inline-flex; align-items:center; justify-content:center; }
footer{ text-align:center; padding:28px 24px; font-size:13px; color:var(--gray-700); background:var(--white); }

/* ---- Full site footer (matches app.zoosk.com structure) ---- */
.site-footer{ background:var(--navy); color:var(--gray-200); padding:56px 24px 32px; text-align:left; }
.footer-inner{ max-width:1080px; margin:0 auto; }

.footer-badges{ display:flex; justify-content:flex-start; align-items:center; gap:16px; margin-bottom:44px; }
.store-badge-img{ height:64px; width:auto; display:block; }

.footer-columns{ display:grid; grid-template-columns:repeat(3, 1fr); gap:32px; padding-bottom:36px; border-bottom:1px solid rgba(255,255,255,0.12); }
.footer-col h4{ font-family:'Euclid Flex',sans-serif; font-size:13px; font-weight:700; letter-spacing:0.04em; text-transform:uppercase; color:var(--white); margin-bottom:16px; }
.footer-col a{ font-family:'Euclid Circular',sans-serif; display:block; font-size:14px; font-weight:500; color:var(--gray-200); padding:6px 0; }
.footer-col a:hover{ color:var(--white); }
.footer-social{ display:flex; gap:14px; }
.footer-social a{ width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; padding:0; }
.footer-social a:hover{ background:rgba(255,255,255,0.16); }
.social-icon-img{ width:16px; height:16px; filter:brightness(0) invert(1); }

.footer-legal-copy{ font-family:'Euclid Circular',sans-serif; font-size:12px; line-height:1.7; color:var(--gray-400); padding-top:28px; }
.footer-legal-copy a{ color:var(--gray-200); text-decoration:underline; }
.footer-legal-copy a:hover{ color:var(--white); }

@media (max-width:820px){
  .footer-columns{ grid-template-columns:1fr; gap:28px; }
  .footer-badges{ flex-wrap:wrap; }
}

@media (max-width:820px){
  .topnav-inner{ padding:16px 20px; }
  nav.toplinks{ display:none; }
  .hero h1{ font-size:30px; }
  .cat-grid{ margin-top:-40px; }
  .cat-card{ flex-basis:calc(50% - 10px); max-width:calc(50% - 10px); }
  .section-list{ grid-template-columns:1fr; }
  .article-layout{ grid-template-columns:1fr; }
  .contact-inner{ flex-direction:column; align-items:flex-start; text-align:left; }
}
@media (max-width:520px){
  .cat-card{ flex-basis:100%; max-width:100%; }
  .search-pill .hc-search{ flex-wrap:wrap; padding:14px 14px 14px 44px; border-radius:24px; }
}
