section#services .serviceCard {
    background-color: #ffffff15;
    border: 1px solid #ffffff05;
    display: flex;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    transition: all 0.7s;
    position: relative;
}
section#services .serviceCard:hover {
    border: 1px solid var(--theme-color);
}
section#services {
    width: 90%;
    margin: 24px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
section#services .serviceCard img {
    aspect-ratio: 1 / 1;
}
.serviceCard .serviceCardContent a {
    background: var(--theme-color);
    width: max-content;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.7s;
}
.serviceCard .serviceCardContent p {
    opacity: 0.85;
    transition: all 0.7s;
    text-align: justify;
}
section#services .serviceCard:hover p {
    opacity: 1;
}
.serviceCard .serviceCardContent {
    display: grid;
    grid-template-rows: 1fr 4fr 1fr;
    height: 100%;
}
.serviceCard .serviceCardContent a:hover {
    background-color: #815210;
}
section#servicePageTitle {
    width: 90%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
@media (max-width: 768px) {
    section#services {
        grid-template-columns: 1fr;
    }
    section#servicePageTitle h1 {
        text-align: center;
    }
}
@media (max-width: 580px) {
    section#services {
        grid-template-columns: 1fr;
    }
    section#services .serviceCard img {
        aspect-ratio: unset;
        width: 100%;
    }
    section#services .serviceCard {
        display: grid;
    }
}
/* detail page */
section#mainServiceContent {
    width: 90%;
    margin: 16px auto;
}
#mainServiceContent h1,
#mainServiceContent h2,
#mainServiceContent h3,
#mainServiceContent h4,
#mainServiceContent h5,
#mainServiceContent h6 {
    margin: 16px auto;
}
#mainServiceContent p {
    margin: 16px auto;
}
section#serviceDetail img {
    width: 90%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
section#serviceDetail {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}
#serviceImagesSlider .swiper-button-next::after,
#serviceImagesSlider .swiper-button-prev::after {
    display: none;
}
#serviceImagesSlider .swiper-button-prev img {
    transform: rotate(180deg);
}
#serviceImagesSlider .swiper-button-next,
#serviceImagesSlider .swiper-button-prev {
    background-color: var(--theme-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
}
#serviceImagesSlider .swiper-button-next {
    right: 5vw !important;
}
#serviceImagesSlider .swiper-button-prev {
    left: 5vw !important;
    right: unset !important;
}

section#serviceImages {
    width: 90%;
    margin: auto;
}
section#serviceImages img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 8px;
}
section#serviceDetail div p {
    line-height: 30px;
    margin: 24px auto;
}
div#summary ul li {
    margin: 16px auto;
}
div#summary h3 {
    border-bottom: 1px solid #ffffff15;
    font-size: 18px;
    padding-bottom: 16px;
}
div#summary {
    border: 1px solid #edf9aea8;
    padding: 16px;
    border-radius: 8px;
}
div#metaService h1 {
    border-bottom: 1px solid #ffffff15;
    padding-bottom: 16px;
}
div#metaService p {
    opacity: 0.64;
}
div#summary h1,
div#summary h3 {
    color: var(--second-theme);
}
@media (max-width: 768px) {
    section#serviceDetail {
        grid-template-columns: 1fr;
    }
}
