﻿/*.search-wrapper {
    background: #fff;
    width: 600px;
    height: 30px;
    border-radius: 30px;
    padding: 20px 0px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
}

    .search-wrapper .search-input {
        background: transparent;
        border: none;
        outline: none;
        width: 100%;
        padding: 0 25px;
        color: var(--dark-grey);
    }*/

.btn-purple {
    margin-top: 0 !important;
    border-radius: 10px !important;
    -webkit-border-radius: 10px !important;
    -moz-border-radius: 10px !important;
    -ms-border-radius: 10px !important;
    -o-border-radius: 10px !important;
    padding: 8px 20px !important;
}

.bg-theme-white {
    background-color: white;
    padding: 10px;
}

a {
    text-decoration: none;
}

    a:hover {
        color: var(--dark-grey);
    }

.article-box {
    padding: 14px;
    background-color: white;
    box-shadow: 6px 6px 15px 0px #00000063;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    margin-bottom: 15px;
}

.article-summary {
    -webkit-line-clamp: 2;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

input[type="text"] {
    width: 250px;
    border: 0;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: border-color 0.3s, box-shadow 0.3s;
    color: var(--theme-dark-blue);
    outline: 0;
}

    input[type="text"]::placeholder {
        color: var(--theme-dark-blue);
    }

    input[type="text"]:focus::placeholder {
        border: 0;
    }

.dropdown-card {
    border: 1.5px solid #555999; /* bluish border */
    border-radius: 10px;
    padding: 5px 10px;
    margin-top: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    background: #fff;
    user-select: none;
    position: relative;
}

    .dropdown-card:hover {
        background-color: #f7f7ff;
    }

    .dropdown-card img {
        width: 20px;
        height: 20px;
        margin-right: 12px;
        border: none;
        background: none;
    }

/*.dropdown-text {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

    .dropdown-text .title {
        font-size: 14px;
        color: #555999;
        margin-bottom: 2px;
    }

    .dropdown-text .subtitle {
        font-weight: 700;
        color: var(--theme-dark-blue);
    }*/

/* Dropdown menu container */
/*.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1.5px solid #555999;
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    max-height: 180px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

    .dropdown-menu div {
        padding: 10px 16px;
        cursor: pointer;
        font-size: 15px;
        color: #222244;
    }

        .dropdown-menu div:hover {
            background-color: #f0f0ff;
        }*/

@media (max-width: 768px) {
/*    .search-wrapper {
        background: #fff;
        width: 100%;
    }*/

    .btn-purple {
        border-radius: 50px !important;
        -webkit-border-radius: 50px !important;
        -moz-border-radius: 50px !important;
        -ms-border-radius: 50px !important;
        -o-border-radius: 50px !important;
    }
}

/*.line-container {
    display: flex;
    align-items: center;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #222244;
}

    .line-container .state-text {
        font-weight: 700;
        color: var(--theme-dark-blue);
        text-decoration: none;
        margin-right: 10px;
        white-space: nowrap;*/ /* prevent line break */
    /*}

.line {
    flex-grow: 1;
    border-bottom: 1px solid var(--theme-dark-blue);
}

.count {
    margin-left: 10px;
    color: var(--theme-dark-blue);
    font-weight: 600;
    white-space: nowrap;
}*/

.custom-cards-wrapper .cards-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Individual card */
.custom-cards-wrapper .custom-card {
    width: 30%;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgb(0 0 0 / 29%);
    padding: 16px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .custom-cards-wrapper .custom-card {
        width: 100%;
    }
}

/* Card image */
.custom-cards-wrapper .custom-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

/* Card title */
.custom-cards-wrapper .custom-card h3 {
    font-size: 1.1rem;
    margin: 12px 0 8px;
    font-weight: 700;
    color: #2a2c7a;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Meta info container */
.custom-cards-wrapper .custom-card .meta {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    font-size: 0.85rem;
    color: #4a4a6a;
    margin-bottom: auto; /* Pushes button down */
}

/* Read More button */
.custom-cards-wrapper .custom-card .read-more-btn {
    margin-top: 12px;
    padding: 12px 0;
    border: none;
    border-radius: 0 0 10px 10px;
    background-color: #2a2c7a;
    color: white;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    align-self: stretch;
    transition: background-color 0.3s ease;
    -webkit-border-radius: 0 0 10px 10px;
    -moz-border-radius: 0 0 10px 10px;
    -ms-border-radius: 0 0 10px 10px;
    -o-border-radius: 0 0 10px 10px;
}

    .custom-cards-wrapper .custom-card .read-more-btn:hover {
        background-color: #1f2157;
    }

.custom-cards-wrapper .custom-card .icon-sm {
    width: 20px;
    height: 18px;
    object-fit: contain;
    margin-right: 7px;
}
