/* Link color for various site sections */
.search .site-title a,
.search .site-title a:visited,
.search .site-title a:hover,
.archive .site-title a,
.archive .site-title a:visited,
.archive .site-title a:hover,
.blog .site-title a,
.blog .site-title a:visited,
.blog .site-title a:hover,
.page:not(.singular) .site-title a,
.page:not(.singular) .site-title a:visited,
.page:not(.singular) .site-title a:hover {
    color: #ffffff;
}

/* Custom logo styles */
.custom-logo {
    max-width: 300x;
    max-height: auto; /* safer than fit-content */
    width: auto;
    height: auto;
    margin: auto;
    display: revert;
    border: ridge;
    border-color: white;
    transform: translateX(10px); /* shift slightly right */
}


/* Entry content styling */
.entry-content {
    font-size: 16px;
    line-height: 1.5;
    text-align: justify;
    width: 100%;
    margin: auto;
    padding: 0 2%;
}

/* Responsive images - GLOBAL */
img {
    max-width: 100%; /* Ensure responsive */
    height: auto;
}

/* Mobile-specific adjustments */
@media only screen and (max-width: 600px) {
    .entry-content {
        font-size: 13px;
        line-height: 1.6;
        padding: 0 5%;
    }

    .custom-logo {
        max-width: 80vw;
        height: auto;
        transform: none; /* remove horizontal shift on small screens */
    }

    .wp-embed-responsive {
        padding: 0% 5%;
        font-size: 18px;
    }

    img {
        max-width: 90%; /* allow margin around images */
        margin: 0 auto;
        display: block;
    }
}

/* Padding for inner container */
.wp-block-group__inner-container {
    padding: 0;
}

/* Responsive embedded content */
.wp-embed-responsive {
    padding: 0;
    width: 100%;
    display: block;
    position: relative;
}

/* Flex layout margin adjustments */
body .is-layout-flex > * {
    margin: 7px;
}

/* Footer ownership block */
.footer-owner {
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #fff;
    font-size: 15px;
    line-height: 1.8;
}

.footer-owner .footer-title {
    font-size: 22px;
    margin-bottom: 0.5rem;
}

.footer-owner .owner-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: #0A66C2;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.linkedin-link:hover {
    text-decoration: underline;
}

.linkedin-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

/* Footer responsive */
@media (max-width: 768px) {
    .footer-owner {
        font-size: 14px;
    }
    .footer-owner .owner-name {
        font-size: 16px;
    }
    .linkedin-link {
        font-size: 14px;
    }
    .linkedin-icon {
        width: 18px;
        height: 18px;
    }
}

/* Tablet logo adjustments */
@media only screen and (max-width: 768px) {
    .custom-logo {
        max-width: 70vw;
    }
}


/* Mobile */
@media only screen and (max-width: 480px) {
    .custom-logo {
        max-width: 150px;  /* keeps logo neat on mobile */
        transform: none;
    }
}
