/**
 * Arroyo Management Theme
 *
 * File: service-page.css
 * Description: Service page styling.
 *
 * @package ArroyoTheme
 * @author Ben Wouden
 * @version 1.0.0
 * @since 1.0.0
 */

.arroyo-service-page {
    padding-bottom: 80px;
}

/* Hero */

.arroyo-page-hero {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #d8d8d8;
}

.arroyo-page-hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.arroyo-page-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
}

/* Dark overlay over featured image */

.arroyo-page-hero .arroyo-container {
    position: relative;
    z-index: 3;
    height: 100%;
}

.arroyo-service-page .arroyo-page-hero-card {
    display: inline-block;
    padding: .85rem 1.85rem;

    background: rgba(0, 0, 0, .28);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 12px;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.arroyo-service-page .arroyo-page-hero-card h1 {
    margin: 0;
    color: #fff;
    font-size: 2.25rem;
    line-height: 1.1;
    white-space: nowrap;
}

/* Main content */

.arroyo-service-content-section {
    padding: 24px 0 56px;
}

.arroyo-service-page .arroyo-page-content {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.75;
}

.arroyo-service-intro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px;
    margin-bottom: 56px;
}

.arroyo-service-intro-grid h2 {
    margin-top: 0;
}

.arroyo-page-content h2 {
    margin: 2rem 0 1rem;
    font-size: 1.75rem;
    line-height: 1.25;
    color: var(--arroyo-dark);
}

.arroyo-page-content p {
    margin: 0 0 1.35rem;
}

.arroyo-page-content ul,
.arroyo-page-content ol {
    margin: 0 0 1.5rem;
    padding-left: 1.4rem;
}

.arroyo-page-content li {
    margin-bottom: 0.55rem;
}

.arroyo-page-content a {
    color: var(--arroyo-green);
    text-decoration: none;
    font-weight: 600;

    transition:
        color .2s ease,
        border-color .2s ease;

    border-bottom: 1px solid transparent;
}

.arroyo-page-content a:hover {
    color: var(--arroyo-green-dark);
    border-bottom-color: var(--arroyo-green-dark);
}

/* Image rows */

.arroyo-service-image-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.arroyo-service-image-row br {
    display: none !important;
}

.arroyo-service-image-row figure {
    margin: 0;
}

.arroyo-service-image-row img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;

    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.05);

    box-shadow:
        0 2px 6px rgba(0,0,0,.08),
        0 12px 28px rgba(0,0,0,.12);
}

/* Section headings */

.arroyo-service-heading {
    margin-top: 60px;
    margin-bottom: 24px;
    padding-bottom: 10px;

    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 1.35rem;

    color: var(--arroyo-dark);
    border-bottom: 2px solid var(--arroyo-blue);
}

/* Responsive */

@media (max-width: 900px) {
    .arroyo-service-intro-grid {
        gap: 32px;
    }

    .arroyo-service-image-row img {
        height: 210px;
    }
}

@media (max-width: 768px) {
    .arroyo-page-hero {
        min-height: 240px;
    }

    .arroyo-service-page .arroyo-page-hero-card {
        left: 18px;
        right: 18px;
        max-width: none;
    }

    .arroyo-service-page .arroyo-page-hero-card h1 {
        font-size: 1.75rem;
        white-space: normal;
    }

    .arroyo-service-content-section {
        padding: 40px 0;
    }

    .arroyo-service-intro-grid,
    .arroyo-service-image-row {
        grid-template-columns: 1fr;
    }

    .arroyo-service-image-row img {
        height: auto;
    }
}

.arroyo-service-callout {
    max-width: 700px;
    margin: 50px auto;

    padding: 32px 48px;

    text-align: center;

    background: rgba(0, 122, 61, 0.01);
    border-radius: 12px;

    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.arroyo-service-callout h2 {
    margin: 0 0 12px;
    color: var(--arroyo-dark);
}

.arroyo-service-callout p {
    margin: 0;
    font-size: 1.1rem;
}