﻿/* ==================================================
   ðŸ“– PROPOKIT ABOUT PAGE STYLING
   ================================================== */

/* Footer styling for about page */
footer {
    position: absolute;
    bottom: 5mm;
    left: 5mm;
    right: 5mm;
    background-color: #2063BE;
    color: white;
    font-size: 14px;
    text-align: center;
    padding: 3px 0;
}

footer p {
    margin: 0;
}

footer a {
    color: white;
    text-decoration: underline;
}

/* Blue strip styling */
.blue-strip {
    height: 12.7mm;
    /* Removed blue line - was blocking QR code area */
    display: none;
}

/* Image frame for about page */
#imageFrame {
    width: 650px;
    height: 420px;
}

#previewImage {
    height: 420px !important;
}

/* Main content layout */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* ==================================================
   ABOUT SECTION STYLING
   ================================================== */

.about-section {
    text-align: justify;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
    padding: 5px;
}

/* Override for larger about section text */
.about-section {
    font-size: 18px !important;
    line-height: 1.4 !important;
}

.about-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #E74B32;
    margin-bottom: 20px;
}

.about-section p {
    margin-bottom: 10px;
    page-break-inside: avoid;
    min-height: 90px;
}

.about-section p:after {
    content: "";
    display: block;
    height: 1px;
    background-color: #E74B32;
    width: 80%;
    margin: 10px auto;
    page-break-inside: avoid;
}

/* ==================================================
   RESPONSIVE DESIGN FOR ABOUT PAGE
   ================================================== */

@media (max-width: 768px) {
    #imageFrame {
        width: 100%;
        height: 300px;
    }

    #previewImage {
        height: 300px !important;
    }

    .about-section {
        font-size: 16px !important;
        padding: 10px;
    }

    .about-section h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    #imageFrame {
        height: 250px;
    }

    #previewImage {
        height: 250px !important;
    }

    .about-section {
        font-size: 14px !important;
    }

    .about-section h2 {
        font-size: 20px;
    }
}

/* ==================================================
   PRINT STYLES FOR ABOUT PAGE
   ================================================== */

@media print {
    footer {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .about-section {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }

    .about-section p:after {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
