/*
Theme Name: Guia de São Carlos
Description: Tema do portal local de comércio, serviços e agenda em São Carlos, SP.
Version: 1.0.2
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: guia-sc
*/

:root {
    --gsc-font-title: "Bricolage Grotesque";
    --gsc-font-text: "Figtree";
    --gsc-ink: #191637;
    --gsc-muted: #605a74;
    --gsc-accent: #573bd5;
    --gsc-accent-strong: #452ab8;
    --gsc-dark: #24204d;
    --gsc-lavender: #f3f0ff;
    --gsc-page: #f1f0f9;
    --gsc-line: #e8e4f1;
    --gsc-white: #fff;
    --gsc-shadow: 0 14px 45px #2d215d0f;
    --gsc-wide: 1280px;
    --gsc-inner: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
body {
    margin: 0;
    color: var(--gsc-ink);
    background: radial-gradient(ellipse at 50% 0%, #e5edff 0%, var(--gsc-page) 52%, #f7f5fb 100%);
    font: 400 1rem/1.55 var(--gsc-font-text);
    -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
a { color: var(--gsc-accent-strong); text-underline-offset: .2em; }
a:hover { color: var(--gsc-dark); }
img { display: block; max-width: 100%; height: auto; }
input, select, textarea, button { font: inherit; }
button, input[type=button], input[type=submit], input::file-selector-button { font-weight: 600; }
input::file-selector-button { font-family: inherit; }
button { cursor: pointer; }
p, figure { margin: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--gsc-ink); line-height: 1.08; letter-spacing: -.033em; }
h1, h2, h3, .gsc-brand strong { font-family: var(--gsc-font-title); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
h1 { font-size: clamp(2.45rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.35vw, 3.05rem); }
h3 { font-size: 1.2rem; }
:focus-visible { outline: 3px solid #8258fa; outline-offset: 4px; }
#conteudo:focus { outline: 0; }
.gsc-skip { position: fixed; z-index: 2000; top: 12px; left: 12px; transform: translateY(-180%); padding: .6rem 1rem; background: #fff; border-radius: 8px; }
.gsc-skip:focus { transform: none; }
.gsc-site {
    width: min(calc(100% - 48px), var(--gsc-wide));
    margin: 22px auto 30px;
    padding: 0 14px;
    background: var(--gsc-white);
    border: 1px solid #fff;
    border-radius: 31px;
    box-shadow: 0 24px 90px #2e226b13;
}
.gsc-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    width: min(100% - 44px, var(--gsc-inner));
    margin: auto;
    min-height: 76px;
}
.gsc-brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--gsc-ink); flex-shrink: 0; }
.gsc-brand__marker { position: relative; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, #7962f2, #3d269f); box-shadow: 0 5px 15px #6044d037; }
.gsc-brand__marker::before { content: ""; position: absolute; width: 17px; height: 17px; top: 8px; left: 10px; border: 2px solid white; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.gsc-brand__marker::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #fff; position: absolute; top: 14px; left: 16.5px; }
.gsc-brand__micro { display: block; line-height: 1; font-size: .65rem; letter-spacing: .18em; color: var(--gsc-accent-strong); font-weight: 400; }
.gsc-brand strong { display: block; margin-top: 2px; font-size: 1.23rem; }
.custom-logo { max-width: min(180px, 40vw); max-height: 56px; width: auto; object-fit: contain; }
.gsc-nav-list { display: flex; align-items: center; gap: clamp(.9rem, 2.65vw, 2.3rem); list-style: none; padding: 0; margin: 0; }
.gsc-nav-list a, .gsc-header__login { color: var(--gsc-ink); text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.gsc-nav-list a:hover, .gsc-nav-list a[aria-current=page] { color: var(--gsc-accent-strong); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.gsc-header__actions { display: flex; align-items: center; flex-shrink: 0; gap: 1rem; }
.gsc-header .gsc-button { min-height: 43px; padding: .58rem .95rem; font-size: .88rem; }
.gsc-menu-toggle { align-self: center; min-height: 43px; background: #fff; border: 1px solid var(--gsc-line); border-radius: 12px; color: var(--gsc-dark); padding: .5rem .7rem; }

.gsc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 46px;
    max-width: 100%;
    padding: .72rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(120deg, #6346df, #452ab8);
    box-shadow: 0 8px 18px #4b2eb92b;
    text-align: center;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.15;
}
.gsc-button:hover { color: #fff; background: #36218c; }
.gsc-button--dark { background: linear-gradient(120deg, #31275d, #211b46); box-shadow: 0 8px 18px #2d225b25; }
.gsc-button--outline { background: #fff; color: var(--gsc-accent-strong); border-color: #d9cff7; box-shadow: none; }
.gsc-button--outline:hover { background: var(--gsc-lavender); color: var(--gsc-dark); }
.gsc-button--white { background: #fff; color: var(--gsc-dark); box-shadow: none; }
.gsc-button--white:hover { background: #eee9ff; color: var(--gsc-dark); }

.gsc-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-content: space-between;
    min-height: 560px;
    padding: clamp(38px, 5.5vw, 80px) clamp(30px, 5.35vw, 76px) 52px;
    overflow: hidden;
    border-radius: 24px;
    background-color: #211a49;
}
.gsc-hero__image, .gsc-hero::after { position: absolute; z-index: -1; inset: 0; }
.gsc-hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.gsc-hero::after { content: ""; background: linear-gradient(90deg, #201843fa 1%, #241b48e8 25%, #2a21578a 53%, #2c214220 100%), linear-gradient(0deg, #140f3295 0%, #1e184300 50%); }
.gsc-hero__content { align-self: start; position: relative; max-width: 700px; margin-bottom: 37px; }
.gsc-place {
    display: inline-flex; align-items: center; gap: .55rem;
    color: #f5edff; background: #ffffff17; border: 1px solid #ffffff45;
    border-radius: 999px; padding: .42rem .78rem; font-size: .86rem;
}
.gsc-pin { width: 12px; height: 12px; border-radius: 50% 50% 50% 0; border: 2px solid #cbb8ff; rotate: -45deg; }
.gsc-hero h1 { color: #fff; margin: 20px 0 15px; font-size: clamp(3rem, 5.5vw, 4.55rem); }
.gsc-hero h1 em { color: #d5c4ff; font-style: normal; }
.gsc-hero__content > p:last-child { max-width: 460px; color: #f0e9fa; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.45; }
.gsc-hero__credit { position: absolute; right: 18px; bottom: 11px; color: white; border-radius: 5px; background: #19142bdc; font-size: .75rem; padding: .13rem .4rem; }
.gsc-hero__credit:hover { color: #e3d8ff; }
.gsc-search {
    width: 100%;
    display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--gsc-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--gsc-shadow);
}
.gsc-search--hero { width: min(100%, 920px); justify-self: center; border-radius: 999px; box-shadow: 0 12px 33px #160f4c51; }
.gsc-search--directory { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 0 0 26px; }
.gsc-search label { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: .12rem 1.1rem; border-right: 1px solid var(--gsc-line); }
.gsc-search label:last-of-type { border-right: 0; }
.gsc-search label span { font-size: .82rem; color: var(--gsc-muted); }
.gsc-search input, .gsc-search select { width: 100%; min-width: 0; border: 0; border-radius: 5px; padding: 2px 0; color: var(--gsc-ink); background: white; font-size: 1rem; }
.gsc-search input::placeholder { color: #615978; opacity: 1; }
.gsc-search button { min-width: 124px; border-radius: 14px; }
.gsc-search--hero button { border-radius: 999px; padding-inline: clamp(.9rem, 2.6vw, 2.2rem); min-height: 54px; }
.gsc-search--hero button::before { content: ""; display: inline-block; width: 13px; height: 13px; border: 2px solid currentColor; border-radius: 50%; box-shadow: 5px 5px 0 -4px currentColor; }

.gsc-home-content, .gsc-content, .gsc-footer { width: min(calc(100% - 44px), var(--gsc-inner)); margin: auto; }
.gsc-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin: 20px 0 54px; }
.gsc-shortcut {
    display: flex; align-items: center; gap: .82rem; padding: .9rem 1rem; min-height: 82px;
    border: 1px solid var(--gsc-line); border-radius: 17px; background: linear-gradient(152deg, #faf8ff, white 70%);
    text-decoration: none; color: var(--gsc-ink); box-shadow: 0 8px 18px #2d215d09;
}
.gsc-shortcut:hover, .gsc-category:hover { border-color: #bfb1ee; box-shadow: 0 12px 25px #44319318; color: var(--gsc-ink); }
.gsc-shortcut strong, .gsc-category strong { display: block; font-size: 1rem; font-weight: 600; line-height: 1.2; }
.gsc-shortcut small, .gsc-category small { display: block; margin-top: .25rem; font-size: .88rem; color: var(--gsc-muted); line-height: 1.3; }
.gsc-glyph { display: grid; place-content: center; flex: 0 0 auto; width: 47px; height: 47px; border-radius: 13px; color: #4c30b1; background: #ede6ff; font-size: 1.7rem; line-height: 1; }
.gsc-glyph--blue { color: #284d9f; background: #e5efff; }
.gsc-glyph--pink { color: #8f2c85; background: #f9e7fb; }
.gsc-glyph--orange { color: #ad4723; background: #ffede6; }
.gsc-glyph--green { color: #1d6c51; background: #dcf5e8; }
.gsc-glyph--yellow { color: #85660d; background: #fff3d4; }
.gsc-home-section { margin-bottom: clamp(38px, 5.2vw, 74px); }
.gsc-intro { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(27px, 6.8vw, 96px); }
.gsc-intro__copy { padding: 6px 0; }
.gsc-kicker { color: var(--gsc-accent-strong); font-size: .82rem; letter-spacing: .105em; text-transform: uppercase; margin-bottom: .6rem; }
.gsc-intro h2 { font-size: clamp(2rem, 4vw, 3.27rem); }
.gsc-intro__copy > p:not(.gsc-kicker) { color: var(--gsc-muted); max-width: 415px; margin: 1.1rem 0 1.4rem; }
.gsc-intro__image { position: relative; overflow: hidden; border-radius: 23px; background: var(--gsc-lavender); }
.gsc-intro__image img { aspect-ratio: 16 / 9.5; width: 100%; object-fit: cover; object-position: center 53%; }
.gsc-intro__image figcaption { position: absolute; right: 12px; bottom: 10px; font-size: .78rem; }
.gsc-intro__image figcaption a { display: inline-block; background: #1b173ee8; color: white; border-radius: 6px; padding: .2rem .5rem; }
.gsc-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 18px; }
.gsc-section-heading h2 { font-size: clamp(1.86rem, 3.8vw, 2.85rem); }
.gsc-text-link { display: inline-flex; align-items: center; min-height: 38px; font-size: .91rem; text-align: right; flex-shrink: 0; }
.gsc-category-grid, .gsc-card-grid, .gsc-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }
.gsc-category {
    color: var(--gsc-ink); display: flex; align-items: center; gap: .9rem; min-height: 101px; padding: 16px;
    border: 1px solid var(--gsc-line); border-radius: 16px; text-decoration: none; background: linear-gradient(155deg,#f9f7ff,#fff 69%);
}
.gsc-category--orange { background: linear-gradient(155deg,#fff7ef,#fff 70%); }
.gsc-category--pink { background: linear-gradient(155deg,#fcf2fa,#fff 70%); }
.gsc-category--blue { background: linear-gradient(155deg,#eef3ff,#fff 70%); }
.gsc-category--green { background: linear-gradient(155deg,#eef9f4,#fff 70%); }
.gsc-category--yellow { background: linear-gradient(155deg,#fff9e7,#fff 70%); }
.gsc-card { background: #fff; border: 1px solid var(--gsc-line); border-radius: 18px; overflow: hidden; box-shadow: var(--gsc-shadow); }
.gsc-card__cover { display: grid; place-content: center; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(120deg, #ede6ff, #e9f1ff); color: var(--gsc-accent); font-size: 3rem; text-decoration: none; }
.gsc-card__cover:has(img) { display: block; }
.gsc-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.gsc-card__body { padding: 1.15rem; }
.gsc-card__body h3, .gsc-event-empty h3, .gsc-panel h3 { font-family: var(--gsc-font-text); font-weight: 600; }
.gsc-card__body h3 a { color: var(--gsc-ink); }
.gsc-card__body > p:last-child { margin-top: .4rem; color: var(--gsc-muted); }
.gsc-event-empty {
    display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 1rem;
    border: 1px solid #e7dffb; background: linear-gradient(120deg,#f7f3ff,#fff); border-radius: 18px; padding: clamp(18px, 3vw, 31px);
}
.gsc-event-empty p { margin-top: .4rem; color: var(--gsc-muted); }
.gsc-steps { counter-reset: gsc-step; list-style: none; padding: 0; margin: 0; }
.gsc-steps li {
    display: grid; position: relative; align-content: center; gap: .3rem; min-height: 114px; padding: 16px 14px 16px 69px;
    border-radius: 18px; border: 1px solid var(--gsc-line); background: #fff; box-shadow: 0 7px 18px #2d215d0a;
}
.gsc-steps li::before {
    counter-increment: gsc-step; content: counter(gsc-step); position: absolute; top: 50%; left: 16px; translate: 0 -50%;
    display: grid; place-content: center; width: 39px; height: 39px; border-radius: 50%;
    background: linear-gradient(130deg,#8f71ff,#4326b5); color: white;
}
.gsc-steps strong { font-size: 1.05rem; line-height: 1.2; font-weight: 600; }
.gsc-steps span { color: var(--gsc-muted); font-size: .91rem; line-height: 1.3; }
.gsc-cta {
    position: relative; isolation: isolate; overflow: hidden;
    margin: 0 0 35px; padding: clamp(24px, 4vw, 46px); border-radius: 21px;
    display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
    background: linear-gradient(118deg, #24194f 5%, #4e32b2 72%, #7553db);
}
.gsc-cta::after {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45;
    background: linear-gradient(90deg, #261b51 13%, #2d1b55 43%, #4f33a500 95%), url('assets/images/praca-xv.webp') center 64% / cover;
}
.gsc-cta h2 { color: white; font-size: clamp(1.65rem, 3.2vw, 2.5rem); }
.gsc-cta p { margin-top: .5rem; color: #f6f0ff; }
.gsc-cta .gsc-button { flex-shrink: 0; }

.gsc-content { min-height: 54vh; padding: 32px 0 clamp(55px, 6vw, 90px); }
.gsc-content--narrow { width: min(100% - 36px, 710px); }
.gsc-breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; color: var(--gsc-muted); margin-bottom: 23px; font-size: .87rem; }
.gsc-page-head { padding: clamp(24px, 4vw, 48px); background: linear-gradient(130deg, #f0ebff, #f8f7fc 75%); border-radius: 21px; margin: 0 0 24px; }
.gsc-page-head h1 { font-size: clamp(2.25rem, 5.3vw, 4.25rem); text-wrap: balance; }
.gsc-page-head > p:not(.gsc-kicker) { color: var(--gsc-muted); margin-top: .7rem; }
.gsc-entry { overflow-wrap: anywhere; max-width: 100%; }
.gsc-entry > p, .gsc-entry > ul, .gsc-entry > ol, .gsc-entry > h2, .gsc-entry > h3 { margin-block: 1rem; }
.gsc-entry > h2 { margin-top: 2rem; }
.gsc-page .gsc-entry > p:not(.gsc-notice) { max-width: 75ch; }
.gsc-entry-cover { border-radius: 18px; max-height: 550px; width: min(100%, 860px); object-fit: cover; margin: 0 0 23px; }
.gsc-empty, .gsc-panel {
    padding: clamp(20px, 3.2vw, 35px); border-radius: 18px; border: 1px solid var(--gsc-line);
    background: #fbf9ff; margin-bottom: 22px;
}
.gsc-empty h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
.gsc-empty > p, .gsc-panel > p { color: var(--gsc-muted); margin-block: .65rem 1rem; }
.gsc-panel h2 { font-size: clamp(1.4rem, 2.9vw, 2rem); margin-bottom: .6rem; }
.gsc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; margin-block: .85rem; }
.gsc-form { display: grid; gap: 1rem; width: min(100%, 780px); padding: 1rem 0; }
.gsc-form > .gsc-button { justify-self: start; }
.gsc-form label { display: grid; gap: .35rem; color: var(--gsc-ink); min-width: 0; }
.gsc-form input:not([type=checkbox]):not([type=hidden]), .gsc-form textarea, .gsc-form select {
    width: 100%; min-width: 0; max-width: 100%; min-height: 46px; padding: .65rem .75rem; color: var(--gsc-ink);
    border: 1px solid #cfc7e2; border-radius: 10px; background: #fff;
}
.gsc-form input[type=file] { font-size: .95rem; }
.gsc-form input[type=checkbox] { width: 19px; height: 19px; min-width: 19px; accent-color: var(--gsc-accent); }
.gsc-form .gsc-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .94rem; }
.gsc-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.gsc-fields { margin: 1rem 0; border: 1px solid var(--gsc-line); padding: 1rem; display: grid; gap: .9rem; border-radius: 10px; min-width: 0; }
.gsc-help { color: var(--gsc-muted); font-size: .88rem; }
.gsc-honeypot { position: absolute !important; clip-path: inset(100%); width: 1px; height: 1px; overflow: hidden; }
.gsc-notice { background: #eee7ff; border-left: 4px solid #694cd6; padding: .9rem 1rem; border-radius: 8px; margin: 0 0 1rem; }
.gsc-dashboard-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,245px),1fr)); gap: 15px; margin: 1rem 0; }
.gsc-profile { display: grid; grid-template-columns: minmax(0,1fr) minmax(240px, .48fr); align-items: start; gap: 26px; }
.gsc-gallery, .gsc-gallery-edit { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); }
.gsc-gallery img, .gsc-gallery-edit img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.gsc-gallery-edit .gsc-check { display: grid; }
.gsc-pagination { margin-block: 1.2rem; }
.page-numbers { color: var(--gsc-accent-strong); }
ul.page-numbers { display: flex; flex-wrap: wrap; gap: .8rem; padding-inline-start: 0; list-style: none; }
.gsc-map { position: relative; z-index: 1; min-height: 390px; border-radius: 16px; background: var(--gsc-lavender); margin-block: 1rem 1.5rem; }

.gsc-footer { border-top: 1px solid var(--gsc-line); padding: 27px 0 22px; }
.gsc-footer__main { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-bottom: 25px; }
.gsc-footer__main p { color: var(--gsc-muted); font-size: .91rem; margin-top: .5rem; }
.gsc-footer__main ul { flex-wrap: wrap; }
.gsc-footer__bottom { display: flex; justify-content: space-between; align-items: start; gap: .7rem; color: var(--gsc-muted); font-size: .86rem; border-top: 1px solid var(--gsc-line); padding-top: 13px; }
.gsc-consent { max-width: 420px; }
.gsc-consent button { min-height: 32px; background: transparent; color: var(--gsc-accent-strong); border: none; text-decoration: underline; padding-inline: .25rem; }
.gsc-consent button[data-gsc-decision] { text-decoration: none; border: 1px solid #d1c6f5; border-radius: 7px; padding: .35rem .65rem; margin-top: .4rem; }

.gsc-home-shortcut {
    width: min(calc(100% - 44px), var(--gsc-inner));
    margin: 0 auto .75rem;
    padding: .375rem .75rem;
    border: 1px solid var(--gsc-line);
    border-radius: 12px;
    background: var(--gsc-lavender);
    font-size: .94rem;
}
.gsc-home-shortcut__summary, .gsc-home-shortcut__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 .75rem;
}
.gsc-home-shortcut__summary { justify-content: space-between; }
.gsc-home-shortcut__actions button {
    min-height: 44px;
    padding: 0 .25rem;
    background: transparent;
    border: 0;
    color: var(--gsc-muted);
}
.gsc-home-shortcut__actions .gsc-home-shortcut__toggle {
    color: var(--gsc-accent-strong);
    text-decoration: underline;
    text-underline-offset: .2em;
}
.gsc-home-shortcut__steps { border-top: 1px solid var(--gsc-line); padding: .7rem .25rem .45rem; }
.gsc-home-shortcut__steps p { margin-bottom: .65rem; }
.gsc-home-shortcut__steps ol { margin: .3rem 0 0; padding-inline-start: 1.3rem; }
.gsc-home-shortcut__steps li + li { margin-top: .3rem; }

@media (max-width: 1060px) {
    .gsc-header__actions { gap: .6rem; }
    .gsc-shortcut { padding: .65rem; gap: .55rem; }
    .gsc-shortcut .gsc-glyph { width: 39px; height: 39px; }
}
@media (max-width: 900px) {
    .gsc-header { flex-wrap: wrap; gap: .65rem 1rem; padding-block: 12px; min-height: 0; }
    .gsc-header__actions { margin-left: auto; }
    .gsc-menu-toggle { margin-left: auto; }
    .gsc-primary-nav { order: 3; width: 100%; }
    .gsc-primary-nav .gsc-nav-list { flex-wrap: wrap; gap: .4rem 1.4rem; padding: .55rem 0; }
    .gsc-primary-nav a { display: inline-flex; min-height: 38px; align-items: center; }
    .gsc-hero { min-height: 472px; }
    .gsc-shortcuts { grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 38px; }
    .gsc-search label { padding-inline: .65rem; }
    .gsc-search button { min-width: 90px; }
}
@media (max-width: 660px) {
    .gsc-site { width: 100%; margin: 0; padding: 0 9px; border: 0; border-radius: 0; }
    html { scrollbar-gutter: auto; }
    .gsc-header, .gsc-home-content, .gsc-content, .gsc-footer, .gsc-home-shortcut { width: calc(100% - 18px); }
    .gsc-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
    .gsc-header__actions { grid-column: 1 / -1; width: 100%; justify-content: space-between; margin-left: 0; }
    .gsc-header__actions .gsc-button { min-height: 42px; }
    .gsc-menu-toggle { grid-column: 2; grid-row: 1; }
    .gsc-primary-nav { grid-column: 1 / -1; }
    .gsc-hero { min-height: 0; padding: 31px 15px 38px; border-radius: 17px; }
    .gsc-hero__image img { object-position: 59% center; }
    .gsc-hero::after { background: linear-gradient(110deg,#1c1640f1 0%, #291c50cb 56%, #20193c8a 100%); }
    .gsc-hero__content { margin-bottom: 23px; }
    .gsc-desktop-break { display: none; }
    .gsc-hero h1 { font-size: clamp(2.55rem, 10.2vw, 3.65rem); margin-block: 13px 11px; text-wrap: initial; }
    .gsc-hero__content > p:last-child { font-size: 1rem; }
    .gsc-search, .gsc-search--directory { grid-template-columns: repeat(2,minmax(0, 1fr)); border-radius: 15px; padding: 8px; gap: 7px; }
    .gsc-search label { min-height: 45px; padding: 2px .4rem; border: 0; }
    .gsc-search__term, .gsc-search button { grid-column: 1 / -1; }
    .gsc-search__term { border-bottom: 1px solid var(--gsc-line) !important; padding-bottom: 6px !important; }
    .gsc-search--hero button { min-height: 42px; border-radius: 10px; }
    .gsc-hero__credit { right: 13px; bottom: 9px; }
    .gsc-shortcuts { gap: 7px; margin-top: 12px; }
    .gsc-shortcut { padding: .6rem .45rem; min-height: 68px; gap: .45rem; border-radius: 12px; }
    .gsc-shortcut strong { font-size: .91rem; }
    .gsc-shortcut small { font-size: .8rem; }
    .gsc-shortcut .gsc-glyph { width: 32px; height: 32px; border-radius: 9px; font-size: 1.25rem; }
    .gsc-intro { grid-template-columns: 1fr; gap: 18px; }
    .gsc-intro__image img { aspect-ratio: 4 / 2.65; }
    .gsc-intro__copy > p:not(.gsc-kicker) { margin-block: .7rem 1rem; }
    .gsc-section-heading { align-items: start; gap: .45rem; flex-direction: column; margin-bottom: 13px; }
    .gsc-text-link { min-height: 30px; text-align: left; }
    .gsc-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .gsc-category { align-items: start; flex-direction: column; min-height: 123px; padding: .75rem; gap: .55rem; }
    .gsc-category .gsc-glyph { width: 34px; height: 34px; font-size: 1.24rem; border-radius: 9px; }
    .gsc-category small { font-size: .85rem; }
    .gsc-card-grid, .gsc-steps, .gsc-form-grid, .gsc-profile { grid-template-columns: 1fr; gap: 12px; }
    .gsc-event-empty { grid-template-columns: auto minmax(0, 1fr); }
    .gsc-event-empty .gsc-button { grid-column: 1 / -1; justify-self: start; }
    .gsc-steps li { min-height: 82px; }
    .gsc-cta { flex-wrap: wrap; }
    .gsc-cta .gsc-button { flex-shrink: 1; }
    .gsc-footer__main, .gsc-footer__bottom { flex-direction: column; align-items: flex-start; }
    .gsc-footer__main ul { gap: .55rem 1rem; }
}
@media (max-width: 350px) {
    .gsc-shortcut { align-items: flex-start; flex-direction: column; }
    .gsc-search select { font-size: .9rem; }
}
@media (prefers-reduced-motion: no-preference) {
    .gsc-button, .gsc-category, .gsc-shortcut { transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease; }
}
