/*
 * 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-pill-nav {
    align-items: flex-start;
    border-bottom: 1px solid #dfe5e8;
    display: flex;
    gap: .9rem 1.25rem;
    margin-bottom: 2.25rem;
    padding: .15rem 0 1.25rem;
}

.josephs-pill-nav-label {
    color: #262626;
    flex: 0 0 auto;
    font-size: .9rem;
    font-weight: 600;
    padding: .38rem 0;
}

.josephs-pill-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    min-width: 0;
}

.josephs-pill-nav-links a {
    background: #fff;
    border: 1px solid #cfdadd;
    border-radius: 2rem;
    color: #007f7a;
    font-size: .9rem;
    line-height: 1.25;
    padding: .38rem .75rem;
}

.josephs-pill-nav-links a:hover,
.josephs-pill-nav-links a:focus {
    background: #edfafa;
    border-color: #00b5ad;
    color: #006f6a;
}

.josephs-pill-nav-links a:focus-visible,
.josephs-linked-row:focus-visible {
    outline: 3px solid rgba(14, 159, 240, .4);
    outline-offset: 2px;
}

.josephs-linked-list-section {
    margin-top: 2.75rem;
    scroll-margin-top: 1.5rem;
}

.josephs-linked-list-section:first-child,
.josephs-linked-list-groups > .josephs-linked-list-section:first-child {
    margin-top: 0;
}

.josephs-linked-list-title.ui.header {
    border-bottom: 2px solid #dff3f2;
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 0;
    padding-bottom: .7rem;
}

.josephs-linked-list {
    border-bottom: 1px solid #dfe5e8;
}

.josephs-linked-row {
    align-items: center;
    border-top: 1px solid #dfe5e8;
    color: #262626;
    display: flex;
    font-size: 1.02rem;
    font-weight: 500;
    gap: 1rem;
    justify-content: space-between;
    line-height: 1.4;
    min-height: 3.5rem;
    padding: .9rem .85rem;
    transition: background-color 120ms ease, color 120ms ease;
}

.josephs-linked-row:first-child {
    border-top: 0;
}

.josephs-linked-row:hover,
.josephs-linked-row:focus {
    background: #f6fafb;
    color: #007f7a;
}

.josephs-linked-row > span {
    min-width: 0;
}

.josephs-linked-row > .icon {
    color: #00b5ad;
    flex: 0 0 auto;
    margin: 0;
}

.josephs-prose p,
.josephs-prose li {
    font-size: 1.03rem;
    line-height: 1.65;
}

.josephs-prose p {
    margin: 0 0 1rem;
}

.josephs-prose ul,
.josephs-prose ol {
    margin: .75rem 0 1.25rem;
    padding-left: 2rem;
}

.josephs-prose li + li {
    margin-top: .45rem;
}

.josephs-prose a {
    text-decoration: underline;
}

.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-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;
    display: block;
    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-pill-nav {
		display: block;
	}

	.josephs-pill-nav-label {
		display: block;
		padding: 0 0 .65rem;
	}

	.josephs-pill-nav-links {
		gap: .45rem;
	}

	.josephs-pill-nav-links a {
		font-size: .85rem;
		max-width: 100%;
	}

	.josephs-linked-list-section {
		margin-top: 2.25rem;
	}

	.josephs-linked-list-title.ui.header {
		font-size: 1.25rem;
	}

	.josephs-linked-row {
		font-size: 1rem;
		min-height: 3.75rem;
		padding: .95rem .65rem;
	}

	.josephs-prose ul,
	.josephs-prose ol {
		padding-left: 1.4rem;
	}

	.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;
    }
}
.josephs-visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
