/* ========================================
   DoctorSu Campaign Site - Custom Styles
   Based on DXSPACE InteriorDesign reference
   ======================================== */

body {
    padding: 0;
    margin: 0;
    background-color: #fff;
    color: #262626;
    font-family: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
}

ul,
li {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

body.modal-open {
    overflow: hidden;
    padding-right: 0;
}

@media (max-width: 991.98px) {}

@media (max-width: 767.98px) {}

@media (max-width: 575.98px) {}

.text-align-justify {
    text-align: justify;
}

/* ── Font Size ── */
.fz-12 {
    font-size: 0.75rem;
}

.fz-14 {
    font-size: 0.875rem;
}

.fz-16 {
    font-size: 1rem;
}

.fz-18 {
    font-size: 1.125rem;
}

.fz-20 {
    font-size: 1.25rem;
}

.fz-24 {
    font-size: 1.5rem;
}

.fz-32 {
    font-size: 2rem;
}

.fz-18-16 {
    font-size: 18px;
}

/* ── Background Colors ── */
.bg-light-grey {
    background-color: #F0F4F8;
}

.bg-navy-light {
    background-color: #EBF1F7;
}

.bg-navy {
    background-color: #1A3A5C;
}

.bg-dark-navy {
    background-color: #0F2440;
}

.bg-footer {
    background-color: #0D1F38;
}

/* ── Text Colors ── */
.text-white {
    color: #fff;
}

.text-navy {
    color: #1A3A5C;
}

.text-navy-light {
    color: #3A6A9C;
}

.text-light-grey {
    color: #6B7F94;
}

.text-muted {
    color: #8A9BB0;
}

.text-dark {
    color: #1E2D3D;
}

.text-body {
    color: #3D4F60;
}

.color-Primary600 {
    color: #2D6EA8;
}

.color-secondary800 {
    color: #1D2C6F;
}

.color-secondary500 {
    color: #5B73AE;
}

.color-gary600 {
    color: #6B6B6B;
}

/* ── Title Font Sizes ── */
.Title-56-40 {
    font-size: 3.5rem;
}

.Title-48-32 {
    font-size: 3rem;
}

.Title-42-32 {
    font-size: 42px;
}

.Title-36-28 {
    font-size: 2.25rem;
}

.Title-42-24 {
    font-size: 42px;
}

.Title-18-16 {
    font-size: 1.125rem;
    font-weight: bold;
}

@media (max-width: 991.98px) {
    .Title-56-40 {
        font-size: 2.5rem;
    }

    .Title-48-32 {
        font-size: 2rem;
    }

    .Title-42-32 {
        font-size: 2rem;
    }

    .Title-36-28 {
        font-size: 1.75rem;
    }

    .Title-42-24 {
        font-size: 24px;
    }

    .Title-18-16 {
        font-size: 1rem;
    }

    .fz-18-16 {
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .Title-56-40 {
        font-size: 2rem;
    }

    .Title-48-32 {
        font-size: 1.5rem;
    }

    .Title-40-32 {
        font-size: 1.5rem;
    }

    .Title-36-28 {
        font-size: 1.375rem;
    }

    .Title-32-20 {
        font-size: 1.25rem;
    }
}

/* ── Header ── */
.site-header {
    position: relative;
    background: #fff;
    border-bottom: 1px solid #E8EEF4;
    padding: 0 20px;
    z-index: 1020;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
    padding: 0 3rem;
}

.logo {
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 26px;
    color: #1D2C6F;
}

.logo:hover {
    color: #1D2C6F;
}

.logo span {
    display: block;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 16px;
    color: #2D6EA8;
}

.logo span:hover {
    color: #2D6EA8;
}

.logo img {
    width: 90%;
    height: auto;
}

.nav-list li {
    list-style: none;
    margin: 0 0.75rem;
}

.nav-list li a {
    display: inline-block;
    text-decoration: none;
    padding: 6px 14px;
    color: #6B6B6B;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-list li a:hover {
    color: #2D6EA8;
    font-weight: bold;
}

.nav-list li a.active {
    color: #1D2C6F;
}

/* Vote button */
.btn-vote {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #2D6EA8;
    color: #fff;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-vote img {
    transition: transform 0.2s ease-in-out;
}

.btn-vote:hover {
    background: #1D2C6F;
    color: #fff;
}

.btn-vote:hover img {
    transform: translateX(4px);
}

/* Mobile menu toggle */
.Mbmenu {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    padding: 8px;
}

.Mbmenu img {
    display: block;
}

/* Desktop nav */
.NavContainer {
    display: block;
}

.NavFooter {
    display: block;
}

.NavFooterMb {
    display: none;
}

/* Mobile nav (hidden by default) */
@media (max-width: 991.98px) {
    .site-header {
        border-bottom: 1px solid #C4CEE4;
        padding: 0 6px;
    }

    .site-header.active {
        position: fixed;
    }

    .header-inner {
        height: 70px;
        padding: 0;
    }

    .NavContainer {
        display: none;
        position: absolute;
        top: 71px;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 1019;
        padding: 1rem 0;
    }

    .NavContainer ul {
        height: calc(100vh - 180px);
        flex-direction: column;
    }

    .NavContainer ul li {
        padding: 0;
        margin: 0;
        width: 100%;
    }


    .nav-list li a {
        width: 100%;
        display: block;
        padding: 1rem 1rem;
        font-size: 1rem;
        border-bottom: 1px solid #C4CEE4;
    }

    .NavFooter {
        display: none;
    }

    .NavFooterMb {
        display: block;
        padding: 1rem 20px;
    }

    .nav-list li a.btn-vote-mb {
        margin: 2rem 1rem;
        width: auto;
        background: #2D6EA8;
        color: #fff;
        font-size: 18px;
        font-weight: bold;
        text-align: center;
        text-decoration: none;
        padding: 1.3rem 1rem;
        border-radius: 4px;
        font-size: 1rem;
        transition: background 0.2s;
        border-bottom: none;
        justify-content: center;
        align-items: center;
    }

    .nav-list li.MbCommunityTop {
        padding: 0 1rem;
    }

    .nav-list li.MbCommunityTop a {
        width: auto;
        border: 0;
        padding: 0;
    }

    .nav-list li.MbSlogan {
        background-color: #141E4A;
        color: #fff;
        padding: 2rem 1rem;
    }

    .MbSlogan span {
        color: #fff;
    }
}


/* ── Hero / Banner ── */
.hero-section {
    position: relative;
    overflow: hidden;
    background: #EBF1F7;
}

.hero-section .item {
    position: relative;
    height: 540px;
    overflow: hidden;
}

.hero-section .item a {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-section .item img {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(235, 241, 247, 0.92) 0%, rgba(235, 241, 247, 0.7) 50%, rgba(235, 241, 247, 0) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
    padding: 0 40px;
}

.hero-content .eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #3A6A9C;
    text-transform: uppercase;
    margin-bottom: 12px;
    background: rgba(26, 58, 92, 0.08);
    padding: 4px 12px;
    border-radius: 3px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #1A3A5C;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-content p {
    font-size: 1.1rem;
    color: #3D4F60;
    line-height: 1.7;
    margin-bottom: 28px;
}

.hero-year {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    font-size: 10rem;
    font-weight: 900;
    color: rgba(26, 58, 92, 0.05);
    line-height: 1;
    z-index: 1;
    pointer-events: none;
}

/* Owl nav */
.owl-nav [class*='owl-'] {
    width: 44px;
    height: 44px;
    background: rgba(26, 58, 92, 0.85) !important;
    color: #fff !important;
    border-radius: 50% !important;
    font-size: 20px !important;
    transition: background 0.2s;
}

.owl-nav [class*='owl-']:hover {
    background: #1A3A5C !important;
}

.owl-dots {
    margin-top: 0 !important;
}

.owl-dot span {
    width: 10px !important;
    height: 10px !important;
    background: rgba(26, 58, 92, 0.25) !important;
    border: 2px solid transparent !important;
    margin: 0 5px !important;
    transition: all 0.3s;
}

.owl-dot.active span,
.owl-dot:hover span {
    background: #1A3A5C !important;
    width: 28px !important;
    border-radius: 5px !important;
}

@media (max-width: 991.98px) {
    .hero-section .item {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content {
        padding: 0 24px;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(235, 241, 247, 0.85) 0%, rgba(235, 241, 247, 0.5) 60%, rgba(235, 241, 247, 0) 100%);
    }

    .hero-year {
        font-size: 5rem;
        right: -2%;
    }
}

@media (max-width: 767.98px) {
    .hero-section .item {
        height: 380px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9375rem;
        margin-bottom: 20px;
    }

    .hero-year {
        font-size: 3.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section .item {
        height: 360px;
    }

    .hero-content h1 {
        font-size: 1.375rem;
    }

    .hero-content .eyebrow {
        font-size: 0.6875rem;
        margin-bottom: 8px;
    }
}

/* ── Stats bar ── */
.stats-bar {
    background: #1A3A5C;
    padding: 0;
}

.stat-item {
    padding: 24px 16px;
    /* border-right: 1px solid rgba(255, 255, 255, 0.12); */
    color: #fff;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    font-size: 1rem;
}

.stat-sublabel {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 2px;
}

@media (max-width: 767.98px) {
    .stat-item {
        border-right: none;
        /* border-bottom: 1px solid rgba(255, 255, 255, 0.12); */
        padding: 16px 12px;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}

/* ── Policy cards ── */
.policy-card {
    background: #fff;
    border: 1px solid #E0E8F0;
    border-radius: 12px;
    padding: 28px 24px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}

.policy-card:hover {
    box-shadow: 0 8px 32px rgba(26, 58, 92, 0.10);
    transform: translateY(-2px);
}

.policy-card-header {
    border-bottom: 1px solid #C4CEE4;
}

.policy-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #1A3A5C;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 3px 3px 0px #7AADD4;
}

.policy-card h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1A3A5C;
    margin-bottom: 4px;
}

.policy-card .policy-sub {
    font-size: 0.8125rem;
    color: #6B7F94;
    margin-bottom: 16px;
    padding-bottom: 12px;
}

.policy-card ul,
.policy-card ol {
    padding: 0;
    margin: 0;
}

.policy-card ol {
    counter-reset: policy-counter;
}

.policy-card ul li,
.policy-card ol li {
    position: relative;
    padding-left: 14px;
    font-size: 1rem;
    color: #3D4F60;
    line-height: 1.7;
    margin-bottom: 6px;
    list-style: none;
}

.policy-card ol li {
    padding-left: 20px;
}

.policy-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    background: #3A6A9C;
    border-radius: 50%;
}

.policy-card ol li::before {
    counter-increment: policy-counter;
    content: counter(policy-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: #3A6A9C;
    font-weight: bold;
}

.policy-card .policy-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    color: #1A3A5C;
    text-decoration: none;
    margin-top: 16px;
    font-weight: 600;
    transition: gap 0.2s;
}

.policy-card .policy-link:hover {
    gap: 8px;
}

/* watermark bg icon */
.policy-card .policy-bg-icon {
    position: absolute;
    right: 10px;
    bottom: -5px;
    pointer-events: none;
}

/* ── News cards ── */
.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #E8EEF4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.news-card:hover {
    /* transform: translateY(-6px); */
    box-shadow: 0 6px 24px rgba(26, 58, 92, 0.10);
}

