/* style/resources-tt88-risk-management.css */
.page-resources-tt88-risk-management {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

.page-resources-tt88-risk-management__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-resources-tt88-risk-management__hero {
    background: linear-gradient(135deg, #003366 0%, #004488 100%); /* Deep blue gradient */
    color: #ffffff;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources-tt88-risk-management__hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.page-resources-tt88-risk-management__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFCC00; /* Gold accent */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-tt88-risk-management__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-tt88-risk-management__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-resources-tt88-risk-management__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

/* General Section Styling */
.page-resources-tt88-risk-management__section {
    padding: 60px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
}

.page-resources-tt88-risk-management__section:nth-of-type(even) {
    background-color: #f0f4f8; /* Lighter blue-grey for contrast */
}

.page-resources-tt88-risk-management__section-title {
    font-size: 2.5em;
    color: #003366; /* Deep blue */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-tt88-risk-management__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFCC00; /* Gold accent */
    border-radius: 2px;
}

.page-resources-tt88-risk-management__sub-title {
    font-size: 1.8em;
    color: #004488; /* Slightly lighter blue */
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 5px solid #FFCC00;
    padding-left: 15px;
}

.page-resources-tt88-risk-management p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #444;
}

.page-resources-tt88-risk-management ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 15px;
    color: #444;
}

.page-resources-tt88-risk-management ol {
    list-style: decimal;
    margin-left: 25px;
    margin-bottom: 15px;
    color: #444;
}

.page-resources-tt88-risk-management li {
    margin-bottom: 8px;
    font-size: 1.05em;
}

.page-resources-tt88-risk-management__cta-button,
.page-resources-tt88-risk-management__secondary-button {
    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, transform 0.3s ease;
    margin: 10px;
    cursor: pointer;
}

.page-resources-tt88-risk-management__cta-button {
    background-color: #FFCC00; /* Gold */
    color: #003366; /* Deep blue for text */
    border: 2px solid #FFCC00;
}

.page-resources-tt88-risk-management__cta-button:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
}

.page-resources-tt88-risk-management__secondary-button {
    background-color: transparent;
    color: #003366; /* Deep blue */
    border: 2px solid #003366;
}

.page-resources-tt88-risk-management__secondary-button:hover {
    background-color: #003366;
    color: #ffffff;
    transform: translateY(-3px);
}

.page-resources-tt88-risk-management__cta-button--small {
    padding: 10px 20px;
    font-size: 1em;
    margin: 5px;
}

.page-resources-tt88-risk-management__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-tt88-risk-management__image-text-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .page-resources-tt88-risk-management__image-text-layout {
        flex-direction: row;
        text-align: left;
    }
    .page-resources-tt88-risk-management__image-text-layout img {
        flex: 1;
        max-width: 50%;
    }
    .page-resources-tt88-risk-management__image-text-layout p {
        flex: 1;
    }
    .page-resources-tt88-risk-management__image-text-layout:nth-child(odd) img {
        order: 2;
    }
}

.page-resources-tt88-risk-management__callout-box {
    background-color: #fff3e0; /* Light orange/yellow */
    border-left: 5px solid #FFCC00;
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
    font-style: italic;
    color: #664400;
}

.page-resources-tt88-risk-management__callout-box p {
    margin: 0;
    color: #664400;
}

.page-resources-tt88-risk-management__promotion-banner {
    background-color: #003366;
    color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-tt88-risk-management__promotion-banner p {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-resources-tt88-risk-management__cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}

/* Floating Ad */
.page-resources-tt88-risk-management__floating-ad {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #CC0000; /* Red for urgency */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    overflow: hidden;
    animation: page-resources-tt88-risk-management__pulse 2s infinite;
    transition: transform 0.3s ease;
}

.page-resources-tt88-risk-management__floating-ad:hover {
    transform: scale(1.05);
}

.page-resources-tt88-risk-management__floating-ad a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    padding: 10px;
}

.page-resources-tt88-risk-management__floating-ad-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    margin-right: 10px;
    object-fit: cover;
}

.page-resources-tt88-risk-management__floating-ad-text {
    font-weight: bold;
    font-size: 1.1em;
    line-height: 1.3;
}

@keyframes page-resources-tt88-risk-management__pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-tt88-risk-management__hero-title {
        font-size: 2.8em;
    }
    .page-resources-tt88-risk-management__hero-description {
        font-size: 1.1em;
    }
    .page-resources-tt88-risk-management__section-title {
        font-size: 2em;
    }
    .page-resources-tt88-risk-management__sub-title {
        font-size: 1.5em;
    }
}

@media (max-width: 767px) {
    .page-resources-tt88-risk-management__hero {
        padding: 60px 0;
    }
    .page-resources-tt88-risk-management__hero-title {
        font-size: 2.2em;
    }
    .page-resources-tt88-risk-management__hero-description {
        font-size: 1em;
    }
    .page-resources-tt88-risk-management__section {
        padding: 40px 0;
    }
    .page-resources-tt88-risk-management__section-title {
        font-size: 1.8em;
    }
    .page-resources-tt88-risk-management__sub-title {
        font-size: 1.3em;
    }
    .page-resources-tt88-risk-management__cta-button,
    .page-resources-tt88-risk-management__secondary-button {
        padding: 12px 20px;
        font-size: 1em;
        margin: 8px 0;
        width: 100%;
        box-sizing: border-box;
    }
    .page-resources-tt88-risk-management__cta-group {
        flex-direction: column;
        align-items: center;
    }
    .page-resources-tt88-risk-management__floating-ad {
        bottom: 10px;
        right: 10px;
        width: calc(100% - 20px);
        max-width: 300px;
    }
    .page-resources-tt88-risk-management__floating-ad a {
        justify-content: center;
    }
    .page-resources-tt88-risk-management__floating-ad-image {
        width: 50px;
        height: 50px;
    }
    .page-resources-tt88-risk-management__floating-ad-text {
        font-size: 0.9em;
    }
    .page-resources-tt88-risk-management__image-text-layout {
        flex-direction: column;
    }
    .page-resources-tt88-risk-management__image-text-layout img {
        max-width: 100%;
    }
}