/*
CTC Separate Stylesheet
Updated: 2026-03-11 16:40:15
*/

.entry-title {
    line-height: 1.5;
}

/* image no stretch */
figure img {
     width: unset;
     height: unset;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive iframe: maintain 16:9 aspect ratio when scaled down */
iframe[width][height] {
    aspect-ratio: 16 / 9;
    height: auto;
}


/* page no underline */
article#post-553 a {
    text-decoration: none;
}

/* hp align site logo */
article#post-10 {
    margin-top: 10px;
}

/* menu */
li.menu-item__has-active-child > a {
    font-weight: bold;
}

.vertical .header .header__col-right .header__menu .header__submenu-wrap {
    margin-left: 5px;
}

ul.mobile-menu__submenu {
    padding-left: 5px;
}


/* homepage */
.portfolio-post-type .post-card-3:hover .post-card__body {
    opacity: 1;
    border: 1px solid var(--preset--font-color);
    background-color: rgba(255,255,255,0.8);
    text-shadow: 0 0 2px white;
}


/* header */
@media screen and (min-width: 768px) {
    .vertical .header.header__fixed {
        min-width: 440px;
    }
}


/* project two-column layout */
@media screen and (min-width: 768px) {
    .project-body {
        display: flex;
        gap: 2rem;
    }
    .project-body__content {
        flex: 1;
        min-width: 0;
    }
    .project-body__right {
        flex: 1;
        min-width: 0;
    }
}

@media screen and (max-width: 767px) {
    .project-body {
        display: flex;
        flex-direction: column;
    }
    .project-body__right {
        order: -1;
    }
}

/* project gallery slideshow */
.project-gallery {
    margin-bottom: 2rem;
}

#project-slider .splide__slide .gallery-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#project-slider .slide-image-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#project-slider .slide-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

#project-slider .gallery-item figcaption {
    text-align: center;
    padding: 8px 0;
    flex-shrink: 0;
}

#project-thumbs {
    margin-top: 10px;
    padding: 0 50px;
}

#project-thumbs .splide__slide {
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.2s;
}

#project-thumbs .splide__slide.is-active {
    opacity: 1;
    border: 2px solid var(--preset--font-color, #333);
}

#project-thumbs .thumb-image-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

#project-thumbs .thumb-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}


.project-under-slide {
    margin-left: 1rem;
    margin-right: 1rem;
}



/* fonts */
/*
@media (min-width: 20em) and (max-width:60em) {
    .header__brand {
        font-size:calc(1.333rem + .443889 * (100vw - 20em)/ 40)
    }
}

@media (min-width: 60em) {
    .header__brand {
        font-size:1.3rem
    }
}
.header__brand {
    font-weight: 400;
}

body .menu-main-container .nav__link {
    font-size: 14px
}
*/

