.club-detail-container {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    margin-bottom: 30px;
    padding-right: 60px;
    padding-left: 110px;
    gap: 30px;
}

.left-content {
    width: 70%;
    box-sizing: border-box;
    overflow: hidden;
}

.tab-contents {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover-photo {
    display: flex;
    align-items: start;
    justify-content: center;
    gap: 16px;
    width: 100%;
    margin-top: 4px;
    margin-left: 4px;
}

.cover-photo img {
    max-width: calc(100% - 50px);
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    box-sizing: border-box;
}

.go-back-button {
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    font-weight: bold !important;
    font-size: 22px !important;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.go-back-button img {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain !important;
    display: block !important;
}

.go-back-button:hover {
    background-color: #eee;
    color: #000;
}

.club-info {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.club-logo img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.club-details {
    margin-left: 20px;
    text-align: left;
}

.club-details h1 {
    margin: 0;
    font-size: 24px;
}

.club-twitter {
    color: #1DA1F2;
}

.tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.card {
    display: flex;
    align-items: start;
    background: #fff;
    padding-right: 20px;
    padding-left: 20px;
    max-width: 700px;
    height: auto;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    width: 100%;
    border-radius: 25px;
}

.card i {
    margin-right: 15px;
}

.card h2 {
    text-align: center;
    color: #333;
}

.card p {
    margin: 10px 0;
    color: #555;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.card p:last-child {
    border-bottom: none;
}

.card a {
    text-decoration: none;
    color: #007BFF;
}

.activity-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    box-sizing: border-box;
    justify-content: center;
}

.activity-item {
    display: flex;
    box-sizing: border-box;
    width: 230px;
}

.act-card {
    border-radius: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;

}

.act-card-date p {
    font-size: 12px !important;
}

.act-card:hover {
    transform: scale(1.05);
}

.act-card-body {
    padding-top: 8px;
    padding-right: 12px;
    padding-left: 12px;
}

.card-img-top {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.act-card-info {
    font-size: 10px;
}

.act-card-title {
    font-weight: bold;
    height: 55px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.act-card-date {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.container-find {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.right-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.date-select {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    color: #888;
    font-size: 20px;
    cursor: pointer;
}

.date-select img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.social-media-info {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
    position: relative;
    width: 100%;
}

.social-media-icons {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    overflow: hidden;
    flex-wrap: wrap;
}

.icon {
    width: 34px;
    height: 34px;
    background-color: #f3f3f3;
    border-radius: 50%;
    color: #a9a9a9 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.about-text {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: gray;
    margin-bottom: 30px;
    text-align: justify;
}

#about,
#about.tab-content,
#activities.tab-content,
#announcements.tab-content {
    box-shadow: none !important;
    border: none !important;
}

.album-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-align: start;
}

.album-swiper {
    width: 85%;
    max-width: 1000px;
    margin: auto;
    position: relative;
    overflow: hidden;
}

.album-swiper::before,
.album-swiper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.album-swiper::before {
    left: 0;
    background: linear-gradient(to right, white 0%, transparent 100%);
}

.album-swiper::after {
    right: 0;
    background: linear-gradient(to left, white 0%, transparent 100%);
}

.swiper-wrapper {
    align-items: center;
    z-index: 0;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-right: 15px;
}

.album-image {
    width: 250px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.album-swiper-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    position: relative;
}

.album-image:hover {
    transform: scale(1.02);
}

.album-swiper-wrapper .swiper-button-prev,
.album-swiper-wrapper .swiper-button-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 14px;
    font-weight: bold;
}

.empty-album {
    font-size: 16px;
    color: #888;
    margin-top: 20px;
    text-align: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    position: relative;
    width: 100%;
}

.info-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ddd;
}

.info-item img {
    height: 34px;
    width: 34px;
    object-fit: contain;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.info-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-text .label {
    font-size: 12px;
    font-weight: bold;
    color: #a9a9a9;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.info-text .value {
    font-size: 14px;
    font-weight: bold;
    color: gray;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.info-text a {
    color: gray;
    text-decoration: none;
}

.pagination .page-link {
    border-radius: 10px;
    margin: 0 5px;
    color: #007bff;
}

.pagination .page-link:hover {
    background-color: #007bff;
    color: white;
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding: 60px 20px 20px;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.modal-content {
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    font-size: 50px;
    color: white;
    padding: 16px;
    user-select: none;
    transform: translateY(-50%);
    z-index: 10000;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

@media (max-width: 768px) {
    .image-modal {
        padding: 15px;
    }

    .modal-content {
        max-width: 95%;
        max-height: 90vh;
    }

    .close-modal {
        top: 10px;
        right: 10px;
        font-size: 35px;
    }

    .prev,
    .next {
        font-size: 30px;
        padding: 8px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }
}

.tabs-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #ffffff;
    border-radius: 50px;
    padding: 4px;
    border: 2px solid #ccc;
    margin-top: 30px;
}

.sort-dropdown select {
    padding: 8px;
    background-color: #f0f0f0;
    color: gray;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    text-align: center;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.sort-dropdown:hover .dropdown-content {
    display: block;
}

.sort-dropdown button:hover {
    background-color: #888888;
}

.tab-button {
    background-color: #ffffff;
    border: none;
    padding: 4px 28px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    border-radius: 30px;
    color: #a9a9a9;
    font-weight: bold;
}

.tab-button:hover,
.tab-button.active {
    background-color: #f3f3f3;
    color: gray;
}

.tab-button.active {
    background-color: #f3f3f3;
    color: gray;
    border: 1px solid #a9a9a9;
    box-shadow: 0 0 1px gray;
}

.tab-content {
    display: none;
    margin-top: 20px;
    text-align: left;
}

.tab-content.active {
    display: block;
}

.search-bar-announcement {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 15px;
    width: 250px;
    height: 40px;
    font-size: 14px;
    font-weight: bold;
}

.search-bar-announcement-ann {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 15px;
    width: 250px;
    height: 40px;
    font-size: 14px;
    font-weight: bold;
}

.announcement-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    position: relative;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.pagination-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
    min-height: 50px;
}

#pagination-controls {
    text-align: center;
    margin-top: 20px;
}

#pagination-controls button {
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    border-radius: 25px;
}

.pagination-line {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.page-btn {
    padding: 6px 12px;
    border: 1px solid #ccc;
    background-color: white;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.page-btn:hover {
    background-color: #f0f0f0;
}

.page-btn.active {
    background-color: #275D8C;
    color: white;
}

.page-dots {
    padding: 6px 8px;
    color: #666;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
}

.date-box {
    background: white;
    color: #a9a9a9;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    margin-right: 15px;
    margin-bottom: 20px;
    height: 70px;
    border: 2px solid #ddd;
    width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    gap: 4px;
}

.date-box .day {
    color: #ff0000;
    font-size: 20px;
    font-weight: bold;
}

.date-box .month-year {
    color: gray;
    font-size: 12px;
    font-weight: bold;
}

.container-announcement:empty {
    min-height: 100px;
}

.announcement-link>.announcement {
    display: flex;
    align-items: start;
}

.announcement-link {
    display: block;
}

.announcement-wrapper {
    margin-bottom: 20px;
    display: block;
}

.container-announcement {
    width: 100%;
    margin: auto;
    padding-bottom: 70px;
}

.announcement {
    background: #f7f7f9;
    padding: 15px;
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.announcement:hover {
    background: white;
    transform: scale(1.02);
}

.content {
    flex-grow: 1;
    font-weight: bold;
    color: #a9a9a9;
    font-size: 12px;
    overflow: hidden;
    overflow-wrap: break-word;
    text-align: justify;
    padding-right: 15px;
    padding-left: 15px;
}

.content p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    margin-bottom: 10px;
}

.announcement-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    margin-bottom: 6px;
    color: #275D8C;
    font-size: 18px;
}

.right-content {
    display: block;
    border-radius: 25px;
    background: transparent;
}


@media (max-width: 820px) {
    .club-detail-container {
        flex-direction: column;
        padding-left: 20px;
        padding-right: 20px;
    }

    .left-content,
    .right-content {
        width: 100%;
    }

    .right-content {
        margin-top: 30px;
        display: flex;
        justify-content: center;
    }

    .pagination-line {
        justify-content: center;
    }

    .activity-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        box-sizing: border-box;
    }

    .activity-item {
        display: flex;
        box-sizing: border-box;
        width: 300px;
    }
}

@media (max-width: 760px) {
    .container-find {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .search-bar-announcement {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }


    .right-panel {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        width: 100%;
    }
}