/* style/resources-mn88-app-security-privacy.css */

/* Variables and Base Styles */
:root {
    --primary-color: #017439; /* Main green */
    --secondary-color: #FFFFFF; /* White */
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-register-bg: #C30808; /* Red for register/login buttons */
    --button-register-text: #FFFF00; /* Yellow for register/login font */
}

.page-resources-mn88-app-security-privacy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light background */
    background-color: var(--secondary-color); /* Body background is white */
}

.page-resources-mn88-app-security-privacy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-mn88-app-security-privacy__section {
    padding: 60px 0;
    text-align: center;
}

.page-resources-mn88-app-security-privacy__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: bold;
}

.page-resources-mn88-app-security-privacy__subsection-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: bold;
}

.page-resources-mn88-app-security-privacy__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-mn88-app-security-privacy__text-block a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-resources-mn88-app-security-privacy__text-block a:hover {
    color: #005f2c; /* Darker green on hover */
}

.page-resources-mn88-app-security-privacy__image-full-width {
    width: 100%;
    height: auto;
    max-width: 1000px;
    margin: 30px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-mn88-app-security-privacy__image-center {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 30px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.page-resources-mn88-app-security-privacy__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    min-height: 70vh;
    overflow: hidden;
    color: var(--text-light);
    background-color: var(--primary-color); /* Fallback background color */
    text-align: center;
}

.page-resources-mn88-app-security-privacy__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-resources-mn88-app-security-privacy__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--text-light);
    font-weight: bold;
}

.page-resources-mn88-app-security-privacy__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: var(--text-light);
    line-height: 1.5;
}

.page-resources-mn88-app-security-privacy__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources-mn88-app-security-privacy__hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-resources-mn88-app-security-privacy__hero-video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    cursor: pointer; /* Indicate clickability */
}

/* Buttons */
.page-resources-mn88-app-security-privacy__btn-primary,
.page-resources-mn88-app-security-privacy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-mn88-app-security-privacy__btn-primary {
    background-color: var(--button-register-bg); /* Red */
    color: var(--button-register-text); /* Yellow */
    border: 2px solid var(--button-register-bg);
}

.page-resources-mn88-app-security-privacy__btn-primary:hover {
    background-color: #a30606; /* Darker red */
    border-color: #a30606;
    color: var(--text-light);
}

.page-resources-mn88-app-security-privacy__btn-secondary {
    background-color: var(--secondary-color); /* White */
    color: var(--primary-color); /* Green */
    border: 2px solid var(--primary-color);
}

.page-resources-mn88-app-security-privacy__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-resources-mn88-app-security-privacy__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Section specific styles */
.page-resources-mn88-app-security-privacy__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-resources-mn88-app-security-privacy__dark-bg .page-resources-mn88-app-security-privacy__section-title,
.page-resources-mn88-app-security-privacy__dark-bg .page-resources-mn88-app-security-privacy__subsection-title {
    color: var(--text-light);
}

.page-resources-mn88-app-security-privacy__dark-bg .page-resources-mn88-app-security-privacy__text-block a {
    color: var(--button-register-text); /* Yellow for links on dark green */
}
.page-resources-mn88-app-security-privacy__dark-bg .page-resources-mn88-app-security-privacy__text-block a:hover {
    color: #ffc107;
}


.page-resources-mn88-app-security-privacy__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

/* Grid for measures and finance items */
.page-resources-mn88-app-security-privacy__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-mn88-app-security-privacy__measure-item,
.page-resources-mn88-app-security-privacy__finance-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for items on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-resources-mn88-app-security-privacy__measure-item .page-resources-mn88-app-security-privacy__measure-icon,
.page-resources-mn88-app-security-privacy__finance-item .page-resources-mn88-app-security-privacy__finance-icon {
    width: 250px; /* Adjust size for content image, minimum 200px */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-resources-mn88-app-security-privacy__measure-title,
.page-resources-mn88-app-security-privacy__finance-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--text-light);
    font-weight: bold;
}

.page-resources-mn88-app-security-privacy__measure-description,
.page-resources-mn88-app-security-privacy__finance-description {
    font-size: 1em;
    color: var(--text-light);
}
.page-resources-mn88-app-security-privacy__measure-description a,
.page-resources-mn88-app-security-privacy__finance-description a {
    color: var(--button-register-text); /* Yellow for links on dark green */
}
.page-resources-mn88-app-security-privacy__measure-description a:hover,
.page-resources-mn88-app-security-privacy__finance-description a:hover {
    color: #ffc107;
}

/* User Responsibility List */
.page-resources-mn88-app-security-privacy__responsibility-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-resources-mn88-app-security-privacy__responsibility-item {
    background-color: var(--secondary-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.page-resources-mn88-app-security-privacy__responsibility-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 10px;
}