/* Integration layer for the preserved vivereintenzionalmente.com content. */

.content-section {
    overflow: hidden;
}

.content-section .container {
    width: 100%;
}

.content-section img {
    max-width: 100%;
    height: auto;
}

.content-section .heading,
.content-section h2,
.content-section h3,
.content-section h4 {
    line-height: 1.25;
}

.content-section .heading,
.content-section h2 {
    margin-top: 42px;
}

.content-section .heading:first-child,
.content-section h2:first-child {
    margin-top: 0;
}

.content-section .content > .container > ul:not([class]),
.content-section .content > .container > ol:not([class]),
.content-section .gambling-text ul,
.content-section .gambling-text ol,
.content-section .about-page ul,
.content-section .about-page ol {
    margin: 18px 0 24px 22px;
    padding-left: 18px;
}

.content-section li {
    margin-bottom: 8px;
}

/* The imported ranking cards already share the donor template's class names. */
.top-card__secondary-info svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    fill: var(--accent-color);
}

.top-card__payments img {
    max-width: 46px;
    max-height: 26px;
    object-fit: contain;
}

.rating__fill::before {
    content: "★★★★★";
    color: #f1c40f;
    letter-spacing: 2px;
    font-size: 16px;
}

.rating .visually-hidden,
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Pros and cons: same content, rebuilt in the new card language. */
.pros-cons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin: 42px 0;
}

.pros-cons__item {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(44, 62, 80, .08);
    border-radius: 16px;
    padding: 34px 30px 30px;
    box-shadow: 0 10px 28px rgba(33, 45, 58, .08);
}

.pros-cons__item::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
}

.pros-cons__item--pros::before {
    background: linear-gradient(90deg, #1f9d63, #67d391);
}

.pros-cons__item--cons::before {
    background: linear-gradient(90deg, #d94b4b, #f08a75);
}

.pros-cons__title {
    margin: 0 0 18px !important;
    font-size: 24px;
}

.pros-cons__item--pros .pros-cons__title { color: #188452; }
.pros-cons__item--cons .pros-cons__title { color: #bd3c3c; }

.pros-cons__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pros-cons__list li {
    position: relative;
    padding-left: 29px;
    margin-bottom: 12px;
}

.pros-cons__list li::before {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
    font-size: 18px;
}

.pros-cons__item--pros li::before { content: "✓"; color: #1f9d63; }
.pros-cons__item--cons li::before { content: "×"; color: #d94b4b; }

/* FAQ checkbox accordion from the original pages. */
.faq {
    display: grid;
    gap: 14px;
    max-width: 900px;
    margin: 24px auto 0;
}

.faq__card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3e7ea;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(33, 45, 58, .05);
}

.faq__label {
    display: block;
    position: relative;
    padding: 20px 54px 20px 22px;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.faq__label::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 26px;
    line-height: 1;
}

.faq__body {
    display: none;
    margin: 0 !important;
    padding: 0 22px 22px;
    color: #4d5963;
}

.faq__input:checked ~ .faq__body { display: block; }
.faq__input:checked + .faq__label::after { content: "−"; }

/* Preserved editorial callouts and author information. */
.info-blocks,
.text-block {
    margin: 34px 0;
}

.info-blocks__item {
    background: linear-gradient(145deg, #fff, #fbfcfd);
    border-left: 5px solid #f1c40f;
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 8px 24px rgba(33, 45, 58, .08);
}

.info-blocks__head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
}

.info-blocks__head img {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 13px rgba(0, 0, 0, .14);
}

.info-blocks__head .heading {
    margin: 0 !important;
    font-size: 20px;
}

.gambling,
.about-info-top,
.our-goal {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    align-items: center;
    gap: 38px;
    margin: 20px 0 46px;
    padding: 34px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(33, 45, 58, .08);
}

.gambling__img,
.about-info-top__img,
.our-goal__img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
}

.gambling__title {
    margin-top: 0 !important;
}

.review-process-box {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 28px 0 42px;
}

.team {
    display: block;
    width: 100%;
}

.gambling-text:only-child {
    grid-column: 1 / -1;
    width: 100%;
}

.review-process {
    background: #fff;
    border-radius: 14px;
    padding: 26px;
    border-top: 4px solid var(--accent-color);
    box-shadow: 0 8px 22px rgba(33, 45, 58, .07);
}

.review-process__title { margin-top: 0 !important; }

/* Tables stay readable on narrow screens. */
.table {
    width: 100%;
    margin: 28px 0 36px;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(33, 45, 58, .07);
}

.table th,
.table td {
    padding: 14px 16px;
    border: 1px solid #e5e9ec;
    text-align: left;
    vertical-align: top;
}

.table th,
.table tr:first-child td {
    background: #2c3e50;
    color: #fff;
    font-weight: 700;
}

.table tr:nth-child(even) td { background: #f7f9fa; }

/* Contact form and legal pages. */
.contact-container,
.review-process-section {
    width: min(100%, 920px);
    margin: 0 auto;
}

.contact-content {
    background: #fff;
    border-radius: 16px;
    padding: 34px;
    box-shadow: 0 10px 30px rgba(33, 45, 58, .08);
}

.contact-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-group,
.textarea-row { margin-bottom: 18px; }

.contact-group label,
.textarea-row label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
    color: var(--primary-color);
}

.contact-content input,
.contact-content textarea {
    width: 100%;
    border: 1px solid #d8dee3;
    border-radius: 9px;
    padding: 13px 14px;
    font: inherit;
}

.contact-content textarea { min-height: 150px; resize: vertical; }

.contact-btn {
    border: 0;
    border-radius: 9px;
    background: var(--accent-color);
    color: #fff;
    padding: 13px 24px;
    font: 700 15px 'Montserrat', sans-serif;
    cursor: pointer;
}

.success-message { color: #188452; }
.error-message, .error-messages { color: #bd3c3c; }

.check-list,
.stepper__list {
    margin: 22px 0 30px;
    padding-left: 24px;
}

.check-list--cols {
    columns: 2;
    column-gap: 34px;
}

.casino-widget-section {
    margin-top: 34px;
    margin-bottom: 10px;
}

#casino-widget-iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    display: block;
    overflow: hidden;
}

/* Header: solid dark desktop bar with each page's original navigation. */
.header-content {
    max-width: 1580px;
}

.nav-menu li { margin-left: 15px; }
.nav-menu a { gap: 5px; font-size: 13px; white-space: nowrap; }
.logo { flex: 0 0 auto; font-size: 18px; }

@media (max-width: 1180px) {
    .hamburger { display: block; }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 66px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 66px);
        overflow-y: auto;
        background: #2c3e50;
        padding: 18px 0;
        box-shadow: 0 12px 24px rgba(0,0,0,.2);
    }
    .nav-menu.active { display: flex; }
    .nav-menu li { margin: 9px 0; }
    .nav-menu a { justify-content: center; font-size: 15px; }
}

@media (max-width: 768px) {
    .content-section { padding: 36px 0; }
    .pros-cons,
    .gambling,
    .about-info-top,
    .our-goal,
    .review-process-box,
    .team,
    .contact-row {
        grid-template-columns: 1fr;
    }
    .pros-cons__item,
    .contact-content,
    .gambling,
    .about-info-top,
    .our-goal { padding: 24px 20px; }
    .info-blocks__head { align-items: flex-start; }
    .table { display: block; overflow-x: auto; }
    .check-list--cols { columns: 1; }
}

@media (max-width: 520px) {
    .logo { font-size: 15px; }
    .info-blocks__head { flex-direction: column; }
}
