/**
 * Core CSS - Base Styles and Variables
 * 
 * Foundation styles with responsive scaling system.
 *
 * @package AfricaSoccer
 * @since 2.0.0
 */

html :where(.wp-block) {
  max-width: 100%;
}

/* ==========================================================================
   Scaling System & CSS Variables
   ========================================================================== */

:root {
  --color-white: #ffffff;
  --color-light: #eaeaea;

  --color-main: #233e82;
  --color-secondary: #ec1e24;

  --color-dark: #11141a;
  --color-text: #3f3f3f;

  --gap: 2em;
  --section-padding: calc(3.5em + (var(--gap) * 2));
  --container-padding: 2em;
  --header-height: calc(1.5em + (var(--gap) * 2));
  --footer-height: calc(2.785em + (var(--gap) * 2));

  --font-weight--bold: 700;
  --font-weight--semibold: 600;
  --font-weight--medium: 500;
  --font-weight--regular: 400;
  --font-weight--light: 300;
  --font-weight--thin: 100;

  --font-size--h1: 3em;
  --font-size--h2: 2.5em;
  --font-size--h3: 2em;
  --font-size--h4: 1.5em;
  --font-size--h5: 1em;
  --font-size--h6: 0.5em;
  --font-size--small: 0.875em;

  --line-height--size-down-3: 1;

  --heading-margin-bottom--h1-margin: 0.5em;
  --heading-margin-bottom--h2-margin: 0.5em;
  --heading-margin-bottom--h3-margin: 0.5em;
  --heading-margin-bottom--h4-margin: 0.5em;
  --heading-margin-bottom--h5-margin: 0.5em;
  --heading-margin-bottom--h6-margin: 0.5em;

  --container--large: 98.5rem;
  --container--medium: 88rem;

  --padding-global--padding-global: 2.5em;

  --column-gap--xlarge: 8rem;
  --column-gap--large: 4rem;
  --column-gap--medium: 2rem;
  --column-gap--small: 1rem;

  --border-radius--large: 0.75rem;
  --border-radius--medium: 0.5rem;
  --border-radius--small: 0.25rem;

  --review-accent: var(--color-secondary);
  --review-accent-dark: var(--color-main);
  --review-pros: #16a34a;
  --review-cons: #dc2626;
  --review-card-border: #e5e7eb;
  --review-card-bg: #ffffff;
  --review-soft-bg: #f7f9ff;
}

/* Desktop */
:root {
  --size-unit: 16;
  --size-container-ideal: 1600;
  --size-container-min: 992px;
  --size-container-max: 1780px;
  --size-container: clamp(
    var(--size-container-min),
    100vw,
    var(--size-container-max)
  );
  --size-font: calc(
    var(--size-container) / (var(--size-container-ideal) / var(--size-unit))
  );
}

@media screen and (max-width: 1440px) {
  :root {
    --size-unit: 18;
  }
}

@media screen and (max-width: 1280px) {
  :root {
    --size-unit: 20;
  }
}

/* Tablet */
@media screen and (max-width: 991px) {
  :root {
    --size-unit: 18;
    --size-container-ideal: 1080;
    --size-container-min: 768px;
    --size-container-max: 991px;
    --padding-global--padding-global: 12px;
  }
}

/* Mobile Landscape */
@media screen and (max-width: 767px) {
  :root {
    --size-unit: 16;
    --size-container-ideal: 600;
    --size-container-min: 480px;
    --size-container-max: 767px;

    --font-size--h1: 2.5em;
    --font-size--h2: 2.2em;
    --font-size--h3: 1.7em;
    --font-size--h4: 1.3em;
    --font-size--h5: 0.8em;
    --font-size--h6: 0.4em;

    --column-gap--xlarge: 8rem;
    --column-gap--large: 2rem;
    --column-gap--medium: 1.5rem;
    --column-gap--small: 1rem;
  }
}

/* Mobile Portrait */
@media screen and (max-width: 479px) {
  :root {
    --size-container-ideal: 402;
    --size-container-min: 320px;
    --size-container-max: 479px;
    --padding-global--padding-global: 12px;
  }
}

/* ==========================================================================
   Default Styles
   ========================================================================== */

*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  -webkit-font-smoothing: antialiased;
}

svg {
  max-width: none;
  height: auto;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  vertical-align: middle;
}

a {
  color: inherit;
}

body {
  font-size: var(--size-font);
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 1;
  color: var(--color-text);
}

.mt-2 {
  margin-top: 2em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  color: var(--color-dark);
  font-family: "Inter", sans-serif;
}

h1,
.m-heading-1 {
  margin-top: 0;
  margin-bottom: var(--heading-margin-bottom--h1-margin);
  font-size: var(--font-size--h1);
  line-height: var(--line-height--size-down-3);
}

h2,
.m-heading-2 {
  margin-top: 0;
  margin-bottom: var(--heading-margin-bottom--h2-margin);
  font-size: var(--font-size--h2);
  line-height: var(--line-height--size-down-3);
}

h3,
.m-heading-3 {
  margin-top: 0;
  margin-bottom: var(--heading-margin-bottom--h3-margin);
  font-size: var(--font-size--h3);
  line-height: var(--line-height--size-down-3);
}

.p-heading-3 {
  margin-top: 0;
  margin-bottom: var(--heading-margin-bottom--h3-margin);
  font-size: var(--font-size--h3);
  line-height: var(--line-height--size-down-3);
  font-weight: 500;
  color: var(--color-dark);
  font-family: "Inter", sans-serif;
}

h4,
.m-heading-4 {
  margin-top: 0;
  margin-bottom: var(--heading-margin-bottom--h4-margin);
  font-size: var(--font-size--h4);
  line-height: var(--line-height--size-down-3);
}

h5,
.m-heading-5 {
  margin-top: 0;
  margin-bottom: var(--heading-margin-bottom--h5-margin);
  font-size: var(--font-size--h5);
  line-height: var(--line-height--size-down-3);
}

h6,
.m-heading-6 {
  margin-top: 0;
  margin-bottom: var(--heading-margin-bottom--h6-margin);
  font-size: var(--font-size--h6);
  line-height: var(--line-height--size-down-3);
}

p {
  font-family: var(--font-family--body, "Inter", sans-serif);
  margin-bottom: 0;
  font-weight: 400;
  line-height: 1.215;
}

.accent-text {
  font-size: var(--font-size--small);
}

li {
  margin-bottom: 0;
  margin-top: 0;
  font-weight: 400;
  color: var(--color-black, var(--color-dark));
  font-size: 1em;
  line-height: 1.215;
}

p:not(:last-of-type) {
  margin-bottom: 1em;
}

a {
  color: inherit;
  text-decoration: underline;
  transition: all 0.4s ease;
}

strong {
  font-weight: 600;
}

