﻿.subscribe-btn {
    color: #ecb43a;
    font-family: initial;
    border-bottom: 1px solid #ecb43a;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.slogan {
    animation-duration: 6s;
}

h4 {
    text-align: center;
    text-transform: lowercase;
}

    h4::first-letter {
        text-transform: uppercase;
    }

#lbl-addtocart:hover {
    color: hsl(41,82%,50%);
}

.view-all-journal-btn:hover {
    background: #ecb43a;
    color: white;
}

.view-all-journal-btn {
    background: antiquewhite;
    color: black;
}

/* Add these styles to your site's CSS file */
/* Add these styles to your site's CSS file */
.ibla-articles-container {
    padding: 2rem 0;
}

.section-title {
    margin-bottom: 1.5rem;
    position: relative;
    font-weight: 600;
}

    .section-title:after {
        content: '';
        display: block;
        width: 50px;
        height: 3px;
        background: #ecb43a; /* Updated primary color */
        margin: 10px auto 0;
    }

.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
}

    .hover-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    }

.article-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8rem;
}

.article-excerpt {
    font-size: 0.9rem;
    color: #6c757d;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-subjects .badge {
    font-size: 0.7rem;
    font-weight: normal;
    padding: 0.35rem 0.5rem;
}
/* Custom Primary Button Style */
.custom-btn {
    padding: 0.5rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
    background-color: #ecb43a; /* Primary color */
    border: 2px solid #ecb43a; /* Border in primary color */
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

    .custom-btn:hover {
        background-color: #d9a232; /* Slightly darker shade for hover */
        border-color: #d9a232;
        color: white;
    }

    .custom-btn:focus {
        outline: none;
        box-shadow: 0 0 0 0.25rem rgba(236, 180, 58, 0.5); /* Focus state */
    }

    .custom-btn:active {
        background-color: #d9a232; /* Darker shade for active state */
        border-color: #d9a232;
        color: white;
    }

/* Custom Outline Button Style */
.custom-outline-btn {
    padding: 0.5rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #ecb43a; /* Primary text color */
    background-color: transparent; /* Transparent background */
    border: 2px solid #ecb43a; /* Primary border color */
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

    .custom-outline-btn:hover {
        background-color: #ecb43a; /* Primary color for hover */
        color: white; /* White text on hover */
    }

    .custom-outline-btn:focus {
        outline: none;
        box-shadow: 0 0 0 0.25rem rgba(236, 180, 58, 0.5); /* Focus state using primary color */
        border-color: #ecb43a; /* Primary border color on focus */
    }

    .custom-outline-btn:active {
        background-color: #d9a232; /* Darker shade of primary color on active */
        border-color: #d9a232; /* Darker border color on active */
        color: white; /* White text on active */
    }

/* Custom Show More Button Style */
.custom-show-more-btn {
    padding: 0.5rem 2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 2px solid #ecb43a; /* Border in primary color */
    color: #ecb43a; /* Text color to match the primary color */
    background-color: transparent; /* Ensuring the default background is transparent */
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

    .custom-show-more-btn:hover {
        background-color: #ecb43a; /* Primary color for hover */
        color: white; /* White text color on hover */
    }

    .custom-show-more-btn:focus {
        outline: none;
        box-shadow: 0 0 0 0.25rem rgba(236, 180, 58, 0.5); /* Adding focus state for accessibility */
        border-color: #ecb43a; /* Ensure focus border is also primary color */
    }

    .custom-show-more-btn:active {
        background-color: #d9a232; /* Slightly darker shade for active state */
        border-color: #d9a232; /* Darker border on active */
        color: white; /* White text on active state */
    }

/* Example of custom button classes applied to other elements */
.custom-btn-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.custom-show-more-btn-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}


/* RTL Support */
[dir="rtl"] .article-title,
[dir="rtl"] .article-excerpt {
    text-align: right;
}

[dir="rtl"] .badge {
    margin-right: 0;
    margin-left: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .article-title {
        font-size: 1.1rem;
    }

    .article-excerpt {
        -webkit-line-clamp: 2;
    }
}