.news-card:hover .news-card-img img {
    transform: scale(1.05);
}

.news-card:hover .read-more img {
    transform: translateX(4px);
}

.news-card-img {
    height: 0;
    padding-bottom: 60%;
    position: relative;
    overflow: hidden;
}

.news-card-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.news-tag {
    display: inline-block;
    background: #1A3A5C;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 3px;
}

.news-date {
    font-size: 14px;
    color: #5B73AE;
}

.news-card-body h4 {
    font-size: 1.125rem;
    font-weight: bold;
    color: #1D2C6F;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-body p {
    font-size: 1rem;
    color: #6B6B6B;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-body .read-more,
.policy-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    color: #3A6A9C;
    text-decoration: none;
    margin-top: 12px;
    font-weight: 600;
}

.news-card-body .read-more {
    margin-top: auto;
}

.read-more img {
    transition: transform 0.2s ease;
}

.news-card-body .read-more:hover,
.policy-card .read-more:hover {
    gap: 8px;
}

/* ── CTA Banner ── */
.cta-banner {
    background: #1A3A5C;
    padding: 48px 0;
}

.cta-banner h2 {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* ── Community section ── */
.community-section {
    background: #1D2C6F;
    padding: 48px 0;
}

.community-section h2 {
    color: #fff;
    font-size: 42px;
    margin-bottom: 4px;
}

.community-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 20px;
}

