@charset "utf-8";
#articles {
    margin: 3% 0;
}
#articles .card {
    margin: 1% auto;
}
#articles img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/10;
    object-fit: cover;
	object-position: center;
    border-radius: 7px;
    margin-top: 5%;
    border: 1px solid rgba(220, 220, 220, 1.00);
}
#articles h3 a {
    color: #4A4A4A;
    text-decoration: none;
    transition: color 0.3s ease;
}
#articles h3 a:hover {
    color: #000000;
}
#articles .articles__wrap__intro a {
    text-decoration: none;
    color: rgba(52,115,254,1.00);
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.3rem);
}
#articles .articles__wrap__intro a:hover{
    color: rgba(0,59,196,1.00);
}

.Authoritative-website-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    border-top-left-radius: 20px; /* 如需要可加入其他圖片效果 */
    border-bottom-right-radius: 20px;
}
.Authoritative-website-image h6, .recent__wrap h6 {
    color: rgba(114, 114, 114, 1.00);
    font-style: italic;
    margin-top: 8px;
}
.Authoritative-website_body {
    padding: 5%;
}
.Authoritative-website_body h2 a {
    text-decoration: none;
    display: flex;
    color: rgba(0, 32, 60, 1.00);
    font-size: clamp(1.4rem, 2vw, 2rem);
    border-bottom: 1px solid rgba(205, 205, 205, 1.00);
    font-weight: 600;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}
.Authoritative-website_body h2 a:hover {
    color: rgba(0, 74, 140, 1.00);
}
.Authoritative-website_body p {
    font-size: 1.1rem;
    line-height: 1.6;
}
.badge-large {
    font-size: 1rem; /* 調整字體大小 */
}
.news a {
    color: rgba(0, 93, 180, 1.00);
    transition: color 0.3s ease;
}
.news a:hover {
    color: rgba(0, 43, 83, 1.00);
}
/* 建立一個偽元素，用來作為 hover 效果的遮罩 */
.image-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0); /* 初始為透明 */
    transition: background 0.3s ease;
    z-index: 1;
}
/* 當鼠標移入時，該偽元素覆蓋出半透明黑色 */
.image-card:hover::after {
    background: rgba(0, 0, 0, 0.1);
}
.image-card .card-img {
    height: 350px; /* 可依實際需求調整 */
    object-fit: cover;
    width: 100%;
}
/* 確保圖片覆蓋層（內含文字）的層級高於 hover 效果 */
.card-img-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2; /* 比偽元素高 */
}
.card-img-overlay p, .card-img-overlay h4 {
    margin: 1%;
    line-height: 1.2;
}
.card-img-overlay h4 {
    font-size: 1.1rem;
}
