/* Reorganized from wwwroot/css/news1.css. */
.fr-row {
    display: flex;
    flex-wrap: wrap;

}


.news-one {
    position: relative;
    display: block;
    margin-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.news-one:hover {
        cursor: pointer;
        border-bottom: 2px solid var(--fr-purple);
    }


        .news-one:hover a {
            color: var(--fr-purple) !important;
        }

    .news-one-img-box {
        position: relative;
        display: block;
}

.news-one-img {
    width: 100%;
    aspect-ratio: 16 / 9; /* Or use 4 / 3, 1 / 1 depending on your design */
    overflow: hidden;
    position: relative;
    border-radius: 0px;
}

.news-one-img:before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
    background-color: rgba(var(--govity-black-rgb), 0.3);
    opacity: 1;
    transition: 0.5s;
    transform: perspective(400px) rotateY(-90deg) scale(0.2);
    transform-origin: top;
    z-index: 1;
}

    .news-one-img img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ensures the image fills the box nicely */
        transition-delay: 0.1s;
        transition-timing-function: ease-in-out;
        transition-duration: 0.7s;
        transition-property: all;
    }

.news-one-date {
    position: absolute;
    top: auto;
    right: 0;
    bottom: 0;
    width: auto;
    min-width: 0;
    min-height: 0;
    padding: 8px 12px 8px 14px;
    border: 1px solid rgba(var(--fr-dark-rgb), 0.08);
    
    border-radius: 0;
    border-top-right-radius:2px;
    background: rgb(40 80 153 / 30%);
    box-shadow: 0 8px 22px rgba(var(--fr-dark-rgb), 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
}


    .news-one-date p {
        margin: 0;
        text-align: left;
        text-transform: none;
    }


    .news-one-date .news-badge-date {
        display: flex;
        align-items: baseline;
        gap: 4px;
        color: white;
        line-height: 1;
        white-space: nowrap;
    }


    .news-one-date .news-badge-month,
.news-one-date .news-badge-day,
.news-one-date .news-badge-year {
        display: block;
        margin: 0;
        color: inherit;
        white-space: nowrap;
    }


    .news-one-date .news-badge-month,
.news-one-date .news-badge-day {
        font-size: 14px;
        font-weight: 600;
        text-shadow:.5px .5px 3px black;
    }


    .news-one-date .news-badge-month {
        font-weight: 500;
    }


    .news-one-date .news-badge-year {
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0.1em;
        color: white;
    }


.news-one__title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 13px;
    border-bottom: 1px solid #dddddd50;
    margin-bottom: 0;
    padding-bottom: 10px;
    height: 4em;
}

.news-one-kh__title {
    font-size: 19px;
}


.news-one__btn {
    position: relative;
    display: block;
  
    text-decoration: none;
    justify-content: end;
    display: flex;
}


.news-one__title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2; /* Show only 2 lines */
    line-height: 1.65em;
    max-height: 5em;
    text-decoration: none;
    background-image: none;
    background-position: 0;
    background-repeat: no-repeat;
    background-size: 0;
    transition: background-size 0;
    color: var(--fr-purple) !important;
}


.detail-symbol-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: min(350px, 88%);
    aspect-ratio: 5 / 1;
    margin: 0 auto clamp(2.25rem, 4vw, 3.5rem);
    overflow: hidden;
}


.detail-symbol-strip img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.detail-symbol-strip img:nth-child(3) {
    object-position: center top;
}

.list-unstyled {
    padding-left: 0;
    list-style: none;
}


.search-bar {
    display: flex;

    overflow: hidden;
    max-width: 100%; /* or whatever width you want */
}


    .search-bar input[type="search"] {
        flex: 1;
        border: none;
        padding: 15px 20px;
        font-size: 14px;
        color: white;
        background: transparent;
        outline: none;
        /* placeholder style */
    }


        .search-bar input[type="search"]::placeholder {
            color: rgba(255, 255, 255);
        }


    .search-bar button {
        border: none;
        background:transparent;
        padding: 0 16px;
        display: flex;
        align-items: center;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

    .search-bar:hover button {
        background: var(--fr-search-hover) !important;
    }

        .search-bar button svg {
            stroke: white;
        }

    .search-bar:hover > button {
        background: var(--fr-search-hover);
    }



.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Show up to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 4.8em;
    font-size: .9rem;
    opacity: .8;
    white-space: normal;
    line-height:1.7;
    word-break: break-word;
}



    .news-one-date-press-release :before {
        content: "";
        position: absolute;
        bottom: -6px;
        left: 0;
        right: 0;
        height: 6px;
        background-color: rgba(var(--fr-purple-rgb), 0.19);
    }


    .news-one-date-press-release p {
        font-size: 14px;
        font-weight: 600;
        line-height: 20px;
        color: white;
        text-transform: uppercase;
        text-align: center;
    }

.news-one + .news-one {
    margin-top: 1.5rem;
}


.news-date-text {
    line-height: 1.5em;
}


.sidebar-full {
    width: 100%;
}


.fw-400 {
    font-weight: 400;
}


.link-plain {
    text-decoration: none;
}


.is-hidden {
    display: none !important;
}

.media-icon-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0,0,0,0.6);
    color: white;
    padding: 6px 10px;
    border-radius: 50%;
    font-size: 16px;
    z-index: 2;
}


.franco-font {
    font-family: "Inter", "Hanuman", "Moul", sans-serif !important;
}


.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}


.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.post-file-downloads {
    border-top: 1px solid rgba(var(--fr-dark-rgb), 0.12);
    padding-top: 18px;
    margin-bottom: 24px;
}


.post-file-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--fr-dark);
}


.post-file-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.post-download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(var(--fr-dark-rgb), 0.14);
    border-radius: 6px;
    background: #fff;
}


.post-download-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
}


.post-download-file-icon {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    border: 1px solid rgba(var(--fr-dark-rgb), 0.12);
    background: var(--fr-surface-muted);
    color: var(--fr-cyan);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
}


.post-download-file-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 650;
    color: var(--fr-dark);
    line-height: 1.35;
}


.post-download-file-type {
    color: rgba(var(--fr-dark-rgb), 0.66);
    font-size: 12px;
    line-height: 1.35;
}


.post-download-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(var(--fr-purple-rgb), 0.34);
    border-radius: 6px;
    color: var(--fr-purple) !important;
    background: transparent;
    text-decoration: none;
    font-weight: 650;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}


.post-download-btn:hover {
    background: rgba(var(--fr-purple-rgb), 0.08);
    border-color: rgba(var(--fr-purple-rgb), 0.58);
    color: var(--fr-purple) !important;
}