.container-large,
.wp-block-group__inner-container {
  max-width: var(--container--large);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.wp-block-group__inner-container {
  max-width: 54em;
}

.wp-block-group__inner-container h2 {
  font-size: 2.5em;
}

.wp-block-group__inner-container h3 {
  font-size: 2em;
}

.wp-block-group__inner-container h4 {
  font-size: 1.5em;
}

.wp-block-group__inner-container img {
  max-width: 100%;
  height: auto;
  width: 100%;
  border-radius: var(--border-radius--medium);
}

.container-medium {
  max-width: var(--container--medium);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.container-full {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.padding-global-copy,
.padding-global,
.wp-block-group {
  padding-right: var(--padding-global--padding-global);
  padding-left: var(--padding-global--padding-global);
}

.padding-global {
  padding-right: var(--padding-global--padding-global);
  padding-left: var(--padding-global--padding-global);
}

ul {
  padding-left: 0;
  margin-left: 1.2em;
}

@media screen and (max-width: 767px) {
  .padding-global-copy,
  .padding-global {
    padding-right: var(--padding-global--padding-global);
    padding-left: var(--padding-global--padding-global);
  }
}

/*
* Theme Style
*/
.site-header {
  background-color: var(--color-white);
  padding-top: 1.25em;
  padding-bottom: 1.25em;
  position: sticky;
  left: 0;
  top: 0;
  z-index: 99;
}

.site-header__wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.sub-menu {
  display: none;
}

.main-menu li {
  position: relative;
}

.header-nav ul.sub-menu {
  left: 0;
  top: calc(100% + 3em);
  z-index: 100;
  margin: 0;
  padding: 0;
  height: auto;
  min-width: 250px;
  display: block;
  border: none;
  border-radius: 0;
  position: absolute;
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  background-color: #fff;
  background-clip: inherit;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  -webkit-transform-origin: center top 0;
  transform-origin: center top 0;
  box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 5%);
  border-radius: var(--border-radius--small);
  padding: 1em;
}

.header-nav ul.sub-menu::after {
  position: absolute;
  content: "";
  content: 0;
  left: 0;
  width: 100%;
  height: 3em;
  top: -3em;
}

.header-nav ul.sub-menu li {
  border-bottom: 1px solid #e5e5e5;
}

.header-nav ul.sub-menu a {
  padding: 0.75em 0;
  display: inline-block;
}

.menu-item-has-children ul.sub-menu {
  list-style: none;
}
.menu-item-has-children:hover ul.sub-menu {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}

/* Nested submenus (3rd level and deeper) cascade to the right.
   No max-height / overflow here — those would clip a deeper submenu.
   Visibility is controlled per-level by the rule below using `>`,
   so the chain works at any depth. */
.header-nav li ul li ul {
  top: 0 !important;
  left: calc(100% + 2em) !important;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

/* Invisible bridge across the 2em gap so the cursor doesn't lose hover. */
.header-nav li ul li ul::before {
  content: "";
  position: absolute;
  left: -2em;
  top: 0;
  width: 2em;
  height: 100%;
}

.menu-item-has-children:hover ul.sub-menu li ul.sub-menu {
  list-style: none;
  border-radius: var(--border-radius--small);
}

/* Show a nested submenu only when its DIRECT parent <li> is hovered.
   Using the child combinator (`>`) makes this work at any depth without
   submenus from other branches leaking open. */
.header-nav .menu-item-has-children:hover > ul.sub-menu {
  opacity: 1;
  visibility: visible;
}

.menu-item-has-children ul.sub-menu li ul.sub-menu a {
  padding: 0.75em 0;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   Desktop: keep long fly-out submenus inside the viewport.
   Some country lists are very tall (e.g. Southern Africa, ~17 items) and used
   to run off the bottom of the screen, hiding the last items. We cap their
   height and let them scroll. The SubmenuFit JS module refines the max-height
   to the exact space available below each panel; the value here is a fallback.
   -------------------------------------------------------------------------- */
@media only screen and (min-width: 1025px) {
  /* Level 2 fly-outs (region -> country lists) may exceed the viewport, so we
     cap the height and let them scroll. `transform: none` is essential: a
     transformed element becomes the containing block for `position: fixed`
     descendants, which would trap the level-3 fly-out back inside this
     scrollable (clipping) box. We override the submenu's scaleY animation with
     !important so this panel never becomes that containing block. */
  .header-nav li ul li ul {
    max-height: calc(100vh - 10em);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    transform: none !important;
  }

  .header-nav li ul li ul::-webkit-scrollbar {
    width: 6px;
  }

  .header-nav li ul li ul::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
  }

  /* Level 3 fly-out: keeps flying out to the right (as before), but positioned
     with `fixed` so it escapes the scrollable level-2 panel instead of being
     clipped by it. SubmenuFit (theme.js) computes its exact top/left on hover
     and clamps it to the viewport; it must not clip or scroll itself. */
  .header-nav li ul li ul li ul {
    /* !important beats the higher-specificity base `.header-nav ul.sub-menu`
       (position: absolute / z-index: 100) so the fly-out is truly fixed and
       therefore escapes the scrollable level-2 container. */
    position: fixed !important;
    z-index: 101 !important;
    max-height: none;
    overflow: visible;
    transform: none !important;
    /* The base submenu has `transition: all` — without this the JS-set top/left
       would slide in from the corner on every hover. */
    transition: none !important;
  }
}
.mainmenu .site-navigation .navigation li:hover ul.sub-menu {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1.5em;
}

.header-nav li a {
  text-decoration: none;
  color: var(--color-dark);
}

.header-nav li a:hover,
.header-nav .current-menu-item a {
  color: var(--color-main);
}

.header-nav .menu-item-has-children {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.header-nav .menu-item.menu-item-has-children::after {
  content: "";
  background-color: currentColor;
  -webkit-mask: url("../img/arrow-h.svg") no-repeat center;
  mask: url("../img/arrow-h.svg") no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
  background-color: var(--color-dark);
  transition: transform 0.3s ease;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  width: 0.75em;
  height: 0.75em;
  transition: all 0.3s ease;
}

.header-nav .menu-item.menu-item-has-children:hover::after {
  background-color: var(--color-main);
  transform: rotate(180deg);
}

.site-header__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 3.5em !important;
}

.site-header__list-search {
  position: relative;
}

.site-header__list-menu {
  display: none;
}

.search-form {
  position: absolute;
  right: 0;
  top: calc(100% + 1em);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  width: 290px;
  z-index: 2;
  inset-inline-end: 0;
  transition: all 0.4s ease;
}

.search-form.is--active {
  opacity: 1;
  visibility: visible;
}

.search-form button {
  position: absolute;
  right: 5px;
  font-size: 20px;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  padding: 1em 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-form button svg path {
  transition: all 0.3s ease;
}

.search-form button:hover svg path {
  fill: var(--color-secondary);
}

.search-form input {
  color: #444;
  padding-inline-end: 50px;
  padding-inline-start: 15px;
  width: 100%;
  background: var(--color-white);
  border-radius: 5px;
  border: 1px solid rgba(62, 62, 62, 0.1);
  font-size: 0.9em;
  height: 50px;
  outline: none;
  transition: all 0.4s ease;
}

.search-form input:focus {
  border-color: var(--color-secondary);
}

.search-btn {
  background-color: var(--color-main);
  border-radius: var(--border-radius--small);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.7em;
  height: 2.7em;
  cursor: pointer;
}

.site-branding,
.site-header__list {
  max-width: 10em;
  width: 100%;
}

.search-btn svg {
  display: none;
}

.search-btn .icon-search {
  display: block;
}

/* kada je aktivno */
.main-navigation-mobile,
.search-btn.is--active .icon-search {
  display: none;
}

.search-btn.is--active .icon-close {
  display: block;
}
.overlay-site {
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-dark);
  opacity: 0.8;
  z-index: 99;
  transition: all 0.4s ease;
  transform: translateX(100%);
}
.overlay-site.is--active {
  transform: translateX(0%);
}

@media only screen and (max-width: 1280px) {
  .site-header__list {
    max-width: 5.2em;
    padding-left: 2.5em;
  }
  .main-navigation {
    justify-content: flex-end;
  }
}

@media only screen and (max-width: 1024px) {
  .site-header__list-menu {
    display: block;
  }

  .site-header__list-menu,
  .search-btn {
    width: 3em;
    min-width: 3em;
    height: 3em;
  }

  .site-header__list-menu {
    background-color: var(--color-main);
    border: 1px solid var(--color-main);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius--small);
  }
  .site-header__list {
    max-width: auto;
    gap: 6px;
  }

  .main-navigation {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    display: block;
    background-color: var(--color-white);
    z-index: 999;
    width: 100%;
    max-width: 400px;
    padding: 1.8em;
    transform: translateX(100%);
    transition: all 0.6s ease-out;
    overflow-y: auto;
  }

  .main-navigation.is--active {
    transform: translateX(0%);
  }

  .header-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .header-nav li {
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
  }

  .header-nav li > a {
    padding: 10px 0px;
  }

  .header-nav ul.sub-menu a,
  .header-nav li a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .site-header__wrap {
    justify-content: space-between;
  }

  .header-nav li svg {
    width: 1em;
  }

  .mobile-menu-icon {
    cursor: pointer;
    padding-left: 1em;
    z-index: 9;
    position: absolute;
    right: 0;
    top: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .header-bar-icon {
    width: 1.4em;
    height: 1em;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: color 0.2s ease-out;
  }

  .header-bar-icon span {
    width: 100%;
    height: 2px;
    background: var(--color-white);
    display: inline-block;
    transition: color 0.2s ease-out;
    margin: 0 auto;
    margin-right: auto;
    margin-right: 0;
  }

  .header-bar-icon span:nth-child(1) {
    width: 100%;
    transition: all 0.3s linear;
  }

  .header-bar-icon span:nth-child(2) {
    width: 100%;
    transition: all 0.3s linear;
  }

  .header-bar-icon span:nth-child(3) {
    width: 100%;
    transition: all 0.3s linear;
  }

  .main-navigation-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2em;
    position: sticky;

    top: 0;
    z-index: 999;
    background: var(--color-white);
  }

  .main-navigation-mobile::before {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    z-index: 9;
    left: 0;
    top: -1.8em;
    background-color: var(--color-white);
  }

  .main-navigation-mobile .close-menu-icon,
  .main-navigation-mobile .custom-logo-link {
    position: relative;
    z-index: 99;
  }

  .main-navigation-mobile img {
    max-height: 2.5em;
    width: auto;
  }

  .close-menu-icon {
    cursor: pointer;
    border: 1px solid var(--color-main);
    background-color: var(--color-main);
    border-radius: var(--border-radius--small);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5em;
    min-width: 2.5em;
    height: 2.5em;
  }

  .close-menu-icon svg {
    width: 60%;
  }

  .header-nav .menu-item.menu-item-has-children::after {
    background-color: currentColor;
    -webkit-mask: url("../img/mobile-x.svg") no-repeat center;
    mask: url("../img/mobile-x.svg") no-repeat center;
    transform: rotate(-45deg);
    cursor: pointer;
    content: none !important;
  }
  .header-nav .menu-item.menu-item-has-children:hover::after {
    transform: rotate(-45deg);
    background-color: var(--color-dark);
  }

  .header-nav ul.sub-menu::after {
    content: none;
  }

  .header-nav ul.sub-menu {
    left: 0;
    top: auto;
    position: relative;
    z-index: 100;
    margin: 0;
    padding: 0;
    height: auto;
    min-width: 100%;
    display: block;
    border: none;
    border-radius: 0;

    -webkit-transform: scaleY(1);
    transform: scaleY(1);
    background-color: #fff;
    background-clip: inherit;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    -webkit-transform-origin: center top 0;
    transform-origin: center top 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }

  .header-nav .menu-item-has-children {
    flex-wrap: wrap;
  }
  .header-nav ul.sub-menu {
    padding-left: 1em;
    -webkit-transition: none;
    transition: none;
  }
  .header-nav li ul li ul {
    opacity: 1;
    visibility: visible;
    max-height: 100%;
    left: auto !important;
  }

  .menu-item-has-children ul.sub-menu li {
    padding: 0;
  }
  .menu-item-has-children ul.sub-menu li ul.sub-menu a {
    padding: 10px 0px;
  }

  .header-nav ul.sub-menu {
    display: none;
  }

  .header-nav .menu-item-has-children.is-open {
    border-color: transparent;
  }
  .header-nav .menu-item-has-children {
    gap: 0;
  }

  .header-nav .menu-item-has-children > .mobile-menu-icon svg {
    transition: all 0.4s ease;
  }

  /* Only rotate the icon of the directly-open <li>, not nested submenus. */
  .header-nav .menu-item-has-children.is-open > .mobile-menu-icon svg {
    transform: rotate(-45deg);
  }
}

@media only screen and (max-width: 991px) {
  .site-header {
    padding: 12px;
  }
}

@media only screen and (max-width: 575px) {
  .search-form {
    width: calc(100vw - 24px);
    right: 12px;
    position: fixed;
    z-index: 99;
    top: 5.75em;
  }
  .main-navigation {
    max-width: 100%;
  }
}

/* Hero */

.hero {
  position: relative;
}

.hero-item {
  width: 100%;
  height: calc(100vh - 92.25px);
  position: relative;
}

.hero-progress {
  height: 2px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.5);
}

.hero-item::before {
  content: "";
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: var(--color-dark);
  opacity: 0.35;
  position: absolute;
  z-index: 1;
}

.hero-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-item-content {
  position: absolute;
  left: 0;
  z-index: 2;
  top: 15%;
  width: 100%;
  opacity: 0;
}

.swiper-slide-active .hero-item-content {
  opacity: 1;
  transition: all 0.3s ease-out;
}
.featured-category {
  background-color: var(--color-secondary);
  border-radius: 0.4em;
  color: var(--color-white);
  display: inline-block;
  margin-bottom: 1em;
  padding: 0.45em 1em;
  font-size: 0.85em;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0.8em;
  text-decoration: none;
  transition: all 0.4s ease;
}

.single-category {
  background-color: #b60205;
  border-radius: 0.4em;
  color: var(--color-white);
  display: inline-block;
  margin-bottom: 0.5em;
  padding: 0.45em 1em;
  font-size: 0.85em;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0.8em;
  text-decoration: none;
  transition: all 0.4s ease;
}

.featured-category:hover,
.single-category:hover {
  opacity: 0.85;
}

h2.featured-title {
  color: var(--color-white);
  max-width: 16em;
  font-size: 3.2em;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* broj redova */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  color: var(--color-white);
  gap: 15px;
  margin-bottom: 3em;
}

.featured-meta > a,
.featured-meta > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1em;
  text-decoration: none;
}

.featured-meta > a svg,
.featured-meta > span svg {
  width: 1.1em;
}

.btn-theme {
  border: 1px solid var(--color-secondary);
  background-color: var(--color-secondary);
  color: var(--color-white);
  border-radius: var(--border-radius--medium);
  padding: 1em 2em;
  text-decoration: none;
  display: inline-block;
  transition: all 0.4s ease;
}

.btn-theme:hover {
  background-color: var(--color-main);
  border-color: var(--color-main);
}

.hero-item.swiper-slide {
  transition: 0 !important;
}

.hero-navigation {
  position: absolute;
  left: 0;
  bottom: 2em;
  width: 100%;
  z-index: 3;
}

.flexible-navigation {
  display: flex;
  align-items: center;
  gap: 1.5em;
}

.hero-navigation-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.75em;
  border-radius: var(--border-radius--medium);
  border: 1px solid rgba(255, 255, 255, 0.5);
  width: calc(25% - 1.5em / 1.33);
}

.hero-navigation-item::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  left: 0;
  top: 0;
  background-color: rgba(255, 255, 255, 0.2);
  z-index: -1;
}

.hero-navigation-img,
.hero-navigation-item img {
  width: 5.75em;
  min-width: 5.75em;
  height: 5.75em;
  object-fit: cover;
  border-radius: var(--border-radius--small);
  transition: all 0.8s ease;
}

.hero-navigation-img {
  overflow: hidden;
}

.hero-navigation-item:hover img.featured-img {
  transform: scale(1.2);
}

h5.featured-title,
p.featured-title {
  font-size: 1em;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* broj redova */
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--color-white);
  line-height: 1.25;
  margin-top: 0;
  font-weight: 500;
  margin-bottom: var(--heading-margin-bottom--h5-margin);
}
p.featured-title a,
h5.featured-title a {
  text-decoration: none;
  position: relative;
}
p.featured-title a:hover,
h5.featured-title a:hover {
  color: var(--color-light);
}

.featured-author {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* broj redova */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-navigation-item-content .featured-category {
  margin-bottom: 0.5em;
  font-size: 0.75em;
  padding: 0.35em 0.75em;
}

.hero-navigation-item-content .featured-meta > a,
.hero-navigation-item-content .featured-meta > span {
  font-size: 0.75em;
  gap: 4px;
}

.hero-navigation-item-content .featured-meta {
  margin-bottom: 0;
}

@media only screen and (max-width: 991px) {
  .flexible-navigation {
    flex-wrap: wrap;
    gap: 12px;
  }
  .hero-navigation-item {
    width: calc(50% - 12px / 2);
  }
  .hero-item-content {
    padding: 6em 12px;
    top: 0;
  }
}

@media only screen and (max-width: 767px) {
  .hero-navigation {
    display: none;
  }

  .hero-item-content {
    position: relative;
  }
  .hero-item img {
    position: absolute;
  }

  .hero-item {
    height: auto;
  }

  .hero-item h2.featured-title {
    font-size: 2.8em;
    line-height: 1.1;
  }
}

@media only screen and (max-width: 479px) {
  .hero-item h2.featured-title {
    font-size: 2em;
  }
  .featured-meta {
    margin-bottom: 2.5em;
    font-size: 0.9em;
  }
  .btn-theme {
    font-size: 0.9em;
  }
}

/*Main Section*/

.homepage-main-sections {
  padding-top: 5em;
  padding-bottom: 5em;
  background-color: var(--color-light);
}

.main-with-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: 3.1em;
}

.main-content {
  flex: 1;
}

.sidebar-column {
  width: calc(31.7% - 3.1em);
}

.trending-sidebar-widget {
  position: sticky;
  top: 6.5em;
  background-color: var(--color-white);
  border-radius: var(--border-radius--medium);
  padding: 1.15em 0.9em;
}

.trending-post-item {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #e5e5e5;
}

.trending-post-item:first-of-type {
  border-top: 1px solid #e5e5e5;
}

.trending-post-item a {
  display: flex;
  align-items: center;
  gap: 0.75em;
}

.trending-post-item a {
  text-decoration: none;
}

.trending-post-item a:hover .trending-title {
  color: var(--color-secondary);
}

.trending-post-item a .trending-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
  font-size: 0.95em;
  line-height: 1.25em;
  font-weight: 500;
  color: var(--color-dark);
  font-family: "Inter", sans-serif;
}

.trending-image {
  width: 4em;
  min-width: 4em;
  height: 4em;
}

.trending-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius--small);
}

.widget-title {
  margin-bottom: 0.35em;
  font-size: 1.575em;
  display: flex;
  align-items: center;
  gap: 0.35em;
  font-weight: 500;
}

.widget-title-icon svg {
  width: 1.25em;
}

.news-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5em;
  flex-wrap: wrap;
  gap: 8px;
}

.section-title {
  font-size: 2.5em;
  margin: 0;
}

.news-main-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
}

.blog-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius--medium);
  padding: 0.75em;
  flex: 1;
  border: 1px solid #e5e5e5;
}

.btn-url {
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5em;
  white-space: nowrap;
  transition: all 0.4s ease;
}

.btn-url:hover {
  color: var(--color-secondary);
}

svg,
svg path {
  transition: all 0.4s ease;
}

.btn-url:hover svg,
.btn-url:hover svg path {
  fill: var(--color-secondary);
}

.btn-url:hover svg {
  transform: rotate(-45deg);
}

.card-image {
  width: 100%;
  position: relative;
}

.card-image img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--border-radius--small);
  object-fit: cover;
}

.card-category {
  position: absolute;
  left: 1.25em;
  top: 1.25em;
  text-decoration: none;
  background-color: #b60205;
  border-radius: 50px;
  color: var(--color-white);
  display: inline-block;
  margin-bottom: 0em;
  font-size: 0.75em;
  padding: 0.35em 0.75em;
  border-top-left-radius: 0;
  border-bottom-left-radius: 100px;
  transition: all 0.4s ease;
}

.card-category:hover {
  opacity: 0.8;
}

.card-body {
  padding: 0.5em 1em;
  padding-top: 1em;
}

.card-link {
  text-decoration: none;
}

.card-title {
  font-size: 1.3em;
  line-height: 1.25;
  margin-bottom: 0.2em !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 500;
  color: var(--color-dark);
  margin-top: 0;
}

.card-title a {
  text-decoration: none;
}

.card-link:hover .card-title {
  color: var(--color-secondary);
}

.card-excerpt {
  margin: 0;
  font-size: 0.9em;
}

