/**
 * Community Commendation Certificate Template Styles
 * Based on template4.jpg background - Modern split design
 */

.certificate-container.community-commendation {
    width: 1200px !important;
    height: 850px !important;
    position: relative;
    background-color: #f5f0e8;
    font-family: 'Georgia', 'Times New Roman', serif;
    overflow: visible !important;
}

.community-commendation .content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    position: relative;
}

/* Left Section - Text Content */
.community-commendation .left-section {
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0px 10px 0px 0px;
    box-sizing: border-box;
}

/* Right Section - Medal/Ribbon (part of background) */
.community-commendation .right-section {
    width: 40%;
    height: 100%;
    position: relative;
}

/* Main Header - COMMENDATION */
.community-commendation .header-main {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #5b3a8f;
    text-align: left;
    margin-bottom: 30px;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    max-width: 100%;
}

/* Presented To Label */
.community-commendation .presented-to-label {
    font-size: 18px;
    font-weight: 400;
    color: #2a2a2a;
    text-align: left;
    margin-bottom: 15px;
    font-family: 'Georgia', serif;
}

/* Recipient Name */
.community-commendation .recipient-name {
    font-size: 68px;
    font-weight: 700;
    color: #5b3a8f;
    text-align: left;
    margin-bottom: 40px;
    font-family: 'Playfair Display', 'Georgia', serif;
    line-height: 1.1;
}

/* Description Text */
.community-commendation .certificate-description {
    font-size: 18px;
    line-height: 1.6;
    color: #2a2a2a;
    text-align: left;
    margin-bottom: 40px;
    font-family: 'Georgia', serif;
    max-width: 550px;
}

/* Date of Issuance */
.community-commendation .date-issuance {
    font-size: 18px;
    font-weight: 400;
    color: #2a2a2a;
    text-align: left;
    margin-bottom: 80px;
    font-family: 'Georgia', serif;
}

/* Signature Section */
.community-commendation .signature-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: auto;
    max-width: 300px;
}

.community-commendation .signature-line {
    width: 100%;
    height: 3px;
    background-color: #000000;
    margin-bottom: 8px;
}

.community-commendation .signature-name {
    font-size: 20px;
    font-weight: 700;
    color: #5b3a8f;
    font-family: 'Georgia', serif;
    margin-bottom: 5px;
}

.community-commendation .signature-title {
    font-size: 15px;
    font-weight: 400;
    color: #2a2a2a;
    font-family: 'Georgia', serif;
}

/* Editable Text Styles */
.community-commendation .editable-text {
    cursor: text;
    transition: all 0.2s ease;
    position: relative;
}

.community-commendation .editable-text:hover {
    outline: 2px dashed rgba(0, 115, 170, 0.3);
    outline-offset: 2px;
}

.community-commendation .editable-text:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
    background-color: rgba(0, 115, 170, 0.05);
}

.community-commendation .editable-text.editing {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
    background-color: rgba(0, 115, 170, 0.05);
}

/* Print Styles */
@media print {
    .certificate-container.community-commendation {
        width: 100%;
        height: 100vh;
        page-break-after: always;
    }
}