/* ================================================================
   MINIFOLIO HUGO — Custom CSS
   Layered on top of Minifolio's main.css
   ================================================================ */

/* ---- Hide custom cursor (not needed for content site) ---- */
.mouse-cursor { display: none !important; }

/* ---- Sticky footer: page content grows to push footer down ---- */
body { display: flex; flex-direction: column; min-height: 100vh; }
.mf-page-content { flex: 1 0 auto; }
.footer-section { flex-shrink: 0; }

/* ---- Header: always fixed, no animation on sticky class ---- */
.header-1 {
    position: fixed !important;
    background-color: var(--bg, #171914) !important;
    transition: background-color 0.4s ease;
}
.header-1.sticky {
    animation: none !important;
    -webkit-animation: none !important;
}

/* ---- Logo sizes ---- */
.header-1 .logo img {
    max-height: 60px;
    width: auto;
}
@media (max-width: 767px) {
    .header-1 .logo img { max-height: 50px; }
}

/* ---- Play button: always visible in header, thicker border ---- */
.header-1 .av-play-btn {
    display: inline-flex !important;
    border-width: 2px !important;
}

/* ---- Short/full text swap on the header play button ---- */
.av-play-btn .av-btn-text-short { display: none !important; }
@media (max-width: 576px) {
    .av-play-btn .av-btn-text-full  { display: none !important; }
    .av-play-btn .av-btn-text-short { display: inline !important; }
}

/* ---- Play button in body content: black text, no underline ---- */
.mf-play-btn--content,
.mf-play-btn--content:visited {
    color: #000 !important;
    text-decoration: none !important;
}

/* ---- Content area ---- */
.mf-content-area,
.mf-home-content-area {
    padding: 80px 0;
}
@media (max-width: 767px) {
    .mf-content-area,
    .mf-home-content-area { padding: 50px 0; }
}

/* ---- Article prose ---- */
.mf-article {
    color: rgba(255, 255, 255, 0.85);
}
.mf-article p,
.mf-article li {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    margin-bottom: 1em;
}
.mf-article ul,
.mf-article ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
}
.mf-article ul { list-style-type: disc; }
.mf-article ol { list-style-type: decimal; }
.mf-article ul ul { list-style-type: circle; }
.mf-article ul ul ul { list-style-type: square; }
.mf-article a {
    color: var(--theme, #BFF747);
    text-decoration: underline;
}
.mf-article a:hover { opacity: 0.8; }

/* ---- Article headings ---- */
.mf-article h1, .mf-article-home h1 { font-size: 48px; margin: 1em 0 0.5em; }
.mf-article h2, .mf-article-home h2 { font-size: 36px; margin: 1em 0 0.5em; }
.mf-article h3, .mf-article-home h3 { font-size: 28px; margin: 0.9em 0 0.4em; }
.mf-article h4, .mf-article-home h4 { font-size: 22px; margin: 0.8em 0 0.4em; }
.mf-article h5, .mf-article-home h5 { font-size: 18px; margin: 0.7em 0 0.3em; }
.mf-article h6, .mf-article-home h6 { font-size: 16px; margin: 0.7em 0 0.3em; }
@media (max-width: 767px) {
    .mf-article h1, .mf-article-home h1 { font-size: 34px; }
    .mf-article h2, .mf-article-home h2 { font-size: 26px; }
    .mf-article h3, .mf-article-home h3 { font-size: 20px; }
}

/* ---- Tables ---- */
.mf-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5em 0;
}
.mf-article table,
.mf-article-home table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg, #171914);
}
.mf-article table th,
.mf-article-home table th {
    color: #fff !important;
    font-weight: 700 !important;
    background: rgba(191, 247, 71, 0.12);
    border: 1px solid rgba(193, 193, 193, 0.16);
    padding: 10px 14px;
    text-align: left;
}
.mf-article table td,
.mf-article-home table td {
    color: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(193, 193, 193, 0.12);
    padding: 10px 14px;
}
.mf-article table tr:nth-child(even) td,
.mf-article-home table tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.03);
}