.blog-card .featured-meta svg,
.blog-card .featured-meta {
  color: var(--color-dark);
}

.blog-card .featured-meta {
  margin-bottom: 0;
  margin-top: 1em;
  font-size: 0.75em;
}

.news-sidebar-posts {
  margin-top: 1.5em;
}

.sidebar-posts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-post-item {
  width: calc(33.333% - 0.75em / 1.5);
  background-color: var(--color-white);
  border-radius: var(--border-radius--medium);
  padding: 0.65em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #e5e5e5;
  gap: 6px;
  justify-content: flex-start;
}

.sidebar-post-item .card-category {
  position: relative;
  left: auto;
  top: auto;
  padding: 0.25em 0.75em;
}

.sidebar-post-item .featured-meta {
  margin: 0;
  font-size: 0.75em;
  color: var(--color-dark);
}

.sidebar-post-item a {
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.9em;
  line-height: 1.25;
}

.sidebar-post-item a:hover {
  color: var(--color-secondary);
}

.news-section-block {
  margin-top: 4.5em;
}

.sidebar-post-item svg {
  width: 1.5em;
}

.news-main-card.blog-card.swiper-slide {
  /* margin-right: 1.5em; */
  flex: none;
}

.swiper-pagination {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  bottom: 0;
  margin-top: 0.5em;
}

.swiper-pagination-bullet {
  width: 0.6em;
  height: 0.6em;
  border-radius: 50px !important;
  background-color: var(--color-main);
  opacity: 0.5;
}

.swiper-pagination-bullet:hover {
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: var(--color-main);
  width: 2.5em;
  border-radius: 50px !important;
  transition: all 0.4s ease-out 0s;
  opacity: 1;
}

.features-interviews-section {
  padding-top: 6em;
  padding-bottom: 6em;
  background-color: var(--color-main);
}

.features-interviews-section .news-section-header,
.features-interviews-section .section-title {
  color: var(--color-white);
}

.features-interviews-section .section-title svg {
  stroke: var(--color-white);
}
.features-interviews-sectio .news-section-header .btn-url svg {
  stroke: var(--color-white);
  fill: var(--color-white);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));

  gap: 0em 1.75em;
}

.card-category > a,
.card-category:hover > a {
  color: var(--color-white);
}

.trending-image,
.blog-card .card-image {
  overflow: hidden;
  border-radius: var(--border-radius--small);
}
.trending-image img,
.card-image img {
  transition: all 0.8s ease;
  display: block;
}

.trending-link:hover .trending-image img,
.blog-card:hover .card-image img {
  transform: scale(1.2);
}

@media only screen and (max-width: 991px) {
  .main-with-sidebar {
    flex-direction: column;
    gap: 2em;
  }
  .sidebar-column {
    width: 100%;
  }

  .trending-posts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.15em;
  }
  .trending-post-item {
    width: calc(50% - 1.15em / 2);
  }

  #competitions {
    overflow: hidden;
  }
}

@media only screen and (max-width: 767px) {
  .news-main-posts {
    gap: 12px;
  }
  .sidebar-post-item {
    width: calc(50% - 0.75em / 2);
  }
  .news-sidebar-posts {
    margin-top: 12px;
  }
  .section-title {
    font-size: 2em;
  }
  .swiper-pagination {
    margin-top: 1.2em;
  }

  .news-main-card.blog-card.swiper-slide a {
    display: block;
    width: 100%;
  }

  #competitions.news-section .news-main-posts {
    flex-direction: row;
  }
}

@media only screen and (max-width: 575px) {
  .news-main-posts {
    flex-direction: column;
  }
  .trending-post-item {
    width: 100%;
  }
  #competitions.news-section .news-main-posts {
    flex-direction: row;
  }
}

/* MAIN CARD â€“ CENTAR */
.feature-card-main {
  grid-column: 2 / 3;
  grid-row: 1 / 4;
}

/* LEVA KOLONA */
.features-grid article:nth-child(1),
.features-grid article:nth-child(2),
.features-grid article:nth-child(3) {
  grid-column: 1 / 2;
}

/* DESNA KOLONA */
.features-grid article:nth-child(5) {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

.features-grid article:nth-child(6) {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}

.features-grid article:nth-child(7) {
  grid-column: 3 / 4;
  grid-row: 3 / 4;
}

.feature-card {
  padding-top: 0.85em;
  padding-bottom: 0.85em;
  border-bottom: 1px solid #e5e5e5;
}

.features-grid article:nth-child(5),
.features-grid article:nth-child(1) {
  border-top: 1px solid #e5e5e5;
}

.feature-card {
  display: flex;
  gap: 1.2em;
}

.feature-card .card-image {
  width: 8em;
  min-width: 8em;
  height: 8em;
}

.feature-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius--small);
}

.feature-card-main .card-content .card-title,
.feature-card .card-title {
  color: var(--color-white);
  -webkit-line-clamp: 3;
  font-size: 1em;
}

.feature-card-main .card-content .card-title {
  margin-bottom: 1em;
  font-size: 1.2em;
}

.feature-card-main .card-content a,
.feature-card .card-title a {
  text-decoration: none;
}

.feature-card-main .card-content a:hover,
.feature-card .card-title a:hover {
  color: var(--color-secondary);
}

.feature-card .featured-meta {
  margin: 0;
  gap: 10px 15px;
  font-size: 0.75em;
}

.feature-card .card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card-main {
  position: relative;
  border-radius: var(--border-radius--medium);
  overflow: hidden;
}

.feature-card-main::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: var(--color-dark);
  opacity: 0.35;
  z-index: 1;
}

.feature-card-main .card-image {
  width: 100%;
  height: 100%;
}

.feature-card-main .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius--medium);
}

.feature-card-main .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  padding: 1.5em 2em;
  padding-top: 0;
}

.feature-card-main .card-content .featured-meta {
  margin-bottom: 0;
  font-size: 0.85em;
}

.feature-card .card-image {
  overflow: hidden;
  border-radius: var(--border-radius--small);
}

.feature-card:hover .card-image img {
  transform: scale(1.2);
}

.feature-card-main:hover .card-image img {
  transform: scale(1.2);
}

.feature-card-main a.featured-author:hover {
  color: var(--color-light);
}

@media only screen and (max-width: 991px) {
  .features-grid {
    gap: 12px;
    display: flex;
    flex-wrap: wrap;
  }
  .feature-card,
  .feature-card-main {
    width: 100%;
  }
}

/*All News*/

.all-news-section {
  background-color: var(--color-white);
  padding-top: 6em;
  padding-bottom: 6em;
  background-color: #f7f7f7;
}

.all-news-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8em;
}

.all-news-main {
  flex: 1;
}

.all-news-sidebar {
  width: calc(35% - 1.8em);
}

/* .all-news-sidebar .widget.widget-tabbed-posts {
  position: sticky;
  top: 6.5em;
  margin-bottom: 0;
} */

.single-post .widget.widget-tabbed-posts {
  position: relative;
  top: 0;
  margin-bottom: 1.8em;
}

.news-card {
  padding: 0.75em 0;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  gap: 1.75em;
}

.news-card:first-of-type {
  border-top: 1px solid #e5e5e5;
}

.news-card .card-category {
  position: relative;
  left: auto;
  top: auto;
}

.news-card .card-image {
  width: 20em;
  min-width: 20em;
  height: 16em;
  overflow: hidden;
}

.news-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-image {
  overflow: hidden;
  border-radius: var(--border-radius--small);
}

.news-card .card-body {
  padding: 1em 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-card .featured-meta {
  color: var(--color-dark);
  margin-bottom: 0;
}

.news-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35em;
}

.news-card-top .card-title a {
  text-decoration: none;
}

.news-card-top .card-title a:hover {
  color: var(--color-secondary);
}

.all-news-sidebar .widget {
  border-radius: var(--border-radius--medium);
  background-color: var(--color-white);
  border: 1px solid #e5e5e5;
  padding: 1.25em 1.8em;
  margin-bottom: 1.8em;
}

/* .widget-title {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
} */

.widget-title svg {
  width: 1.25em;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 1em;
}

.newsletter-form .form-group {
  flex: 1;
}

.newsletter-form .form-group input {
  height: 3em;
  border-radius: var(--border-radius--small);
  padding-inline-start: 20px;
  padding-inline-end: 20px;
  background: var(--color-light);
  border-radius: 1px solid #e5e5e5;
  width: 100%;
  outline: none;
}

.newsletter-form .form-group input:focus {
  border-color: var(--color-main);
}

.newsletter-form button {
  height: 3em;
  border-radius: var(--border-radius--small);
  padding-inline-start: 20px;
  overflow: hidden;
  padding-inline-end: 20px;
  color: var(--color-white);
  background: var(--color-main);
  border: 1px solid var(--color-main) !important;
  outline: none !important;
  padding: 0 2em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s ease-out;
}

.newsletter-form button:hover {
  background-color: var(--color-white);
  color: var(--color-main);
}

.tabs-nav {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.tabs-nav button {
  flex: 1;
  border: 1px solid #e5e5e5;
  background-color: var(--color-white);
  color: var(--color-dark);
  border-radius: var(--border-radius--small);
  font-size: 0.9em;
  padding: 0.75em 0.2em;
}

.tabs-nav button:hover,
.tab-btn.active {
  border-color: var(--color-main);
  background-color: var(--color-main);
  color: var(--color-white);
}

.tabbed-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tabbed-post-item {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #e5e5e5;
}

.trending-post-item:first-of-type {
  border-top: 1px solid #e5e5e5;
}

.tabbed-post-item a {
  display: flex;
  gap: 0.75em;
}

.tabbed-post-item a {
  text-decoration: none;
}

.tabbed-post-item a:hover .trending-title {
  color: var(--color-secondary);
}

.tabbed-post-item a .trending-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
  font-size: 0.95em;
  line-height: 1.25em;
}

.tabbed-post-item .post-image {
  width: 5em;
  min-width: 5em;
  height: 5em;
}

.tabbed-post-item .post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius--small);
}

.tabbed-post-item .post-title {
  font-size: 0.9em;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 500;
}

.tabbed-post-item .post-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75em;
  color: var(--color-dark);
}

.tabbed-post-item .post-date svg {
  font-size: 1.1em;
}

.tabbed-post-item .post-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-card:hover .card-image img {
  transform: scale(1.2);
}

@media only screen and (max-width: 991px) {
  .all-news-grid {
    flex-direction: column;
  }
  .all-news-main,
  .all-news-sidebar {
    width: 100%;
  }
  .news-card .card-image img {
    aspect-ratio: 16/9;
    height: auto;
  }
  .news-card .card-image {
    height: auto;
  }
}

@media only screen and (max-width: 575px) {
  .news-card {
    flex-direction: column;
    gap: 0;
  }
  .news-card .card-image {
    width: 100%;
    min-width: 100%;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form .form-group,
  .newsletter-form button {
    width: 100%;
  }
}

/*Gallery*/

.photos-section {
  background-color: var(--color-light);
  padding-top: 6em;
  padding-bottom: 6em;
}

.gallery__wrap {
  column-width: 250px;
  column-gap: 1rem;
}

.gallery__item {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  display: block;
  /* Prevent images from breaking across columns */
  break-inside: avoid;
}
.gallery__item img {
  border-radius: var(--border-radius--medium);
}

/*Footer*/

.site-footer {
  background-color: var(--color-main);
}

.site-footer__wrap {
  display: flex;
  align-items: flex-start;
  padding: 6em 0;
}

.footer-bottom {
  background-color: #1c3574;
  text-align: center;
  color: var(--color-white);
  padding: 1.65em 12px;
  font-size: 0.85em;
}

.footer-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5em;
}

.footer-grid .footer-col {
  width: calc(25% - 2.5em / 1.33);
}

.footer-logo img {
  filter: invert(1) brightness(999);
}

.footer-heading {
  font-size: 1.25em;
  color: var(--color-white);
  position: relative;
  margin-bottom: 2em;
  margin-top: 0;
  font-weight: 500;
}

.footer-heading span {
  position: relative;
  padding-right: 2em;
  padding-bottom: 1em;
  display: inline-block;
}

.footer-heading span::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  opacity: 0.6;
  z-index: 1;
}

.footer-heading span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40%;
  height: 2px;
  background-color: var(--color-white);
  opacity: 1;
  z-index: 2;
}

.footer-menu li {
  color: var(--color-light);
  margin-bottom: 0.5em;
}
.footer-menu li a {
  text-decoration: none;
  color: var(--color-light);
  opacity: 0.8;
}

.footer-menu li a:hover {
  color: var(--color-secondary);
  opacity: 1;
}

.footer-main-contact,
.footer-recent-posts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85em;
}

.footer-recent-posts .recent-post-item {
  display: flex;
  gap: 0.5em;
}

