/* Message from President Page CSS */

/* Hero Section override for President */
.president-hero {
    width: 100%;
    height: 363px;
    background: linear-gradient(to right, #014a9f, #83a6cf);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 100px;
    color: var(--white);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.president-hero::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 380px;
    background-image: url('../img/batik-bg.png');
    background-size: cover;
    background-position: left center;
    opacity: 0.55;
    pointer-events: none;
}

.president-hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 20px;
    margin-bottom: 25px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-icon {
    width: 13px;
    height: 13px;
    display: flex;
    align-items: center;
}

.breadcrumb .current {
    color: var(--white);
}

.president-hero h1 {
    font-size: 50px;
    font-weight: 500;
    margin-bottom: 8px;
    /* Slightly tighter than about us */
    line-height: 1.1;
}

.president-hero p {
    font-size: 20px;
    font-weight: 400;
    max-width: 483px;
    /* Constrain per Figma */
}

/* Banner Section */
.president-banner {
    position: relative;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto 50px auto;
    height: 456px;
    overflow: hidden;
    border-radius: 0;
}

.president-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 74, 159, 0.9) 0%, rgba(0, 74, 159, 0) 100%);
    z-index: 1;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 17%;
    opacity: 80%;
}

.banner-overlay {
    position: absolute;
    top: 50%;
    left: 100px;
    transform: translateY(-50%);
    max-width: 596px;
    color: var(--white);
    z-index: 2;
}

.banner-overlay h2 {
    font-size: 55px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
}

.banner-overlay h3 {
    font-size: 32px;
    font-weight: 600;
}

/* Message Content Section */
.message-content {
    max-width: var(--max-width);
    margin: 40px auto;
    padding: 0 100px;
    font-size: 16px;
    color: var(--primary-color);
    line-height: 1.6;
}

.message-content p {
    margin-bottom: 24px;
}

.message-signature {
    text-align: right;
    margin-top: 40px;
    margin-bottom: 80px;
    padding: 0 100px;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

.message-signature h4 {
    font-size: 26px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.message-signature p {
    font-size: 16px;
    color: #799ABF;
    margin-bottom: 8px;
}

/* Other Messages Section */
.other-messages-section {
    max-width: var(--max-width);
    margin: 0 auto 100px auto;
    padding: 0 100px;
}

.section-label {
    font-size: 26px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.other-messages-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.message-card {
    flex: 1;
    height: 80px;
    border: 1px dashed #799ABF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background-color: var(--white);
    transition: border-color 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.message-card:hover {
    border-color: var(--primary-color);
    background-color: #f8f9fb;
}

.message-card span {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.message-card i {
    font-size: 22px;
    color: var(--primary-color);
}

@media screen and (max-width: 1400px) {

    .president-hero,
    .message-content,
    .other-messages-section,
    .message-signature {
        padding-left: 50px;
        padding-right: 50px;
    }

    .banner-overlay {
        left: 50px;
        padding-right: 50px;
    }

    .other-messages-grid {
        flex-direction: column;
    }
}
