/* Reusable Minimalist Dark Editorial Blog Template (Framer-inspired)
 * Drop-in companion stylesheet for rafwrestling.org, ufcrankings.org & microsites.
 * Zero banned green/gold hexes; pure obsidian/black canvas + hairline borders + white pill CTAs.
 */

body:has(.fr-art),
body:has(.fr-hub) {
  background: #000000;
  color: #edeff1;
}

body:has(.fr-art) header.top,
body:has(.fr-hub) header.top {
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body:has(.fr-art) footer,
body:has(.fr-hub) footer {
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------------- Article Page (.fr-art: centered 700px single column) ---------------- */
.fr-art {
  max-width: 700px;
  margin: 40px auto 72px;
}

.fr-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.3;
  color: #888e99;
  margin: 0 0 14px;
}

.fr-crumb a {
  color: #888e99;
  text-decoration: none;
  transition: color 0.15s ease;
}

.fr-crumb a:hover {
  color: #ffffff;
}

.fr-crumb span {
  color: rgba(255, 255, 255, 0.28);
}

.fr-h1 {
  font-size: clamp(32px, 4.6vw, 44px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 0 0 18px;
}

.fr-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 14px;
  color: #888e99;
  margin: 0 0 28px;
}

.fr-meta-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.fr-ava {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  object-fit: cover;
  object-position: top center;
  background: #14161c;
  border: 1px solid rgba(255, 255, 255, 0.16);
  flex: none;
}

.fr-meta-author {
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
}

.fr-meta-author:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fr-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.03);
  color: #c9cdd6;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}

.fr-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #3262ff;
  flex: none;
}

/* Framed Hero Card */
.fr-hero {
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(620px 220px at 50% 0%, rgba(50, 98, 255, 0.17), rgba(0, 0, 0, 0) 70%),
    #07080b;
  overflow: hidden;
  margin: 0 0 34px;
}

.fr-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 24px;
}

.fr-hero-id {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.fr-hero-ava {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  object-position: top center;
  background: #14161c;
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex: none;
}

.fr-hero-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #ffffff;
  line-height: 1.25;
}

.fr-hero-name a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fr-hero-sub {
  font-size: 13.5px;
  color: #888e99;
  margin-top: 3px;
  line-height: 1.4;
}

.fr-hero-sub a {
  color: #dce0e6;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.28);
  text-underline-offset: 2px;
}

.fr-hero-sub a:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

.fr-hero-acts {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fr-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.fr-btn-white:hover {
  color: #000000;
  opacity: 0.9;
}

.fr-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e5ea;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.fr-btn-ghost:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.fr-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0;
}

.fr-facts > div {
  padding: 13px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.fr-facts > div:nth-child(3n) {
  border-right: 0;
}

.fr-facts > div:nth-last-child(-n+3) {
  border-bottom: 0;
}

.fr-facts dt {
  font-size: 12px;
  color: #888e99;
  font-weight: 500;
  margin: 0 0 3px;
}

.fr-facts dd {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
}

/* Lede & Editorial Prose */
.fr-lede {
  font-size: 19px;
  line-height: 1.62;
  color: #e6e8ec;
  margin: 0 0 28px;
  letter-spacing: -0.005em;
}

.fr-lede strong {
  color: #ffffff;
  font-weight: 600;
}

.fr-lede a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.34);
  text-underline-offset: 3px;
}

.fr-lede a:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

.fr-prose {
  max-width: none;
  font-size: 17.5px;
  line-height: 1.68;
  color: #b8bcc4;
}

.fr-prose h2 {
  font-size: clamp(23px, 2.8vw, 28px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 44px 0 14px;
}

.fr-prose p {
  margin: 0 0 18px;
}

.fr-prose strong,
.fr-prose b {
  color: #ffffff;
  font-weight: 600;
}

.fr-prose a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.32);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}

.fr-prose a:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

.fr-prose ul {
  margin: 0 0 24px;
  padding-left: 20px;
}

.fr-prose li {
  margin: 0 0 10px;
}

.fr-prose section.card {
  background: #07080b;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  box-shadow: none;
  margin: 24px 0 26px !important;
  overflow-x: auto;
}

.fr-prose table.stt {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.fr-prose table.stt th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: #888e99;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}

.fr-prose table.stt td {
  padding: 12px 16px;
  color: #c9cdd6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.fr-prose table.stt tbody tr:last-child td {
  border-bottom: 0;
}

.fr-prose table.stt tbody tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.fr-prose .note {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  padding: 2px 0 2px 16px;
  color: #888e99;
  font-size: 14px;
  line-height: 1.6;
  margin: 20px 0 26px;
}

/* Framer Email Capture Cards (.fr-alert over .pk-remind) */
.fr-art .pk-remind,
.fr-hub .pk-remind {
  background:
    radial-gradient(460px 140px at 10% 0%, rgba(50, 98, 255, 0.12), rgba(0, 0, 0, 0) 70%),
    #090a0e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: none;
  padding: 20px 22px;
  margin: 30px 0;
  gap: 12px 16px;
}

.fr-art .pk-remind-txt,
.fr-hub .pk-remind-txt {
  font-size: 14px;
  color: #9ea4b0;
  line-height: 1.5;
}

.fr-art .pk-remind-txt strong,
.fr-hub .pk-remind-txt strong {
  color: #ffffff;
  font-weight: 600;
}

.fr-art .pk-remind-form input,
.fr-hub .pk-remind-form input {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #ffffff;
  height: 38px;
}

.fr-art .pk-remind-form input:focus,
.fr-hub .pk-remind-form input:focus {
  border-color: rgba(255, 255, 255, 0.4);
}

.fr-art .pk-remind-form button,
.fr-hub .pk-remind-form button {
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  box-shadow: none;
  font-weight: 600;
}

.fr-art .pk-remind-form button:hover,
.fr-hub .pk-remind-form button:hover {
  background: #e7eaef;
}

.fr-art .pk-remind-note,
.fr-hub .pk-remind-note {
  color: #777d88;
}

/* Framer Hairline FAQ Container */
.fr-art section.faq {
  margin: 44px 0 36px;
}

.fr-art section.faq h2 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 14px;
}