.community-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 34px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    transition: background 0.2s;
    text-decoration: none;
}

.community-link:hover {
    background: rgba(255, 255, 255, 0.22);
}

.community-link img {
    width: 20px;
    height: 20px;
}

@media (max-width: 991.98px) {
    .community-section h2 {
        font-size: 24px;
        margin-bottom: 4px;
    }
}

/* ── Page header ── */
.page-hero {
    min-height: 200px;
    background: #EBF4FF;
    padding: 32px 0 28px;
    position: relative;
    overflow: hidden;
}

.page-hero .year-bg {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 0;
}

@media (max-width: 991.98px) {
    .page-hero .year-bg {
        width: 45%;
        top: 0;
        bottom: auto;
    }

    .page-hero .year-bg img {
        width: 100%;
        height: auto;
    }
}

.page-hero-inner {
    position: relative;
    z-index: 1;
}

.breadcrumb01 a,
.breadcrumb01 span {
    font-size: 14px;
    color: #8C8C8C;
    text-decoration: none;
}

.breadcrumb01 .active {
    color: #5B73AE;
}

.breadcrumb-item a,
.breadcrumb-item span {
    font-size: 0.75rem;
    color: #6B7F94;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #1A3A5C;
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: #1A3A5C;
    margin-bottom: 6px;
    line-height: 1.2;
}

