/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* ===== Elementor Widget: Parishes Map (Dynamic CPT Version) ===== */
.parishes-serve-wrap {
    font-family: 'Montserrat', sans-serif;
    background-color: #222;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.parishes-serve-wrap .ps-header-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}

.parishes-serve-wrap .ps-header-line::before,
.parishes-serve-wrap .ps-header-line::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: #fff;
}

.parishes-serve-wrap .ps-header-line span {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.parishes-serve-wrap .ps-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.parishes-serve-wrap .ps-title .ps-highlight {
    color: #f1c40f;
    font-family: 'Montserrat', sans-serif;
}

.parishes-serve-wrap .ps-subtitle {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
}

.parishes-serve-wrap .ps-sub-subtitle {
    font-size: 13px;
    color: #fff;
    margin-bottom: 35px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.parishes-serve-wrap .ps-content {
    display: flex;
    gap: 30px;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.parishes-serve-wrap .ps-grid {
    display: grid;
    grid-template-columns: repeat(2, 220px);
    grid-template-rows: repeat(5, 1fr);
    gap: 12px;
}

.parishes-serve-wrap .ps-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background-color: #555;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    text-align: left;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
}

.parishes-serve-wrap .ps-btn:hover {
    background-color: #777;
}

.parishes-serve-wrap .ps-btn.ps-active {
    background-color: #f1c40f;
    color: #222;
}

.parishes-serve-wrap .ps-btn .ps-icon {
    width: 32px;
    height: 32px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.parishes-serve-wrap .ps-btn .ps-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.parishes-serve-wrap .ps-btn.ps-active .ps-icon {
    background-color: #fff;
}

.parishes-serve-wrap .ps-card {
    background-color: #fff;
    color: #222;
    border-radius: 4px;
    padding: 25px;
    width: 420px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

.parishes-serve-wrap .ps-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
}

.parishes-serve-wrap .ps-card h3 .ps-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.parishes-serve-wrap .ps-card h3 .ps-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.parishes-serve-wrap .ps-jail-name {
    color: #f1c40f;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
}

.parishes-serve-wrap .ps-jail-info-content {
    font-size: 14px;
    color: #444;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

.parishes-serve-wrap .ps-jail-info-content p {
    margin-bottom: 10px;
}

.parishes-serve-wrap .ps-jail-info-content a {
    color: #444;
    text-decoration: none;
    transition: color 0.2s;
}

.parishes-serve-wrap .ps-jail-info-content a:hover {
    color: #f1c40f;
}

.parishes-serve-wrap .ps-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #444;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.parishes-serve-wrap .ps-info-item .ps-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.parishes-serve-wrap .ps-info-item .ps-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.parishes-serve-wrap .ps-info-item a {
    color: #444;
    text-decoration: none;
    transition: color 0.2s;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.parishes-serve-wrap .ps-info-item a:hover {
    color: #f1c40f;
}

.parishes-serve-wrap .ps-map-wrap {
    margin-top: auto;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #ddd;
    flex: 1;
    min-height: 0;
}

.parishes-serve-wrap .ps-map-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    min-height: 280px;
}

@media (max-width: 768px) {
    .parishes-serve-wrap .ps-content { 
        flex-direction: column; 
        align-items: center; 
    }
    .parishes-serve-wrap .ps-grid { 
        grid-template-columns: 1fr; 
        grid-template-rows: repeat(auto-fill, auto); 
        width: 100%;
        max-width: 420px;
    }
    .parishes-serve-wrap .ps-card { 
        width: 100%; 
        max-width: 420px; 
    }
    .parishes-serve-wrap .ps-map-wrap { 
        height: 280px; 
    }
}