/* Placeholder image styles for the Accounting Network website */

/* This CSS creates colored placeholder boxes for images */
.placeholder-image {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.placeholder-image::after {
    content: attr(data-placeholder-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #1a3a63;
    font-weight: bold;
    text-align: center;
    width: 90%;
}

.hero {
    background: linear-gradient(rgba(26, 58, 99, 0.9), rgba(26, 58, 99, 0.8)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="600" viewBox="0 0 1200 600"><rect width="1200" height="600" fill="%231a3a63"/></svg>');
    background-size: cover;
    background-position: center;
}

.cta {
    background: linear-gradient(rgba(26, 58, 99, 0.9), rgba(26, 58, 99, 0.8)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="400" viewBox="0 0 1200 400"><rect width="1200" height="400" fill="%231a3a63"/></svg>');
    background-size: cover;
    background-position: center;
}

.page-header {
    background: linear-gradient(rgba(26, 58, 99, 0.9), rgba(26, 58, 99, 0.8)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="300" viewBox="0 0 1200 300"><rect width="1200" height="300" fill="%231a3a63"/></svg>');
    background-size: cover;
    background-position: center;
}

.testimonial-author img,
.partner-testimonial img {
    background-color: #2a9d8f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.testimonial-author:nth-child(even) img,
.partner-testimonial:nth-child(even) img {
    background-color: #e9c46a;
    color: #1a3a63;
}

.approach-image img,
.learning-image img,
.masterclass-image img,
.program-image img,
.resource-image img {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
}
