/* ---------------- LOCATIONS ---------------- */

.info-dashboard-page .block {
    max-width: none;
}

.info-dashboard-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
    border-color: var(--hero-border);
    background: var(--hero-surface);
    box-shadow: var(--hero-shadow);
}

.info-dashboard-hero > div {
    width: 100%;
    text-align: left;
}

.info-dashboard-hero h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1.12;
    text-align: left;
}

.info-dashboard-hero p {
    max-width: 620px;
    margin: 12px 0 0;
    color: var(--text-soft);
    text-align: left;
}

.info-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0 20px;
}

.info-dashboard-grid-single {
    grid-template-columns: minmax(0, 1fr);
}

.info-dashboard-grid > .info-dashboard-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.info-dashboard-card {
    width: 100%;
    min-height: 132px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text);
    background: var(--surface);
    box-shadow: var(--shadow-card);
    text-align: left;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.info-dashboard-card:hover,
.info-dashboard-card:focus-visible {
    transform: translateY(-2px);
    border-color: var(--accent-border);
    box-shadow: var(--shadow-card-hover);
}

.info-dashboard-card:active {
    transform: translateY(0);
    border-color: var(--accent-border-strong);
    background: var(--accent-hover-bg);
    box-shadow: var(--shadow-subtle);
}

.info-dashboard-card-muted {
    background: var(--surface-soft);
}

.info-dashboard-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    border-radius: var(--radius);
    color: var(--on-primary);
    background: var(--icon-gradient);
    font-weight: 900;
}

.info-dashboard-content strong,
.info-dashboard-content small {
    display: block;
}

.info-dashboard-content strong {
    margin-bottom: 7px;
    font-size: 20px;
    line-height: 1.25;
}

.info-dashboard-content small {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.45;
}

.info-dashboard-card,
.info-dashboard-card * {
    text-decoration: none;
}

.info-loading-block,
.info-locations-block,
.info-social-links-block,
.info-support-links-block {
    max-width: none;
}

.info-loading-block {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 112px;
    text-align: center;
}

.info-loading-block p {
    margin: 0;
}

.info-locations-block {
    text-align: center;
}

.info-social-links-block,
.info-support-links-block {
    text-align: center;
}

.info-locations-block .locations {
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.info-empty-block {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 112px;
    text-align: center;
}

.info-empty-block p {
    margin: 0;
}

.locations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.location-card {
    width: 100%;
    flex: 0 1 180px;
    max-width: 180px;
    min-height: 148px;
    padding: 16px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.info-locations-block .location-card {
    width: 188px;
    height: 164px;
    flex: 0 0 188px;
    max-width: none;
    min-height: 0;
    padding: 18px 16px;
    box-shadow: var(--shadow-card);
}

.location-card:hover,
.location-card:focus-visible {
    transform: translateY(-2px);
    background: var(--surface-hover);
    border-color: var(--border-strong);
}

.location-card:active {
    transform: translateY(0);
    background: var(--accent-hover-bg);
    border-color: var(--accent-border-strong);
}

.info-locations-block .location-card:hover,
.info-locations-block .location-card:focus-visible {
    box-shadow: var(--shadow-card-hover);
}

.location-card img {
    width: 70px;
    height: 45px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.info-locations-block .location-card img {
    width: 76px;
    height: 50px;
    flex: 0 0 50px;
    margin-bottom: 14px;
}

.location-card span {
    max-width: 100%;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.location-city {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
}

.social-links,
.support-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, 188px);
    justify-content: center;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.social-link-card,
.support-link-card {
    width: 188px;
    height: 164px;
    padding: 18px 16px;
    color: var(--text);
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    overflow: hidden;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.social-link-card:hover,
.social-link-card:focus-visible,
.support-link-card:hover,
.support-link-card:focus-visible {
    transform: translateY(-2px);
    background: var(--surface-hover);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-card-hover);
}

.social-link-card:active,
.support-link-card:active {
    transform: translateY(0);
    background: var(--accent-hover-bg);
    border-color: var(--accent-border-strong);
    box-shadow: var(--shadow-subtle);
}

.social-link-card img,
.support-link-card img {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    object-fit: contain;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 8px;
}

.social-link-card span,
.support-link-card span {
    max-width: 100%;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
