/*
Theme Name: GWM Child Theme
Theme URI: https://gwm/
Description: Child theme for God's Will Mission Inc. running on church-premium-theme.
Author: Cohesion Technology
Template: church-premium-theme
Version: 1.0.0
Text Domain: gwm-child-theme
*/

/*
Do not place heavy custom CSS here.
Use assets/css/gwm-child.css and assets/css/gwm-about.css instead.
*/
/* GWM BISHOP JULIEN HERO TITLE */
body.postid-1708 .page-hero h1,
body.postid-1708 .leadership-hero h1,
body.postid-1708 .leader-hero h1,
body.postid-1708 .single-leader-hero h1,
body.postid-1708 .hero-title,
body.postid-1708 .entry-title {
    position: relative !important;
    transform: translateY(55px) !important;
}

@media (max-width: 768px) {
    body.postid-1708 .page-hero h1,
    body.postid-1708 .leadership-hero h1,
    body.postid-1708 .leader-hero h1,
    body.postid-1708 .single-leader-hero h1,
    body.postid-1708 .hero-title,
    body.postid-1708 .entry-title {
        transform: translateY(25px) !important;
    }
}
/* END GWM BISHOP JULIEN HERO TITLE */


/* GWM BISHOP JULIEN HERO TITLE */
body.postid-1708 .page-hero h1,
body.postid-1708 .leadership-hero h1,
body.postid-1708 .leader-hero h1,
body.postid-1708 .single-leader-hero h1,
body.postid-1708 .hero-title,
body.postid-1708 .entry-title {
    position: relative !important;
    transform: translateY(55px) !important;
}

@media (max-width: 768px) {
    body.postid-1708 .page-hero h1,
    body.postid-1708 .leadership-hero h1,
    body.postid-1708 .leader-hero h1,
    body.postid-1708 .single-leader-hero h1,
    body.postid-1708 .hero-title,
    body.postid-1708 .entry-title {
        transform: translateY(25px) !important;
    }
}
/* END GWM BISHOP JULIEN HERO TITLE */
/* GWM MINISTRY UNIQUE IMAGE FIX START */
.gwm-ministries-listing {
    padding-block: clamp(48px, 7vw, 96px);
}

.gwm-ministries-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 36px);
}

.gwm-ministry-card {
    overflow: hidden;
    border: 1px solid rgba(20, 34, 50, 0.12);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(7, 19, 31, 0.08);
}

.gwm-ministry-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #182333;
}

.gwm-ministry-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 240ms ease;
}

.gwm-ministry-card:hover .gwm-ministry-card__image {
    transform: scale(1.035);
}

.gwm-ministry-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    padding: 24px;
    color: #ffffff;
    text-align: center;
    background: linear-gradient(135deg, rgba(193, 153, 67, 0.28), transparent), #182333;
}

.gwm-ministry-card__placeholder span {
    max-width: 18ch;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.25;
}

.gwm-ministry-card__body {
    padding: clamp(20px, 3vw, 30px);
}

.gwm-ministry-card__title {
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    line-height: 1.2;
}

.gwm-ministry-card__title a {
    color: inherit;
    text-decoration: none;
}

.gwm-ministry-card__excerpt {
    margin: 14px 0 0;
}

.gwm-ministry-card__link {
    display: inline-flex;
    margin-top: 18px;
    font-weight: 700;
}

@media (max-width: 980px) {
    .gwm-ministries-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .gwm-ministries-grid {
        grid-template-columns: 1fr;
    }
}
/* GWM MINISTRY UNIQUE IMAGE FIX END *//* ==========================================================================
   Homepage — Welcome Introduction
   ========================================================================== */

.gwm-home-welcome-introduction {
    padding-block: clamp(3rem, 6vw, 6rem);
}

.gwm-home-welcome-introduction .gwm-home-section-header {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}

.gwm-home-welcome-content {
    max-width: 960px;
    margin: 2rem auto 0;
}

.gwm-home-welcome-content > :first-child {
    margin-top: 0;
}

.gwm-home-welcome-content > :last-child {
    margin-bottom: 0;
}