/* AlBadr brand success modal — matches green-overlay design used across the site. */
.swal2-popup.albdr-success {
    border-radius: 14px;
    padding: 2.5rem 2rem 2rem;
    max-width: 640px;
    background: #ffffff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
    border: 0;
}
.swal2-container.albdr-success-overlay {
    background: rgba(38, 92, 56, 0.92) !important;
}
.swal2-popup.albdr-success .swal2-title {
    color: #265c38;
    font-weight: 800;
    font-size: 1.9rem;
    line-height: 1.4;
    margin-bottom: 0.6rem;
}
.swal2-popup.albdr-success .swal2-html-container {
    color: #4a4a4a;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 0.3rem;
}
.swal2-popup.albdr-success .swal2-actions {
    margin-top: 1.4rem;
}
.swal2-popup.albdr-success .swal2-confirm {
    background: #265c38 !important;
    border: 0 !important;
    border-radius: 999px;
    padding: 0.7rem 2.4rem;
    font-weight: 700;
    box-shadow: none !important;
}
.swal2-popup.albdr-success .swal2-confirm:hover {
    background: #1f4a2d !important;
}
.swal2-popup.albdr-success .swal2-icon.swal2-success {
    border-color: #265c38;
    color: #265c38;
}
.swal2-popup.albdr-success .swal2-icon.swal2-success [class^=swal2-success-line] {
    background-color: #265c38 !important;
}
.swal2-popup.albdr-success .swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(38, 92, 56, 0.3) !important;
}
.swal2-popup.albdr-success .swal2-close {
    color: #999;
    font-size: 2rem;
}
.swal2-popup.albdr-success .swal2-close:hover {
    color: #265c38;
}
[dir="rtl"] .swal2-popup.albdr-success {
    text-align: center;
}

/* Gentle notice variant — no title, no icon, softer copy. */
.swal2-popup.albdr-success.albdr-notice {
    padding: 2.2rem 2rem 1.8rem;
    max-width: 520px;
}
.swal2-popup.albdr-success.albdr-notice .swal2-html-container {
    color: #265c38;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.7;
    margin: 0.2rem 0 0.4rem;
}

/* Current award cycle landing section. */
.award-flat-section {
    padding-top: clamp(2rem, 4vw, 4rem) !important;
}
.award-flat-section > .container {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 4.5rem);
    align-items: start;
    padding-top: clamp(2rem, 4vw, 4rem);
    padding-bottom: clamp(2.5rem, 4vw, 4rem);
}
.award-flat-section > .container > .sectionTitle {
    align-self: start;
    margin: 0;
    padding-top: 0.15rem;
}
.award-flat-section > .container > .sectionTitle > * {
    justify-content: flex-start;
    text-align: start;
}
.award-flat-section .box-container,
.award-flat-section .prizeTab {
    margin-top: 0 !important;
    width: 100%;
    min-width: 0;
}
.award-flat-section #prizeTab > .line {
    display: none;
}
.award-flat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.6rem);
    max-width: 1080px;
    margin: 0 auto;
}
.award-flat-card {
    position: relative;
    min-height: 270px;
    overflow: hidden;
    border-radius: 0 3rem 0 3rem;
    background: #111;
    box-shadow: none;
    transform: translateZ(0);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.award-flat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}
.award-flat-card-link {
    position: relative;
    display: block;
    width: 100%;
    min-height: 270px;
    color: #fff;
    text-decoration: none;
}
.award-flat-card-link:hover {
    color: #fff;
}
.award-flat-card-link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.14) 42%, rgba(0, 0, 0, 0.76) 100%);
}
.award-flat-card picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #e8e5d7;
}
.award-flat-card img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}
.award-flat-card img {
    object-fit: cover;
    filter: grayscale(0.18) saturate(0.86) contrast(1.02);
    transition: filter 0.22s ease, transform 0.3s ease;
}
.award-flat-card:hover img {
    filter: grayscale(0) saturate(0.96) contrast(1.02);
    transform: scale(1.025);
}
.award-flat-card-content {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    display: grid;
    gap: 0.65rem;
    padding: clamp(0.95rem, 1.6vw, 1.25rem);
    background: transparent;
}
.award-flat-prize {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.18rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #0c6b3c;
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1.3;
}
.award-flat-card h4 {
    margin: 0;
    max-width: 92%;
    color: #fff;
    font-size: clamp(1.1rem, 1.75vw, 1.55rem);
    font-weight: 900;
    line-height: 1.32;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.38);
}
.award-flat-card-footer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-self: start;
    align-self: end;
    min-height: 36px;
    padding: 0.36rem 0.9rem;
    border-radius: 999px;
    background: #0c7a43;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 900;
    line-height: 1.2;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    transition: background 0.2s ease;
}
.award-flat-card:hover .award-flat-card-footer {
    background: #095f35;
}
.award-flat-arrow {
    font-size: 1.1rem;
    line-height: 1;
}
.award-flat-total {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1.2rem;
    max-width: 620px;
    margin: 2.4rem auto 0;
    padding: 0.9rem 1.05rem;
    border: 0;
    border-radius: 0 2rem 0 2rem;
    background: #fff;
    box-shadow: none;
}
.award-flat-total-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(12, 122, 67, 0.1);
}
.award-flat-total-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
.award-flat-total span,
.award-flat-total-note {
    display: block;
    color: #4e4e46;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.4;
}
.award-flat-total strong {
    display: block;
    margin-top: 0.2rem;
    color: #111;
    font-size: 1.32rem;
    font-weight: 900;
    line-height: 1.25;
}
[dir="rtl"] .award-flat-card-link::before {
    display: block;
}
[dir="rtl"] .award-flat-prize,
[dir="rtl"] .award-flat-card-footer {
    justify-self: end;
}

@media (max-width: 980px) {
    .award-flat-section > .container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .award-flat-section > .container > .sectionTitle {
        writing-mode: horizontal-tb;
    }
    .award-flat-section > .container > .sectionTitle > * {
        justify-content: center;
        text-align: center;
    }
    .award-flat-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 760px) {
    .award-flat-card,
    .award-flat-card-link {
        min-height: 245px;
        border-radius: 0 2rem 0 2rem;
    }
    .award-flat-card h4 {
        font-size: 1.18rem;
    }
    .award-flat-card-content {
        padding: 1rem;
    }
    .award-flat-total {
        grid-template-columns: auto minmax(0, 1fr);
        margin-top: 2rem;
    }
    .award-flat-total strong {
        font-size: 1.25rem;
    }
}
