/* Single church action styles: hero actions, sidebar actions, favorites, and section buttons. */

.cig-single-church .cig-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    background-color: var(--uf-primary-deep);
    color: #FFFFFF;
    padding: 0.62rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    box-shadow: 0 6px 16px rgba(44, 28, 18, 0.12);
    transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
    font-size: 0.88rem;
    letter-spacing: -0.01em;
}

.cig-single-church .cig-cta-button:hover {
    background-color: #6a5040;
    box-shadow: 0 10px 20px rgba(44, 28, 18, 0.16);
    transform: translateY(-1px);
}

.cig-single-church .btn-set-favorite {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: var(--cig-detail-control-height);
    background-color: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 0.45rem 0.82rem;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
    backdrop-filter: blur(4px);
    box-shadow: none;
}

.cig-single-church .btn-set-favorite:hover {
    background-color: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.34);
    transform: translateY(-1px);
}

.cig-single-church .btn-set-favorite:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.92);
    outline-offset: 2px;
}

.cig-single-church .cig-hero-primary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.cig-single-church .cig-hero-quick-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--cig-detail-control-height);
    padding: 0.5rem 0.82rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.96);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.cig-single-church button.cig-hero-quick-action {
    appearance: none;
    cursor: pointer;
}

.cig-single-church .cig-hero-quick-action:hover,
.cig-single-church .cig-hero-quick-action:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
    transform: translateY(-1px);
}

.cig-single-church .cig-hero-quick-action--primary {
    background: rgba(255, 255, 255, 0.96);
    color: var(--uf-primary-deep);
    border-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 18px rgba(24, 16, 10, 0.16);
}

.cig-single-church .cig-hero-quick-action--primary:hover,
.cig-single-church .cig-hero-quick-action--primary:focus-visible {
    background: #fff;
    color: var(--uf-primary-deep);
}

.cig-single-church .cig-hero-quick-action--secondary {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.22);
}

.cig-single-church .cig-hero-actions-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 0.75rem;
    column-gap: 0.75rem;
}

.cig-single-church .cig-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.cig-single-church .cig-hero-user-guide {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.84rem;
    line-height: 1.45;
}

.cig-single-church .cig-hero-user-guide a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}

.cig-single-church .cig-hero-footnotes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1rem;
    margin-top: 0.85rem;
}

.cig-single-church .cig-sidebar-editor-actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 1rem;
}

.cig-single-church .cig-sidebar-editor-intro {
    margin: 0 0 1rem;
    color: #6b6259;
    line-height: 1.55;
}

.cig-single-church .cig-sidebar-editor-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.5rem;
    padding: 0.62rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(129, 116, 103, 0.16);
    background: rgba(255, 255, 255, 0.82);
    color: #4f4338;
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    box-shadow: none;
}

.cig-single-church .cig-sidebar-editor-btn--primary {
    background: var(--uf-primary-deep);
    border-color: var(--uf-primary-deep);
    color: #fff;
    box-shadow: 0 8px 18px rgba(44, 28, 18, 0.12);
}

.cig-single-church .cig-sidebar-editor-btn--primary:hover,
.cig-single-church .cig-sidebar-editor-btn--primary:focus-visible {
    background: #4a3626;
    border-color: #4a3626;
    color: #fff;
}

.cig-single-church .cig-sidebar-editor-btn--secondary {
    background: rgba(255, 255, 255, 0.72);
}

.cig-single-church .cig-sidebar-editor-btn--link {
    background: transparent;
    border-color: transparent;
    color: #6b6056;
    min-height: 2rem;
    padding-block: 0.25rem;
    text-decoration: none;
}

.cig-single-church .cig-sidebar-editor-btn:hover,
.cig-single-church .cig-sidebar-editor-btn:focus-visible {
    background: #f3ece6;
    border-color: rgba(103, 81, 61, 0.26);
    transform: translateY(-1px);
}

.cig-single-church .cig-sidebar-editor-btn--link:hover,
.cig-single-church .cig-sidebar-editor-btn--link:focus-visible {
    background: transparent;
    border-color: transparent;
    color: var(--uf-primary-deep);
}

.cig-single-church .cig-section-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.15rem;
    padding: 0.38rem 0.78rem;
    border-radius: 999px;
    border: 1px solid rgba(129, 116, 103, 0.14);
    background: rgba(255, 255, 255, 0.82);
    color: #5c5148;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.cig-single-church .cig-section-action-btn:hover,
.cig-single-church .cig-section-action-btn:focus-visible {
    background: #f4ede7;
    border-color: rgba(103, 81, 61, 0.26);
    transform: translateY(-1px);
}

.cig-single-church .cig-section-action-btn--primary {
    background: var(--uf-primary-deep);
    border-color: var(--uf-primary-deep);
    color: #fff;
}

.cig-single-church .cig-section-action-btn--primary:hover,
.cig-single-church .cig-section-action-btn--primary:focus-visible {
    background: #4a3626;
    border-color: #4a3626;
    color: #fff;
}

.cig-single-church .cig-section-action-btn--subtle {
    background: #fbf8f5;
    color: #5e554d;
}

.cig-single-church .cig-section-action-btn--full {
    width: 100%;
    margin-top: 10px;
}

@media (min-width: 641px) and (max-width: 979px) {
    .cig-single-church .cig-hero-primary-actions {
        width: auto;
        min-width: 0;
    }

    .cig-single-church .cig-hero-quick-action {
        flex: 0 1 auto;
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .cig-single-church .cig-hero-actions-container {
        width: 100%;
        display: flex;
        align-items: stretch;
        gap: 0.55rem;
    }

    .cig-single-church .cig-hero-primary-actions,
    .cig-single-church .cig-hero-actions {
        min-width: 0;
    }

    .cig-single-church .cig-hero-actions--primary-1:not(.cig-hero-actions--with-favorite) .cig-hero-primary-actions {
        display: block;
    }

    .cig-single-church .cig-hero-actions--primary-2:not(.cig-hero-actions--with-favorite) .cig-hero-primary-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 0.55rem;
    }

    .cig-single-church .cig-hero-actions--with-favorite.cig-hero-actions--primary-1 {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cig-single-church .cig-hero-actions--with-favorite.cig-hero-actions--primary-1 .cig-hero-primary-actions,
    .cig-single-church .cig-hero-actions--with-favorite.cig-hero-actions--primary-1 .cig-hero-actions {
        display: block;
        width: 100%;
    }

    .cig-single-church .cig-hero-actions--with-favorite.cig-hero-actions--primary-2 {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cig-single-church .cig-hero-actions--with-favorite.cig-hero-actions--primary-2 .cig-hero-primary-actions {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .cig-single-church .cig-hero-actions--with-favorite.cig-hero-actions--primary-2 .cig-hero-actions {
        width: 100%;
        grid-column: 1 / -1;
    }

    .cig-single-church .cig-hero-quick-action,
    .cig-single-church .cig-hero-actions .btn-set-favorite {
        width: 100%;
        min-width: 0;
        margin: 0;
        justify-content: center;
    }

    .cig-single-church .cig-hero-user-guide {
        font-size: 0.84rem;
    }

    .cig-single-church .cig-hero-footnotes {
        align-items: flex-start;
    }

	.cig-single-church .cig-hero-meta {
		display: none;
	}
}
