/* Custom CSS for LicensedListings */

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

/* Color Scheme Variables */
:root {
    --color-black: #1a1a1a;
    --color-black-ter: #282828;
    --color-white: #ffffff;
    --color-white-bis: #f9f9f9;
    --color-red: #e74c3c; /* Primary accent for buttons, highlights */
    --color-red-dark: #c0392b;
    --color-grey-dark: #666;
    --color-grey-light: #ccc;
    --color-warning: #f1c40f;
    --color-success: #2ecc71;
    --color-info: #3498db;
}

.has-background-black {
    background-color: var(--color-black) !important;
}
.has-background-black-ter {
    background-color: var(--color-black-ter) !important;
}
.has-background-black-bis {
    background-color: var(--color-black) !important; /* Reusing black for consistency */
}
.has-background-white {
    background-color: var(--color-white) !important;
}
.has-background-white-bis {
    background-color: var(--color-white-bis) !important;
}
.has-text-white {
    color: var(--color-white) !important;
}
.has-text-dark {
    color: var(--color-black) !important;
}
.has-text-grey-dark {
    color: var(--color-grey-dark) !important;
}
.has-text-grey-light {
    color: var(--color-grey-light) !important;
}
.has-text-danger {
    color: var(--color-red) !important;
}
.has-text-info {
    color: var(--color-info) !important;
}
.has-text-warning {
    color: var(--color-warning) !important;
}
.has-text-success {
    color: var(--color-success) !important;
}