.footer-recent-posts img {
  border-radius: var(--border-radius--small);
  width: 5em;
  min-width: 5em;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.footer-recent-posts .post-info {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  justify-content: center;
}

.footer-recent-posts .post-info a {
  text-decoration: none;
  color: var(--color-white);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.4s ease;
}

.footer-recent-posts .post-info a:hover {
  color: var(--color-secondary);
}

.post-thumb {
  overflow: hidden;
  border-radius: var(--border-radius--small);
  width: 5em;
  min-width: 5em;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.recent-post-item .post-thumb img {
  transition: all 0.4s ease;
}

.recent-post-item:hover .post-thumb img {
  transform: scale(1.2);
}

.footer-recent-posts .post-date {
  color: var(--color-white);
  display: inline-block;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85em;
}

.footer-description {
  color: var(--color-light);
}

.footer-social {
  margin-top: 2em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  flex-wrap: wrap;
}

.footer-social a {
  background-color: var(--color-secondary);
  border-radius: var(--border-radius--small);
  width: 2.2em;
  height: 2.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-secondary);
}

.footer-social a:hover {
  background-color: transparent;
  border-color: var(--color-white);
}

.footer-social svg {
  max-height: 60%;
  width: auto;
}

.footer-main-contact a,
.footer-main-contact .location {
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: var(--color-white);
  text-decoration: none;
}

.footer-main-contact .icon-footer {
  max-width: 1em;
}

.footer-main-contact .icon-footer svg {
  transition: all 0.4s ease;
  max-width: 100%;
}

.footer-main-contact a:hover svg path {
  transition: all 0.4s ease;
}

.footer-main-contact a:hover {
  color: var(--color-secondary);
}

.footer-main-contact a:hover svg path {
  fill: var(--color-secondary);
  transition: all 0.4s ease;
}

@media only screen and (max-width: 1199px) {
  .footer-grid .footer-col {
    width: calc(50% - 2.5em / 2);
  }
}

@media only screen and (max-width: 991px) {
  .site-footer__wrap {
    padding-top: 4em;
    padding-bottom: 4em;
  }
}

@media only screen and (max-width: 767px) {
  .footer-grid .footer-col {
    width: 100%;
  }
}

/*Single Page Style*/

.afrsoc-breadcrumb-area {
  background-color: var(--color-light);
  padding-top: 1.5em;
  padding-bottom: 1.5em;
}

.afrsoc-breadcrumb-area ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em 0.8em;
  font-size: 0.9em;
}

.afrsoc-breadcrumb-area ul li a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.afrsoc-breadcrumb-area ul li a:hover,
.afrsoc-breadcumb-item--main {
  color: var(--color-main);
}

.afrsoc-breadcrumb-area ul li svg {
  width: 0.9em;
}

.afrsoc-blog-post-area {
  padding-top: 4.5em;
}

.afrsoc-blog-post-title {
  font-size: 1.8em;
}

.afrsoc-blog-post-wrapper {
  display: grid;
  grid-template-columns: 870px auto;
  gap: 2em;
  justify-content: space-between;
}

.afrsoc-post-meta ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 10px;
}

.afrsoc-post-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.5em;
}

.afrsoc-blog-post-social {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 2.04em;
  justify-content: flex-end;
}

.theme-social.afrsoc-social-links a.is-facebook {
  background: #1559c2;
}
.theme-social.afrsoc-social-links a.is-instagram {
  background: #b9184e;
}
.theme-social.afrsoc-social-links a.is-twitter {
  background: #202021;
}
.theme-social.afrsoc-social-links a.is-linkedin {
  background: #0077b5;
}

.afrsoc-blog-post-social-title {
  font-weight: 600;
}

.afrsoc-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-social.afrsoc-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
  min-width: 2em;
  border-radius: var(--border-radius--small);
}

.featured-meta.featured-meta--single {
  color: var(--color-dark);
  font-size: 0.9em;
  margin-bottom: 0;
}

.afrsoc-blog-post-description {
  margin-top: 1.5em;
}

.afrsoc-section-border-wrapper {
  display: flex;
  align-items: center;
}
.afrsoc-section-border-wrapper .section-border {
  width: 100%;
  display: flex;
  align-items: center;
}

.afrsoc-section-border-wrapper .afrsoc-section-dot {
  width: 7px;
  height: 7px;
  background-color: var(--color-main);
  display: inline-block;
  transform: rotate(45deg);
  margin-inline-end: 5px;
  margin-inline-start: 5px;
}
.afrsoc-section-border-wrapper .afrsoc-section-line {
  border: 1px solid var(--color-light);
  border-width: 1px 0;
  flex-grow: 1;
  height: 4px;
}

.afrsoc-blog-post-border {
  margin-top: 1.5em;
}

.afrsoc-postbox-area-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8em;
}

.afrsoc-postbox-area-sidebar {
  width: calc(35% - 1.8em);
}

.afrsoc-postbox-area-content {
  flex: 1;
}

.afrsoc-postbox-area {
  padding-top: 3.5em;
  padding-bottom: 4em;
}

.afrsoc-postbox-details-thumb {
  margin-bottom: 2em;
}

.afrsoc-postbox-details-thumb img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius--medium);
  display: block;
}

.afrsoc-postbox-details-social .afrsoc-blog-post-social {
  margin-top: 0;
}

.afrsoc-postbox-details-social {
  padding: 1.2em 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  margin-top: 2em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 1em 3em;
}

.afrsoc-postbox-details-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35em 10px;
}

.afrsoc-social-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.afrsoc-social-icon svg {
  width: 1.2em;
}

.afrsoc-postbox-details-tags span {
  font-weight: 500;
}

.afrsoc-postbox-details-tags a {
  border: 1px solid #e5e5e5;
  border-radius: var(--border-radius--small);
  text-decoration: none;
  display: inline-block;
  padding: 0.55em 1em;
}

.single-post {
  background-color: rgb(247, 247, 247);
}

.afrsoc-social-wrapper {
  list-style: none;
  padding: 0;
  margin: 0;
}

.afrsoc-social-wrapper li {
  margin-top: 0.5em;
}
.afrsoc-social.afrsoc-social-one ul {
  margin-top: 1em;
}

.afrsoc-social-one .afrsoc-social-item a {
  display: flex;
  align-items: center;
  background: var(--color-main);
  padding: 15px;
  border-radius: 6px;
  height: 52px;
  justify-content: space-between;
  text-decoration: none;
  color: var(--color-white);
}

.afrsoc-social-one .afrsoc-social-item:nth-child(1) a {
  background: #005a92;
}
.afrsoc-social-one .afrsoc-social-item:nth-child(2) a {
  background: #1255ac;
}
.afrsoc-social-one .afrsoc-social-item:nth-child(3) a {
  background: #b9184e;
}
.afrsoc-social-one .afrsoc-social-item:nth-child(4) a {
  background: #951515;
}
.afrsoc-social-one .afrsoc-social-item:nth-child(5) a {
  background: #185e63;
}
.afrsoc-social-one .afrsoc-social-item:nth-child(6) a {
  background: #9e1945;
}

.archive-posts-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
}

.archive-posts-wrapper .blog-card {
  width: calc(50% - 1.5em / 2);
  flex: auto;
}
.archive-layout {
  padding-bottom: 6em;
}

.navigation .nav-links {
  display: flex;
  justify-content: center;
  margin-top: 2em;
  gap: 8px;
  flex-wrap: wrap;
}

.navigation .nav-links span,
.navigation .nav-links a {
  text-decoration: none;
  height: 2.2em;
  border: 1px solid var(--color-main);
  border-radius: var(--border-radius--small);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.1em 0.8em;
  min-width: 2.2em;
}

.navigation .nav-links span.current,
.navigation .nav-links a:hover {
  background-color: var(--color-main);
  color: var(--color-white);
}

.navigation .nav-links .page-numbers.dots {
  background-color: transparent;
  border-color: transparent;
  min-width: auto;
  padding-left: 0;
  padding-right: 0;
}

body.archive {
  background-color: #f7f7f7;
}

@media only screen and (max-width: 1199px) {
  .afrsoc-blog-post-wrapper {
    grid-template-columns: 550px auto;
  }
}

@media only screen and (max-width: 991px) {
  .afrsoc-blog-post-wrapper {
    grid-template-columns: auto;
  }
  .afrsoc-blog-post-social {
    justify-content: flex-start;
    margin-top: 0;
  }
  .afrsoc-blog-post-border {
    margin-top: 2em;
  }
  .afrsoc-postbox-area-wrapper {
    flex-direction: column;
  }
  .afrsoc-postbox-area-sidebar {
    width: 100%;
  }

  .archive-layout {
    padding-bottom: 4em;
  }
  .afrsoc-blog-post-area {
    padding-top: 2.5em;
  }
}

@media only screen and (max-width: 575px) {
  .archive-posts-wrapper .blog-card {
    width: 100%;
  }
}

/*404 Page*/

.afrsoc-error-area {
  padding-top: 5em;
  padding-bottom: 5em;
  text-align: center;
}

.error-title {
  font-size: 12em;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 12px;
}

.error-btn {
  display: flex;
  justify-content: center;
  margin-top: 3em;
}

.error-btn .btn-theme {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}

.error404 {
  background-color: var(--color-light);
}

.default-page-wrapper {
  padding-bottom: 6em;
}

header.entry-header {
  padding-top: 4em;
  padding-bottom: 4em;
  background-color: var(--color-light);
  text-align: center;
  margin-bottom: 5em;
}

h1.entry-title {
  margin-bottom: 16px;
}

.afrsoc-breadcrumb-menu ul {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 8px;
}

.afrsoc-breadcrumb-menu ul li a {
  text-decoration: none;
}

.afrsoc-breadcrumb-menu ul li a:hover {
  color: var(--color-main);
}

.entry-content--white {
  background-color: var(--color-white);
  border: 1px solid #e5e5e5;
  border-radius: var(--border-radius--medium);
  padding: 1.8em;
}

.search,
.page-tamplate-bg {
  background-color: #f7f7f7;
}

.widget-search .search-form {
  position: relative;
  opacity: 1;
  visibility: visible;
  top: auto;
  width: 100%;
}

.widget.widget-categories ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget.widget-categories ul li.cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e5e5;
  flex-wrap: wrap;
}

.widget.widget-categories ul li a {
  padding: 1em 0px;
  text-decoration: none;
}

.widget.widget-categories ul li a:hover {
  color: var(--color-secondary);
}

.widget.widget-categories ul.children {
  width: 100%;
  display: none;
}

body.search .all-news-grid {
  padding-bottom: 6em;
}

@media only screen and (max-width: 991px) {
  .entry-content--white {
    padding: 12px;
  }
  header.entry-header {
    margin-bottom: 3em;
  }

  body.search .all-news-grid,
  .default-page-wrapper {
    padding-bottom: 5em;
  }
}

/*Author*/

.author-box-top {
  display: flex;
  gap: 1em;
}

.author-avatar {
  width: 6em;
  min-width: 6em;
  height: 6em;
}

.author-box-top img {
  border-radius: var(--border-radius--small);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-box-top-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.author-posts {
  border-radius: var(--border-radius--small);
  background-color: var(--color-main);
  padding: 0.5em;
  color: var(--color-white);
  font-size: 0.75em;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.2em 0.4em;
}

.author-posts h4,
.author-posts p {
  margin: 0;
  color: var(--color-white);
}

.author-posts h4 {
  margin-bottom: 0em;
}

.author-socials {
  margin-top: 1em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  flex-wrap: wrap;
}

.author-socials a {
  background-color: var(--color-secondary);
  border-radius: var(--border-radius--small);
  width: 2.2em;
  height: 2.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-secondary);
}

.author-socials a:hover {
  background-color: transparent;
}

.author-socials svg {
  max-height: 60%;
  width: auto;
}

.author-socials a:hover svg path {
  fill: var(--color-secondary);
}

.single-related-products {
  margin-top: 2.4em;
}

form.wpcf7-form {
  background-color: #f7f7f7;
  border-radius: var(--border-radius--medium);
  padding: 1.8em;
  margin-top: 2em;
}

.cf7-row {
  display: flex;
  gap: 1em;
}

.cf7-field {
  flex: 1;
}

.cf7-field p {
  margin: 0;
}

.cf7-row {
  margin-bottom: 1.5em;
}

.cf7-row textarea,
.cf7-row input {
  outline: none;
  background-color: transparent;
  min-height: 3em;
  width: 100%;
  font-size: 1em;
  border: none;

  border-radius: var(--border-radius--small);
  border: 1px solid #e5e5e5;
  color: var(--color-dark);
  padding-inline-start: 1.2em;
  padding-inline-end: 1.2em;
  background: var(--color-white);
  resize: none;
}

.cf7-row label {
  font-size: 16px;
  color: var(--color-dark);
  margin-bottom: 0.35em;
  display: inline-block;
  font-weight: 600;
}

.cf7-row input:focus {
  border-color: var(--color-main);
}

input.btn-theme {
  padding: 0.8em 2em;
  font-weight: 600 !important;
}

.wpcf7 form .wpcf7-response-output {
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: var(--border-radius--small);
  padding: 1em !important;
}

@media only screen and (max-width: 991px) {
  form.wpcf7-form {
    padding: 12px;
  }
}

@media only screen and (max-width: 575px) {
  .cf7-row {
    flex-direction: column;
  }
}

.country-page-title {
  text-align: left;
  background-position: center left;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.country-page-title::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  opacity: 0.4;
}

.country-page-title-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5em;
  position: relative;
  z-index: 2;
}

.country-page-title-flag {
  display: flex;
  align-items: center;
  background-color: var(--color-white);
  border-radius: var(--border-radius--medium);
  padding: 0.5em;
  gap: 0.3em;
}

.country-page-title-flag p {
  margin: 0;
  font-weight: 600;
}

.country-page-title-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.country-page-title-flag img {
  max-width: 2em;
}

.country-single-wrapper-inside {
  display: flex;
  flex-wrap: wrap;
  gap: 3.1em;
}

.country-single-sidebar {
  width: calc(31.7% - 3.1em);
}

.country-single-content {
  flex: 1;
}

body.single-country {
  background-color: #f7f7f7;
}

.country-single-sidebar .widget-title {
  justify-content: space-between;
  margin-top: 0;
}

.country-single-sidebar .widget-title svg {
  width: 1em;
}

.country-single-wrapper {
  padding-bottom: 6em;
}

.zone-list {
  border-top: 1px solid #e5e5e5;
  margin-top: 1em;
}

.zone-title {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75em 0;
  cursor: pointer;
}

.zone-list-item {
  border-bottom: 1px solid #e5e5e5;
  cursor: pointer;
}

.zone-countries {
  display: none;
}

.zone-countries {
  list-style: none;
  padding: 0;
  margin: 0;
}

.country-item {
  border-top: 1px solid #e5e5e5;
  transition: all 0.4s ease;
}

.country-item a {
  padding: 0.75em 1em;
  display: inline-block;
  text-decoration: none;
}

