/*
 * Josephs.Scot V2 visual layer.
 * Semantic UI owns grids, cards, segments, statistics, buttons, icons and
 * responsive stacking. These rules add only the shared brand treatment.
 */

.josephs-hero.ui.basic.segment {
    padding-bottom: 0;
    padding-top: 2rem;
}

.josephs-hero-title.ui.header {
    font-weight: 600;
}

.josephs-hero-desc {
    color: #454545;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.55;
    max-width: 38rem;
}

.josephs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.6rem;
}

.josephs-hero-actions .ui.button {
    margin: 0;
}

.josephs-page.ui.basic.segment {
    padding-bottom: 3rem;
    padding-top: 2.25rem;
}

.josephs-page-compact.ui.basic.segment {
    padding-bottom: 2.5rem;
    padding-top: 1.5rem;
}

.josephs-section-heading.ui.basic.segment {
    margin: 0 auto 2rem;
    max-width: 49rem;
    padding: 0;
}

.josephs-eyebrow.ui.header {
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    margin: 0 0 .5rem;
    text-transform: uppercase;
}

.josephs-section-title.ui.header {
    font-size: 2.1rem;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
}

.josephs-section-title.ui.header .sub.header {
    color: #626262;
    font-size: 1.08rem;
    line-height: 1.6;
    margin-top: .9rem;
}

.josephs-stat-group.ui.cards {
    margin-left: auto;
    margin-right: auto;
    max-width: 46rem;
}

.josephs-stat.ui.card {
    background: #f6fafb;
    border-top: 4px solid #00b5ad;
    box-shadow: 0 3px 12px rgba(22, 55, 72, .07);
}

.josephs-stat.ui.card > .content {
    padding: 1.6rem;
}

.josephs-stat .ui.statistic > .value {
    color: #0e9ff0;
    font-size: 2.8rem;
}

.josephs-stat .ui.statistic > .label {
    color: #626262;
    font-size: 1rem;
    font-weight: 400;
    text-transform: none;
}

.josephs-card.ui.card {
    border-top: 4px solid #00b5ad;
    box-shadow: 0 3px 12px rgba(22, 55, 72, .07);
}

.josephs-card.ui.card > .content {
    padding: 1.55rem;
}

.josephs-card-icon.icon {
    display: block;
    margin-bottom: 1rem;
}

.josephs-card-title.ui.header {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: .65rem;
}

.josephs-card-desc.description {
    color: #626262;
    font-size: 1rem;
    line-height: 1.6;
}

.josephs-card-desc.description p {
    margin-bottom: .8rem;
}

.josephs-card-desc.description p:last-child {
    margin-bottom: 0;
}

.josephs-card-desc.description a,
.josephs-card-link {
    font-weight: 600;
}

.josephs-card-compact.ui.card > .content {
    padding: 1.4rem;
}

.josephs-card-compact .josephs-card-icon.icon {
    margin-bottom: .85rem;
}

.josephs-card-compact .josephs-card-title.ui.header {
    margin-bottom: .55rem;
}

.josephs-card-compact .josephs-card-desc.description {
    font-size: .98rem;
    line-height: 1.5;
    margin-bottom: .85rem;
}

.josephs-card-compact .josephs-card-link {
    color: #008f89;
    text-decoration: underline;
}

.josephs-card-compact .josephs-card-link:hover,
.josephs-card-compact .josephs-card-link:focus {
    color: #006f6a;
}

.josephs-step.ui.card > .content {
    padding: 1.6rem;
}

.josephs-step-number.ui.circular.label {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    min-height: 2.4rem;
    min-width: 2.4rem;
    padding-top: .62rem;
}

.josephs-step.ui.card .header.josephs-step-title {
    font-size: 1.22rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: .7rem;
}

.josephs-step-desc.description {
    color: #626262;
    font-size: 1rem;
    line-height: 1.6;
}

.josephs-person-group.ui.cards {
    margin-left: auto;
    margin-right: auto;
    max-width: 52rem;
}

.josephs-person.ui.card {
    min-height: 13rem;
}

.josephs-person.ui.card > .josephs-person-image {
    align-self: stretch;
    flex: 0 0 10rem;
    min-height: 13rem;
    overflow: hidden;
    position: relative;
    width: 10rem;
}

.josephs-person-photo {
    display: block;
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
}

.josephs-person-content.content {
    align-self: center;
}

.josephs-person-name.ui.header {
    font-weight: 400;
}

.josephs-person-content .meta {
    margin-bottom: 1rem;
}

.josephs-person-content .description a {
    font-weight: 600;
}

.josephs-feature.ui.secondary.segment {
    background: #f6fafb;
    border: 1px solid #d5e9ee;
    padding: 2rem 2.25rem;
}

.josephs-feature .josephs-section-heading.ui.segment {
    margin: 0;
}

.josephs-logo-group.ui.grid {
    margin-left: auto;
    margin-right: auto;
    max-width: 36rem;
}

.josephs-logo.ui.image {
    max-height: 6rem;
    width: auto;
}

.josephs-cta.ui.secondary.segment {
    background: #f6fafb;
    border: 1px solid #d5e9ee;
    padding: 2.25rem;
}

.josephs-cta .josephs-section-heading.ui.segment {
    margin: 0;
}

.josephs-cta .josephs-section-title.ui.header {
    font-size: 1.85rem;
}

.josephs-cta-actions .ui.button {
    margin: 0;
}

.josephs-cta-actions {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: flex-end;
}

@media only screen and (max-width: 767px) {
	.josephs-hero-desc {
		font-size: 1.1rem;
		line-height: 1.5;
	}

	.josephs-hero-actions,
	.josephs-hero-actions .ui.button {
		width: 100%;
	}

	.josephs-hero-actions .ui.button {
		text-align: center;
	}

    .josephs-page.ui.basic.segment {
        padding-bottom: 2.5rem;
        padding-top: 1.5rem;
    }

    .josephs-section-title.ui.header {
        font-size: 1.75rem;
    }

    .josephs-cta.ui.secondary.segment {
        padding: 1.5rem;
    }

    .josephs-cta-actions {
        align-items: stretch;
        flex-direction: column;
        text-align: left;
    }

    .josephs-cta-actions .ui.button {
        text-align: center;
        width: 100%;
    }

    .josephs-person.ui.card > .josephs-person-image {
        flex-basis: auto;
        height: 18rem;
        width: 100%;
    }

    .josephs-person.ui.horizontal.card {
        flex-direction: column;
    }
}
