/* =============================================================
   Fortunica Casino UK — clean stylesheet (no Tailwind, no WP)
   ============================================================= */

:root {
  --c-bg: #ebebff;
  --c-dark: #181f54;
  --c-dark-2: #232b7e;
  --c-dark-3: #283394;
  --c-text: #0f172a;
  --c-text-muted: #64748b;
  --c-accent: #de2c7a;
  --c-accent-hover: #c11960;
  --c-link: #1d4ed8;
  --c-blue-50: #dde8fe;
  --c-blue-100: #e3effa;
  --c-blue-300: #93c5fd;
  --c-blue-700: #1d4ed8;
  --c-pink-100: #fbe5f2;
  --c-pink-300: #f5a6d2;
  --c-violet-500: #8b5cf6;
  --c-red-500: #ef4444;
  --c-white: #ffffff;
  --container: 1280px;
}

* { box-sizing: border-box; }
*, *::before, *::after { border: 0 solid #e5e7eb; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background-color: var(--c-bg);
  color: var(--c-text);
  line-height: 1.5;
}

body.is-active {
  max-height: 100vh;
  overflow: hidden;
  padding-right: 7px;
}
body.is-active::before {
  content: "";
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  inset: 0;
  z-index: 9;
}

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

a { color: inherit; text-decoration: inherit; }

ul, ol { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; }

p { margin: 0 0 1em; }

::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background-color: var(--c-blue-50); }
::-webkit-scrollbar-thumb {
  background-color: rgb(59 130 246);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background-color: var(--c-blue-700); }
::selection { background-color: var(--c-blue-300); color: #1e3a8a; }

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-block;
  padding: 10px 30px;
  border: 2px solid transparent;
  border-radius: 5px;
  background-color: rgb(37 99 235);
  color: #fff;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}
.btn:hover { background-color: rgb(29 78 216); }

.btn--transparent {
  background-color: transparent;
  border-color: rgb(37 99 235);
}
.btn--transparent:hover { border-color: rgb(29 78 216); }

.btn--secondary {
  background-color: var(--c-accent);
  border-color: var(--c-accent);
}
.btn--secondary:hover {
  background-color: var(--c-accent-hover);
  border-color: var(--c-accent-hover);
}

.btn--tertiary {
  background-color: rgb(37 99 235);
  padding: 5px 20px;
}

/* ---------------- Header ---------------- */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  background-color: var(--c-dark);
  width: 100%;
  z-index: 12;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 1rem;
}
.logo { flex-shrink: 0; height: 40px; }
.logo img { height: 100%; width: auto; }
@media (min-width: 1024px) {
  .logo { height: 50px; }
}

.header__menu { display: none; }
@media (min-width: 1024px) { .header__menu { display: block; } }
.header__menu ul { display: flex; }
.header__menu ul a {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 5px 15px;
}
.header__menu ul a:hover { color: rgb(236 72 153); }

.header__buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}
.header__buttons .btn--signup { display: none; }
@media (min-width: 1024px) {
  .header__buttons .btn--signup { display: inline-block; }
}
.header__buttons .btn--signin { padding: 5px 15px; }
@media (min-width: 1024px) {
  .header__buttons .btn--signin { padding: 10px 30px; }
}

.menu-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 30px;
  height: 100%;
  background: transparent;
  cursor: pointer;
}
@media (min-width: 1024px) { .menu-toggle-wrapper { display: none; } }
.menu-toggle-button {
  position: relative;
  width: 25px;
  height: 25px;
}
.menu-toggle-button:active { transform: scale(0.9); }
.menu-toggle-button span {
  position: absolute;
  display: block;
  height: 2px;
  width: 18px;
  left: 2px;
  background-color: var(--c-blue-300);
  transition: transform 0.2s, top 0.2s, opacity 0.2s;
}
.menu-toggle-button span:nth-child(1) { top: 6px; }
.menu-toggle-button span:nth-child(2),
.menu-toggle-button span:nth-child(3) { top: 12px; }
.menu-toggle-button span:nth-child(4) { top: 18px; }
.menu-toggle-button.is-active span:nth-child(1),
.menu-toggle-button.is-active span:nth-child(4) { opacity: 0; }
.menu-toggle-button.is-active span:nth-child(2) { transform: rotate(45deg); }
.menu-toggle-button.is-active span:nth-child(3) { transform: rotate(-45deg); }