/* Navbar */
.navbar {
    background-color: rgba(26, 26, 26, 0.95); /* Slightly transparent black */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.navbar-item img {
    object-fit: contain;
    max-height: 5.25rem; /* Adjust logo size */
}
.navbar-item, .navbar-link {
    color: var(--color-white);
    font-weight: 600;
    transition: color 0.3s ease;
}
.navbar-item:hover, .navbar-link:hover {
    color: var(--color-red);
    background-color: transparent;
}
.navbar-burger {
    color: var(--color-white);
}
.navbar-burger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
@media screen and (max-width: 1023px) {
    .navbar-menu {
        background-color: var(--color-black);
    }
    .navbar-item {
        padding-left: 1.5rem;
    }
}

a.navbar-burger {
    display: none;
}

/* Hero Section */
.hero-bg-image {
    background-image: url('img/pics/ireland-gaming-bg_2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay */
    z-index: 1;
}
.hero-body > .container {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.hero-subtitle {
    font-weight: 400;
    margin-top: 1rem;
}
.hero-cta {
    background-color: var(--color-red);
    border-color: var(--color-red);
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.hero-cta:hover {
    background-color: var(--color-red-dark);
    transform: translateY(-2px);
}

/* General Section Styling */
.section {
    padding: 3rem 1.5rem;
}

/* Licensed Platforms List */
.platform-item {
    margin-bottom: 2rem;
}
.platform-card {
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
}
.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.platform-logo {
    max-width: 250px;
    max-height: 150px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    padding: 10px;
}
.platform-content {
    padding-left: 1.5rem;
}
.platform-card-right .platform-content {
    padding-left: 0;
    padding-right: 1.5rem;
}

/* Chessboard layout for desktop */
@media screen and (min-width: 769px) {
    .platform-item:nth-child(even) .platform-card {
        flex-direction: row-reverse; /* Right-to-left for even items */
    }
    .platform-item:nth-child(even) .platform-content {
        text-align: right;
        padding-left: 0;
        padding-right: 1.5rem;
    }
    .platform-item:nth-child(even) .platform-logo {
        margin-left: auto;
        /* margin-right: 0; */
    }
    .platform-item:nth-child(odd) .platform-content {
        text-align: left;
    }
}

/* Mobile specific adjustments for platform cards */
@media screen and (max-width: 768px) {
    .platform-card .columns {
        flex-direction: column; /* Stack logo and content vertically */
    }
    .platform-card .column.is-half-mobile {
        width: 100%;
    }
    .platform-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center !important;
        margin-top: 1rem;
    }
    .platform-card-right .platform-content {
        text-align: center !important;
    }
    .platform-logo {
        margin: 0 auto;
    }
    .platform-item:nth-child(even) .columns {
        flex-direction: column; /* Ensure vertical stacking for mobile */
    }
}

/* Introduction/About Section */
.about-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Editor's Rating Section */
.editor-review-card {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.editor-review-card .card-header {
    flex-wrap: wrap;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-grey-light);
    padding: 1rem;
}
.editor-review-card .card-header-title {
    color: var(--color-black);
}
.editor-review-card .card-content {
    background-color: var(--color-white-bis);
    padding: 1.5rem;
}
.editor-review-card ul {
    list-style: none;
    margin-left: 0;
}
.editor-review-card ul li {
    margin-bottom: 0.5rem;
}
.editor-review-card .card-footer {
    background-color: var(--color-white);
    border-top: 1px solid var(--color-grey-light);
}

/* User Reviews Section */
.user-review-box {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    background-color: var(--color-white);
    padding: 1.5rem;
}
.user-review-box .media-left .image img {
    border: 2px solid var(--color-red);
}
.review-content {
    max-height: 4.5em; /* Approximately 3 lines of text */
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease-in-out;
    color: var(--color-grey-dark);
}
.review-content.expanded {
    max-height: none;
}
/* .review-content.expanded + .read-more-btn::before {
    content: 'Read Less';
} */
.read-more-btn {
    cursor: pointer;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
}


/* Disclaimer Section */
.disclaimer-section {
    background-image: url('img/pics/disclaimer-bg.png'); /* Example background image */
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 4rem 1.5rem;
}
.disclaimer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8); /* Darker overlay for contrast */
    z-index: 1;
}
.disclaimer-box {
    background-color: var(--color-white);
    border: 2px solid var(--color-red);
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.disclaimer-box .title, .disclaimer-box p, .disclaimer-box a {
    color: var(--color-black) !important; /* Ensure text is visible on white background */
}

/* Footer */
.footer {
    padding: 3rem 1.5rem;
    color: var(--color-white);
}
.footer-logo img {
    object-fit: contain;
    max-height: 5.5rem;
}
.footer a {
    color: var(--color-info);
    transition: color 0.3s ease;
}
.footer a:hover {
    color: var(--color-red);
}
.footer-links a {
    margin: 0 0.5rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}
.footer-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}
.footer-logo-item {
    flex-shrink: 0;
    max-width: 150px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-logo-item img {
    max-width: 100%;
    max-height: 60px; /* Adjust height for horizontal logos */
    object-fit: contain;
}

/* 18+ Age Verification Modal */
#ageVerificationModal .modal-background {
    background-color: rgba(0, 0, 0, 0.9);
}
#ageVerificationModal .modal-content {
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
#ageVerificationModal .button.is-danger {
    background-color: var(--color-red);
    border-color: var(--color-red);
}
#ageVerificationModal .button.is-danger:hover {
    background-color: var(--color-red-dark);
    border-color: var(--color-red-dark);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-black-ter); /* Dark background */
    color: var(--color-white);
    padding: 1rem 1.5rem;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}
.cookie-banner.is-hidden {
    display: none;
}
.cookie-banner .container {
    max-width: 960px;
}
.cookie-banner .cookie-message {
    flex-grow: 1;
    margin-right: 1rem;
}
.cookie-banner .buttons {
    flex-shrink: 0;
}
.cookie-banner .button.is-primary {
    background-color: var(--color-red);
    border-color: var(--color-red);
}
.cookie-banner .button.is-primary:hover {
    background-color: var(--color-red-dark);
    border-color: var(--color-red-dark);
}
.cookie-banner .button.is-light {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}
.cookie-banner .button.is-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Cookie Modal */
#cookieModal .modal-card-head {
    background-color: var(--color-white-bis);
}
#cookieModal .modal-card-title {
    color: var(--color-black);
}
#cookieModal .modal-card-body {
    background-color: var(--color-white);
}
#cookieModal .modal-card-foot {
    background-color: var(--color-white-bis);
}
#cookieModal .switch[type="checkbox"] + label {
    color: var(--color-black);
}
#cookieModal .help {
    color: var(--color-grey-dark);
}

