.article-card {

    overflow: hidden;
    position: relative;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 200px;


}

.article-card.large{
    height: 100% !important;
    min-height: 200px;
}


.article-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.article-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}



.article-content {
    padding: 20px;
    position: absolute;
    z-index: 1;
    bottom:0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%
}

.article-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0;
    position: relative;
    z-index: 2;
    padding: 15px 0 0 0;
    color: white;
}

.article-card.large .article-title {
    font-size: 1.75rem;
}

.black-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(0deg, #000, rgba(0,0,0,0.7), rgba(0,0,0,0));
    pointer-events: none;
    z-index: 0;
}

.tag {
    background-color: #dc2626;
    color: white;
    padding: 5px 10px;

    font-size: 0.8rem;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
}

/*photo gallery card*/
.gallery-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;

    overflow: hidden;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
    position: relative;
    height: 270px;
}

.gallery-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.gallery-content {
    padding: 20px;
    position: absolute;
    z-index: 1;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
}

.gallery-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0;
    position: relative;
    z-index: 2;
    padding: 10px 0 0 0;
    color: white;
    text-align: right;
}

.blue-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(0deg, #000080, rgba(0,0,128,0.1), rgba(0,0,128,0));
    pointer-events: none;
    z-index: 0;
}

.gallery-photo-count-tag {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 5px;
}

.gallery-photo-count-tag svg {
    width: 16px;
    height: 16px;
    fill: white;
}
/* youtube */
.youtube-gallery-card .gallery-photo-count-tag {
    display: none; /* YouTube does not show photo count */
}
.youtube-gallery-card{
    cursor: pointer
}

.youtube-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube-play-icon svg {
    width: 70px;
    height: 70px;
    fill: #fbcf6e;
}

#youtubeModal .modal-header {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    padding: 0.5rem;
}
#youtubeModal .btn-close {
    filter: brightness(0) invert(1);
}

/* news card small section container (card)  */
.news-section-card {
    box-shadow: 0 1.5px 3px 0 rgba(0,35,64,0.05) !important;
    text-decoration: none;
    color: black;

    overflow: hidden
}
.news-section-card-img-container {
    height: 80px;
}
.news-section-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-section-card .card-title {
    color: black;
    word-break: break-word;
}
@media (max-width: 767.98px) {
    .news-section-card-img-container {
        height: 180px;
    }
    .news-section-card-content-container {
        width: 100%;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        min-height: 80px;
    }
    .news-section-card {
        flex-direction: column !important;
        overflow: visible;
        height: auto
    }
}

/* section title compnent    */
.section-title-container {
    display: flex;
    align-items: center;
    justify-content: start;

}

.chevron-icon {
    color: var(--theme-color);
    font-size: 1.5rem;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chevron-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: black;
    stroke-width: 2;
}

.section-text {
    text-decoration: none;
    color: var(--theme-color2);
    font-size: 1.875rem;
    font-weight: 700;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.section-title-line {
    width: 0.25rem;
    height: 2rem;
    background-color: var(--theme-color);
    margin-left: 0.5rem;
}

/* home youtube video */
.dynamic-iframe-container {
    overflow: hidden;
    position: relative;
    height: 400px;
    display: flex;
    align-content: center;
    justify-content: center;
    width: 100%;


}
.dynamic-iframe-container iframe {
    border: 0;
    width: 90%;
    height: 100%;

    top: 0;
    left: 0;
}

/* publication card  */

.publish-card-main {
    height: 250px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: block;
    text-decoration: none;
    color: white;

}

.publish-card-main a {
    display: block;
    height: 100%;
    width: 100%;
    position: relative;
}

.publish-card-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.publish-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
    height: 100%;
}



.publish-title {
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
    color: white;
    position: relative;
    z-index: 1;
    text-align: right;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/*s-news-itemide news */

.side-news-item .section-title {
    font-size: 1.1rem;
    font-weight: bold;
    border-bottom: 2px solid #ccc;
    padding-bottom: 4px;
    margin-bottom: 10px;
}

.side-news-item {
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    cursor: pointer;
    min-height: 60px
}

.side-news-item .news-title {
    font-size: 0.9rem;
    color: #2d3748;
    text-decoration: none;
}


.side-news-item small {
    font-size: 0.75rem;
}

/* hz list items */
.list-container-card {
    background-color: var(--theme-color2-light);
    padding: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.list-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    transition: background-color 0.2s ease-in-out;
}

.list-item:hover {
    text-decoration: none;
    color: white;

}

.list-item-image-wrapper {
    width: 80px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.list-item-number {
    background-color: var(--theme-color);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    position: absolute;
    top: 25%;
    right: -8px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* side bar single link */
.sidebar-single-link-card {

    background-color: #fff;
    border: 1px solid #ddd;
    padding: 0.75rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.sidebar-single-link-card .section-header {
    font-size: 0.95rem;
    font-weight: bold;
    color: #2d336b;
    border-bottom: 2px solid #2d336b;
    padding-bottom: 2px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sidebar-single-link-card .section-header svg {
    fill: var(--theme-color2);
    width: 15px;
    height: 15px
}

.sidebar-single-link-card .section-header .section-title-link {
    text-decoration: none;
    color: #2d336b;
}

.sidebar-single-link-card .section-header .section-title-link:hover {
    color: var(--theme-color);
}

.sidebar-single-link-card .section-body {
    font-size: 0.95rem;
    color: #333;
}

.sidebar-single-link-card .section-body a {
    text-decoration: none;
    color: #444;
    display: block;
}

.sidebar-single-link-card .section-body a:hover {
    color: var(--theme-color);
}

.sidebar-single-link-card .section-quote {
    font-style: italic;
    color: var(--theme-color2);
}

/* ads */
.ads-component {
    display: block;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: transform 0.2s ease-in-out;
}

.ads-component:hover {
    transform: translateY(-2px);
}

.ads-component img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.news-meta {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: bolder
}

.news-img-top {
    width: 100%;
    max-height: 350px;
    object-fit: contain;
    margin-bottom: 1rem;
}
.multi-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1rem;
}

/* caricature */
.caricature-img-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;


}
.caricature-img-wrapper img {
    width: 100%;
    height: 100%;

    display: block;
}
.caricature-item {
    padding: 0.5rem;
}