/* ---------------- Mobile menu ---------------- */

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: #fff;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 11;
}
@media (min-width: 480px) { .mobile-menu { width: 320px; } }
.mobile-menu.is-active { transform: translateX(0); }
.mobile-menu__banner {
  width: 100%;
  height: 240px;
  margin-top: 80px;
  padding: 70px 20px 0;
  background: url('hero-bg.jpg') center/cover no-repeat;
  color: #fff;
}
.mobile-menu__banner span { display: block; text-shadow: 0 1px 0 #000; }
.mobile-menu__banner span:first-child { color: rgb(37 99 235); }
.mobile-menu__banner span:nth-child(2) { color: var(--c-accent); font-weight: 700; }
.mobile-menu__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  margin-top: 10px;
  background-color: rgba(224, 242, 254, 0.5);
  border-radius: 5px;
  font-size: 24px;
  text-align: center;
}
.mobile-menu .btn-wrapper { margin: 1.25em auto; text-align: center; }
.mobile-menu ul { padding: 40px 30px; }
.mobile-menu ul a {
  display: flex;
  align-items: center;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-pink-300);
}
.mobile-menu ul a:hover { color: rgb(236 72 153); }

/* ---------------- Hero ---------------- */

.hero { padding-top: 80px; }
body.page-secondary { padding-top: 80px; }
.hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__image {
  width: 100%;
  height: 320px;
  overflow: hidden;
}
@media (min-width: 640px) { .hero__image { height: 350px; } }
@media (min-width: 768px) { .hero__image { height: 380px; } }
@media (min-width: 1024px) { .hero__image { height: 420px; } }
@media (min-width: 1280px) { .hero__image { height: 450px; } }
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 28px;
  font-weight: 600;
}
@media (min-width: 640px) { .hero__content { font-size: 32px; } }
@media (min-width: 768px) { .hero__content { font-size: 36px; } }
@media (min-width: 1024px) { .hero__content { font-size: 42px; } }
@media (min-width: 1280px) { .hero__content { font-size: 48px; } }
.hero__content span { text-shadow: 0 1px 0 #000; }
.hero__content span:first-child { color: var(--c-text); }
.hero__content span:nth-child(2) { color: #1e3a8a; }
.hero__content a {
  font-size: 16px;
  margin-top: 15px;
  padding: 10px 50px;
}

/* ---------------- Categories ---------------- */

.categories { padding: 20px 0; }
.categories__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}
.categories__inner ul {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 992px) {
  .categories__inner ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.categories__inner ul a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 10px 10px 20px;
  background-color: rgb(99 102 241);
  border-radius: 5px;
  color: #fff;
  font-weight: 500;
}
@media (min-width: 640px) {
  .categories__inner ul a { padding: 10px 25px 10px 45px; }
}
.categories__inner ul a:hover { background-color: #4238fb; }
.categories__inner ul a .cat-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  background-color: currentColor;
  -webkit-mask-position: 50% 50%;
          mask-position: 50% 50%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
}

/* ---------------- Games ---------------- */

.games {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto 20px;
  padding: 0 1rem;
}
.games__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 20px 0;
}
.games__title h2,
.games__title h3,
.games__title div {
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--c-text);
}
.games__inner {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 20px;
}
@media (min-width: 640px) { .games__inner { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .games__inner { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 992px) { .games__inner { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1280px) { .games__inner { grid-template-columns: repeat(6, 1fr); } }

.game { display: block; }
.game__wrapper {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}
.game__wrapper::before {
  content: "";
  display: block;
  padding-top: 66.6666%;
}
.game img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: cover;
}
.game__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}
.game:hover .game__overlay {
  background-color: rgba(0, 0, 0, 0.75);
  opacity: 1;
}
.game__title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  margin-top: 10px;
  overflow: hidden;
  word-break: break-word;
  color: var(--c-text);
  transition: color 0.2s ease-in-out;
}
.game:hover .game__title { color: rgb(37 99 235); }

/* ---------------- Section title ---------------- */

.section__title {
  width: 100%;
  max-width: var(--container);
  margin: 10px auto 20px;
  padding: 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.75;
}

/* ---------------- Offers ---------------- */

.section__offers {
  width: 100%;
}
.offers {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: var(--container);
  margin: 1rem auto;
  padding: 0 1rem;
}