.page-hero .page-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    color: #3A6A9C;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.page-hero p {
    color: #3D4F60;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .page-hero h1 {
        font-size: 32px;
    }
}

/* ── Detail page ── */
.detail-content {
    padding: 48px 0;
}

.detailBox {
    color: #4A4A4A;
    padding-bottom: 2rem;
}

.detailLine {
    border-bottom: 1px solid #E8E8E8;
}

.detailBox h2 {
    font-size: 24px;
    font-weight: bold;
    color: #1D2C6F;
    margin-bottom: 16px;
}

.detailBox h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1E2D3D;
}

.detailBox p {
    font-size: 1rem;
    color: #3D4F60;
    line-height: 1.8;
    margin-bottom: 16px;
}

.detailBox img {
    max-width: 100%;
    height: auto;
    /* border-radius: 10px; */
    margin-bottom: 24px;
}

.detailBox ul li {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: .5rem;
}

.detail-label {
    display: inline-block;
    background: #1A3A5C;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 3px;
    margin-right: 8px;
}

.detail-meta {
    font-size: 0.8125rem;
    color: #6B7F94;
    margin-bottom: 24px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1A3A5C;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 2px solid #1A3A5C;
    transition: gap 0.2s;
}

.btn-back:hover {
    gap: 10px;
    color: #1A3A5C;
}

/* ── Video player ── */
.video-player-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #0F2440;
    overflow: hidden;
    /* margin-bottom: 24px; */
}

.video-player-wrap iframe,
.video-player-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.play-btn-circle {
    width: 100%;
    height: auto;
}

.play-btn-circle iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: auto;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    text-align: center;
    padding: 0 20px;
}

.video-meta {
    font-size: 0.75rem;
    opacity: 0.7;
}

.video-footer {
    background-color: #F5F5F5;
    padding: 1rem;
}

/* ── Policy detail page ── */
.policy-detail-section {
    padding: 48px 0;
}

.policy-detail-header {
    margin-bottom: 32px;
}

.policy-detail-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1A3A5C;
    margin-bottom: 8px;
}

.policy-detail-header p {
    font-size: 1rem;
    color: #3D4F60;
    line-height: 1.7;
}

.policy-content-block {
    background: #F5F5F5;
    border-radius: 12px;
    padding: 1rem;
}

.policy-content-block h3 {
    font-size: 20px;
    font-weight: bold;
    color: #1D2C6F;
    border-bottom: 1px solid #E8E8E8;
    padding-bottom: .8rem;
}

.policy-content-block h3 .Line {
    display: inline-block;
    width: 4px;
    height: 16px;
    background-color: #5B73AE;
    margin-right: .5rem;
}

.policy-content-block h3 .text {
    font-size: 12px;
    color: #5B73AE;
}

.policy-content-block p,
.policy-content-block li {
    font-size: 0.9375rem;
    color: #3D4F60;
    line-height: 1.8;
}

.policy-content-block ul {
    padding-left: 0;
    margin: 0;
}

.policy-content-block ul li {
    list-style: none;
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
}

.policy-content-block ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: #3A6A9C;
    border-radius: 50%;
}

.imgText {
    font-size: 14px;
    color: #8C8C8C;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.imgText span {
    display: inline-block;
    width: 4px;
    height: 16px;
    background-color: #5B73AE;
    margin-right: 6px;
}

.ArtlcleBox {
    border-bottom: 1px solid #E8E8E8;
    padding: .8rem 0;
    color: #4A4A4A;
}

.ArtlcleBox a {
    color: #4A4A4A;
    text-decoration: none;
}

.ArtlcleBox a.active {
    color: #2D6EA8;
}

.policy-image-box {
    border-radius: 12px;
    overflow: hidden;
    margin: 24px 0;
}

