/* ==========================================================================
   IMAGE AND PHOTO STYLES
   Roman Ventures Theme
   ========================================================================== */

/* Hero Section Background */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Architecture Diagram */
.architecture-diagram {
    margin: 3rem auto;
    max-width: 1000px;
    text-align: center;
}

.architecture-diagram img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid rgba(176, 141, 87, 0.2);
}

/* Founder Section Layout */
.founder-layout {
    display: flex;
    align-items: center;
    gap: 5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.founder-portrait {
    flex: 0 0 auto;
    width: 280px;
}

.founder-portrait img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
    border: 1px solid rgba(176, 141, 87, 0.3);
}

.founder-text {
    flex: 1;
}

/* Page Header Images */
.page-header-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 0;
}

.page-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(0.7);
}

/* Newsroom Header Image */
.newsroom-header-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    position: relative;
}

.newsroom-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Standard Page Header Image */
.standard-header-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    position: relative;
}

.standard-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Post Thumbnails */
.post-thumbnail img,
.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 2rem;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .founder-layout {
        flex-direction: column;
        gap: 2.5rem;
    }

    .founder-portrait {
        width: 200px;
        margin: 0 auto;
    }

    .architecture-diagram {
        margin: 2rem auto;
    }

    .page-header-image {
        height: 200px;
    }

    .newsroom-header-image,
    .standard-header-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .founder-portrait {
        width: 160px;
    }

    .page-header-image {
        height: 160px;
    }
}

/* Founder Page Layout */
.founder-page-layout {
    display: flex;
    gap: 5rem;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.founder-page-portrait {
    flex: 0 0 auto;
    width: 320px;
}

.founder-page-portrait img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
    border: 1px solid rgba(176, 141, 87, 0.25);
}

.founder-page-portrait figcaption {
    margin-top: 1rem;
    font-family: 'Cormorant SC', serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--color-slate);
    text-align: center;
    line-height: 1.6;
}

.founder-page-portrait figcaption span {
    display: block;
    font-family: 'EB Garamond', serif;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: var(--color-slate);
    margin-top: 0.25rem;
}

.founder-page-text {
    flex: 1;
}

@media (max-width: 900px) {
    .founder-page-layout {
        flex-direction: column;
        gap: 2.5rem;
    }

    .founder-page-portrait {
        width: 240px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .founder-page-portrait {
        width: 180px;
    }
}

/* Newsroom Items */
.news-item {
    padding: 2rem 0;
}

.news-item-header h3 {
    margin-bottom: 0.5rem;
}

.news-item-header h3 a {
    color: var(--color-obsidian);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-item-header h3 a:hover {
    color: var(--color-gold);
}

.news-meta {
    font-family: 'Cormorant SC', serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--color-slate);
    margin-bottom: 1rem;
}

.news-excerpt {
    margin-bottom: 1rem;
}

.read-more {
    font-family: 'Cormorant SC', serif;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    color: var(--color-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--color-gold-deep);
}

.no-news {
    color: var(--color-slate);
    font-style: italic;
    text-align: center;
    padding: 3rem 0;
}
