/**
 * Shared layout for India SSR guide / location / SEO landing pages.
 */

.breadcrumb-section {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.88) 0%, rgba(52, 73, 94, 0.88) 100%),
        url('/india/assets/images/practice-areas-services/breadcrumb-bg.jpg') center center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 5.5rem 0 2.5rem;
    min-height: 220px;
}

.breadcrumb-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.breadcrumb-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    font-size: 15px;
    color: #fff;
}

.breadcrumb-list li {
    display: inline-flex;
    align-items: baseline;
    color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-list li a {
    color: #00A7A1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.breadcrumb-list li a:hover {
    color: #FF7F4D;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    margin: 0 0.65rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
}

.guide-page {
    background: #f8fcfc;
    padding: 2.5rem 0 4rem;
}

.guide-page__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.guide-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 992px) {
    .guide-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 2.5rem;
    }
}

.guide-hero {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 2rem 1.75rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(74, 124, 124, 0.12);
    box-shadow: 0 4px 24px rgba(31, 46, 46, 0.06);
}

.guide-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: #d4e3e3;
    color: #4a7c7c;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.guide-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    line-height: 1.2;
    color: #1f2e2e;
    margin: 0 0 1rem;
    font-weight: 700;
}

.guide-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #5f6c7b;
    margin: 0;
    max-width: 720px;
}

.guide-section {
    background: #fff;
    border-radius: 14px;
    padding: 1.75rem 2rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(74, 124, 124, 0.1);
    box-shadow: 0 2px 12px rgba(31, 46, 46, 0.04);
}

.guide-section h2 {
    font-size: 1.2rem;
    color: #4a7c7c;
    margin: 0 0 1rem;
    font-weight: 700;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid #d4e3e3;
}

.guide-section p {
    margin: 0 0 1rem;
    line-height: 1.75;
    color: #374151;
}

.guide-section p:last-child {
    margin-bottom: 0;
}

.guide-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.guide-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid rgba(74, 124, 124, 0.12);
    box-shadow: 0 4px 16px rgba(31, 46, 46, 0.05);
}

.guide-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2e2e;
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.8rem;
    color: #4a7c7c;
}

.guide-card address {
    font-style: normal;
    line-height: 1.65;
    color: #374151;
    margin: 0;
    font-size: 0.95rem;
}

.guide-card address a {
    color: #4a7c7c;
    font-weight: 600;
    text-decoration: none;
}

.guide-card address a:hover {
    color: #ff6b35;
}

.guide-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.guide-links li {
    margin-bottom: 0.5rem;
}

.guide-links a {
    color: #4a7c7c;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}

.guide-links a:hover {
    color: #ff6b35;
}

.guide-links a::before {
    content: '→ ';
    color: #ff6b35;
}

.guide-faq .faq-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e8f0f0;
}

.guide-faq .faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.guide-faq .faq-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2e2e;
    margin: 0 0 0.4rem;
}

.guide-faq .faq-item p {
    margin: 0;
    color: #5f6c7b;
    font-size: 0.95rem;
    line-height: 1.65;
}

.guide-office-block--sep {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e8f0f0;
}

.guide-map-link {
    margin: 0.65rem 0 0;
    font-size: 0.9rem;
}

.guide-phone-note {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 400;
}

.guide-cta {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(135deg, #ff6b35 0%, #ff7f4d 100%);
    color: #fff !important;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
}

.guide-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 107, 53, 0.4);
    color: #fff !important;
}

.guide-cta--secondary {
    background: #fff;
    color: #4a7c7c !important;
    border: 2px solid #4a7c7c;
    box-shadow: none;
    margin-top: 0.65rem;
}

.guide-cta--secondary:hover {
    background: #f0f7f7;
    color: #4a7c7c !important;
    box-shadow: none;
}

.guide-footer-cta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

    .guide-footer-cta a:not(.guide-cta) {
    color: #4a7c7c;
    font-weight: 600;
}

.guide-table-wrap {
    overflow-x: auto;
    margin-top: 1rem;
}

.guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.guide-table th,
.guide-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #e5e7eb;
}

