
/* =====================================================
   ERICSTACK.COM - TNG TEMPLATE 15
   CUSTOM STYLESHEET
   Homepage image dimensions, font sizes,
   and rounded corners.
   Images are sized by homepage position,
   not by filename.
   ===================================================== */
/* =====================================================
   1. FONT SIZES
   ===================================================== */
body {
    font-size: 14px;
}
/* Main paragraph text */
p {
    font-size: 14px;
    line-height: 1.5;
}
/* Main content titles */
h2 {
    font-size: 21px;
}
h3 {
    font-size: 18px;
}
/* =====================================================
   2. HEADER BANNER - 728 x 120
   ===================================================== */
img[src*="ericstack-header.webp"] {
    width: 728px;
    height: 120px;
    max-width: 100%;
    object-fit: cover;
}
/* =====================================================
   3. MAIN FEATURED IMAGE - 850 x 438
   Currently: Southern Radar
   Automatically works with any image assigned
   to the main featured section in TNG Admin.
   ===================================================== */
#featured-article #mainphoto {
    display: block;
    width: 100%;
    max-width: 850px;
    height: auto;
    aspect-ratio: 850 / 438;
    object-fit: cover;
}
/* =====================================================
   4. FEATURES 2 AND 3 - 405 x 225
   Currently:
   Feature 2 - LiDAR
   Feature 3 - Family History
   Both images will display at matching sizes.
   ===================================================== */
.home-middle article.post img {
    display: block;
    width: 100%;
    max-width: 405px;
    height: auto;
    aspect-ratio: 405 / 225;
    object-fit: cover;
}
/* =====================================================
   5. SIDEBAR FEATURES 4, 5 AND 6 - 100 x 100
   Python Scripts & Automation
   TNG Mods & Customization
   Photography & Exploration
   ===================================================== */
img[src*="ericstack-python-automation.webp"],
img[src*="ericstack-tng-development.webp"],
img[src*="ericstack-photography.webp"] {
    width: 100px;
    height: 100px;
    max-width: 100%;
    object-fit: cover;
}
/* =====================================================
   6. SIDEBAR FEATURE 7 - 150 x 150
   About This Website
   ===================================================== */
img[src*="ericstack-about.webp"] {
    width: 150px;
    height: 150px;
    max-width: 100%;
    object-fit: cover;
}
/* =====================================================
   7. SIDEBAR FEATURE 8 - 360 x 200
   Explore My Genealogy
   ===================================================== */
img[src*="ericstack-genealogy.webp"] {
    width: 360px;
    height: 200px;
    max-width: 100%;
    object-fit: cover;
}
/* =====================================================
   8. SMALL SCREEN IMAGE PROTECTION
   Prevent images from overflowing on mobile.
   ===================================================== */
@media (max-width: 768px) {
    img[src*="ericstack-"] {
        max-width: 100%;
    }
    #featured-article #mainphoto {
        width: 100%;
        height: auto;
        aspect-ratio: 850 / 438;
    }
    .home-middle article.post img {
        width: 100%;
        height: auto;
        aspect-ratio: 405 / 225;
    }
}
/* =====================================================
   9. ROUNDED HOMEPAGE IMAGES
   Apply rounded corners to EricStack images.
   ===================================================== */
img[src*="ericstack-"] {
    border-radius: 14px;
}
/* Keep header banner square */
img[src*="ericstack-header.webp"] {
    border-radius: 0;
}
/* =====================================================
   END OF CUSTOM STYLESHEET
   ERICSTACK.COM - TNG TEMPLATE 15
   ===================================================== */
/* =====================================================
   10. STACK'S CORNER - HEADER TAGLINE
   EricStack.com - TNG Template 15
   No changes to topmenu.php required.
   ===================================================== */
.site-header .title-area .site-title {
    margin-bottom: 0;
}
.site-header .title-area .site-title::after {
    content: "Exploring the Past. Tracking the Present. Building the Future.";
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    letter-spacing: 0.1px;
    color: #526875;
    margin-top: 7px;
    max-width: 350px;
}
/* Smaller screens */
@media (max-width: 768px) {
    .site-header .title-area .site-title::after {
        font-size: 11px;
        line-height: 1.4;
        max-width: 100%;
        margin-top: 5px;
    }
}