.fr-art section.faq details {
  background: #07080b;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 0;
  border-radius: 0;
  margin: 0;
  padding: 0;
}

.fr-art section.faq details:first-of-type {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.fr-art section.faq details:last-of-type {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.fr-art section.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  font-size: 15.5px;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
}

.fr-art section.faq summary::-webkit-details-marker {
  display: none;
}

.fr-art section.faq summary::after {
  content: "+";
  color: #888e99;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  flex: none;
}

.fr-art section.faq details[open] summary::after {
  content: "−";
  color: #ffffff;
}

.fr-art section.faq details p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #b8bcc4;
}

/* Framer Section Header + Divided Rows (.fr-list-head / .fr-list) */
.fr-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 44px 0 14px;
}

.fr-list-head h2 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
}

.fr-browse {
  font-size: 13.5px;
  font-weight: 500;
  color: #888e99;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.fr-browse:hover {
  color: #ffffff;
}

.fr-list {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 15px;
  background: #07080b;
  overflow: hidden;
  margin: 0 0 28px;
}

.fr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-decoration: none;
  transition: background 0.15s ease;
}

.fr-row:last-child {
  border-bottom: 0;
}

.fr-row:hover {
  background: #101218;
}

.fr-row-main {
  min-width: 0;
}

.fr-row-meta {
  font-size: 12.5px;
  color: #888e99;
  margin: 0 0 4px;
  line-height: 1.3;
}

.fr-row-title {
  font-size: 15.5px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.35;
}

.fr-row-right {
  font-size: 13px;
  color: #888e99;
  white-space: nowrap;
  flex: none;
}

.fr-row:hover .fr-row-right {
  color: #dce0e6;
}

/* ---------------- Blog Index Hub (/guides/ — .fr-hub) ---------------- */
.fr-hub {
  max-width: 1200px;
  margin: 44px auto 72px;
}

.fr-hub-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin: 0 0 36px;
}

.fr-hub-h1 {
  font-size: clamp(34px, 4.8vw, 52px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin: 0;
  max-width: 560px;
}

.fr-cats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.fr-cat {
  appearance: none;
  border: 0;
  background: transparent;
  color: #888e99;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 11px;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.fr-cat:hover {
  color: #ffffff;
}

.fr-cat.on {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Asymmetric Hero Grid (58% Left Featured / 42% Right 3-Card Stack) */
.fr-hero-grid {
  display: grid;
  grid-template-columns: 1.42fr 1fr;
  gap: 18px;
  margin: 0 0 40px;
}

.fr-feat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #07080b;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.fr-feat:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: #0b0d12;
}

.fr-feat-art {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background:
    radial-gradient(280px 180px at 50% 55%, rgba(50, 98, 255, 0.28), rgba(0, 0, 0, 0) 72%),
    #030407;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.fr-feat-ava {
  width: 132px;
  height: 132px;
  border-radius: 999px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #10131a;
}

.fr-feat-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.72);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
}

.fr-feat-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fr-feat-title {
  font-size: 22px;
  line-height: 1.24;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.fr-feat-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: #888e99;
  margin: 0;
}

.fr-card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #888e99;
  margin-top: 4px;
}

.fr-stack {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fr-stack-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #07080b;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.fr-stack-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: #0d1016;
}

.fr-stack-title {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.fr-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 14px;
}

.fr-toolbar h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
}

.fr-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fr-count {
  font-size: 13px;
  color: #888e99;
}

.fr-search {
  width: 230px;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: #07080b;
  color: #ffffff;
  font: inherit;
  font-size: 13.5px;
}

.fr-search::placeholder {
  color: #6b7280;
}

.fr-search:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.35);
}

.fr-empty {
  padding: 28px 22px;
  text-align: center;
  font-size: 14px;
  color: #888e99;
  display: none;
}

@media (max-width: 860px) {
  .fr-hero-grid {
    grid-template-columns: 1fr;
  }
  .fr-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fr-facts > div:nth-child(3n) {
    border-right: 1px solid rgba(255, 255, 255, 0.07);
  }
  .fr-facts > div:nth-child(2n) {
    border-right: 0;
  }
  .fr-facts > div:nth-last-child(-n+3) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .fr-facts > div:nth-last-child(-n+2) {
    border-bottom: 0;
  }
}

@media (max-width: 600px) {
  .fr-art,
  .fr-hub {
    margin: 26px auto 52px;
  }
  .fr-hero-top {
    padding: 18px;
  }
  .fr-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 15px 18px;
  }
  .fr-search {
    width: 100%;
  }
}