.zone-title img {
  transition: all 0.4s ease;
}
.zone-title.is-active img {
  transform: rotate(180deg);
}

.country-item:hover,
.country-item.active {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.tabs-nav.tabs-nav-single button {
  white-space: nowrap;
  padding-right: 1em;
  padding-left: 1em;
}

.tabs-nav.tabs-nav-single {
  margin-top: 0;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.country-list {
  padding: 0;
  margin: 0;
  list-style: none;

  display: flex;
  flex-wrap: wrap;
  gap: 12px 3em;
}

.country-list li {
  background-color: var(--color-white);
  border-radius: var(--border-radius--small);
  padding: 0.75em 1em;
  display: flex;
  gap: 1em;
  width: calc(50% - 3em / 2);
}

.country-list li b {
  font-weight: 500;
  width: 30%;
}

.country-list li span {
  flex: 1;
}

.country-list li a {
  color: var(--color-main);
  text-decoration: none;
}

.country-list li a:hover {
  color: var(--color-secondary);
}

.country-single-content .tabs-content {
  margin-top: 2em;
}

.country-single-content .tabs-content h4 {
  color: var(--color-main);
  padding-bottom: 0.5em;
  border-bottom: 1px solid var(--color-main);
  margin-bottom: 1em;
}

.country-list:not(:last-of-type) {
  margin-bottom: 2em;
}

.country-main-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
}

.country-main-posts .blog-card {
  width: calc(33.333% - 1.5em / 1.5);
  flex: none;
}

.leagues-table {
  width: 100%;
  border: 1px solid #eee;
  border-radius: var(--border-radius--small);
  overflow: hidden;
  font-family: inherit;
}

.leagues-row {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  align-items: center;
  background: #fff;
}

.leagues-row:not(:last-child) {
  border-bottom: 1px solid #eee;
}

.leagues-header {
  background: #fafafa;
  font-weight: 600;
}

.leagues-col {
  padding: 0.75em 1em;
  border-right: 1px solid #eee;
}

.leagues-col:last-child {
  border-right: none;
}

.col-logo {
  text-align: center;
}

.col-logo img {
  max-width: 1.5em;
  height: auto;
  display: inline-block;
}

.col-name {
  color: #111;
}

.col-session {
  color: #111;
}

.leagues-row.leagues-row-medium {
  font-size: 0.95em;
}

.leagues-table-four .leagues-row {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.countries-wrapper .zone-countries-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  border-top: 1px solid #e5e5e5;
  padding: 1.5em 0;
  margin-top: 1em;
}

.countries-wrapper .zone-countries .country-item {
  width: calc(25% - 1.5em / 1.33);
  border-top: none;
}

.countries-wrapper .zone-countries .country-item a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1em;
  border: 1px solid #e5e5e5;
  border-radius: var(--border-radius--small);
  overflow: hidden;
}

.countries-wrapper .zone-countries .country-item {
  border-radius: var(--border-radius--small);
}

.countries-wrapper .zone-countries .country-item a:hover {
  border-color: var(--color-secondary);
  transition: all 0.4s ease;
  color: var(--color-dark);
}

.countries-wrapper .zone-countries .country-item:hover {
  transition: all 0.2s ease;
  background-color: transparent;
}

.countries-wrapper .zone-title {
  padding: 0;
  font-weight: 600;
  font-size: 1.2em;
}

.countries-wrapper .zone-list-item {
  padding: 1em;
  border-radius: var(--border-radius--medium);
  background-color: var(--color-white);
  margin-bottom: 12px;
}

.page-template-tmplt-countries {
  background-color: #f7f7f7;
}

.countries-wrapper .zone-countries .country-item img {
  width: 100%;
  max-width: 5em;
}

button {
  cursor: pointer;
}

@media only screen and (max-width: 991px) {
  .country-single-sidebar {
    width: 100%;
  }
  .country-single-wrapper-inside {
    gap: 2em;
  }
  .tabs-nav.tabs-nav-single {
    flex-wrap: wrap;
  }
  .tabs-nav.tabs-nav-single button {
    flex: none;
  }
}

@media only screen and (max-width: 767px) {
  .country-list {
    gap: 12px 20px;
  }
  .country-list li {
    width: calc(50% - 20px / 2);
  }

  .country-main-posts .blog-card {
    width: calc(50% - 12px / 2);
    flex: none;
  }

  .country-main-posts {
    gap: 12px;
  }

  .main-table-w {
    overflow-x: hidden;
    width: calc(100vw - 24px);
    border-radius: var(--border-radius--small);
  }

  .leagues-table-four .leagues-row {
    grid-template-columns: 200px 200px 200px 200px;
  }

  .leagues-table {
    overflow-x: scroll;
  }
  .leagues-col {
    background: #fff;
  }
  .leagues-header .leagues-col {
    background: #fafafa;
  }

  .countries-wrapper .zone-countries .country-item {
    width: calc(33.33% - 1.5em / 1.5);
  }
}

@media only screen and (max-width: 575px) {
  .country-list {
    gap: 12px;
    flex-direction: column;
  }
  .country-list li {
    width: 100%;
  }
  .country-main-posts .blog-card {
    width: 100%;
    flex: none;
  }

  .countries-wrapper .zone-countries .country-item {
    width: calc(50% - 1.5em / 2);
  }
}

.country-page-title-logo {
  max-width: 7em;
}

table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  margin-bottom: 0px;
  min-width: 500px;
}

[data-cy="table-wrapper"] {
  overflow-x: auto;
  max-width: 100%;
  width: 100%;
  margin-bottom: 30px;
}

table th,
table td {
  border: 1px solid #ebebeb;
  padding: 0.75em 0.5em;
  text-align: center;
}

.afrsoc-postbox-details-thumb {
}

.afrsoc-postbox-details-thumb img {
  object-fit: contain;
  max-height: 60vh;
  width: auto;
}

caption {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  color: #6c757d;
  text-align: left;
}

.instagram-wrapper {
  overflow: hidden;
  max-width: 100%;
}

.afrsoc-postbox-details-content {
  max-width: calc(100vw - 24px);
  overflow: hidden;
}

iframe.instagram-media {
  min-width: unset !important;
  max-width: 30vw !important;
  width: 100% !important;
}

/* ========================================
   Geo-Targeted Banners
   ======================================== */

.afrsoc-geo-banner {
  text-align: center;
  line-height: 0;
  margin-bottom: 1.5em;
}

.afrsoc-geo-banner img {
  border-radius: var(--border-radius--medium);
}

.afrsoc-geo-banner:empty {
  display: none;
}

.afrsoc-banner--mobile-fixed,
.afrsoc-banner--below-header,
.afrsoc-banner--above-header {
  margin: 0;
}

.afrsoc-banner--mobile-fixed img,
.afrsoc-banner--below-header img,
.afrsoc-banner--above-header img {
  border-radius: 0;
}

.afrsoc-geo-banner .afrsoc-banner-link {
  display: inline-block;
}

.afrsoc-geo-banner .afrsoc-banner-img {
  max-width: 100%;
  height: auto;
}

/* Above Header */
.afrsoc-banner--above-header {
  width: 100%;
}

/* Below Header */
.afrsoc-banner--below-header {
  width: 100%;
  padding: 0;
  position: sticky;
  top: 5em;
  z-index: 99;
}

/* In Content */
.afrsoc-banner--in-content {
  margin: 1.5em 0;
  line-height: normal;
}

/* After Content */
.afrsoc-banner--after-content {
  padding: 1.5em 0;
}

/* Mobile Fixed Bottom */
.afrsoc-banner--mobile-fixed {
  display: none !important;
}

/* RTL support */
.afrsoc-banner--rtl {
  direction: rtl;
}

@media only screen and (max-width: 991px) {
  .afrsoc-banner--mobile-fixed {
    display: block !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    padding: 0;
  }

  .afrsoc-banner--below-header {
    display: none;
  }

  .afrsoc-banner--mobile-fixed .afrsoc-banner-img {
    width: 100%;
    margin: 0 auto;
  }
}

.entry-header-betting {
  margin-bottom: 0 !important;
}
.entry-header-betting .afrsoc-breadcrumb-menu ul {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.entry-header-betting h1 {
  font-size: 3.25em;
}

.entry-content--betting img {
  border-radius: var(--border-radius--medium);
}

@media only screen and (max-width: 991px) {
  .entry-header-betting h1 {
    font-size: 2.75em;
  }
}

@media only screen and (max-width: 767px) {
  .entry-header-betting h1 {
    font-size: 2.5em;
  }
}

@media only screen and (max-width: 479px) {
  .entry-header-betting {
    padding-top: 3em !important;
    padding-bottom: 3em !important;
  }
  .entry-header-betting h1 {
    font-size: 1.75em;
  }
}

/* ============================================
   Betting Content â€“ entry-content--betting
   ============================================ */

/* Headings */
.entry-content--betting h1,
.entry-content--betting h2,
.entry-content--betting h3,
.entry-content--betting h4,
.entry-content--betting h5,
.entry-content--betting h6 {
  color: var(--color-dark);
  line-height: 1.2;
  margin-top: 1.5em;
  margin-bottom: 0.6em;
}

.entry-content--betting h2 {
  font-size: 2em;
  border-left: 4px solid var(--color-secondary);
  padding-left: 0.6em;
}

.entry-content--betting h3 {
  font-size: 1.75em;
}

.entry-content--betting h4 {
  font-size: 1.5em;
}

.entry-content--betting h5,
.entry-content--betting h6 {
  font-size: 1.25em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-main);
}

/* Paragraphs */
.entry-content--betting p {
  color: var(--color-text);
  margin-bottom: 1.2em;
}

/* Links */
.entry-content--betting a {
  color: var(--color-main);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.entry-content--betting a:hover {
  color: var(--color-secondary);
}

/* Lists */
.entry-content--betting ul,
.entry-content--betting ol {
  margin: 0 0 1.2em 1.5em;
  padding: 0;
  color: var(--color-text);
  line-height: 1.8;
}

.entry-content--betting ul {
  list-style: disc;
}

.entry-content--betting ol {
  list-style: decimal;
}

.entry-content--betting li {
  margin-bottom: 0.4em;
}

.entry-content--betting li::marker {
  color: var(--color-secondary);
}

/* Blockquote */
.entry-content--betting blockquote {
  border-left: 4px solid var(--color-main);
  background-color: #f0f4ff;
  margin: 1.5em 0;
  padding: 1em 1.5em;
  border-radius: 0 var(--border-radius--medium) var(--border-radius--medium) 0;
  font-style: italic;
  color: var(--color-dark);
}

.entry-content--betting blockquote p {
  margin-bottom: 0;
}

/* Images */
.entry-content--betting img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius--medium);
  margin: 1em 0;
}

/* Figure / captions */
.entry-content--betting figure {
  margin: 1.5em 0;
}

.entry-content--betting figcaption {
  font-size: var(--font-size--small);
  color: #888;
  text-align: center;
  margin-top: 0.4em;
}

/* Tables */
.entry-content--betting table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95em;
  border-radius: var(--border-radius--medium);
  overflow: hidden;
}

.entry-content--betting table thead {
  background-color: var(--color-main);
  color: var(--color-white);
}

.entry-content--betting table thead th {
  padding: 0.75em 1em;
  text-align: left;
  font-weight: var(--font-weight--semibold);
}

.entry-content--betting table tbody tr {
  border-bottom: 1px solid #e5e5e5;
  transition: background-color 0.15s ease;
}

.entry-content--betting table tbody tr:nth-child(even) {
  background-color: #f7f9ff;
}

.entry-content--betting table tbody tr:hover {
  background-color: #eef2ff;
}

.entry-content--betting table td {
  padding: 0.7em 1em;
  color: var(--color-text);
  vertical-align: middle;
}

/* Horizontal rule */
.entry-content--betting hr {
  border: none;
  border-top: 2px solid #e5e5e5;
  margin: 2em 0;
}

/* Strong / Em */
.entry-content--betting strong,
.entry-content--betting b {
  font-weight: var(--font-weight--bold);
  color: var(--color-dark);
}

.entry-content--betting em,
.entry-content--betting i {
  font-style: italic;
}

/* Code */
.entry-content--betting code {
  background-color: #f0f4ff;
  color: var(--color-main);
  padding: 0.15em 0.45em;
  border-radius: var(--border-radius--small);
  font-size: 0.9em;
}

.entry-content--betting pre {
  background-color: var(--color-dark);
  color: #e5e5e5;
  padding: 1.2em 1.5em;
  border-radius: var(--border-radius--medium);
  overflow-x: auto;
  margin: 1.5em 0;
  font-size: 0.875em;
  line-height: 1.7;
}

.entry-content--betting pre code {
  background: none;
  color: inherit;
  padding: 0;
}

/* Responsive */
@media only screen and (max-width: 767px) {
  .entry-content--betting h2 {
    font-size: 1.6em;
  }

  .entry-content--betting h3 {
    font-size: 1.3em;
  }

  .entry-content--betting table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media only screen and (max-width: 479px) {
  .entry-content--betting ul,
  .entry-content--betting ol {
    margin-left: 1em;
  }

  .entry-content--betting blockquote {
    padding: 0.8em 1em;
  }
}

/* ============================================
   Review Template (tmplt-reviews-new.php)
   ============================================ */

.review-page {
  --review-accent: var(--color-secondary);
  --review-accent-dark: var(--color-main);
  --review-pros: #16a34a;
  --review-cons: #dc2626;
  --review-card-border: #e5e7eb;
  --review-card-bg: #ffffff;
  --review-soft-bg: #f7f9ff;
  position: relative;
}

.entry-header-review {
  background-color: var(--color-main);
  color: var(--color-dark);
  margin-bottom: 0 !important;
}

.entry-header-review h1.entry-title,
.entry-header-review .afrsoc-breadcrumb-menu ul li,
.entry-header-review .afrsoc-breadcrumb-menu ul li a {
  color: var(--color-dark);
}

.entry-content--review {
  padding-bottom: 6em;
}

/* ----- Hero ----- */
.review-hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2em;
  margin-top: -4em;
  margin-bottom: 2.5em;
  position: relative;
  z-index: 2;
}

