/*
Theme Name: Action DStv
Theme URI: https://actiondstv.co.za/
Author: Dark Cloud Host
Author URI: https://darkcloudhost.co.za/
Description: Custom WordPress theme for Action DStv. Designed and developed by Tawanda Goredema at Dark Cloud Host.
Version: 1.0.0
Text Domain: action-dstv
*/
/* =========================================
   CLICKABLE SERVICES DIRECTORY CARDS
   ========================================= */

.services-directory-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.services-directory-card-link .services-directory-card {
    height: 100%;
    cursor: pointer;
}

.services-directory-card-link h3,
.services-directory-card-link p,
.services-directory-card-link .service-card-number {
    color: inherit;
}

.services-card-cta {
    display: inline-block;
    font-weight: 700;
}

.services-directory-card-link:hover .services-card-cta,
.services-directory-card-link:focus .services-card-cta {
    text-decoration: underline;
}
/* =========================================
   404 PAGE
   ========================================= */

.error-404 {
    padding: 100px 20px;
    background: #f7f9fc;
    text-align: center;
}

.error-404-inner {
    max-width: 800px;
    margin: 0 auto;
}

.error-404-number {
    display: block;
    margin-bottom: 10px;
    font-size: clamp(5rem, 12vw, 9rem);
    line-height: 0.9;
    font-weight: 800;
    color: #1746c7;
    opacity: 0.12;
}

.error-404 .section-label {
    display: block;
    margin-bottom: 15px;
}

.error-404 h1 {
    margin: 0 0 20px;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    color: #071c45;
}

.error-404-description {
    max-width: 680px;
    margin: 0 auto 35px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.error-404-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.error-404-contact {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #dfe5ee;
}

.error-404-contact p {
    margin: 0 0 8px;
}

.error-404-contact a {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1746c7;
    text-decoration: none;
}

.error-404-contact a:hover,
.error-404-contact a:focus {
    text-decoration: underline;
}

@media (max-width: 600px) {

    .error-404 {
        padding: 70px 20px;
    }

    .error-404-buttons {
        flex-direction: column;
    }

    .error-404-buttons .btn {
        width: 100%;
        text-align: center;
    }
}
/* =========================================
   DEFAULT WORDPRESS FALLBACK TEMPLATE
   ========================================= */

.default-content {
    padding: 80px 20px;
    background: #ffffff;
}

.default-content .container {
    max-width: 1100px;
    margin: 0 auto;
}

.default-content-article {
    margin-bottom: 50px;
}

.default-content-header {
    margin-bottom: 20px;
}

.default-content-header h1,
.default-content-header h2 {
    margin: 0;
    color: #071c45;
}

.default-content-header a {
    color: inherit;
    text-decoration: none;
}

.default-content-header a:hover,
.default-content-header a:focus {
    color: #1746c7;
}

.default-content-body {
    line-height: 1.8;
}

.default-read-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: 700;
    color: #1746c7;
    text-decoration: none;
}

.default-read-more:hover,
.default-read-more:focus {
    text-decoration: underline;
}

.default-pagination {
    margin-top: 50px;
}

.default-no-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.default-no-content h1 {
    margin-bottom: 20px;
    color: #071c45;
}

.default-content-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

@media (max-width: 600px) {

    .default-content {
        padding: 60px 20px;
    }

    .default-content-buttons {
        flex-direction: column;
    }

    .default-content-buttons .btn {
        width: 100%;
        text-align: center;
    }
}
/* =========================================
   ACCESSIBILITY CONTRAST FIX
   ========================================= */

/* Homepage service card numbers */
.service-card .service-number {
    color: #1746c7 !important;
}

/* Mobile WhatsApp CTA */
a.mobile-whatsapp {
    background: #067238 !important;
    background-color: #067238 !important;
    color: #ffffff !important;
}

a.mobile-whatsapp span {
    color: #ffffff !important;
}