/*
  Offer directory / editorial layout
  -----------------------------------
  Style layers: foundation -> site chrome -> landing introduction -> directory
  -> article modules -> legal footer -> narrow-screen compositions.
  Third-party AWeber form styles remain in their original embedded contract.
*/

:root {
  --page-bg: #ffffff;
  --panel-soft: #f2f7f5;
  --positive: #24b86a;
  --positive-active: #198f50;
  --link-accent: #2477a8;
  --title-ink: #263b4d;
  --body-ink: #2f3437;
  --secondary-ink: #6f7d82;
  --rule-color: #dfe8e4;
  --content-measure: 1180px;
  --card-corner: 14px;
  --interaction-ease: 0.2s ease;
}

/* 01. Document foundation and reusable horizontal measure. */
:where(*, *::before, *::after) { box-sizing: border-box; }
:where(*) { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}
body {
  width: 100%;
  overflow-x: hidden;
  font: 400 1rem/1.65 Inter, Arial, sans-serif;
  background-color: var(--page-bg);
  color: var(--body-ink);
}
img { max-width: 100%; }
.page-boundary {
  width: min(100% - 40px, var(--content-measure));
  margin-inline: auto;
}

/* 02. Global site chrome. The brand and CTA are direct flex items. */
.global-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 1000;
  height: 72px;
  background: rgba(255, 255, 255, .97);
  border-block-end: 1px solid var(--rule-color);
  box-shadow: 0 4px 18px rgba(38, 59, 77, .08);
  backdrop-filter: blur(8px);
}
.header-arrangement {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 100%;
}
.home-brandmark {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 auto;
}
.home-brandmark img {
  display: block;
  width: auto;
  height: 44px;
  object-fit: contain;
}
.primary-navigation ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}
.primary-navigation a {
  color: var(--title-ink);
  font-size: .94rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--interaction-ease);
}
.primary-navigation a:is(:hover, :focus-visible) {
  color: var(--positive-active);
}
.header-offer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 10px 18px;
  border-radius: 10px;
  color: var(--page-bg);
  background: var(--positive);
  box-shadow: 0 5px 14px rgba(36, 184, 106, .22);
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: transform var(--interaction-ease), background var(--interaction-ease);
}
.header-offer-link:is(:hover, :focus-visible) {
  background: var(--positive-active);
  transform: translateY(-1px);
}

/* 03. Page lead and contributor attribution. */
.lead-stage {
  padding: 64px 0 42px;
  text-align: center;
  background: linear-gradient(145deg, #fbfdfc 0%, #edf5f2 100%);
  border-block-end: 1px solid var(--rule-color);
}
.lead-summary { display: flow-root; }
.lead-heading {
  max-width: 900px;
  margin: 0 auto 18px;
  color: var(--title-ink);
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.18;
}
.lead-description {
  max-width: 820px;
  margin: 0 auto 28px;
  color: var(--secondary-ink);
  font-size: 1.06rem;
}
.contributor-strip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 10px 18px 10px 10px;
  border: 1px solid var(--rule-color);
  border-radius: 14px;
  background: var(--page-bg);
  box-shadow: 0 6px 20px rgba(38, 59, 77, .07);
}
.contributor-avatar {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 12px;
  object-fit: cover;
}
.contributor-copy {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.contributor-name {
  color: var(--title-ink);
  font-size: .94rem;
  font-weight: 700;
}
.contributor-name a { color: inherit; }
.contributor-role {
  display: inline-block;
  margin-inline-start: 5px;
  color: var(--link-accent);
  font-size: .76rem;
  font-weight: 600;
}
.contributor-timestamp {
  color: var(--secondary-ink);
  font-size: .8rem;
}

/* 04. Ranking directory. Each article has profile, details and action zones. */
.offers-section {
  padding: 46px 0 52px;
  background: var(--panel-soft);
}
.offers-heading {
  margin-block-end: 34px;
  color: var(--title-ink);
  font-size: clamp(1.65rem, 3vw, 2.05rem);
  line-height: 1.25;
  text-align: center;
}
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}
.operator-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--rule-color);
  border-radius: var(--card-corner);
  background: var(--page-bg);
  box-shadow: 0 9px 26px rgba(38, 59, 77, .07);
  transition: transform .22s ease, box-shadow .22s ease;
}
.operator-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 13px 30px rgba(38, 59, 77, .1);
}
.operator-rank {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-start: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: var(--page-bg);
  background: var(--link-accent);
  font-size: .88rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(36, 119, 168, .2);
}
.operator-overview {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  min-width: 0;
  margin-block-end: 18px;
  padding-inline-start: 36px;
}
.operator-logo {
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
  object-fit: contain;
}
.operator-nameplate { min-width: 0; }
.operator-name {
  display: block;
  overflow-wrap: anywhere;
  color: var(--title-ink);
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.3;
}
.operator-rating {
  color: #e6a900;
  font-size: 1rem;
  letter-spacing: 1px;
  white-space: nowrap;
}
.offer-details {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}
.offer-highlight {
  margin-block-end: 18px;
  padding: 14px;
  border: 1px solid rgba(36, 184, 106, .17);
  border-radius: 10px;
  background: rgba(36, 184, 106, .08);
  text-align: center;
}
.offer-highlight-label {
  display: block;
  color: var(--positive-active);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.offer-highlight-value {
  color: var(--title-ink);
  font-size: 1.08rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}
.offer-facts {
  flex-grow: 1;
  margin-block-end: 22px;
  list-style: none;
}
.offer-facts > li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-block-end: 9px;
  font-size: .9rem;
  overflow-wrap: anywhere;
}
.fact-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin-block-start: 3px;
  color: var(--positive);
}
.operator-actions {
  display: block;
  width: 100%;
  flex: 0 0 auto;
}
.operator-visit-link {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border-radius: 9px;
  color: var(--page-bg);
  background: var(--link-accent);
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background var(--interaction-ease), transform var(--interaction-ease);
}
.operator-visit-link:is(:hover, :focus-visible) {
  background: var(--title-ink);
  transform: translateY(-1px);
}