.offer {
  position: relative;
  background-color: #fff;
  border: 1px solid rgb(226 232 240);
  border-radius: 0.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
              0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.offer__row { padding: 0.5rem; }
.offer__row--top {
  display: grid;
  column-gap: 2rem;
  row-gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .offer__row--top { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .offer__row--top { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .offer__row--top { grid-template-columns: repeat(5, 1fr); }
}

.offer__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.offer__logo {
  background-color: var(--c-dark);
  border-radius: 0.25rem;
  min-height: 100px;
  padding: 1rem;
}
.offer__logo img { width: 100px; height: auto; }

.offer__title { color: var(--c-dark); font-weight: 600; }

.offer__rating { display: flex; gap: 1rem; }
@media (min-width: 640px) and (max-width: 767.98px) { .offer__rating { display: none; } }
.offer__rating-wrapper {
  position: absolute;
  top: 13px;
  right: 13px;
  padding: 4px 16px 4px 34px;
  background: var(--c-blue-50) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23facc15"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>') no-repeat 8px 50%/16px 16px;
  border-radius: 0.25rem;
  font-size: 0.85rem;
}
@media (min-width: 640px) {
  .offer__rating-wrapper {
    position: relative;
    top: -5px;
    right: 0;
    font-size: 1rem;
  }
}
.offer__rating-wrapper span { font-weight: 500; }

.offer__bonus {
  text-align: center;
}
.offer__bonus-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 95%;
  padding: 1rem;
  border: 3px dashed #808de0;
  border-radius: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}
@media (min-width: 640px) {
  .offer__bonus { color: var(--c-dark); min-height: 110px; }
  .offer__bonus-wrapper { width: 100%; height: 80%; }
}
.offer__bonus span { color: var(--c-red-500); }

.offer__highlights {
  display: flex;
  font-size: 0.9rem;
}
.offer__highlights ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.offer__highlights ul li::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  background-color: #fff;
  border: 2px solid #3146c9;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #808de0;
}
@media (min-width: 640px) and (max-width: 1023.98px) { .offer__highlights { display: none; } }

.offer__actions {
  display: flex;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .offer__actions { flex-direction: column; }
}
.offer__actions .btn {
  width: 60%;
  text-align: center;
}
@media (min-width: 640px) {
  .offer__actions .btn { width: 80%; }
}
.offer__terms {
  color: var(--c-text-muted);
  font-size: 0.75rem;
  line-height: 1rem;
}

/* ---------------- Content / TOC / Text ---------------- */

.content {
  width: 100%;
}
.content__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto 1.5rem;
  padding: 0 1rem;
  font-size: 1rem;
  line-height: 1.75;
}
.content__inner h1 { font-size: 2em; margin: 1.5em 0 0.8em; }
.content__inner h2 { font-size: 1.5em; line-height: 1.33; margin: 2em 0 1em; }
.content__inner h3 { font-size: 1.25em; line-height: 1.6; margin: 1.6em 0 0.6em; }
.content__inner h4 { line-height: 1.5; margin: 1.5em 0 0.5em; }
.content__inner p { margin: 1.25em 0; }
.content__inner img { max-width: 100%; }
.content__inner a {
  color: var(--c-accent);
}
.content__inner a.btn { color: #fff; }
.content__inner a:hover { text-decoration: underline; }

.content__inner ul,
.content__inner ol {
  margin: 1.25em 0;
  padding-left: 1.625em;
}
.content__inner ul li,
.content__inner ol li {
  margin: 0.5em 0;
  padding-left: 0.375em;
}
.content__inner ul {
  list-style: none;
  padding-left: 0;
}
.content__inner ul li {
  position: relative;
  padding-left: 32px;
}
.content__inner ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  display: block;
  width: 16px;
  height: 16px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="%23db2777"><path d="M13.854 3.146a.5.5 0 010 .708l-7 7a.5.5 0 01-.708 0l-3-3a.5.5 0 11.708-.708L6.5 9.793l6.646-6.647a.5.5 0 01.708 0z"/></svg>') no-repeat center/contain;
}
.content__inner ol { list-style: decimal; }

.content__inner table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875em;
  line-height: 1.7;
}
.content__inner table th {
  background-color: rgb(30 58 138);
  color: #fff;
  text-align: left;
}
.content__inner table th,
.content__inner table td {
  border: 1px solid rgb(30 64 175);
  padding: 12px 20px;
}
.table-wrapper { overflow-x: auto; }

/* TOC via <details> */
.toc-wrapper {
  background-color: #fff;
  border-radius: 0.25rem;
  margin: 1.25rem 0;
  padding: 1.25rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
              0 1px 2px -1px rgba(0, 0, 0, 0.1);
}
.toc-wrapper > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.75rem;
  text-transform: capitalize;
  cursor: pointer;
  list-style: none;
}
.toc-wrapper > summary::-webkit-details-marker { display: none; }
.toc-wrapper > summary::after {
  content: "";
  width: 24px;
  height: 24px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23131b4e" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M8.25 6.75h12M8.25 12h12m-12 5.25h12M3.75 6.75h.007v.008H3.75V6.75zM3.75 12h.007v.008H3.75V12zm0 5.25h.007v.008H3.75v-.008z"/></svg>') no-repeat center/contain;
}
.content__inner ol.toc,
ol.toc {
  margin: 0;
  padding: 1rem 0 0;
  counter-reset: toc-item;
  list-style: none;
}
.content__inner ol.toc li,
.toc li {
  position: relative;
  padding: 0 0 0 36px;
  margin: 0.5em 0;
  font-size: 0.9rem;
  list-style: none;
}
.content__inner ol.toc li::before,
.toc li::before {
  counter-increment: toc-item;
  content: counter(toc-item);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: var(--c-dark);
  color: #fff;
  border-radius: 0.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1;
}
.toc a { font-weight: 500; color: rgb(51 65 85); }
.toc a:hover { color: var(--c-accent); }

