/* --- 1. Social Media Icons (Positioned Upper Right) --- */
.social-top {
    position: absolute; 
    top: 30px;
    right: 30px;
    z-index: 1000; /* Ensures icons stay above background elements */
}

.list-social {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; /* Keeps icons in a neat row */
    gap: 10px;
}

.list-social li.icon-soc {
    display: inline-block;
    vertical-align: middle;
}

.list-social li.icon-soc a {
    font-family: 'FontAwesome';
    font-size: 16px; /* Slightly larger for better visibility */
    line-height: 30px;
    width: 30px;
    height: 30px;
    display: block;
    text-align: center;
    color: #fff;
    text-decoration: none;
    transition: all 500ms ease;
}

.list-social li.icon-soc a:hover {
    color: #23B1A5; /* Your site teal */
}

/* --- 2. Home Page Headline Graphic (Centered & Lower) --- */
.home-graphic-headline {
    position: relative;
    text-align: center;
    /* 35vh pushes it down significantly from the top. 
       Adjust this number (e.g., 40vh) to move it even lower. */
    margin: 21vh auto 294px; 
    width: 95%;
    max-width: 550px;
    z-index: 5;
}

.hero-graphic {
    width: 100%;
    height: auto;
    display: inline-block;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- 3. Home Buttons (Multi-Links) --- */
.multi-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 10px; /* Small gap between headline and buttons */
    padding: 0 10px;
}

/* Kill legacy template border-box effects */
.multi-links .cl-effect-8 a::before, 
.multi-links .cl-effect-8 a::after {
    display: none !important;
    content: none !important;
}

.mobile-btn {
    display: block;
    width: 100%;
    max-width: 180px;
    height: auto;
    transition: transform 0.2s ease, filter 0.2s ease;
    cursor: pointer;
}

.mobile-btn:active {
    transform: scale(0.95);
    filter: brightness(0.8);
}

/* --- 4. Mobile Responsiveness --- */
@media screen and (max-width: 768px) {
    .social-top {
        top: 20px;
        right: 20px;
    }
    .home-graphic-headline {
        margin-top: 30vh; /* Adjusts height for tablet portrait */
    }
}

@media screen and (max-width: 480px) {
    .social-top {
        top: 15px;
        right: 15px;
    }

    .home-graphic-headline {
        margin-top: 25vh; /* Moves it up slightly so buttons stay on screen */
        max-width: 320px;
    }
    
    .multi-links {
        gap: 10px;
    }

    .mobile-btn {
        max-width: 100px; /* Keeps all 3 buttons visible side-by-side */
    }
}

article p a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: #ffffff; /* Ensures the underline is explicitly white */
}

article p a:visited {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: #ffffff; /* Ensures the underline is explicitly white */
}

/* Optional: Subtle fade effect when a user hovers over the link */
article p a::hover {
    opacity: 0.8;
}

.home .link-box {
    background: none !important;
    background-color: transparent !important;
	top: 200px;
}