/**
 * Content Links Styling
 * Makes links match text color instead of default blue
 */

/* Links in content areas - match text color */
.text-box a,
.content-box a,
.content_block_one a,
.content_block_two a,
.content_block_three a,
.content_block_four a,
.intro-text a,
.text-content a,
.conclusion-text a,
.sdg-content-box a,
p a:not(.theme-btn):not(.btn-one):not(.btn-two),
.sec-title p a,
.info-block-one .inner-box p a,
.about-widget .widget-content p a {
    color: var(--text-color) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Hover effect for content links */
.text-box a:hover,
.content-box a:hover,
.content_block_one a:hover,
.content_block_two a:hover,
.content_block_three a:hover,
.content_block_four a:hover,
.intro-text a:hover,
.text-content a:hover,
.conclusion-text a:hover,
.sdg-content-box a:hover,
p a:not(.theme-btn):not(.btn-one):not(.btn-two):hover,
.sec-title p a:hover,
.info-block-one .inner-box p a:hover,
.about-widget .widget-content p a:hover {
    color: var(--theme-color) !important;
    text-decoration: none;
}

/* Links in list items */
.list-style-one li a,
ul li a:not(.theme-btn):not(.btn-one):not(.btn-two) {
    color: var(--text-color) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.list-style-one li a:hover,
ul li a:not(.theme-btn):not(.btn-one):not(.btn-two):hover {
    color: var(--theme-color) !important;
    text-decoration: none;
}

/* Ensure buttons and navigation links keep their styling */
a.theme-btn,
a.btn-one,
a.btn-two,
.main-menu .navigation > li > a,
.mobile-menu .navigation li > a,
.footer-widget .links-list li a,
.main-footer .links-widget .links-list li a {
    /* Keep existing button and navigation styles */
}

/* External links (mailto, tel, external URLs) */
a[href^="mailto:"],
a[href^="tel:"],
a[href^="http"]:not([href*="tajawul.bh"]):not(.theme-btn):not(.btn-one):not(.btn-two) {
    color: var(--text-color) !important;
    text-decoration: none;
}

a[href^="mailto:"]:hover,
a[href^="tel:"]:hover,
a[href^="http"]:not([href*="tajawul.bh"]):not(.theme-btn):not(.btn-one):not(.btn-two):hover {
    color: var(--theme-color) !important;
    text-decoration: none;
}

/* Links in specific sections */
.about-section .text-box a,
.benefits-section .intro-text a,
.safe-hours-section .text-content a,
.sustainability-features-section .conclusion-text a,
.sustainability-sdg-section .sdg-content-box a,
.contact-info-section .sec-title p a {
    color: var(--text-color) !important;
    text-decoration: none;
}

.about-section .text-box a:hover,
.benefits-section .intro-text a:hover,
.safe-hours-section .text-content a:hover,
.sustainability-features-section .conclusion-text a:hover,
.sustainability-sdg-section .sdg-content-box a:hover,
.contact-info-section .sec-title p a:hover {
    color: var(--theme-color) !important;
    text-decoration: none;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .text-box a,
    .content-box a,
    p a:not(.theme-btn):not(.btn-one):not(.btn-two) {
        color: var(--text-color) !important;
        text-decoration: none;
    }
}