/* Responsive adjustments for cookie banner */
@media screen and (max-width: 768px) {
    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner .cookie-message {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    .cookie-banner .buttons {
        width: 100%;
        justify-content: center;
    }
    .cookie-banner .buttons .button {
        flex-grow: 1;
    }
    .mb-2-mobile {
        margin-bottom: 0.5rem !important;
    }
}
/* New stock styles for .legalDomeBlock content */

.legalDomeBlock {
    padding: 3rem 1.5rem; /* Top, bottom, and side padding for the block */
    max-width: 960px; /* Maximum width for content within the block */
    margin-left: auto; /* Center the block horizontally */
    margin-right: auto; /* Center the block horizontally */
    color: var(--color-black); /* Default text color for the block */
}

.legalDomeBlock h1 {
    font-size: 2.2rem; /* Heading 1 font size */
    font-weight: 700; /* Bold weight for H1 */
    margin-top: 2.5rem; /* Top margin for H1 */
    margin-bottom: 1.2rem; /* Bottom margin for H1 */
    line-height: 1.2; /* Line height for H1 */
    color: var(--color-black-ter); /* Slightly darker black for headings */
}

.legalDomeBlock h2 {
    font-size: 1.8rem; /* Heading 2 font size */
    font-weight: 600; /* Semi-bold weight for H2 */
    margin-top: 2rem; /* Top margin for H2 */
    margin-bottom: 1rem; /* Bottom margin for H2 */
    line-height: 1.3; /* Line height for H2 */
    color: var(--color-black-ter); /* Slightly darker black for headings */
}

.legalDomeBlock h3 {
    font-size: 1.5rem; /* Heading 3 font size */
    font-weight: 600; /* Semi-bold weight for H3 */
    margin-top: 1.8rem; /* Top margin for H3 */
    margin-bottom: 0.9rem; /* Bottom margin for H3 */
    line-height: 1.4; /* Line height for H3 */
    color: var(--color-black-ter); /* Slightly darker black for headings */
}

.legalDomeBlock h4 {
    font-size: 1.3rem; /* Heading 4 font size */
    font-weight: 500; /* Medium weight for H4 */
    margin-top: 1.5rem; /* Top margin for H4 */
    margin-bottom: 0.8rem; /* Bottom margin for H4 */
    line-height: 1.5; /* Line height for H4 */
    color: var(--color-black-ter); /* Slightly darker black for headings */
}

.legalDomeBlock h5 {
    font-size: 1.1rem; /* Heading 5 font size */
    font-weight: 500; /* Medium weight for H5 */
    margin-top: 1.2rem; /* Top margin for H5 */
    margin-bottom: 0.7rem; /* Bottom margin for H5 */
    line-height: 1.5; /* Line height for H5 */
    color: var(--color-black-ter); /* Slightly darker black for headings */
}

.legalDomeBlock p {
    font-size: 1rem; /* Paragraph font size */
    line-height: 1.7; /* Line height for paragraphs */
    margin-bottom: 1rem; /* Bottom margin for paragraphs */
    color: var(--color-grey-dark); /* Default text color for paragraphs */
}

.legalDomeBlock ul {
    list-style: disc; /* Default disc list style */
    margin-left: 1.5rem; /* Left margin for the unordered list */
    margin-bottom: 1rem; /* Bottom margin for the unordered list */
    padding-left: 0; /* No extra padding, margin handles indentation */
}

.legalDomeBlock ol {
    list-style: decimal; /* Default decimal list style */
    margin-left: 1.5rem; /* Left margin for the ordered list */
    margin-bottom: 1rem; /* Bottom margin for the ordered list */
    padding-left: 0; /* No extra padding, margin handles indentation */
}

.legalDomeBlock li {
    font-size: 1rem; /* List item font size */
    line-height: 1.6; /* Line height for list items */
    margin-bottom: 0.5rem; /* Bottom margin for individual list items */
    color: var(--color-grey-dark); /* Default text color for list items */
}

/* Specific adjustments for the first heading in the block */
.legalDomeBlock h1:first-child,
.legalDomeBlock h2:first-child,
.legalDomeBlock h3:first-child,
.legalDomeBlock h4:first-child,
.legalDomeBlock h5:first-child {
    margin-top: 0; /* Remove top margin if it's the first element in the block */
}

/* Adjustments for lists followed by paragraphs or other elements */
.legalDomeBlock ul + p,
.legalDomeBlock ol + p {
    margin-top: 1.5rem; /* Add some top margin to paragraphs following lists */
}