/* 05. Long-form article, side notices and the native table region. */
.article-section { padding: 58px 0; }
.article-section h2 {
  margin: 40px 0 18px;
  color: var(--title-ink);
  font-size: clamp(1.45rem, 2.7vw, 1.9rem);
  line-height: 1.3;
}
.article-section h3 {
  margin: 26px 0 13px;
  color: var(--link-accent);
  font-size: clamp(1.15rem, 2.2vw, 1.38rem);
  line-height: 1.35;
}
.article-section p { margin-block-end: 19px; }
.article-section :is(ol, ul:not(.offer-facts)) {
  margin: 0 0 22px 24px;
}
.article-section li { margin-block-end: 8px; }
.article-section table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 28px 0;
  overflow-x: auto;
  border-collapse: collapse;
  -webkit-overflow-scrolling: touch;
}
.article-section tbody {
  display: table;
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}
.article-section :is(th, td) {
  padding: 12px;
  border: 1px solid var(--rule-color);
  text-align: left;
  vertical-align: top;
}
.article-section tr:nth-child(even) { background: #f8faf9; }
.scroll-table { overflow-x: auto; }
.law-notice,
.safer-gambling-notice {
  border-left: 4px solid currentColor;
  padding: 12px 16px;
  margin: 16px 0;
  font-size: .95em;
  background: rgba(127, 127, 127, .08);
  border-radius: 6px;
}
.faq-area {
  margin-block-start: 58px;
  padding: 30px;
  border: 1px solid var(--rule-color);
  border-inline-start: 4px solid var(--positive);
  border-radius: 12px;
  background: #fbfdfc;
}
.faq-area h2:first-child { margin-block-start: 0; }

/* 06. Legal footer. The redundant anonymous copy wrapper was removed. */
.global-footer {
  margin-block-start: 58px;
  padding: 46px 0 28px;
  color: var(--page-bg);
  background: var(--title-ink);
}
.footer-advisory {
  margin-block-end: 18px;
  padding-block-start: 18px;
  border-block-start: 1px solid rgba(255, 255, 255, .16);
  color: #b8c5ca;
  font-size: .8rem;
  text-align: center;
}
.footer-legal {
  color: #c8d2d6;
  font-size: .84rem;
  text-align: center;
}

/* 07. Responsive composition: same source thresholds and measurements. */
@media (max-width: 900px) {
  .primary-navigation { display: none; }
}
@media (max-width: 768px) {
  .page-boundary { width: min(100% - 30px, var(--content-measure)); }
  .global-header { height: 68px; }
  .lead-stage { padding: 48px 0 34px; }
  .offer-grid { grid-template-columns: 1fr; }
  .operator-card { width: 100%; }
  .article-section { padding: 46px 0; }
}
@media (max-width: 430px) {
  .page-boundary { width: min(100% - 24px, var(--content-measure)); }
  .header-arrangement { gap: 8px; }
  .home-brandmark img { width: auto; max-width: 118px; height: 36px; }
  .header-offer-link {
    gap: 5px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: .77rem;
    white-space: nowrap;
  }
  .header-offer-link svg { width: 16px; height: 16px; }
  .lead-heading { font-size: 1.82rem; }
  .lead-description { font-size: .98rem; }
  .contributor-strip {
    width: 100%;
    justify-content: flex-start;
    padding-inline-end: 12px;
  }
  .offers-heading { margin-block-end: 26px; }
  .operator-card { padding: 20px 16px; border-radius: 12px; }
  .operator-rank { inset-block-start: 12px; inset-inline-start: 12px; }
  .operator-overview { gap: 11px; padding-inline-start: 34px; }
  .operator-logo { width: 68px; height: 68px; flex-basis: 68px; }
  .operator-name { font-size: 1.05rem; }
  .offer-highlight-value { font-size: 1rem; }
  .faq-area { padding: 22px 18px; }
}
@media (max-width: 350px) {
  .header-offer-link { padding-inline: 9px; font-size: .72rem; }
  .header-offer-link svg { display: none; }
  .home-brandmark img { max-width: 105px; }
}