.policy-image-box img {
    width: 100%;
    height: auto;
    display: block;
}

.policy-quote {
    background: #EBF1F7;
    border-left: 4px solid #1A3A5C;
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
}

.policy-quote p {
    font-size: 1.1rem;
    font-style: italic;
    color: #1A3A5C;
    line-height: 1.7;
    margin: 0;
}

/* ── Visiting Pingtung section ── */
.visiting-pingtung {
    background: #EBF1F7;
    padding: 48px 0;
}

.visiting-pingtung h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A3A5C;
    margin-bottom: 6px;
}

.visiting-pingtung p {
    font-size: 0.9375rem;
    color: #3D4F60;
    margin-bottom: 24px;
}

.visit-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #E8EEF4;
    transition: box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.visit-card:hover {
    box-shadow: 0 6px 24px rgba(26, 58, 92, 0.10);
}

.visit-card-img {
    height: 0;
    padding-bottom: 66%;
    position: relative;
    overflow: hidden;
}

.visit-card-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visit-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.visit-card-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1E2D3D;
    margin-bottom: 8px;
    line-height: 1.4;
}

.visit-card-body p {
    font-size: 0.8125rem;
    color: #3D4F60;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Footer ── */
.site-footer {
    background: #0D1F38;
    color: #EBF4FF;
    padding: 48px 0 0;
}

.footer-logo img {
    height: 24px;
}

.footer-logo p {
    font-size: 14px;
    color: #EBF4FF;
    margin: 0;
}

.footer-follow h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.footer-follow p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #E8ECF5;
    color: #1D2C6F;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 4px;
    transition: background 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.footer-social-btn img {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    margin-top: 32px;
}

.footer-bottom p {
    font-size: 14px;
    margin: 0;
}

.footer-bottom a {
    color: #EBF4FF;
    text-decoration: none;
}

.footer-slogan {
    font-size: 24px;
    font-weight: 700;
    color: #EBF4FF;
    margin-bottom: 4px;
}

.footer-slogan-sub {
    font-size: 18px;
}

/* ── Floating scroll to top ── */
.FloatingBtn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
}

