@import url("global-styles.css");
@import url("header.css");
@import url("callout.css");
@import url("footer.css");
@import url("card.css");
@import url("article.css");

.quote {
    font-style: italic; /* Makes the text italic */
    text-align: center !important;
    margin: 20px 0; /* Adds margin top and bottom */
    padding: 35px 90px!important; /* Optional: Adds padding around the quote */
    border-top: 1px solid #ccc; /* Adds a top border */
    border-bottom: 1px solid #ccc; /* Adds a bottom border */
}

/* Optional: Style the quote source/attribution */
.quote-source {
    font-style: normal; /* Removes italic from the source */
    text-align: right; /* Aligns the source to the right */
    margin-top: 10px; /* Adds space between the quote and source */
    font-size: 0.9em; /* Makes the source slightly smaller */
}

.main-news {
    /*font-family: Georgia, 'Times New Roman', Times, serif;*/
    margin: 20px auto;
    padding: 40px;
    /*background-color: #f4f4f4;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
    transition: transform 0.3s ease;

}
.main-news__title {
    color: var(--font-color-primary)!important;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    padding-bottom: 10px;
}

.main-news__title,
.main-news__subtitle,
.main-news__date {
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
    padding-bottom: 10px;
}

.main-news__subtitle,
.main-news__date {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 20px;
}

.main-news__date {
    font-style: italic;
    margin-bottom: 20px;
}

.main-news__subtitle {
    font-weight: bold;
}

.circle-bullets {
    list-style-type: circle;
}

.circle-bullets li{
    font-size: 1.2rem;
    line-height: 1.8;
    margin-left: 30px;
}

.main-news h2 {
    margin-top: 8rem;
    font-size: 2.3rem;
}

.main-news p, .main-news h2, .main-news h1, .main-news h3, .main-news ol, .main-news ul {
    color: #1a1919;
    padding: 0 120px;
    margin-bottom: 28px;
}

.main-news p {
    font-size: 1.2rem;
    text-align: justify!important;
    line-height: 1.8;
}

.main-news__image,
.main-news__image img {
    border-radius: 10px;
}

.main-news__image {
    width: 50%;
    float: left;
    margin-right: 30px;
}

.main-staff__notinfo {
    display: block;
    float: none;
    margin: auto;
}

.main-news__image img{
    object-fit: cover;
}

.main-news__btn {
    display: block;
    margin: auto;
    background-color: transparent;
    border: 1px solid var(--font-color-primary);
    color: var(--font-color-primary);
    width: max-content;
    margin-bottom: 40px;
}

.main-staff__image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.main-staff__image:hover {
    transform: scale(1.05);
}

.message-staff__notinfo {
    text-align: center;
    margin: 20px 0;
}

.main-staff__image img, .main-staff__image iframe {
    width: 100%;
    height: 550px;
}

.staff-subtitle,
.staff-date {
    font-weight: lighter;
    text-align: center!important;
    color: #8c8c8c;
}

.main-news__paragraph {
    text-align: justify;
}

.author-section {
    padding: 60px 120px;
    border-top: 2px solid #ddd; /* Added top border */
    font-family: sans-serif;
    max-width: 100%;
    margin: 80px auto; /* Added top margin for spacing */
    overflow: hidden; /* Added to clear floats */
}

.author-image {
    width: 140px!important;
    height: 140px!important;
    border-radius: 50%;
    overflow: hidden;
    float: left; /* Image floats to the left */
    margin-right: 60px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details {
    overflow: hidden;

}

.author-name {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.author-title {
    font-style: italic;
    font-size: 1em;
    margin-bottom: 10px;
    color: #777;
}

.author-bio {
    font-size: 1em;
    line-height: 1.6;
    color: #555;
}

.author-links {
    margin-top: 10px;
}

.author-links a {
    margin-right: 10px;
    color: #007bff;
    text-decoration: none;
    font-size: 1.2em;
}

.author-links a:hover {
    text-decoration: underline;
}

/* Media query for smartphones */
@media (max-width: 576px) {
    .author-section {
        text-align: center; /* Center content */
        padding: 60px 10px;
    }

    .author-image {
        width: 100px;
        height: 100px;
        float: none; /* Remove float */
        margin: 0 auto 10px; /* Center image and add bottom margin */
        display: block; /* Make image a block element */
    }

    .author-details {
        text-align: center; /* Restore left alignment for details */
    }

    .author-name {
        margin-bottom: 3px;
    }

    .author-title {
        margin-bottom: 5px;
    }

    .author-bio {
        line-height: 1.5;
    }

    .author-links {
        margin-top: 8px;
    }

    .author-links a {
        margin-right: 8px;
    }
}

/* Media query for tablets and larger screens */
@media (min-width: 768px) {
    .author-image {
        width: 120px;
        height: 120px;
    }

    .author-name {
        font-size: 1.2em;
    }

    .author-title {
        font-size: 1em;
    }

    .author-bio {
        font-size: 1em;
    }

    .author-links a {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 1100px) {
    .main-news__image {
        margin-right: 20px;
    }

    .main-staff__notinfo {
        margin: auto;
    }

}

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

}

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

    .main-news__image {
        display: block;
        width: 100%;
        float: none;
        margin: auto;
    }
}

@media screen and (max-width: 550px) {
    .main-news {
        padding: 0;
    }

    .main-news p, .main-news h2, .main-news h1, .main-news h3, .main-news ol, .main-news ul {
        padding: 9px;
    }

    .quote {
        padding: 35px 30px!important; /* Optional: Adds padding around the quote */
    }


    .main-news__image img{
        height: 320px;
        object-fit: contain;
    }
}

@media screen and (max-width: 400px) {
    .main-news {
        padding: 0;
    }

    .main-news p, .main-news h2, .main-news h1, .main-news h3, .main-news ol, .main-news ul {
        padding: 9px;
    }

    .quote {
        padding: 35px 30px!important; /* Optional: Adds padding around the quote */
    }

    .main-news__image img{
        height: 100%;
        object-fit: cover;
    }
}