.guide-table th {
    background: #f0f7f7;
    color: #1f2e2e;
    font-weight: 600;
}

.guide-table tr:last-child td {
    border-bottom: none;
}

/* Glossary term grid */
.guide-term-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.guide-term-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.35rem 1.4rem;
    border: 1px solid rgba(74, 124, 124, 0.14);
    border-radius: 12px;
    background: linear-gradient(180deg, #fff 0%, #fafcfc 100%);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.guide-term-card:hover {
    box-shadow: 0 8px 24px rgba(31, 46, 46, 0.08);
    border-color: #4a7c7c;
    transform: translateY(-2px);
}

.guide-term-card h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: #1f2e2e;
    margin: 0 0 0.55rem;
    line-height: 1.35;
}

.guide-term-card p {
    font-size: 0.9rem;
    color: #5f6c7b;
    margin: 0;
    line-height: 1.6;
    flex: 1;
}

.guide-term-card .guide-term-more {
    margin-top: 0.85rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #4a7c7c;
}

.guide-term-card:hover .guide-term-more {
    color: #ff6b35;
}

.guide-category-block {
    margin-bottom: 2rem;
}

.guide-category-block:last-child {
    margin-bottom: 0;
}

.guide-category-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4a7c7c;
    margin: 0 0 1rem;
}

.guide-answer-box {
    background: #f0f7f7;
    border-left: 4px solid #4a7c7c;
    border-radius: 0 12px 12px 0;
    padding: 1.25rem 1.5rem;
    margin: 0;
}

.guide-answer-box strong {
    color: #1f2e2e;
}

.guide-answer-box p {
    margin: 0.5rem 0 0;
    color: #374151;
    line-height: 1.7;
}

/* Blog hub + article (guide layout) */
.guide-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.guide-blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(74, 124, 124, 0.12);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #fff;
    box-shadow: 0 2px 12px rgba(31, 46, 46, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.guide-blog-card:hover {
    box-shadow: 0 10px 28px rgba(31, 46, 46, 0.1);
    transform: translateY(-2px);
}

.guide-blog-card__body {
    padding: 1.25rem 1.35rem 1.35rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.guide-blog-card__meta {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4a7c7c;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.guide-blog-card h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2e2e;
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.guide-blog-card p {
    font-size: 0.9rem;
    color: #5f6c7b;
    margin: 0;
    line-height: 1.55;
    flex: 1;
}

.guide-search-form {
    margin-bottom: 1.5rem;
}

.guide-search-form .input-group {
    max-width: 480px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(31, 46, 46, 0.06);
}

.guide-search-form .form-control {
    border: 1px solid #d4e3e3;
    padding: 0.75rem 1rem;
}

.guide-search-form .btn-primary {
    background: #4a7c7c;
    border-color: #4a7c7c;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
}

.guide-search-form .btn-primary:hover {
    background: #3a6565;
    border-color: #3a6565;
}

.guide-article-meta {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.guide-article-meta a {
    color: #4a7c7c;
    font-weight: 600;
    text-decoration: none;
}

.guide-article-meta a:hover {
    color: #ff6b35;
}

.guide-article-body {
    line-height: 1.8;
    color: #374151;
}

.guide-article-body h2 {
    font-size: 1.25rem;
    color: #4a7c7c;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.guide-article-body h3 {
    font-size: 1.1rem;
    color: #1f2e2e;
    margin-top: 1.5rem;
}

.guide-article-body a {
    color: #4a7c7c;
    font-weight: 600;
}

.guide-article-body ul,
.guide-article-body ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.guide-muted-note {
    font-size: 0.95rem;
    color: #5f6c7b;
    margin-bottom: 1.5rem;
}

.guide-muted-note a {
    color: #4a7c7c;
    font-weight: 600;
}

@media (max-width: 768px) {
    .breadcrumb-section {
        padding: 4rem 0 1.75rem;
        min-height: 150px;
    }

    .guide-hero,
    .guide-section,
    .guide-card {
        padding: 1.25rem 1.35rem;
    }
}
