/* ==========================================================================
   President's Message - Premium Executive Style (No Variables)
   ========================================================================== */

/* --- Container & Card --- */
.cim-PM-container {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Manrope', sans-serif;
}

.cim-PM-card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* --- Header Section (Dark Premium Theme) --- */
.cim-PM-header-section {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 50px;
    /* Deep navy blue gradient for an executive feel */
    background: linear-gradient(135deg, #0a2540 0%, #173b5e 100%);
    color: #ffffff;
}

/* --- Photo --- */
.cim-PM-photo-container {
    flex-shrink: 0;
}

.cim-PM-president-photo {
    width: 210px;
    height: 210px;
    object-fit: cover;
    border-radius: 50%;
    /* Thick white border to pop against the dark background */
    border: 6px solid #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* --- Titles & Typography --- */
.cim-PM-title-section {
    display: flex;
    flex-direction: column;
}

.cim-PM-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #66b3ff; /* Light blue accent */
    margin: 0 0 10px 0;
}

.cim-PM-name {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.cim-PM-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: #b3cce6; /* Soft blue-grey for readability */
    margin: 0;
}

/* --- Social Icons --- */
.cim-PM-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.cim-PM-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

/* Hover effects with brand-specific colors */
.cim-PM-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.cim-PM-icon.cim-PM-facebook:hover {
    background-color: #1877F2;
    color: #ffffff;
}

.cim-PM-icon.cim-PM-gmail:hover {
    background-color: #EA4335;
    color: #ffffff;
}

.cim-PM-icon.cim-PM-link:hover {
    background-color: #66b3ff;
    color: #0a2540; /* Dark text for contrast on light blue */
}

/* --- Body Content (WordPress Output) --- */
.cim-PM-content {
    padding: 50px;
    color: #333333;
    font-size: 17px;
    line-height: 1.85;
}

.cim-PM-content p {
    margin-top: 0;
    margin-bottom: 25px;
}

.cim-PM-content p:last-child {
    margin-bottom: 0;
}

.cim-PM-content a {
    color: #0a2540;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cim-PM-content a:hover {
    color: #1877F2;
}

/* Executive blockquote style */
.cim-PM-content blockquote {
    border-left: 5px solid #0a2540;
    margin: 35px 0;
    padding: 20px 30px;
    background-color: #f4f7fa;
    font-size: 19px;
    font-style: italic;
    color: #2c3e50;
    border-radius: 0 8px 8px 0;
}

/* ==========================================================================
   Responsive Design (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 768px) {
    .cim-PM-header-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        gap: 25px;
    }

    .cim-PM-president-photo {
        width: 170px;
        height: 170px;
        border-width: 4px;
    }

    .cim-PM-title-section {
        align-items: center;
    }

    .cim-PM-name {
        font-size: 28px;
    }

    .cim-PM-subtitle {
        font-size: 16px;
    }

    .cim-PM-content {
        padding: 30px 20px;
        font-size: 16px;
    }
}