.sl-branch-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px;
    background: #ededed;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.sl-branch-header {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 34px;
    margin-bottom: 24px;
}

.sl-branch-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: #777;
    font-size: 13px;
}

.sl-branch-breadcrumbs a {
    color: #555;
    text-decoration: none;
}

.sl-branch-breadcrumbs a:hover {
    color: #2e7d32;
}

.sl-branch-label {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: #ecf7ed;
    color: #2e7d32;
    font-size: 13px;
    font-weight: 700;
}

.sl-branch-header h1 {
    margin: 18px 0 12px;
    color: #111;
    font-size: 34px;
    line-height: 1.2;
}

.sl-branch-header p {
    max-width: 880px;
    margin: 0;
    color: #444;
    font-size: 16px;
    line-height: 1.7;
}

.sl-branch-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.sl-branch-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #d9d9d9;
    background: #f8f8f8;
    color: #222;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.sl-branch-links a:hover {
    border-color: #4caf50;
    background: #f3fbf3;
}

.sl-branch-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 24px;
}

.sl-section-head {
    margin-bottom: 20px;
}

.sl-section-head h2,
.sl-seo-text h2 {
    margin: 0 0 8px;
    padding-left: 15px;
    border-left: 5px solid #4caf50;
    color: #111;
    font-size: 22px;
    line-height: 1.3;
}

.sl-section-head p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.sl-card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.sl-card-grid > * {
    flex: 0 0 185px !important;
    width: 185px !important;
}

.sl-category-link-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.sl-category-card {
    display: block;
    min-height: 96px;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid #e1e1e1;
    color: #111 !important;
    text-decoration: none;
    background: #f8f8f8;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.sl-category-card:hover {
    transform: translateY(-2px);
    border-color: #4caf50;
    background: #f3fbf3;
}

.sl-category-card span {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 700;
}

.sl-category-card small {
    display: block;
    color: #555;
    line-height: 1.45;
}

.sl-branch-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.sl-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.sl-mini-grid > * {
    width: 100% !important;
    flex: none !important;
    margin: 0 !important;
}

.sl-seo-text {
    color: #222;
    line-height: 1.75;
}

.sl-seo-text p {
    margin: 16px 0 0;
}

.sl-seo-text a {
    color: #2e7d32;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .sl-category-link-grid,
    .sl-branch-split {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .sl-branch-container {
        padding: 12px;
    }

    .sl-branch-header,
    .sl-branch-section {
        padding: 22px;
    }

    .sl-branch-header h1 {
        font-size: 28px;
    }

    .sl-card-grid > * {
        flex: 0 0 46% !important;
    }

    .sl-category-link-grid,
    .sl-branch-split {
        grid-template-columns: 1fr;
    }

    .sl-mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
