/* style/resources-tx-md5-tech-analysis.css */

/* Base styles for the page content */
.page-resources-tx-md5-tech-analysis {
    color: #ffffff; /* Light text for dark body background */
    background-color: #1a1a2e; /* Inherited from body via shared.css */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-resources-tx-md5-tech-analysis__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-resources-tx-md5-tech-analysis__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    font-weight: bold;
}

.page-resources-tx-md5-tech-analysis__sub-title {
    font-size: 1.8em;
    color: #ffffff;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources-tx-md5-tech-analysis__text-block {
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-resources-tx-md5-tech-analysis__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-resources-tx-md5-tech-analysis__numbered-list {
    list-style: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-resources-tx-md5-tech-analysis__list-item {
    margin-bottom: 10px;
}

/* Hero Section */
.page-resources-tx-md5-tech-analysis__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    background: linear-gradient(135deg, #1a1a2e, #26A9E0);
    padding-bottom: 60px;
}

.page-resources-tx-md5-tech-analysis__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
}

.page-resources-tx-md5-tech-analysis__hero-section .page-resources-tx-md5-tech-analysis__container {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.page-resources-tx-md5-tech-analysis__hero-title {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-tx-md5-tech-analysis__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-tx-md5-tech-analysis__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Buttons */
.page-resources-tx-md5-tech-analysis__btn-primary,
.page-resources-tx-md5-tech-analysis__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-resources-tx-md5-tech-analysis__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-resources-tx-md5-tech-analysis__btn-primary:hover {
    background-color: #1f8ec4;
    border-color: #1f8ec4;
}

.page-resources-tx-md5-tech-analysis__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-tx-md5-tech-analysis__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Content Sections */
.page-resources-tx-md5-tech-analysis__intro-section,
.page-resources-tx-md5-tech-analysis__how-it-works-section,
.page-resources-tx-md5-tech-analysis__fairness-guide-section,
.page-resources-tx-md5-tech-analysis__advantages-section,
.page-resources-tx-md5-tech-analysis__comparison-section,
.page-resources-tx-md5-tech-analysis__faq-section,
.page-resources-tx-md5-tech-analysis__cta-section {
    padding: 60px 0;
    background-color: #1a1a2e; /* Consistent dark background */
}

.page-resources-tx-md5-tech-analysis__advantages-section,
.page-resources-tx-md5-tech-analysis__cta-section {
    background-color: #1a1a2e; /* Slightly different dark shade for visual break */
}

.page-resources-tx-md5-tech-analysis__content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Video Section */
.page-resources-tx-md5-tech-analysis__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-tx-md5-tech-analysis__main-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.page-resources-tx-md5-tech-analysis__video-caption {
    text-align: center;
    font-style: italic;
    color: #cccccc;
    margin-top: 10px;
}

/* FAQ Section */
.page-resources-tx-md5-tech-analysis__faq-list {
    margin-top: 30px;
}

.page-resources-tx-md5-tech-analysis__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly visible card background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-resources-tx-md5-tech-analysis__faq-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-tx-md5-tech-analysis__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    color: #ffffff;
    font-weight: bold;
}

.page-resources-tx-md5-tech-analysis__faq-title {
    margin: 0;
    font-size: 1.2em;
    color: #ffffff;
}

.page-resources-tx-md5-tech-analysis__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-tx-md5-tech-analysis__faq-item.active .page-resources-tx-md5-tech-analysis__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-tx-md5-tech-analysis__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #cccccc;
}

.page-resources-tx-md5-tech-analysis__faq-item.active .page-resources-tx-md5-tech-analysis__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to accommodate content */
    padding: 15px 20px 20px;
}

.page-resources-tx-md5-tech-analysis__faq-answer p {
    margin-bottom: 0;
}

/* CTA Section */
.page-resources-tx-md5-tech-analysis__cta-section {
    text-align: center;
}

.page-resources-tx-md5-tech-analysis__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-tx-md5-tech-analysis__hero-title {
        font-size: 3em;
    }
}

@media (max-width: 768px) {
    .page-resources-tx-md5-tech-analysis {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-tx-md5-tech-analysis__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        min-height: 500px;
    }
    .page-resources-tx-md5-tech-analysis__hero-title {
        font-size: 2.2em;
    }
    .page-resources-tx-md5-tech-analysis__hero-description {
        font-size: 1.1em;
    }
    .page-resources-tx-md5-tech-analysis__section-title {
        font-size: 2em;
    }
    .page-resources-tx-md5-tech-analysis__sub-title {
        font-size: 1.5em;
    }
    .page-resources-tx-md5-tech-analysis__hero-cta-buttons,
    .page-resources-tx-md5-tech-analysis__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-tx-md5-tech-analysis__btn-primary,
    .page-resources-tx-md5-tech-analysis__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-resources-tx-md5-tech-analysis img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-tx-md5-tech-analysis__container,
    .page-resources-tx-md5-tech-analysis__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important;
    }
    .page-resources-tx-md5-tech-analysis video,
    .page-resources-tx-md5-tech-analysis__main-video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-tx-md5-tech-analysis__faq-question {
        padding: 15px;
    }
    .page-resources-tx-md5-tech-analysis__faq-answer {
        padding: 0 15px;
    }
    .page-resources-tx-md5-tech-analysis__faq-item.active .page-resources-tx-md5-tech-analysis__faq-answer {
        padding: 10px 15px 15px;
    }
}

@media (max-width: 480px) {
    .page-resources-tx-md5-tech-analysis__hero-title {
        font-size: 1.8em;
    }
    .page-resources-tx-md5-tech-analysis__section-title {
        font-size: 1.8em;
    }
    .page-resources-tx-md5-tech-analysis__sub-title {
        font-size: 1.3em;
    }
}