/* Refactored with ChatGPT - 27th October 2024, 16:00 UK */
.printContainer {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.print-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 30px;
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.print-image {
    width: 40%;
    max-width: 250px;
    border-radius: 8px;
    margin-right: 20px;
}

.print-content {
    width: 60%;
}

.print-content h2 {
    color: #0056b3;
    margin-bottom: 10px;
}

.print-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.print-content th, .print-content td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
}

.print-content th {
    background-color: #f4f4f4;
    font-weight: bold;
}

@media (max-width: 768px) {
    .print-section {
        flex-direction: column;
        text-align: center;
    }

    .print-image {
        width: 100%;
        max-width: none;
        margin-bottom: 15px;
    }

    .print-content {
        width: 100%;
    }
}


.image-button-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center-aligns the image and button */
    margin-bottom: 15px;
}



.view-more-btn {
    display: inline-flex;
    align-items: center;
    background-color: #28a745;
    color: #ffffff;
    font-weight: bold;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px; /* Adds space between the image and button */
    margin-bottom: 20px;
        
    transition: background-color 0.3s ease;
}

.view-more-btn:hover {
    background-color: #218838;
}

.view-more-btn::after {
    content: '➔';
    margin-left: 10px;
    font-size: 1.2em;
    color: #ffffff;
}

.print-details {
    margin-top: 20px;
}

.print-details h2 {
    color: #0056b3;
    margin-bottom: 10px;
}

.print-details h3 {
    color: #333;
    margin-top: 15px;
    margin-bottom: 8px;
}

.print-details p {
    line-height: 1.6;
    margin-bottom: 12px;
}

.dibond-details {
    margin-top: 20px;
}

.dibond-details h2 {
    color: #0056b3;
    margin-bottom: 10px;
}

.dibond-details h3 {
    color: #333;
    margin-top: 15px;
    margin-bottom: 8px;
}

.dibond-details p {
    line-height: 1.6;
    margin-bottom: 12px;
}
/* Refactored with ChatGPT - 27th October 2024, 16:55 UK */

/* Default: Full-width layout with images stacked on the left of the text */
.print-section {
    display: flex;
    align-items: flex-start;
}

.image-stack {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
}

.image-stack .print-image {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.print-content {
    width: 100%; /* Full width by default */
}

/* Medium screen: Images side by side and positioned above the text */
@media (max-width: 1024px) {
    .print-section {
        flex-direction: column;
    }

    .image-stack {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        margin-bottom: 20px;
        margin:0 auto;
    }

    .image-stack .print-image {
        width: 48%;
        margin-bottom: 0;
    }

    .print-content {
        width: 100%; /* Ensure text takes full width */
    }
}

/* Smaller screens: Images stack vertically above the text and are centered */
@media (max-width: 768px) {
    .image-stack {
        flex-direction: column;
        align-items: center; /* Center images when stacked */
    }

    .image-stack .print-image {
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
    }

    .print-content {
        width: 100%; /* Full width for small screens */
    }
}

