/* Replace iWeb canvas shadow/reflection with CSS. Load after page CSS. */
/* Larger root for readability on desktop (1rem = 18px when browser default is 16px) */
html {
    font-size: 1.125rem;
}

/* Sticky footer: keep footer at bottom of viewport when content is short */
html {
    height: 100%;
}
body {
    margin: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
body > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
#body_content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: visible;
}
#body_layer {
    flex: 1 1 auto;
}
#footer_layer {
    flex: 0 0 auto;
}

/* Remove huge spacer gap (tall spacers inside body_layer) */
#body_layer > .spacer {
    height: 0 !important;
    line-height: 0 !important;
    min-height: 0 !important;
    overflow: hidden;
}
#body_content canvas {
    display: none !important;
}
/* iWeb effects set img opacity to 0 when drawing to canvas; we hide canvas so keep img visible */
#body_content [class*="reflection_"] img,
#body_content [class*="stroke_"] img,
#body_content .shadow_0 img,
#body_content .shadow_1 img {
    opacity: 1 !important;
}

/* Shadow: modern drop-shadow (replaces iWeb shadow_0, shadow_1) */
.shadow_0 img,
.shadow_1 img {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

/* Reflection-style images: drop-shadow + optional webkit reflection */
[class*="reflection_"] img {
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
    -webkit-box-reflect: below 6px linear-gradient(transparent 60%, rgba(0, 0, 0, 0.15));
}

/* Stroke-style images: drop-shadow only (replaces iWeb stroke canvas) */
[class*="stroke_"] img {
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

/* ===== Footer social icons (above copyright) ===== */
.site-footer .footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}
.site-footer .footer-social a,
.site-footer .footer-social span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}
.site-footer .footer-social .footer-social-inactive {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}
.site-footer .footer-social a:hover {
    transform: scale(1.15);
}
.site-footer .footer-social a.footer-social-fb:hover {
    color: #1877f2;
    filter: drop-shadow(0 0 8px rgba(24, 119, 242, 0.5));
}
.site-footer .footer-social a.footer-social-ig:hover {
    color: #e4405f;
    filter: drop-shadow(0 0 8px rgba(228, 64, 95, 0.5));
}
.site-footer .footer-social a.footer-social-yt:hover {
    color: #ff0000;
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.5));
}
.site-footer .footer-social a.footer-social-sp:hover {
    color: #1db954;
    filter: drop-shadow(0 0 8px rgba(29, 185, 84, 0.5));
}
.site-footer .footer-social a:focus {
    outline: 1px solid rgba(163, 198, 200, 0.5);
    outline-offset: 2px;
}
.site-footer .footer-social svg {
    width: 1.375rem;
    height: 1.375rem;
    fill: currentColor;
}
.site-footer .footer-copyright,
.site-footer > span {
    font-size: 0.8125rem;
}
.site-footer #footer-year {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    letter-spacing: inherit;
    font-weight: inherit;
    text-shadow: inherit;
}

/* Scroll to top button */
#scroll-to-top {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 9998;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0.0625rem solid rgba(161, 124, 133, 0.4);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.75);
    color: #a17c85;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, border-color 0.2s ease, color 0.2s ease;
}
#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}
#scroll-to-top:hover {
    border-color: #a17c85;
    color: #fff;
    background: rgba(161, 124, 133, 0.35);
}
#scroll-to-top svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Navbar (replaces iWeb widget-injected navbar-css) */
#widget0 .navbar {
    font-family: Arial, sans-serif;
    font-size: 1em;
    color: #A1A1A1;
    margin: 9px 0 6px 0;
    line-height: 30px;
}
#widget0 .navbar-bg {
    text-align: center;
}
#widget0 .navbar-bg ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#widget0 .navbar-list li {
    list-style-type: none;
    display: inline;
    padding: 0 10px;
}
#widget0 .navbar-list li a {
    text-decoration: none;
    color: #A1A1A1;
}
#widget0 .navbar-list li a:visited {
    text-decoration: none;
    color: #A1A1A1;
}
#widget0 .navbar-list li a:hover {
    text-decoration: none;
    color: #eee;
}
#widget0 .navbar-list li.current-page a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}
