/* Center of Excellence — blue theme */
.coe-section {
    padding: 48px 0 56px;
    background: #f7fafd;
}

.coe-section .coe-heading {
    text-align: center;
    margin-bottom: 32px;
}

.coe-section .coe-heading h2 {
    color: #0a3d6b;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px;
}

.coe-section .coe-heading p {
    color: #666;
    margin: 0;
}

.coe-carousel-wrap {
    position: relative;
    padding: 0 48px;
}

.coe-carousel {
    display: flex;
    gap: 20px;
    overflow: hidden;
    scroll-behavior: smooth;
}

.coe-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 280px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    display: block;
    box-shadow: 0 8px 24px rgba(10, 61, 107, .12);
    transition: transform .25s, box-shadow .25s;
}

.coe-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(21, 101, 192, .2);
    text-decoration: none;
}

.coe-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.coe-card-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 20px 18px;
    background: linear-gradient(transparent, rgba(8, 51, 88, .88));
    color: #fff;
}

.coe-card-overlay h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.coe-card-overlay .coe-line {
    display: block;
    width: 48px;
    height: 3px;
    background: #f4a020;
    margin-top: 10px;
    border-radius: 2px;
}

.coe-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f4a020;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(244, 160, 32, .4);
}

.coe-nav-btn:hover {
    background: #e09010;
}

.coe-nav-btn.prev { left: 0; }
.coe-nav-btn.next { right: 0; }

.coe-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.coe-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #c5d5e8;
    padding: 0;
    cursor: pointer;
}

.coe-dots button.active {
    background: #1565c0;
    width: 28px;
    border-radius: 5px;
}

@media (max-width: 991px) {
    .coe-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 576px) {
    .coe-carousel-wrap {
        padding: 0 36px;
    }
    .coe-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    .coe-card img {
        height: 260px;
    }
}

/* Detail page gb2 */
.coe-detail-breadcrumb {
    background: #fff;
    padding: 14px 0;
    border-bottom: 1px solid #e8eef5;
    font-size: 13px;
}

.coe-detail-breadcrumb a {
    color: #1565c0;
    text-decoration: none;
}

.coe-detail-breadcrumb span {
    color: #888;
    margin: 0 6px;
}

.coe-location-bar {
    background: #fff;
    border-bottom: 1px solid #e8eef5;
    padding: 14px 0;
    box-shadow: 0 2px 8px rgba(10,61,107,.04);
}

.coe-detail-body {
    padding: 36px 0 60px;
    background: #f7fafd;
}

.coe-detail-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.coe-detail-layout--solo {
    grid-template-columns: minmax(0, 1fr);
}

.coe-detail-banner-span {
    grid-column: 1 / -1;
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 8px;
    padding: 24px 28px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(10, 61, 107, .04);
}

.coe-detail-banner-span img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 300px;
    margin: 0 auto;
    object-fit: contain;
}

.coe-detail-sidebar {
    position: sticky;
    top: 20px;
}

.coe-sidebar-link {
    display: block;
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 12px;
    color: #0a3d6b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(10,61,107,.04);
    transition: border-color .2s, background .2s;
}

.coe-sidebar-link:hover,
.coe-sidebar-link.active {
    background: #eef4fc;
    border-color: #1565c0;
    color: #1565c0;
    text-decoration: none;
}

.coe-detail-content {
    min-width: 0;
}

.coe-content-section {
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 8px;
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(10,61,107,.04);
}

.coe-content-unified {
    margin-bottom: 0;
}

.coe-content-unified .coe-section-block {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.coe-content-unified .coe-section-block + .coe-section-block {
    margin-top: 20px;
}

.coe-section-heading,
.coe-section-body h2,
.coe-section-body h3 {
    color: #0a6b5a;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 14px;
    line-height: 1.35;
}

.coe-section-body > p:first-child strong,
.coe-section-body p strong:first-child {
    color: #0a6b5a;
    font-size: 20px;
    font-weight: 700;
}

.coe-section-body p {
    margin: 0 0 14px;
}

.coe-section-body p:last-child {
    margin-bottom: 0;
}

.coe-content-section h2 {
    color: #0a3d6b;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 16px;
}

.coe-content-section p,
.coe-content-section li {
    color: #444;
    font-size: 15px;
    line-height: 1.7;
}

.coe-section-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.coe-section-body ul,
.coe-section-body ol {
    padding-left: 20px;
}

@media (max-width: 991px) {
    .coe-detail-layout,
    .coe-detail-layout--solo {
        grid-template-columns: minmax(0, 1fr);
    }

    .coe-detail-sidebar {
        position: static;
    }
}