/* ---- TOC ---- */
.ek-toc {
    border: 1px solid rgba(193, 193, 193, 0.16);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 1.5em 0;
    background: var(--bg, #171914);
}
.ek-toc summary {
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ek-toc summary::-webkit-details-marker { display: none; }
.ek-toc-arrow { transition: transform 0.3s ease; }
.ek-toc.is-open .ek-toc-arrow { transform: rotate(180deg); }
.ek-toc nav, .ek-toc ul, .ek-toc ol {
    margin-top: 12px;
    overflow: hidden;
}
.ek-toc a { color: var(--theme, #BFF747); text-decoration: none; }
.ek-toc a:hover { text-decoration: underline; }

/* ---- FAQ: hide <hr> rendered from markdown --- separators in answer content ---- */
.faq-items .accordion-body hr { display: none; }

/* ---- FAQ: neutralise Bootstrap accordion variables that cause the white line ---- */
.faq-items .accordion {
    --bs-accordion-border-color: transparent;
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-bg: var(--bg-2, #171914);
    --bs-accordion-active-color: inherit;
}
.faq-items .accordion-item {
    background-color: var(--bg-2) !important;
}
.faq-items .accordion-item .accordion-header .accordion-button:not(.collapsed),
.faq-items .accordion-item .accordion-header .accordion-button:focus {
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

/* ---- FAQ: override missing arrow SVGs (icon/ folder removed) with inline green chevron ---- */
.faq-items .accordion-item .accordion-header .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23BFF747'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    background-size: 20px !important;
    transform: rotate(0deg);
    transition: transform 0.3s ease !important;
}
.faq-items .accordion-item .accordion-header .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23BFF747'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    transform: rotate(-180deg) !important;
}
.faq-section .section-title h2 {
    color: #fff;
    font-size: 44px !important;
}
@media (max-width: 767px) {
    .faq-section .section-title h2 { font-size: 30px !important; }
}

/* ---- FAQ answer paragraphs: no extra vertical margin ---- */
.faq-1 .accordion-body p { margin-top: 0 !important; margin-bottom: 0 !important; }

/* ---- FAQ section: reduce top spacing from main content ---- */
.faq-section.section-padding {
    padding-top: 30px !important;
}

/* ---- Casino logos (footer bottom bar, right-aligned) ---- */
.mf-casino-logos {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-bottom-wrapper .mf-casino-logos {
    margin: 0;
    justify-content: flex-end;
}
.mf-casino-logo-item img {
    height: 32px;
    width: auto;
    object-fit: contain;
    opacity: 0.75;
    filter: grayscale(100%);
    transition: opacity 0.3s ease, filter 0.3s ease;
}
.mf-casino-logo-item img:hover {
    opacity: 1;
    filter: grayscale(0%);
}
@media (max-width: 991px) { .mf-casino-logo-item img { height: 28px; } }
@media (max-width: 767px) { .mf-casino-logo-item img { height: 24px; } }
@media (max-width: 767px) {
    .footer-bottom-wrapper .mf-casino-logos { justify-content: center; }
}

/* ---- Footer: reduce spacing between widget-wrapper and disclaimer ---- */
.mf-footer-widget-wrapper {
    padding-bottom: 32px !important;
}
.mf-footer-disclaimer {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mf-disclaimer-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--theme, #BFF747);
    margin-bottom: 4px;
}
.mf-disclaimer-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin: 0;
}
.mf-disclaimer-text strong {
    color: rgba(255, 255, 255, 0.75);
}

/* ---- Footer logo ---- */
.footer-logo img {
    max-height: 60px;
    width: auto;
}

/* ---- 404 error page ---- */
.error-section {
    padding: 0 !important;
    display: flex;
    align-items: center;
    min-height: 100vh;
}
.error-section > .container {
    padding-top: 120px;  /* clear fixed header */
    padding-bottom: 60px;
}
.error-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}
.error .h2,
.error h2 {
    font-size: 160px;
    line-height: 1;
    color: var(--theme, #BFF747);
    font-family: "Big Shoulders Display", sans-serif;
    font-weight: 800;
    text-align: center;
}
.error-content {
    text-align: center;
}
.error-content h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 12px;
    text-align: center;
}
.error-content p {
    color: rgba(255, 255, 255, 0.65);
    max-width: 480px;
    text-align: center;
}
@media (max-width: 767px) {
    .error h2 { font-size: 100px; }
    .error-content h2 { font-size: 26px; }
}

/* ---- Breadcrumb hero h1 (mirrors main.css .page-heading h2 rules) ---- */
.breadcrumb-wrapper .page-heading h1 {
    font-size: 72px;
    line-height: 80px;
    margin-bottom: 20px;
}
@media (max-width: 1199px) { .breadcrumb-wrapper .page-heading h1 { font-size: 70px; } }
@media (max-width: 991px)  { .breadcrumb-wrapper .page-heading h1 { font-size: 60px; } }
@media (max-width: 575px)  { .breadcrumb-wrapper .page-heading h1 { font-size: 50px; margin-bottom: 0; } }

/* ---- Breadcrumb trail: links white, current page muted, hover accent ---- */
.breadcrumb-wrapper .page-heading .breadcrumb-list li a { color: #fff; }
.breadcrumb-wrapper .page-heading .breadcrumb-list li a:hover { color: var(--theme, #BFF747); }
.breadcrumb-wrapper .page-heading .breadcrumb-list li.active { color: #868283; }

/* ---- Breadcrumb shapes ---- */
.breadcrumb-wrapper .star-shape,
.breadcrumb-wrapper .arrow-shape {
    pointer-events: none;
}

/* ---- Section item (section.html list) ---- */
.mf-section-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(193, 193, 193, 0.12);
}
.mf-section-item h2 { font-size: 22px; }
.mf-section-item h2 a { color: #fff; }
.mf-section-item h2 a:hover { color: var(--theme, #BFF747); }
.mf-section-item p { color: rgba(255, 255, 255, 0.65); margin-top: 8px; }