.review-hero__main {
  background-color: var(--review-card-bg);
  border: 1px solid var(--review-card-border);
  border-radius: var(--border-radius--large);
  padding: 2em;
  display: flex;
  gap: 1.5em;
  align-items: flex-start;
  box-shadow: 0 6px 24px rgba(17, 20, 26, 0.06);
}

.review-hero__logo {
  flex: 0 0 7.5em;
  height: 7.5em;
  border-radius: var(--border-radius--medium);
  background-color: var(--review-soft-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6em;
  border: 1px solid var(--review-card-border);
}

.review-hero__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: 0;
}

.review-hero__intro {
  flex: 1;
  min-width: 0;
}

.review-hero__eyebrow {
  background-color: var(--color-secondary);
  border-radius: 0.4em;
  color: var(--color-white);
  display: inline-block;
  margin-bottom: 1em;
  padding: 0.45em 1em;
  font-size: 0.85em;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0.8em;
  text-decoration: none;
  transition: all 0.4s ease;
}

.review-hero__name {
  font-size: 2.2em;
  margin: 0 0 0.4em;
  color: var(--color-dark);
  border: none;
  padding: 0;
}

.review-hero__description {
  margin: 0 0 1em;
  color: #4b5563;
  font-size: 1em;
  line-height: 1.6;
  max-width: 38em;
}

.review-hero__rating {
  display: flex;
  align-items: center;
  gap: 0.6em;
  flex-wrap: wrap;
  margin-bottom: 1em;
}

.review-hero__score {
  font-size: 1.5em;
  font-weight: var(--font-weight--bold);
  color: var(--review-accent-dark);
}

.review-hero__rating-label {
  font-size: 0.85em;
  color: #6b7280;
}

.review-stars {
  position: relative;
  display: inline-block;
  font-size: 1.2em;
  line-height: 1;
  color: #d1d5db;
  letter-spacing: 2px;
}

.review-stars__bg,
.review-stars__fg {
  display: block;
}

.review-stars__fg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f59e0b;
}

.review-hero__disclaimer {
  margin: 0.6em 0 0;
  font-size: 0.78em;
  color: #6b7280;
}

.review-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: var(--font-weight--semibold);
  color: var(--color-white) !important;
  text-decoration: none !important;
  transition: all 0.4s ease !important;
}

.review-cta svg {
  width: 1em;
  height: 1em;
}

/* ----- Quick Stats ----- */
.review-quickstats {
  background: linear-gradient(180deg, var(--color-main) 0%, #1a3170 100%);
  color: var(--color-white);
  border-radius: var(--border-radius--large);
  padding: 1.6em 1.6em 1em;
  box-shadow: 0 6px 24px rgba(35, 62, 130, 0.18);
}

.review-quickstats__title {
  margin: 0 0 1em;
  color: var(--color-white) !important;
  font-size: 1.15em;
  letter-spacing: 0.06em;
  font-weight: var(--font-weight--semibold);
  border: none;
  padding: 0;
  margin-top: 0 !important;
}

.review-quickstats__list {
  list-style: none;
  margin: 0 !important;
  padding: 0;
}

.review-quickstats__list li {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  padding: 0.7em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-light);
  font-size: 0.95em;
}

.review-quickstats__list li:last-child {
  border-bottom: none;
}

.review-quickstats__label {
  opacity: 0.8;
  flex: 0 0 auto;
}

.review-quickstats__value {
  font-weight: var(--font-weight--semibold);
  text-align: right;
  color: var(--color-white);
}

.review-quickstats__value--accent {
  color: #ffd166;
}

/* ----- Author ----- */
.review-author {
  display: flex;
  gap: 1.2em;
  align-items: flex-start;
  background-color: var(--review-card-bg);
  border: 1px solid var(--review-card-border);
  border-left: 4px solid var(--review-accent);
  border-radius: var(--border-radius--medium);
  padding: 1.4em 1.6em;
  margin-bottom: 2.5em;
}

.review-author__avatar {
  flex: 0 0 4.5em;
  width: 4.5em;
  height: 4.5em;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--review-card-border);
}

.review-author__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
}

.review-author__body {
  flex: 1;
  min-width: 0;
}

.review-author__eyebrow {
  display: block;
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  font-weight: var(--font-weight--semibold);
  margin-bottom: 0.2em;
}

.review-author__name {
  margin: 0.2em 0 0.3em !important;
  font-size: 1.2em;
  border: none;
  padding: 0;
}

.review-author__name a {
  color: var(--color-dark);
  text-decoration: none;
}

.review-author__name a:hover {
  color: var(--review-accent);
}

.review-author__role {
  background-color: var(--color-secondary);
  border-radius: 0.4em;
  color: var(--color-white);
  display: inline-block;
  font-weight: var(--font-weight--semibold);
  margin-bottom: 1em;
  padding: 0.45em 1em;
  font-size: 0.85em;
  border-radius: 8em;
  text-decoration: none;
  transition: all 0.4s ease;
}

.review-author__bio {
  margin: 0 0 0.6em;
  color: #4b5563;
  font-size: 0.92em;
  line-height: 1.55;
}

.review-author__meta {
  display: flex;
  gap: 1em;
  align-items: center;
  font-size: 0.85em;
  color: #6b7280;
  flex-wrap: wrap;
}

.review-author__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  color: #0a66c2;
  text-decoration: none;
  font-weight: var(--font-weight--semibold);
}

.review-author__linkedin:hover {
  color: var(--review-accent-dark);
}

/* ----- Pros & Cons ----- */
.review-proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5em;
  margin-bottom: 2.5em;
}

.review-proscons__box {
  position: relative;
  border-radius: var(--border-radius--large);
  padding: 1.6em 1.8em 1.4em;
  background-color: var(--review-card-bg);
  border: 1px solid var(--review-card-border);
  box-shadow: 0 4px 14px rgba(17, 20, 26, 0.06);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.review-proscons__box:hover {
  box-shadow: 0 10px 24px rgba(17, 20, 26, 0.08);
}

.review-proscons__box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: var(--border-radius--large) var(--border-radius--large) 0 0;
}

.review-proscons__box--pros {
  background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 50%);
}

.review-proscons__box--pros::before {
  background: linear-gradient(90deg, #16a34a 0%, #22c55e 100%);
}

.review-proscons__box--cons {
  background: linear-gradient(180deg, #fef2f2 0%, #ffffff 50%);
}

.review-proscons__box--cons::before {
  background: linear-gradient(90deg, #dc2626 0%, #ef4444 100%);
}

/* Decorative oversized glyph in the corner */
.review-proscons__box::after {
  content: "";
  position: absolute;
  top: -1em;
  right: -0.6em;
  width: 7em;
  height: 7em;
  opacity: 0.06;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}

.review-proscons__box--pros::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2316a34a'><path d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>");
}

.review-proscons__box--cons::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23dc2626'><path d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/></svg>");
}

.review-proscons__head {
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin-bottom: 1.1em;
  position: relative;
  z-index: 1;
}

.review-proscons__head h3 {
  margin: 0;
  font-size: 1.5em;
  font-weight: var(--font-weight--bold);
  color: var(--color-dark);
  border: none;
  padding: 0;
  letter-spacing: -0.01em;
}

.review-proscons__head h3 span {
  display: block;
  font-size: 0.6em;
  font-weight: var(--font-weight--medium);
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2em;
}

.review-proscons__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6em;
  height: 2.6em;
  border-radius: 14px;
  color: var(--color-white);
  flex-shrink: 0;
  position: relative;
}

.review-proscons__icon svg {
  width: 60%;
  height: 60%;
}

.review-proscons__box--pros .review-proscons__icon {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  box-shadow:
    0 6px 14px rgba(22, 163, 74, 0.32),
    inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}

.review-proscons__box--cons .review-proscons__icon {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow:
    0 6px 14px rgba(220, 38, 38, 0.32),
    inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}

.review-proscons__box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.review-proscons__box li {
  position: relative;
  padding: 0.7em 0 0.7em 2em;
  color: var(--color-text);
  line-height: 1.55;
  font-size: 0.97em;
  border-bottom: 1px solid rgba(17, 20, 26, 0.06);
  transition:
    padding-left 0.2s ease,
    color 0.2s ease;
}

.review-proscons__box li:last-child {
  border-bottom: none;
}

.review-proscons__box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 1.3em;
  height: 1.3em;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.8em 0.8em;
  flex-shrink: 0;
}

.review-proscons__box--pros li::before {
  background-color: #16a34a;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  box-shadow: 0 2px 5px rgba(22, 163, 74, 0.32);
}

.review-proscons__box--cons li::before {
  background-color: #dc2626;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>");
  box-shadow: 0 2px 5px rgba(220, 38, 38, 0.32);
}

/* ----- Body / inline CTAs ----- */
.review-body {
  margin-bottom: 2.5em;
}

.review-inline-cta {
  position: relative;
  /* display: flex;
  align-items: center;
  gap: 1.2em;
  margin: 1.8em 0 2.2em;
  padding: 1.2em 1.4em;
  background:
    linear-gradient(
      135deg,
      rgba(35, 62, 130, 0.04) 0%,
      rgba(236, 30, 36, 0.04) 100%
    ),
    var(--color-white);
  border: 1px solid var(--review-card-border);
  border-radius: var(--border-radius--large);
  box-shadow: 0 4px 14px rgba(17, 20, 26, 0.05);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease; */
}

/*.review-inline-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(17, 20, 26, 0.08);
} */

/* .review-inline-cta::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(
    180deg,
    var(--review-accent-dark) 0%,
    var(--review-accent) 100%
  );
} */

.review-inline-cta__shine {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 60%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 215, 102, 0.18) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.review-inline-cta__logo {
  flex: 0 0 4em;
  width: 4em;
  height: 4em;
  border-radius: var(--border-radius--medium);
  background-color: var(--review-soft-bg);
  border: 1px solid var(--review-card-border);
  padding: 0.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.review-inline-cta__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: 0;
}

