/*
Theme Name: CCustom Shopical Child
Template: shopical
Version: 1.1.0
Text Domain: ccustom-shopical-child
*/

.account-user > a > .ccustom-account-label {
    font-size: 13px;
    line-height: 19px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

:is(.page-id-6, .page-id-7) .site-main article.page > .entry-header {
    display: none;
}

:is(.page-id-6, .page-id-7) .site-main article.page > .entry-content {
    margin-top: 0;
    padding: 0;
}

.cc-info {
    --cc-ink: #191a1e;
    --cc-muted: #51545d;
    --cc-line: #dfe1e5;
    --cc-accent: #a2202c;
    color: var(--cc-ink);
    margin: 0 auto 3.5rem;
    max-width: 1240px;
}

.cc-info :is(h1, h2, h3, p, figure, address, dl) {
    color: inherit;
    margin: 0;
}

.cc-info h1 {
    font-size: clamp(2.25rem, 4.2vw, 4rem);
    line-height: 1.05;
    letter-spacing: -.045em;
    font-weight: 800;
}

.cc-info h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    line-height: 1.2;
    letter-spacing: -.025em;
}

.cc-info h3 {
    font-size: 1.16rem;
    line-height: 1.25;
}

.cc-info p,
.cc-info dd {
    color: var(--cc-muted);
}

.cc-info-hero {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: center;
    gap: clamp(1.25rem, 4vw, 3rem);
    padding: clamp(1.25rem, 4vw, 3.5rem);
    border: 1px solid var(--cc-line);
    border-radius: 12px;
    background: linear-gradient(120deg, #f9f9fa, #e8eaed);
}

.cc-info-hero > div:first-child {
    display: grid;
    gap: .85rem;
}

.cc-info .cc-info-kicker {
    color: var(--cc-accent);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .085em;
    text-transform: uppercase;
}

.cc-info-lead {
    max-width: 49ch;
    font-size: clamp(1rem, 1.55vw, 1.18rem);
}

.cc-info-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.cc-info a {
    color: var(--cc-accent);
    text-underline-offset: .18em;
}

.cc-info a:focus-visible {
    outline: 3px solid var(--cc-accent);
    outline-offset: 3px;
}

.cc-info a.cc-info-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .65rem .9rem;
    border: 1px solid var(--cc-accent);
    border-radius: 5px;
    color: #fff;
    background: var(--cc-accent);
    font-weight: 750;
    line-height: 1.3;
    text-decoration: none;
}

.cc-info a.cc-info-button--secondary {
    border-color: #a4a7ad;
    color: var(--cc-ink);
    background: #fff;
}

.cc-info a.cc-info-button:hover {
    color: #fff;
    background: #711620;
}

.cc-info-location {
    padding: clamp(1.15rem, 3vw, 2rem);
    border-radius: 8px;
    color: #fff;
    background: #202126;
}

.cc-info-location address {
    margin: .75rem 0;
    color: #ececf0;
    font-style: normal;
    font-size: 1.09rem;
}

.cc-info-location a {
    color: #fff;
}

.cc-info-location a:focus-visible {
    outline-color: #fff;
}

.cc-info-photo img {
    display: block;
    width: 100%;
    max-height: 300px;
    height: auto;
    object-fit: contain;
}

.cc-info-section,
.cc-info-contact-grid,
.cc-info-end {
    margin-top: clamp(1.25rem, 3vw, 2.5rem);
}

.cc-info :is(section, article)[id] {
    scroll-margin-top: 5rem;
}

.cc-info-contact-grid,
.cc-info-services {
    display: grid;
    gap: 1rem;
}

.cc-info-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cc-info-services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1rem;
}

.cc-info-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .7rem;
    min-width: 0;
    padding: clamp(1rem, 2.2vw, 1.65rem);
    border: 1px solid var(--cc-line);
    border-radius: 8px;
    background: #fff;
}

.cc-info-services .cc-info-panel > a {
    margin-top: auto;
    font-weight: 700;
}

.cc-info-hours {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
}

.cc-info-hours :is(th, td) {
    border: 0;
    border-bottom: 1px solid var(--cc-line);
    padding: .45rem .2rem;
    background: transparent;
}

.cc-info-hours th {
    text-align: left;
}

.cc-info-hours td {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.cc-info-topics dt {
    font-weight: 750;
}

.cc-info-topics dd {
    margin: .2rem 0 .9rem;
}

.cc-info .cc-info-links {
    padding-left: 1.1rem;
    margin: 0;
}

.cc-info-links li + li {
    margin-top: .3rem;
}

.cc-info-end {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .8rem;
    padding: clamp(1rem, 3vw, 2rem);
    border-radius: 8px;
    background: #f4f5f6;
}

.cc-info-end p {
    margin-top: .35rem;
}

@media (max-width: 900px) {
    .cc-info-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 670px) {
    .cc-info-hero,
    .cc-info-contact-grid,
    .cc-info-services {
        grid-template-columns: 1fr;
    }

    .cc-info-photo img {
        max-height: 210px;
    }
}