.scrollToBox {
    width: 48px;
    height: 48px;
    background: #1A3A5C;
    color: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.scrollToBox.show {
    opacity: 1;
    pointer-events: auto;
}

.scrollToBox img {
    width: 18px;
    height: 18px;
    margin-top: -2px;
}

.scrollToBox span {
    font-size: 0.625rem;
    margin-top: -4px;
}

/* ── Pagination ── */
.page-nav-wrap {
    display: flex;
    /* justify-content: center; */
    padding: 32px 0;
}

.page-nav-wrap ul {
    display: flex;
    gap: 4px;
    list-style: none;
}

.page-nav-wrap a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #E0E8F0;
    border-radius: 6px;
    color: #3D4F60;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.page-nav-wrap a:hover,
.page-nav-wrap a.active {
    background: #1A3A5C;
    border-color: #1A3A5C;
    color: #fff;
}

/* ── Utility ── */
.pt-48 {
    padding-top: 48px;
}

.pb-48 {
    padding-bottom: 48px;
}

.py-48 {
    padding-top: 48px;
    padding-bottom: 48px;
}

.section-title {
    font-size: 46px;
    font-weight: bold;
    color: #1D2C6F;
    line-height: 50px;
}

.section-title01 {
    font-size: 32px;
    font-weight: bold;
    color: #1D2C6F;
    line-height: 38px;
}

.section-title01 span {
    display: inline-block;
    width: 4px;
    height: 16px;
    background-color: #5B73AE;
}

@media (max-width: 991.98px) {
    .section-title {
        font-size: 32px;
        line-height: 38px;
    }

    .section-title01 {
        font-size: 24px;
        line-height: 30px;
    }

    .page-nav-wrap {
        justify-content: center;
    }
}

.travelBpx {
    min-height: 320px;
    background-image: url(../images/VisitingPingtungBg_PC.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.travelFigure {
    position: absolute;
    right: 100px;
    bottom: 0;
}

@media (max-width: 991.98px) {
    .travelBpx {
        min-height: 500px;
        background-image: url(../images/VisitingPingtungBg_MB.jpg);
    }

    .travelFigure {
        right: 0;
        bottom: -1px;
    }

    .travelBtn {
        position: absolute;
        bottom: 30px;
    }
}

.CommunityRightBox {
    position: fixed;
    right: 16px;
    bottom: 470px;
    z-index: 9999;
}

.CommunityRightBox a {
    display: inline-block;
    transition: transform 0.2s ease-in-out;
}

.CommunityRightBox a:hover {
    transform: translateX(5px);
}

@media (max-width: 991.98px) {
    .CommunityRightBox {
        bottom: 200px;
    }
}

.NewItemBox {
    border-bottom: 2px solid #C4CEE4;
}

.NewItemBox a {
    display: inline-block;
    padding: .6rem 1rem;
    color: #1D2C6F;
    text-decoration: none;
}

.NewItemBox a.active {
    background-color: #1D2C6F;
    color: #fff;
}

@media (max-width: 991.98px) {
    .NewItemBox {
        overflow: auto;
    }

    .NewItemBox a.active {
        position: relative;
    }

    .NewItemBox .NewItem {
        width: 450px;
    }
}

.QuotesBox {
    background-color: #EBF4FF;
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.2rem;
}

.QuotesBox img {
    width: 32px;
    height: auto;
}

.key-policy-back {
    display: inline-block;
    padding: .7rem 1.2rem;
    border: 1px solid #A2AFD2;
    border-radius: 4px;
    color: #1D2C6F;
    text-decoration: none;
    transition: all 0.3s;
}

.key-policy-back:hover {
    background-color: #E8ECF5;
}

.list-type-disc li {
    list-style-type: disc;
}

/* ── 留言專區 Comment Section ── */
.comment-section {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
}

.btn-comment {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #1D2C6F;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 6px;
    border: 1px solid #1D2C6F;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
}

.btn-comment svg,
.btn-comment img {
    transition: transform 0.25s ease;
}

.btn-comment:hover {
    background-color: #2D6EA8;
    border-color: #2D6EA8;
    color: #fff;
}

.btn-comment:hover svg {
    transform: scale(1.1);
}

.btn-comment.active {
    background-color: #2D6EA8;
    border-color: #2D6EA8;
}

.comment-form-box {
    background-color: #F8FAFC;
    border: 1px solid #C4CEE4;
    border-radius: 6px;
    padding: 24px;
    margin-top: 1.25rem;
    margin-bottom: 2.5rem;
}

.comment-form-box .form-label {
    font-weight: 600;
    color: #1D2C6F;
    font-size: 0.9375rem;
    margin-bottom: 6px;
}

.comment-form-box .form-control {
    border: 1px solid #A2AFD2;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 0.9375rem;
    color: #262626;
    background-color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.comment-form-box .form-control:focus {
    border-color: #1D2C6F;
    box-shadow: 0 0 0 3px rgba(29, 44, 111, 0.12);
    outline: none;
}

.comment-form-box .form-check-label {
    font-size: 0.875rem;
    color: #4A4A4A;
    user-select: none;
}

.comment-form-box .form-check-label a {
    color: #2D6EA8;
    text-decoration: underline;
    font-weight: 600;
}

.comment-form-box .form-check-label a:hover {
    color: #1D2C6F;
}

.comment-form-box .form-check-input:checked {
    background-color: #1D2C6F;
    border-color: #1D2C6F;
}

.btn-submit-comment {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #1D2C6F;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 9px 26px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-submit-comment:hover {
    background-color: #2D6EA8;
    color: #fff;
}

/* 留言列表 */
.comment-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #C4CEE4;
}

.comment-list-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1D2C6F;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-list-header .comment-badge {
    background-color: #EBF4FF;
    color: #2D6EA8;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.comment-card {
    background: #fff;
    border: 1px solid #D9E2EC;
    border-radius: 6px;
    padding: 18px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.comment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(29, 44, 111, 0.08);
    border-color: #5B73AE;
}

.comment-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1D2C6F, #2D6EA8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9375rem;
    font-weight: 700;
    flex-shrink: 0;
}

.comment-user-info {
    flex-grow: 1;
    min-width: 0;
}

.comment-user-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1D2C6F;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.comment-date {
    font-size: 0.75rem;
    color: #8A9BB0;
}

.comment-card-body p {
    font-size: 0.875rem;
    color: #3D4F60;
    line-height: 1.7;
    margin-bottom: 0;
    word-break: break-word;
}

.eyecount {
    color: #5B73AE;
    font-size: 18px;
    font-weight: bold;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 60px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #2D6EA8;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #1D2C6F;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991.98px) {
    .back-to-top {
        bottom: 100px;
        right: 16px;
        width: 42px;
        height: 42px;
    }
}

.footer-phone {
    color: #fff;
    text-decoration: none;
}

.footer-phone:hover {
    color: #fff;
}