body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration-thickness: 1px;
    text-underline-offset: 0.25ch;
}

a:hover,
a:focus {
    text-decoration-style: dashed;
}

a:active {
    text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item a:hover,
.wp-block-navigation .wp-block-navigation-item a:focus {
    text-decoration: underline;
    text-decoration-style: solid;
}

.wp-block-search__button,
.wp-block-file .wp-block-file__button {
    background-color: var(--wp--preset--color--primary);
    border-radius: 0;
    border: none;
    color: var(--wp--preset--color--background);
    font-size: var(--wp--preset--font-size--medium);
    padding: calc(.667em + 2px) calc(1.333em + 2px);
}

.wp-block-search__button:hover,
.wp-block-file .wp-block-file__button:hover,
.wp-block-button__link:hover {
    opacity: 0.90;
}

.wp-site-blocks .alignfull,
.wp-site-blocks>.wp-block-group.has-background,
.wp-site-blocks>.wp-block-cover,
.wp-site-blocks>.wp-block-template-part>.wp-block-group.has-background,
.wp-site-blocks>.wp-block-template-part>.wp-block-cover,
body>.is-root-container>.wp-block-cover,
body>.is-root-container>.wp-block-template-part>.wp-block-group.has-background,
body>.is-root-container>.wp-block-template-part>.wp-block-cover,
.is-root-container .wp-block[data-align="full"] {
    margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
    margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
    width: unset;
}

.wp-site-blocks .wp-block-columns .wp-block-column .alignfull,
.is-root-container .wp-block-columns .wp-block-column .wp-block[data-align="full"],
.wp-site-blocks .alignfull:not(.wp-block-group) .alignfull,
.is-root-container .wp-block[data-align="full"]>*:not(.wp-block-group) .wp-block[data-align="full"] {
    margin-left: auto !important;
    margin-right: auto !important;
    width: inherit;
}

.wp-block-navigation__responsive-container.is-menu-open {
    padding-top: var(--wp--custom--spacing--outer);
    padding-bottom: var(--wp--custom--spacing--large);
    padding-right: var(--wp--custom--spacing--outer);
    padding-left: var(--wp--custom--spacing--outer);
}

.wp-block-post-comments ol.commentlist ul.children {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.wp-block-post-comments ol.commentlist li.comment:not(:last-child) {
    margin-bottom: 1rem;
}

.utp-home-banner {
    width: 100%;
    background-color: #f0f0f0;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5)), url('/wp-content/uploads/2023/08/banner-hk.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
}

.utp-home-banner-content {
	position: absolute;
	top: 40vh;
	padding-left: 6rem;
	padding-top: 1rem;
	left: 10vw;
    color: black;
    font-family: fantasy;
    font-size: xxx-large;
	background-color: rgba(255, 255, 255, 0.1); /* 使用 rgba 定義白色並設置透明度為 0.5 */
	border-radius: 10px 10px 10px 10px;
}

.utp-home-banner-content img {
    display: block;
    margin-bottom: 30px;
    max-width: 60%;
    height: auto;
}

.utp-home-banner-content img:nth-child(2) {
    margin-left: 30px;
}

.utp-home-footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2vh;
    width: 100%;
    box-sizing: border-box;
    bottom: 0;
    position: fixed;
    border-radius: 2rem 2rem 0 0;
    font-weight: 500;
}

.utp-home-footer div:nth-child(1) {
	font-size: medium;
	color: darkgray;
}

@media only screen and (min-width:0px) and (max-width:490px) {
    .utp-home-banner-content {
		top: 60vh;
		padding-left: 2rem;
		padding-top: 1rem;
    }
}