.review-inline-cta__body {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.review-inline-cta__title {
  margin: 0 0 0.3em !important;
  font-size: 1.15em;
  font-weight: var(--font-weight--bold);
  color: var(--color-dark);
  line-height: 1.3;
}

.review-inline-cta__sub {
  margin: 0 !important;
  font-size: 0.85em;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 0.5em;
  flex-wrap: wrap;
  line-height: 1.4;
}

.review-inline-cta__bonus {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  padding: 0.25em 0.7em;
  border-radius: 999px;
  font-weight: var(--font-weight--semibold);
  font-size: 0.95em;
  border: 1px solid #fcd34d;
}

.review-inline-cta__sep {
  opacity: 0.4;
}

.review-inline-cta__terms {
  font-size: 0.92em;
}

.review-cta--inline {
  flex: 0 0 auto;
  font-size: 0.95em;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.entry-content--betting h2.review-hero__name {
  margin-top: 0;
  padding-left: 0;
  border-left: none;
}

@media only screen and (max-width: 767px) {
  .review-inline-cta {
    flex-wrap: wrap;
    gap: 0.9em;
    padding: 1em 1.1em 1em 1.4em;
  }
  .review-inline-cta__logo {
    flex: 0 0 3em;
    width: 3em;
    height: 3em;
  }
  .review-inline-cta__body {
    flex: 1 1 calc(100% - 4em);
  }
  .review-cta--inline {
    flex: 1 1 100%;
    justify-content: center;
    width: 100%;
  }
}

@media only screen and (max-width: 479px) {
  .review-inline-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ----- Table of Contents ----- */
.review-toc {
  background-color: var(--review-card-bg);
  border: 1px solid var(--review-card-border);
  border-left: 4px solid var(--review-accent);
  border-radius: var(--border-radius--medium);
  padding: 1.4em 1.6em;
  margin-bottom: 2.5em;
  box-shadow: 0 4px 14px rgba(17, 20, 26, 0.06);
}

.review-toc__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--color-dark);
  font-family: inherit;
  text-align: left;
  margin-bottom: 0;
  gap: 1em;
}

.review-toc__toggle:hover {
  color: var(--review-accent);
}

.review-toc__title {
  font-size: 0.78em;
  font-weight: var(--font-weight--semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.review-toc__chev {
  flex: 0 0 auto;
  color: #6b7280;
  transition: transform 0.25s ease;
}

.review-toc__toggle[aria-expanded="false"] .review-toc__chev {
  transform: rotate(-90deg);
}

.review-toc__list {
  list-style: none;
  margin: 1.25em 0 0 0 !important;
  padding: 0;
  counter-reset: review-toc;
  columns: 2;
  column-gap: 2.5em;
  max-height: 60em;
  opacity: 1;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    opacity 0.25s ease 0.05s,
    margin-top 0.35s ease;
}

.review-toc__toggle[aria-expanded="false"] + .review-toc__list {
  max-height: 0;
  opacity: 0;
  margin-top: 0 !important;
  pointer-events: none;
  transition:
    max-height 0.35s ease,
    opacity 0.2s ease,
    margin-top 0.35s ease;
}

.review-toc__list li {
  counter-increment: review-toc;
  margin: 0;
  padding: 0;
  break-inside: avoid;
  border: none;
}

.review-toc__list li::marker {
  content: none;
}

.review-toc__list li a {
  display: flex;
  gap: 0.6em;
  text-decoration: none;
  color: var(--color-dark);
  padding: 0.45em 0;
  line-height: 1.45;
  font-size: 0.95em;
  border-bottom: 1px solid transparent;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.review-toc__list li a::before {
  content: counter(review-toc, decimal-leading-zero);
  flex: 0 0 auto;
  font-size: 0.8em;
  font-weight: var(--font-weight--semibold);
  color: var(--review-accent);
  letter-spacing: 0.04em;
  padding-top: 0.15em;
}

.review-toc__list li a:hover {
  color: var(--review-accent);
}

@media only screen and (max-width: 767px) {
  .review-toc {
    padding: 1.2em 1.3em;
  }

  .review-toc__list {
    columns: 1;
  }
}

/* ----- Verdict ----- */
.review-verdict {
  background: linear-gradient(135deg, var(--color-main) 0%, #34528f 100%);
  color: var(--color-white);
  border-radius: var(--border-radius--large);
  padding: 2em;
  margin-bottom: 2em;
  box-shadow: 0 6px 24px rgba(35, 62, 130, 0.18);
}

.review-verdict__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  margin-bottom: 0.8em;
  flex-wrap: wrap;
}

.review-verdict__head h2 {
  margin: 0;
  color: var(--color-white);
  font-size: 1.8em;
  border: none;
  padding: 0;
}

.review-verdict__score-wrap {
  background-color: rgba(255, 255, 255, 0.12);
  padding: 0.4em 0.9em;
  border-radius: var(--border-radius--medium);
  font-weight: var(--font-weight--bold);
}

.review-verdict__score {
  font-size: 1.6em;
  color: #ffd166;
}

.review-verdict__scale {
  font-size: 1em;
  opacity: 0.7;
}

.review-verdict__text {
  margin-bottom: 1.2em;
  line-height: 1.7;
}

.review-verdict__text p {
  margin-bottom: 0.8em;
  color: var(--color-white);
}

.review-cta--verdict:hover {
  border: 1px solid var(--color-light) !important;
  color: var(--color-light) !important;
}

/* ----- Sticky CTA ----- */
.review-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999999;
  background-color: var(--color-white);
  border-top: 1px solid var(--review-card-border);
  box-shadow: 0 -4px 18px rgba(17, 20, 26, 0.12);
  transform: translateY(110%);
  transition: transform 0.3s ease;
  padding-left: var(--padding-global--padding-global);
  padding-right: var(--padding-global--padding-global);
}

.review-sticky-cta.is-visible {
  transform: translateY(0);
}

.review-sticky-cta__inner {
  max-width: var(--container--medium);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 1em 0;
}

.review-sticky-cta__logo {
  width: 3.6em;
  height: 3.6em;
  object-fit: contain;
  border-radius: var(--border-radius--small);
  background-color: var(--review-soft-bg);
  padding: 0.25em;
  margin: 0;
  flex: 0 0 auto;
}

.review-sticky-cta__text {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  flex: 1;
  min-width: 0;
}

.review-sticky-cta__name {
  font-weight: var(--font-weight--bold);
  color: var(--color-dark);
  font-size: 1.25em;
}

.review-sticky-cta__bonus {
  font-size: 1em;
  color: var(--review-accent);
  font-weight: var(--font-weight--semibold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-cta--sticky {
  white-space: nowrap;
  flex: 0 0 auto;
}

/* ----- Responsive ----- */
@media only screen and (max-width: 991px) {
  .review-hero {
    grid-template-columns: 1fr;
  }
  .review-hero__main {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .review-hero__logo {
    align-self: center;
  }
}

@media only screen and (max-width: 767px) {
  .entry-content--review {
    padding-bottom: 8em;
  }
  .review-hero {
    margin-top: -2em;
  }
  .review-hero__main {
    padding: 1.4em;
  }
  .review-hero__name {
    font-size: 1.7em;
  }
  .review-quickstats {
    padding: 1.2em;
  }
  .review-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .review-author__meta {
    justify-content: center;
  }
  .review-proscons {
    grid-template-columns: 1fr;
  }
  .review-verdict {
    padding: 1.4em;
  }
  .review-verdict__head h2 {
    font-size: 1.4em;
  }
  .review-sticky-cta__inner {
    gap: 0.6em;
  }
  .review-sticky-cta__logo {
    width: 3em;
    height: 3em;
  }
  .review-sticky-cta__name {
    font-size: 1.125em;
  }
  .review-sticky-cta__bonus {
    font-size: 0.875em;
  }
  .review-cta--sticky {
    padding: 0.85em 1em;
    font-size: 0.875em;
  }
}

@media only screen and (max-width: 479px) {
  .review-hero__main {
    padding: 1.1em;
  }
  .review-hero__name {
    font-size: 1.5em;
  }
  .review-cta--hero {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   Rank Math review snippet — pros & cons
   ------------------------------------------------------------
   Mirrors the look of .review-proscons__box (theme review
   template) so the auto-generated Rank Math review block stays
   visually consistent with the rest of the review pages.
   Markup (output by Rank Math):
     <div class="rank-math-review-notes rank-math-review-pros">
       <h4>Pros</h4><ul><li>…</li></ul>
     </div>
     <div class="rank-math-review-notes rank-math-review-cons">
       <h4>Cons</h4><ul><li>…</li></ul>
     </div>
   ============================================================ */

.review-body .rank-math-review-notes {
  position: relative;
  border-radius: var(--border-radius--large);
  padding: 1.6em 1.8em 1.4em;
  background-color: var(--review-card-bg, #ffffff);
  border: 1px solid var(--review-card-border, #e5e7eb);
  box-shadow: 0 4px 14px rgba(17, 20, 26, 0.06);
  overflow: hidden;
  margin-bottom: 1.5em;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.review-body .rank-math-review-notes:hover {
  box-shadow: 0 10px 24px rgba(17, 20, 26, 0.08);
}

/* Top accent bar */
.review-body .rank-math-review-notes::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: var(--border-radius--large) var(--border-radius--large) 0 0;
}

.review-body .rank-math-review-pros {
  background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 50%);
}

.review-body .rank-math-review-pros::before {
  background: linear-gradient(90deg, #16a34a 0%, #22c55e 100%);
}

.review-body .rank-math-review-cons {
  background: linear-gradient(180deg, #fef2f2 0%, #ffffff 50%);
}

.review-body .rank-math-review-cons::before {
  background: linear-gradient(90deg, #dc2626 0%, #ef4444 100%);
}

/* Decorative oversized glyph in the corner */
.review-body .rank-math-review-notes::after {
  content: "";
  position: absolute;
  top: -1em;
  right: -0.6em;
  width: 7em;
  height: 7em;
  opacity: 0.06;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}

.review-body .rank-math-review-pros::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2316a34a'><path d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>");
}

.review-body .rank-math-review-cons::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23dc2626'><path d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/></svg>");
}

/* Heading */
.review-body .rank-math-review-notes h4 {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin: 0 0 1em;
  padding: 0;
  border: none;
  font-size: 1.4em;
  font-weight: var(--font-weight--bold);
  color: var(--color-dark);
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.review-body .rank-math-review-notes h4::before {
  content: "";
  display: inline-flex;
  width: 2.2em;
  height: 2.2em;
  border-radius: 12px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 55% 55%;
  flex-shrink: 0;
}

.review-body .rank-math-review-pros h4::before {
  background-color: #16a34a;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 60% 60%;
  box-shadow:
    0 6px 14px rgba(22, 163, 74, 0.32),
    inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}

.review-body .rank-math-review-cons h4::before {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>");
  background-color: #dc2626;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60% 60%;
  box-shadow:
    0 6px 14px rgba(220, 38, 38, 0.32),
    inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}

/* List items */
.review-body .rank-math-review-notes ul {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.review-body .rank-math-review-notes li {
  position: relative;
  padding: 0.7em 0 0.7em 2em;
  color: var(--color-text);
  line-height: 1.55;
  font-size: 0.97em;
  border-bottom: 1px solid rgba(17, 20, 26, 0.06);
}

.review-body .rank-math-review-notes li:last-child {
  border-bottom: none;
}

.review-body .rank-math-review-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 1.3em;
  height: 1.3em;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.8em 0.8em;
}

.review-body .rank-math-review-pros li::before {
  background-color: #16a34a;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  box-shadow: 0 2px 5px rgba(22, 163, 74, 0.32);
}

.review-body .rank-math-review-cons li::before {
  background-color: #dc2626;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>");
  box-shadow: 0 2px 5px rgba(220, 38, 38, 0.32);
}

@media only screen and (max-width: 575px) {
  .review-body .rank-math-review-notes {
    padding: 1.3em 1.3em 1.1em;
  }
  .review-body .rank-math-review-notes h4 {
    font-size: 1.2em;
  }
}
/* Mobile inline banner — same data as mobile_fixed, rendered inline (not fixed). */
.afrsoc-banner--mobile-fixed.afrsoc-banner--inline {
  display: none !important;
}

@media only screen and (max-width: 991px) {
  .afrsoc-banner--mobile-fixed.afrsoc-banner--inline {
    display: block !important;
    position: static;
    background: transparent;
    padding: 0;
    margin: 0 auto;
    bottom: auto;
    left: auto;
    right: auto;
    z-index: auto;
    text-align: center;
  }

  .afrsoc-banner--mobile-fixed.afrsoc-banner--inline .afrsoc-banner-img {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .afrsoc-banner--mobile-fixed.afrsoc-banner--inline.afrsoc-banner--entry-header {
    margin-top: -3em;
    margin-bottom: 3em;
  }

  .afrsoc-banner--above-header {
    display: none !important;
  }
}

.casino-section {
  --color-white: #ffffff;
  --color-light: #f3f3f3;
  --color-dark: #11141a;
  --color-main: #233e82;
  --color-main-mid: #6e79ab;
  --color-main-light: #091846;
  --color-header: #1c2453;
  --color-mobile-menu: #20295f;
  --color-main-title: #e8edfc;
  --color-accent: #ec1e24;
  --color-main-card: #323962;
  --button-gradient: linear-gradient(180deg, #ec1e24, #ec1e24 55%, #b40005);
  --gap: 2em;
  --section-padding: calc(3.5em + (var(--gap) * 2));
  --container-padding: 2em;
  --header-height: calc(1.5em + (var(--gap) * 2));
  --footer-height: calc(2.785em + (var(--gap) * 2));
  --font-weight--bold: 700;
  --font-weight--semibold: 600;
  --font-weight--medium: 500;
  --font-weight--regular: 400;
  --font-weight--light: 300;
  --font-weight--thin: 100;
  --font-size--h1: 4em;
  --font-size--h2: 3.5em;
  --font-size--h3: 3em;
  --font-size--h4: 2.5em;
  --font-size--h5: 2em;
  --font-size--h6: 1.5em;
  --font-size--small: 0.875em;
  --line-height--size-down-3: 1;
  --heading-margin-bottom--h1-margin: 0.5em;
  --heading-margin-bottom--h2-margin: 0.5em;
  --heading-margin-bottom--h3-margin: 0.5em;
  --heading-margin-bottom--h4-margin: 0.5em;
  --heading-margin-bottom--h5-margin: 0.5em;
  --heading-margin-bottom--h6-margin: 0.5em;
  --container--large: 90rem;
  --container--medium: 72rem;
  --padding-global--padding-global: 2.5em;
  --column-gap--xlarge: 8rem;
  --column-gap--large: 4rem;
  --column-gap--medium: 2rem;
  --column-gap--small: 1rem;
  --border-radius--large: 0.75rem;
  --border-radius--medium: 0.5rem;
  --border-radius--small: 0.25rem;
  --font-weight--bold: 700;
  --font-weight--semibold: 600;
  --font-weight--medium: 500;
  --font-weight--regular: 400;
  --font-weight--light: 300;
  --font-weight--thin: 100;
}

.casino-section {
  padding-top: 3em;
  padding-bottom: 3em;
  background-color: var(--color-main);
}

.casino-title {
  margin-bottom: 2em;
  text-align: center;
}

.casino-title h2 {
  color: var(--color-light);
  margin-bottom: 0;
}

.casino-list {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
}

.casino-listing-block__casino {
  background: var(--color-mobile-menu);
  border: 1px solid hsla(0, 0%, 100%, 0.15);
  border-radius: var(--border-radius--large);
  padding: 0.5em;
}

.listing-card__trust-score {
  max-width: 14em;
}

.listing-card__rating svg,
.score-label svg {
  color: var(--color-accent);
}

.listing-card__inner {
  align-items: center;

  display: flex;
  flex-wrap: nowrap;
  gap: 0.5em;
  justify-content: space-between;
  position: relative;
}

.listing-card__inner .listing-card__details {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 1em;
  justify-content: space-between;
  width: calc(30% - 0.5em);
}

.listing-card__inner .listing-card__details .listing-card__detail {
  align-items: center;
  display: flex;
  gap: 0.75em;
  flex: 1;
}

.listing-card__inner .listing-card__details .logo {
  border: 1px solid hsla(50, 77%, 68%, 0.25);
  border-radius: 10px;
  /*   height: 120px;
  min-width: 120px; */
  overflow: hidden;
  position: relative;
  max-width: 11em;
  min-width: 11em;
}

.listing-card__inner .listing-card__details .logo:before {
  align-items: center;
  background-color: var(--color-light);
  border-bottom-right-radius: 8px;
  color: var(--color-main);
  content: attr(data-index);
  display: flex;
  font-size: 14px;
  font-weight: 700;
  height: 24px;
  justify-content: center;
  left: 0;
  line-height: 20px;
  position: absolute;
  text-align: center;
  top: 0;
  width: 24px;
  z-index: 3;
}

.listing-card__inner .listing-card__details .logo:before {
  background-color: var(--color-accent);
}

.listing-card:nth-child(1).casino-listing-block__casino {
  border-width: 2px;
  border-color: gold;
}

.listing-card:nth-child(2).casino-listing-block__casino {
  border-width: 2px;
  border-color: silver;
}

.listing-card:nth-child(3).casino-listing-block__casino {
  border-width: 2px;
  border-color: #cd7f32;
}

.listing-card__inner .listing-card__details .logo img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}

.listing-card__inner .listing-card__details .listing-card__info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.listing-card__inner .listing-card__details .listing-card__info > .title {
  color: var(--color-main-title);
  display: flex;
  font-display: swap;
  font-size: 1.45em;
  font-style: normal;
  font-weight: 700;
  line-height: 145%;
  text-decoration: none;
}

.listing-card__inner .bullets {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.listing-card__inner .listing-card__bonuses:hover .subtitle {
  color: var(--color-accent);
  text-shadow: 0 0 24px rgba(211, 255, 6, 0.5);
}

.listing-card__inner .listing-card__bonuses:hover {
  border: 1px solid rgba(236, 30, 36, 0.5);
  box-shadow: 0 4px 24px 0 rgba(211, 255, 6, 0.1);
}

.listing-card__inner .bullets .bullet {
  color: var(--color-main-title);
  display: flex;
  font-display: swap;
  font-size: 1em;
  font-style: normal;
  font-weight: 400;
  gap: 4px;
  line-height: 1.2;
  hyphens: auto;
  word-break: break-word;
}

.listing-card__inner .bullets .bullet:before {
  background: #ec1e24;
  content: "";
  display: block;
  height: 12px;
  margin-top: 3px;
  min-width: 12px;
  border-radius: 30px;
  width: 12px;
}

.listing-card__inner .listing-card__details .listing-card__charts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  flex: 1;
}

.listing-card__inner
  .listing-card__details
  .listing-card__charts
  .listing-card__rating-container {
  display: flex;
  gap: 24px;
  width: auto;
}

.listing-card__rating .title {
  align-items: center;
  color: var(--color-main-title);
  display: flex;
  font-display: swap;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  gap: 4px;
  line-height: 150%;
  position: relative;
}

.rating {
  align-items: center;
  display: flex;
  gap: 5px;
}

.listing-card__inner .listing-card__bonuses {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(211, 255, 6, 0.15);
  border-radius: 10px;
  display: flex;
  gap: 0.5em;
  padding: 0.5em;
  transition: all 0.3s ease;
  width: 70%;
}

.listing-card__rating .rating .bar {
  background-color: var(--color-main-mid);
  border-radius: 10000px;
  display: block;
  height: 8px;
  margin-left: 0;
  overflow: hidden;
  position: relative;
  width: 90px;
}

.listing-card__rating .rating span {
  color: var(--color-light);
  font-display: swap;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  margin-left: 3px;
}

.listing-card__rating .rating .bar:before {
  background-color: var(--color-accent);
  bottom: 0;
  content: "";
  display: inline-block;
  height: 100%;
  left: 0;
  position: absolute;
  width: calc(var(--rating) * 10%);
}

.listing-card__rating .score span {
  color: var(--color-white);
  font-display: swap;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  margin-right: 8px;
}

.listing-card__rating .score .bar {
  display: inline-block;
  height: 8px;
  width: 90px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='9' fill='none'%3E%3Crect width='90' height='8' y='.5' fill='%236E79AB' rx='4'/%3E%3Cpath fill='%23FEB907' d='M0 4.5a4 4 0 0 1 4-4h24.667v8H4a4 4 0 0 1-4-4'/%3E%3Cpath fill='%23F9FE07' d='M30.667.5h28.667v8H30.667z'/%3E%3Cpath fill='%23D3FF06' d='M61.333.5H86a4 4 0 0 1 0 8H61.333z'/%3E%3C/svg%3E");
}

.listing-card__inner .listing-card__bonuses .listing-card__bonus {
  border-right: 1px solid hsla(0, 0%, 100%, 0.05);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  padding-right: 12px;
  text-align: center;
  width: 100%;
}

.listing-card__inner .listing-card__bonuses .listing-card__ctas {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-transform: uppercase;
  flex: 1;
}

.items-center {
  align-items: center;
}

.listing-card__inner .listing-card__bonuses .listing-card__bonus .title {
  color: var(--color-main-title);
  font-display: swap;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20.3px;
  line-height: normal;
  margin-right: 12px;
}

.listing-card__inner .listing-card__bonuses .listing-card__bonus .subtitle {
  font-display: swap;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 29px;
  line-height: 120%;
}

.listing-card__inner
  .listing-card__bonuses
  .listing-card__bonus
  .listing-card__warning {
  line-height: normal;
  margin-top: 8px;
}

.listing-card__inner
  .listing-card__bonuses
  .listing-card__bonus
  .listing-card__warning
  span {
  color: hsla(0, 0%, 100%, 0.5);
  font-size: 10px;
  line-height: 100%;
}

.listing-card__bonus a {
  text-decoration: none;
}

.listing-card__inner .listing-card__bonuses .listing-card__ctas {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-transform: uppercase;
}

.primary-button {
  align-items: center;
  background: var(--button-gradient);
  border: 1px solid var(--color-accent);
  border-radius: 8px;
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  font-display: swap;
  font-size: 18px;
  font-style: normal;
  font-weight: 800;
  justify-content: center;
  line-height: 100%;
  min-height: 20px;
  min-width: 110px;
  padding: 12px 24px;
  white-space: nowrap;
  width: 100%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.primary-button:hover {
  box-shadow: 0 0px 12px 0 rgba(236, 30, 36, 0.5);
}

.primary-button.icon {
  align-items: center;
  display: flex;
  align-items: center;
}

.primary-button.icon svg {
  max-width: 1.5em;
}

.secondary-button {
  align-items: center;
  background-color: transparent;
  border: 1px solid hsla(0, 0%, 100%, 0.5);
  border-radius: 8px;
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  font-display: swap;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  justify-content: center;
  line-height: 100%;
  min-height: 20px;
  min-width: 110px;
  padding: 12px 24px;
  white-space: nowrap;
  width: 100%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.secondary-button:hover {
  background-color: var(--color-main);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.listing-card__inner .listing-card__bonuses .listing-card__ctas .mobile {
  display: none;
}

.list-card__info {
  display: none;
}

.list-card__wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  padding-top: 1em;
}

.list-card__box {
  padding: 1em;
  border-radius: var(--border-radius--medium);
  background: var(--color-main-card);
  border: 1px solid hsla(0, 0%, 100%, 0.15);
  flex: 1;
  color: var(--color-light);
}

.list-card__box h6 {
  color: var(--color-light);
}

.list-card__box ul.additional-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5em;
  grid-template-columns: repeat(2, 1fr);
}

.list-card__box-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-card__box-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
}

.list-card__box-wrapper img {
  max-width: 3em;
}

.list-card__box h6 {
  margin-bottom: 0.75em;
}

.listing-card__bonuses .listing-card__charts {
  display: none;
}

.listing-card__bonuses--top {
  flex: 2;
}

@media screen and (max-width: 1280px) {
  .listing-card__inner .listing-card__details {
    width: calc(35% - 0.5em);
  }

  .listing-card__inner .listing-card__bonuses {
    width: 65%;
  }
}

@media only screen and (max-width: 991px) {
  .listing-card__inner .listing-card__details,
  .listing-card__inner .listing-card__bonuses {
    width: 100%;
  }

  .primary-button {
    font-size: 1em;
  }

  .listing-card__inner .listing-card__bonuses .listing-card__bonus .subtitle {
    font-size: 1.1em;
  }

  .listing-card__inner {
    flex-direction: column;
  }
}

@media only screen and (max-width: 767px) {
  .listing-card__inner .listing-card__details .listing-card__charts,
  .listing-card__inner .listing-card__details .listing-card__detail {
    width: 100%;
  }

  .listing-card__inner .listing-card__details {
    flex-direction: column;
  }

  .listing-card__trust-score {
    max-width: 100%;
  }

  .listing-card__inner
    .listing-card__details
    .listing-card__charts
    .listing-card__rating-container {
    width: 100%;

    gap: 10px 24px;
  }

  .listing-card__inner
    .listing-card__details
    .listing-card__charts
    .listing-card__rating-container {
    flex-wrap: wrap;
    align-items: flex-end;
  }

  .listing-card__inner .listing-card__details {
    min-width: 100%;
  }

  .listing-card__inner .listing-card__details .listing-card__charts {
    display: block;
  }

  .listing-card__inner .listing-card__bonuses {
    background-color: hsla(0, 0%, 100%, 0.05);
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
  }

  .listing-card__inner .listing-card__bonuses .listing-card__bonus {
    border: none;
    padding-right: 0;
    text-align: left;
  }

  .listing-card__bonuses .listing-card__charts {
    display: block;
    width: 100%;
  }

  .listing-card__details .listing-card__charts {
    display: none !important;
  }

  .listing-card__inner .listing-card__bonuses .listing-card__ctas {
    flex-direction: column;
    width: 100%;
    justify-content: flex-end;
  }

  .listing-card__inner
    .listing-card__bonuses
    .listing-card__ctas
    .secondary-button {
    display: none;
    width: auto;
  }

  .listing-card__inner
    .listing-card__bonuses
    .listing-card__ctas
    .secondary-button.mobile {
    display: flex;
  }

  .list-card__wrap {
    gap: 1em;
  }

  .listing-card__bonuses--top {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    width: 100%;
  }

  .listing-card__inner {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5em;
  }

  .casino-listing-block__casino {
    padding: 0.5em;
  }

  .listing-card__inner .listing-card__bonuses {
    width: auto;
    flex: 1;
  }

  .listing-card__inner .listing-card__details {
    min-width: auto;
    flex: none;
    flex: 1;
  }

  .listing-card__rating .rating span {
    font-size: 1em;
  }

  .listing-card__inner {
    align-items: normal;
  }

  .listing-card__inner .listing-card__details .logo {
    width: 100%;
    height: auto;
    flex-wrap: nowrap;
    min-width: auto;
  }

  .listing-card__inner .listing-card__details .listing-card__detail {
    flex-direction: column;
    align-items: flex-start;
  }

  .listing-card__inner .listing-card__details .listing-card__info {
    width: 100%;
  }
}

@media only screen and (max-width: 575px) {
  .listing-card__inner .listing-card__details .logo {
    max-width: 100%;
  }

  .primary-button {
    min-width: auto;
    padding: 10px 2px;
  }
}

/* === World Cup Teams (tmplt-teams.php) === */
.wc-teams-intro {
  margin-bottom: 1.5em;
}

.wc-teams-intro__lead {
  font-size: 1.5em;
  font-weight: var(--font-weight--semibold);
  color: var(--color-dark);
  margin: 0.5em 0 0.5em;
}

.wc-teams-intro__note {
  font-size: var(--font-size--small);
  color: var(--color-text);
  margin: 0;
  font-style: italic;
}

.wc-teams-block {
  margin-bottom: 1.5em;
}

.wc-teams-block:last-child {
  margin-bottom: 0;
}

.wc-teams-block__title {
  margin-bottom: 16px;
  font-size: 1.5em;
}

/* Groups: 3 columns */
.wc-teams-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
}

.wc-teams-group {
  background-color: var(--color-white);
  border: 1px solid #e5e5e5;
  border-radius: var(--border-radius--medium);
  padding: 1em 1.25em 1.25em;
}

.wc-teams-group__title {
  font-size: 1.125em;
  font-weight: var(--font-weight--bold);
  color: var(--color-main);
  margin: 0 0 0.75em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid var(--color-secondary);
}

/* Countries inside a group: 2 columns */
.wc-teams-countries {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4em 0.75em;
}

.wc-team-card {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.45em 0.5em;
  border-radius: var(--border-radius--small);
  text-decoration: none;
  color: var(--color-dark);
  transition: background-color 0.15s ease;
}

a.wc-team-card:hover {
  background-color: var(--color-light);
}

.wc-team-card__flag {
  flex: 0 0 auto;
  width: 30px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 3px;
  background-color: var(--color-light);
}

.wc-team-card__flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wc-team-card__name {
  font-size: 0.95em;
  font-weight: var(--font-weight--medium);
  line-height: 1.2;
}

@media only screen and (max-width: 991px) {
  .wc-teams-groups {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 600px) {
  .wc-teams-groups {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wc-teams-block {
    margin-bottom: 12px;
  }
  .wc-teams-countries {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === World Cup Team Single (tmplt-team-single.php) === */

.wc-team-single {
  padding-top: 0;
}
.wc-team-single__content {
  margin-bottom: 2em;
}

/* Fixtures / Results widgets in the sidebar */
.wc-team-widget {
  margin-bottom: 1.5em;
}

/*
 * Team-single layout: hero image full row on the left, text below it, sidebar
 * (Fixtures / Results / Latest News) spanning both rows on the right.
 * Grid is scoped to .wc-team-single so other pages using the same wrapper
 * classes keep their flex layout.
 */
.wc-team-single .afrsoc-postbox-area-wrapper {
  display: grid;
  grid-template-columns: 1fr calc(35% - 1.8em);
  grid-template-areas:
    "hero    sidebar"
    "content sidebar";
  gap: 1.8em;
  align-items: start;
}
.wc-team-single .wc-team-hero {
  grid-area: hero;
}
.wc-team-single .afrsoc-postbox-area-content {
  grid-area: content;
}
.wc-team-single .afrsoc-postbox-area-sidebar {
  grid-area: sidebar;
  width: auto;
}

/* Mobile: hero image, then the widgets, then the text content. */
@media only screen and (max-width: 991px) {
  .wc-team-single .afrsoc-postbox-area-wrapper {
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero"
      "sidebar"
      "content";
  }
  .wc-team-single .afrsoc-postbox-area-wrapper {
    gap: 0.5em;
  }
}

.wc-team-widget .widgetLeague {
  width: 100% !important;
}

.wc-team-widget .tablele-container {
  overflow-x: auto;
}

.skip-link.screen-reader-text {
  display: none;
}

/* ==========================================================================
   Google Preferred Sources button
   ==========================================================================
   Sits under the article title on single posts, on every screen size.

   Google renders it as an iframe with width:100% and min-height:60px and we
   cannot restyle its contents, so we bound the width here and reserve the
   height up front so nothing shifts when the async script lands.
   ========================================================================== */

.afrsoc-preferred-source {
  display: flex;
  align-items: center;
  min-height: 60px;
}

.afrsoc-preferred-source--single {
  width: 100%;
  max-width: 260px;
  margin-top: 1.25em;
}