/* ---------------- FAQ via <details> ---------------- */

.faq__list { margin-top: 1rem; }
.faq__item {
  background-color: var(--c-blue-50);
  border-radius: 5px;
  margin-bottom: 20px;
  overflow: hidden;
}
.faq__item > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: rgb(30 58 138);
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after {
  content: "+";
  font-size: 1.25rem;
  margin-left: 0.5em;
  transition: transform 0.2s;
}
.faq__item[open] > summary::after { content: "−"; }
.faq__content {
  padding: 10px 15px;
}
.faq__content p:last-child { margin-bottom: 0; }

/* ---------------- Footer ---------------- */

.footer {
  width: 100%;
  background-color: var(--c-dark);
  text-align: center;
}
.footer__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}
.footer__menus {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, 1fr);
  padding: 20px 0;
}
@media (min-width: 480px) {
  .footer__menus { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 640px) {
  .footer__menus { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .footer__menus { grid-template-columns: repeat(4, 1fr); }
}
.footer__menu {
  padding: 10px 0;
  text-align: left;
}
.footer__title {
  color: #fff;
  font-weight: 500;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.footer__menu ul { margin: 0; padding: 0; }
.footer__menu ul a {
  display: block;
  padding: 5px 0;
  color: var(--c-pink-100);
  font-size: 0.925rem;
  text-align: left;
}
.footer__menu ul a:hover { color: rgb(236 72 153); }

.footer__trust {
  background-color: var(--c-dark-2);
  border-radius: 5px;
  padding: 15px;
}
.footer__trust img { margin: 0 auto; }

.footer__copyright {
  color: #fff;
  font-size: 0.925rem;
  padding: 30px 0;
}

.footer__copyright a {
  color: var(--c-pink-300);
  text-decoration: underline;
}
.footer__copyright a:hover { color: rgb(236 72 153); }

.footer__rg {
  margin: 24px 0 16px;
  padding: 20px;
  background-color: var(--c-dark-2);
  border-radius: 5px;
  color: #fff;
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.5;
}
.footer__rg strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--c-accent);
  text-align: center;
}
.footer__rg p {
  margin: 0 0 12px;
  color: var(--c-pink-100);
}
.footer__rg-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
}
.footer__rg-links li {
  list-style: none;
  padding: 0;
  color: var(--c-pink-100);
}
.footer__rg-links a {
  color: #fff;
  text-decoration: underline;
}
.footer__rg-links a:hover { color: var(--c-accent); }

.footer__disclaimer {
  margin: 0 0 8px;
  padding: 12px 16px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  text-align: left;
}
.footer__disclaimer p { margin: 0; }

/* ---------------- Utilities ---------------- */

.btn-wrapper {
  margin: 1.25em auto;
  text-align: center;
}

/* ---------------- Author block ---------------- */

.author-block {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 24px 0 32px;
  padding: 18px;
  background-color: #fff;
  border-left: 4px solid var(--c-accent);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.author-block__photo {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--c-blue-50);
}
.author-block__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.author-block__body {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}
.author-block__name {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-dark);
}
.author-block__role {
  display: block;
  margin-bottom: 8px;
  color: var(--c-text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}
.author-block__bio {
  margin: 0;
  color: var(--c-text);
}
@media (max-width: 539px) {
  .author-block { flex-direction: column; align-items: center; text-align: center; }
}

/* ---------------- Feature/spec table ---------------- */

.feature-table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 0.95rem;
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.feature-table th,
.feature-table td {
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: top;
}
.feature-table th {
  width: 35%;
  background-color: var(--c-dark);
  color: #fff;
  font-weight: 600;
}
.feature-table tr:nth-child(even) td { background-color: #f8fafc; }

/* ---------------- Content images (400x400 display, 1080x1080 source) ---------------- */

.content__inner img.content-img {
  display: block;
  max-width: 400px;
  width: 100%;
  height: auto;
  margin: 24px auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.content__inner img.content-img--wide {
  max-width: 600px;
}

/* ---------------- TOC (collapsed by default) ---------------- */
/* TOC remains styled, just no [open] attribute on <details> */
