/**
 * Page Templates Styles
 * Styles for About, Contact, Practice Areas, Team, and Industry pages
 *
 * @package Ivanchovandpartners
 */

/* ==========================================================================
   COMMON PAGE STYLES
   ========================================================================== */

/* Page Hero - Common Styles */
.about-hero-section,
.contact-hero-section,
.practice-page-hero,
.team-page-hero,
.single-practice-hero,
.single-team-hero,
.single-industry-hero {
    padding: 120px 0 80px;
    background-color: #f5f5f5;
    position: relative;
}

.about-hero-section::before,
.contact-hero-section::before,
.practice-page-hero::before,
.team-page-hero::before,
.single-practice-hero::before,
.single-team-hero::before,
.single-industry-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

/* About Hero */
.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-hero-images {
    position: relative;
}

.about-hero-image-main {
    position: relative;
}

.about-hero-image-main img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-hero-years-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #1d4ed8;
    color: #fff;
    padding: 20px 24px;
    border-radius: 8px;
    text-align: center;
}

.about-hero-years-badge .years-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.about-hero-years-badge .years-text {
    display: block;
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 4px;
}

.about-hero-image-secondary {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 180px;
    border: 4px solid #fff;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.about-hero-image-secondary img {
    width: 100%;
    height: auto;
    display: block;
}

.about-hero-tagline {
    display: block;
    color: #2563eb;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.about-hero-headline {
    font-size: 42px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-hero-description {
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.about-hero-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.about-hero-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 16px;
}

.about-hero-features .icon {
    width: 18px;
    height: 18px;
    color: #2563eb;
}

.about-hero-contact {
    display: flex;
    align-items: center;
    gap: 32px;
}

.about-hero-phone {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-hero-phone .phone-icon {
    width: 48px;
    height: 48px;
    background: #1d4ed8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-phone .phone-icon .icon {
    width: 20px;
    height: 20px;
    color: #fff;
}

.about-hero-phone .phone-label {
    display: block;
    font-size: 16px;
    color: #64748b;
}

.about-hero-phone .phone-number {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.about-hero-signature img {
    max-height: 50px;
    width: auto;
}

/* About Team Section */
.about-team-section {
    padding: 80px 0;
    background: #fff;
}

.about-team-header {
    text-align: center;
    margin-bottom: 48px;
}

.about-team-tagline {
    display: block;
    color: #64748b;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.about-team-headline {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
}

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-team-card {
    text-align: center;
}

.about-team-card-image {
    position: relative;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 12px;
}

.about-team-card-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-team-card:hover .about-team-card-image img {
    transform: scale(1.05);
}

.about-team-card-link {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.about-team-card-link:hover {
    background: #1d4ed8;
    transform: scale(1.1);
}

.about-team-card-name {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.about-team-card-position {
    font-size: 16px;
    color: #64748b;
}

.about-team-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.about-team-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #64748b;
    opacity: 0.3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-team-dot.active {
    background: #2563eb;
    opacity: 1;
}

/* About Consultancy Section */
.about-consultancy-section {
    padding: 80px 0;
    background: #f5f5f5;
}

.about-consultancy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-consultancy-tagline {
    display: block;
    color: #64748b;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.about-consultancy-headline {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 32px;
}

.about-consultancy-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.consultancy-feature {
    display: flex;
    gap: 16px;
}

.consultancy-feature-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.consultancy-feature-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.consultancy-feature-icon .icon {
    width: 24px;
    height: 24px;
    color: #2563eb;
}

.consultancy-feature-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.consultancy-feature-content p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
}

.about-consultancy-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-play {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #1e293b;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-play:hover {
    background: #1e293b;
    color: #fff;
}

.btn-play .icon {
    width: 20px;
    height: 20px;
}

.about-consultancy-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* About Testimonials Section */
.about-testimonials-section {
    display: none;
    padding: 80px 0;
    background: #fff;
}

.about-testimonials-header {
    text-align: center;
    margin-bottom: 48px;
}

.about-testimonials-tagline {
    display: block;
    color: #64748b;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.about-testimonials-headline {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
}

.about-testimonial-featured {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: #1d4ed8;
    border-radius: 12px;
    overflow: hidden;
}

.about-testimonial-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-testimonial-featured-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-quote {
    color: #fff;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author strong {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.testimonial-author span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.contact-hero-section {
    text-align: center;
}

.contact-hero-title h1 {
    display: inline-block;
    background: #1d4ed8;
    color: #fff;
    padding: 16px 40px;
    font-size: 28px;
    font-weight: 700;
    border-radius: 8px;
    margin-bottom: 40px;
}

.contact-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-stat-card {
    background: #1d4ed8;
    color: #fff;
    padding: 24px 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-stat-icon img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
}

.contact-stat-icon .icon {
    width: 28px;
    height: 28px;
}

.contact-stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
}

.contact-stat-label {
    display: block;
    font-size: 16px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: #fff;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.contact-form-tagline {
    display: block;
    color: #64748b;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.contact-form-headline {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 32px;
}

.contact-form-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Contact Map Section */
.contact-map-section {
    padding: 80px 0;
    background: #f5f5f5;
}

.contact-map-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-map-tagline {
    display: inline-block;
    border: 1px solid #64748b;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.contact-map-headline {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
}

.contact-map-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

#contact-map {
    width: 100%;
    height: 450px;
    z-index: 1;
}

.contact-map-info {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: #fff;
    padding: 20px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-width: 400px;
}

.map-info-icon {
    width: 50px;
    height: 50px;
    background: #1d4ed8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.map-info-icon .icon {
    width: 24px;
    height: 24px;
    color: #fff;
}

.map-info-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px;
}

.map-info-content p {
    font-size: 16px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 767px) {
    #contact-map {
        height: 350px;
    }

    .contact-map-info {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: -40px;
        margin-left: 16px;
        margin-right: 16px;
        max-width: none;
    }

    .contact-map-headline {
        font-size: 28px;
    }
}

/* ==========================================================================
   PRACTICE AREAS PAGE
   ========================================================================== */

.practice-page-hero {
    text-align: center;
    padding: 160px 0 80px;
}

.practice-page-title {
    display: inline-block;
    background: #1d4ed8;
    color: #fff;
    padding: 16px 40px;
    font-size: 28px;
    font-weight: 700;
    border-radius: 8px;
    margin-bottom: 16px;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    color: #64748b;
    margin-bottom: 16px;
}

.breadcrumbs a {
    color: #1d4ed8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #1e40af;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #94a3b8;
}

.breadcrumb-current {
    color: #334155;
}

.practice-page-description {
    max-width: 600px;
    margin: 24px auto 0;
    color: #64748b;
}

/* Practice Areas Grid */
.practice-page-grid-section {
    padding: 80px 0;
    background: #f5f5f5;
}

.practice-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.practice-page-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.practice-page-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.practice-page-card:nth-child(even) {
    direction: rtl;
}

.practice-page-card:nth-child(even) > * {
    direction: ltr;
}

.practice-page-card-image {
    height: 100%;
    min-height: 250px;
}

.practice-page-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.practice-page-card-image img.practice-icon {
    object-fit: contain;
    padding: 32px;
    background: #f5f5f5;
}

.practice-page-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.practice-page-card-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.practice-page-card-content p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.practice-page-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.practice-page-card-link:hover {
    gap: 12px;
}

.practice-page-card-link .icon {
    width: 16px;
    height: 16px;
}

/* Process Section */
.practice-page-process-section {
    padding: 80px 0;
    background: #fff;
}

.practice-page-process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.practice-page-process-tagline {
    display: inline-block;
    background: #f5f5f5;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.practice-page-process-headline {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 32px;
}

.practice-page-process-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.process-step {
    display: flex;
    gap: 16px;
}

.process-step-icon {
    width: 50px;
    height: 50px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.process-step-icon img {
    width: 24px;
    height: 24px;
}

.process-step-icon .icon {
    width: 24px;
    height: 24px;
    color: #2563eb;
}

.process-step-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.process-step-content p {
    font-size: 16px;
    color: #64748b;
}

.practice-page-process-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* FAQ Section */
.practice-page-faq-section,
.single-industry-faq {
    padding: 80px 0;
    background: #fff;
}

.practice-page-faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.practice-page-faq-tagline {
    display: inline-block;
    border: 1px solid #64748b;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.practice-page-faq-headline,
.faq-section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
}

.practice-page-faq-list,
.industry-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: #2563eb;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    color: #1e293b;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    background: #2563eb;
    color: #fff;
}

.faq-number {
    font-weight: 700;
}

.faq-text {
    flex: 1;
}

.faq-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 20px 24px;
    background: #f8fafc;
}

.faq-answer p {
    color: #64748b;
    line-height: 1.6;
}

/* Testimonials Section */
.practice-page-testimonials-section {
    padding: 80px 0;
    background: #f5f5f5;
}

.practice-page-testimonials-header {
    text-align: center;
    margin-bottom: 40px;
}

.practice-page-testimonials-tagline {
    display: block;
    color: #64748b;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.practice-page-testimonials-headline {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
}

.practice-page-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.practice-testimonial-card {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.practice-testimonial-header {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.practice-testimonial-header .testimonial-photo {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
}

.practice-testimonial-header .testimonial-author strong {
    display: block;
    font-size: 18px;
    color: #1e293b;
}

.practice-testimonial-header .testimonial-author p {
    font-size: 16px;
    color: #64748b;
    margin: 0;
}

.practice-testimonial-header .testimonial-company {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    font-size: 16px;
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 4px;
}

.practice-testimonial-content {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.practice-testimonial-rating {
    color: #f59e0b;
}

/* Newsletter Section */
.practice-page-newsletter-section {
    padding: 48px 0;
    background: #1d4ed8;
}

.practice-page-newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.practice-page-newsletter-tagline {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 8px;
}

.practice-page-newsletter-headline {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
}

.newsletter-input-wrapper {
    display: flex;
    background: #fff;
    border-radius: 8px;
    padding: 4px;
    width: 100%;
    max-width: 500px;
}

.newsletter-input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-size: 16px;
    background: transparent;
}

.newsletter-input:focus {
    outline: none;
}

/* ==========================================================================
   INDUSTRIES ARCHIVE PAGE
   ========================================================================== */

.industries-page-hero {
    text-align: center;
    padding: 160px 0 80px;
    background-color: #f5f5f5;
    position: relative;
}

.industries-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.industries-page-hero-content {
    position: relative;
    z-index: 1;
}

.industries-page-title {
    display: inline-block;
    background: #1d4ed8;
    color: #fff;
    padding: 16px 40px;
    font-size: 28px;
    font-weight: 700;
    border-radius: 8px;
    margin-bottom: 16px;
}

/* Industries Grid */
.industries-page-grid-section {
    padding: 0;
    background: #f5f5f5;
}

.industries-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.industry-page-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.industry-page-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.industry-page-card:nth-child(even) {
    direction: rtl;
}

.industry-page-card:nth-child(even) > * {
    direction: ltr;
}

.industry-page-card-image {
    height: 100%;
    min-height: 250px;
    overflow: hidden;
}

.industry-page-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.industry-page-card:hover .industry-page-card-image img {
    transform: scale(1.05);
}

.industry-page-card-image .industry-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 80px auto;
    display: block;
}

.industry-page-card-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.industry-page-card-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.industry-page-card-content p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.industry-page-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.industry-page-card-link:hover {
    gap: 12px;
}

.industry-page-card-link .icon {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   SINGLE PRACTICE AREA PAGE
   ========================================================================== */

.single-practice-hero {
    text-align: center;
}

.single-practice-title {
    font-size: 42px;
    font-weight: 700;
    color: #1e293b;
}

.single-practice-intro {
    max-width: 700px;
    margin: 16px auto 0;
    color: #64748b;
    font-size: 18px;
}

.single-practice-content-section {
    padding: 80px 0;
    background: #fff;
}

.single-practice-grid,
.single-industry-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.single-practice-featured-image,
.single-industry-featured-image {
    margin-bottom: 32px;
}

.single-practice-featured-image img,
.single-industry-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.single-practice-content,
.single-industry-content {
    color: #64748b;
    line-height: 1.7;
}

.single-practice-content h2,
.single-practice-content h3,
.single-industry-content h2,
.single-industry-content h3 {
    color: #1e293b;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-practice-content p,
.single-industry-content p {
    margin-bottom: 16px;
}

/* Sidebar Styles */
.single-practice-sidebar,
.single-industry-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sidebar-widget .widget-title {
    background: #1d4ed8;
    color: #fff;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.sidebar-list,
.sidebar-practice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li,
.sidebar-practice-list li {
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-list li:last-child,
.sidebar-practice-list li:last-child {
    border-bottom: none;
}

.sidebar-list li a,
.sidebar-practice-list li a {
    display: block;
    padding: 16px 20px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-list li a:hover,
.sidebar-practice-list li a:hover,
.sidebar-list li.current a,
.sidebar-practice-list li.current a {
    background: #f8fafc;
    color: #2563eb;
    padding-left: 24px;
}

.contact-cta-widget {
    background: #1d4ed8;
}

.sidebar-cta-content {
    padding: 32px;
    text-align: center;
}

.sidebar-cta-logo {
    margin-bottom: 16px;
}

.sidebar-cta-logo img {
    max-width: 80px;
    height: auto;
}

.sidebar-cta-content h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Related Practice Areas */
.related-practice-areas-section {
    padding: 80px 0;
    background: #f5f5f5;
}

.related-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 40px;
}

.related-practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-practice-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.related-practice-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.related-practice-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-practice-content {
    padding: 20px;
}

.related-practice-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.related-practice-content p {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 12px;
}

.related-practice-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

.related-practice-link .icon {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   TEAM ARCHIVE PAGE
   ========================================================================== */

.team-page-hero {
    text-align: center;
}

.team-page-title {
    display: inline-block;
    background: #1d4ed8;
    color: #fff;
    padding: 16px 40px;
    font-size: 28px;
    font-weight: 700;
    border-radius: 8px;
}

.team-page-description {
    max-width: 600px;
    margin: 24px auto 0;
    color: #64748b;
}

.team-page-grid-section {
    padding: 80px 0;
    background: #fff;
}

.team-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.team-page-card {
    text-align: center;
}

.team-page-card-image {
    position: relative;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 12px;
}

.team-page-card-image img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    transition: transform 0.3s ease;
    object-position: top center;
}

.team-page-card:hover .team-page-card-image img {
    transform: scale(1.05);
}

.team-page-card-content {
    padding: 16px 20px;
    background: #fff;
    margin-top: -60px;
    position: relative;
    margin-left: 16px;
    margin-right: 16px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-page-card-name {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.team-page-card-name a {
    color: inherit;
    text-decoration: none;
}

.team-page-card-name a:hover {
    color: #2563eb;
}

.team-page-card-position {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 12px;
}

.team-page-card-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-page-card-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    transition: all 0.3s ease;
}

.team-page-card-social a:hover {
    background: #2563eb;
    color: #fff;
}

.team-page-card-social .icon {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   SINGLE TEAM MEMBER PAGE
   ========================================================================== */

.single-team-hero {
    text-align: center;
}

.single-team-page-title {
    display: inline-block;
    background: #1d4ed8;
    color: #fff;
    padding: 16px 40px;
    font-size: 28px;
    font-weight: 700;
    border-radius: 8px;
}

.single-team-page-description {
    max-width: 600px;
    margin: 24px auto 0;
    color: #64748b;
}

.single-team-details-section {
    padding: 80px 0;
    background: #fff;
}

.single-team-grid {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 48px;
    align-items: start;
}

.single-team-photo img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.single-team-position-label {
    display: inline-block;
    color: #64748b;
    font-size: 16px;
    margin-bottom: 8px;
}

.single-team-name {
    font-size: 42px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.single-team-short-bio {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 32px;
}

.single-team-contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.single-team-contact-item {
    display: flex;
    gap: 16px;
}

.single-team-contact-item .contact-icon {
    width: 50px;
    height: 50px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.single-team-contact-item .contact-icon .icon {
    width: 22px;
    height: 22px;
    color: #2563eb;
}

.single-team-contact-item .contact-label {
    display: block;
    font-size: 16px;
    color: #64748b;
}

.single-team-contact-item .contact-value {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

.single-team-contact-item a.contact-value:hover {
    color: #2563eb;
}

.single-team-info .btn {
    margin-right: 12px;
    margin-bottom: 12px;
}

.btn-outline {
    background: transparent;
    border: 2px solid #1e293b;
    color: #1e293b;
}

.btn-outline:hover {
    background: #1e293b;
    color: #fff;
}

.btn-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-linkedin .icon {
    width: 18px;
    height: 18px;
}

/* Biography Section */
.single-team-bio-section {
    padding: 48px 0;
    background: #f5f5f5;
}

.single-team-bio {
    max-width: 900px;
    margin: 0 auto;
}

.single-team-bio h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
}

.single-team-bio p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Other Team Members */
.single-team-others-section {
    padding: 80px 0;
    background: #fff;
}

.others-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 40px;
}

.single-team-others-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.team-other-card {
    text-align: center;
}

.team-other-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

.team-other-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-other-content h4 a {
    color: #1e293b;
    text-decoration: none;
}

.team-other-content h4 a:hover {
    color: #2563eb;
}

.team-other-content p {
    font-size: 16px;
    color: #64748b;
}

/* ==========================================================================
   SINGLE INDUSTRY PAGE
   ========================================================================== */

.single-industry-hero {
    text-align: center;
}

.single-industry-title {
    font-size: 42px;
    font-weight: 700;
    color: #1e293b;
}

.single-industry-content-section {
    padding: 80px 0;
    background: #f5f5f5;
}

/* Industry Features */
.single-industry-features {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.industry-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.industry-feature-item {
    display: flex;
    gap: 16px;
}

.industry-feature-item .feature-icon {
    width: 50px;
    height: 50px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.industry-feature-item .feature-icon img {
    width: 24px;
    height: 24px;
}

.industry-feature-item .feature-icon .icon {
    width: 24px;
    height: 24px;
    color: #2563eb;
}

.industry-feature-item .feature-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.industry-feature-item .feature-content p {
    font-size: 16px;
    color: #64748b;
    margin: 0;
}

/* Industry Process Steps */
.single-industry-process {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.process-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.process-intro {
    color: #64748b;
    margin-bottom: 32px;
}

.industry-process-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.industry-process-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.industry-process-step .step-image {
    width: 120px;
    flex-shrink: 0;
}

.industry-process-step .step-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.industry-process-step .step-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.industry-process-step .step-content p {
    font-size: 16px;
    color: #64748b;
    margin: 0;
}

/* Industry FAQ */
.single-industry-faq {
    margin-top: 40px;
    padding: 0;
    border-top: 1px solid #e2e8f0;
    padding-top: 40px;
    background: transparent;
}

.faq-intro {
    color: #64748b;
    margin-bottom: 24px;
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 1199px) {
    .about-hero-grid,
    .about-consultancy-grid,
    .contact-form-grid,
    .practice-page-process-grid,
    .single-team-grid {
        gap: 32px;
    }

    .single-practice-grid,
    .single-industry-grid {
        grid-template-columns: 1fr 300px;
    }

    .team-page-card-image img {
        height: 350px;
    }
}

@media (max-width: 991px) {
    .about-hero-section,
    .contact-hero-section,
    .practice-page-hero,
    .team-page-hero,
    .single-practice-hero,
    .single-team-hero,
    .single-industry-hero {
        padding: 100px 0 60px;
    }

    .about-hero-grid,
    .about-consultancy-grid,
    .contact-form-grid,
    .practice-page-process-grid,
    .single-team-grid {
        grid-template-columns: 1fr;
    }

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

    .about-testimonial-featured {
        grid-template-columns: 1fr;
    }

    .contact-stats-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .practice-page-grid {
        grid-template-columns: 1fr;
    }

    .practice-page-card {
        grid-template-columns: 1fr;
    }

    .practice-page-card:nth-child(even) {
        direction: ltr;
    }

    .practice-page-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .single-practice-grid,
    .single-industry-grid {
        grid-template-columns: 1fr;
    }

    .single-practice-sidebar,
    .single-industry-sidebar {
        order: -1;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-cta-widget {
        grid-column: span 2;
    }

    .team-page-grid,
    .related-practice-grid,
    .single-team-others-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .single-team-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .single-team-photo {
        max-width: 500px;
        margin: 0 auto;
    }

    .single-team-contact-list {
        align-items: center;
    }

    .single-team-contact-item {
        text-align: left;
    }

    .industry-features-grid {
        grid-template-columns: 1fr;
    }

    .about-hero-headline,
    .single-practice-title,
    .single-team-name,
    .single-industry-title {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .about-hero-section,
    .contact-hero-section,
    .practice-page-hero,
    .team-page-hero,
    .single-practice-hero,
    .single-team-hero,
    .single-industry-hero {
        padding: 100px 0 40px;
    }

    .about-team-section,
    .about-consultancy-section,
    .about-testimonials-section,
    .contact-form-section,
    .contact-map-section,
    .practice-page-grid-section,
    .practice-page-process-section,
    .practice-page-faq-section,
    .practice-page-testimonials-section,
    .single-practice-content-section,
    .single-industry-content-section,
    .team-page-grid-section,
    .single-team-details-section,
    .single-team-others-section,
    .related-practice-areas-section {
        padding: 60px 0;
    }

    .about-team-grid {
        grid-template-columns: 1fr;
    }

    .about-team-card-image img {
        height: 300px;
    }

    .about-hero-features {
        grid-template-columns: 1fr;
    }

    .about-hero-contact {
        flex-direction: column;
        align-items: flex-start;
    }

    .team-page-grid,
    .related-practice-grid,
    .single-team-others-grid {
        grid-template-columns: 1fr;
    }

    .team-page-card-image img {
        height: 300px;
    }

    .single-practice-sidebar,
    .single-industry-sidebar {
        grid-template-columns: 1fr;
    }

    .contact-cta-widget {
        grid-column: span 1;
    }

    .about-hero-headline,
    .single-practice-title,
    .single-team-name,
    .single-industry-title {
        font-size: 32px;
    }

    .about-consultancy-headline,
    .about-testimonials-headline,
    .contact-form-headline,
    .contact-testimonials-headline,
    .practice-page-process-headline,
    .practice-page-faq-headline,
    .practice-page-testimonials-headline,
    .about-team-headline {
        font-size: 28px;
    }

    .newsletter-input-wrapper {
        flex-direction: column;
    }

    .newsletter-input-wrapper .btn {
        width: 100%;
    }
}

/* ==========================================================================
   BLOG ARCHIVE PAGE
   ========================================================================== */

.blog-page-hero {
    text-align: center;
    padding: 160px 0 80px;
    background-color: #f5f5f5;
    position: relative;
}

.blog-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.blog-page-hero-content {
    position: relative;
    z-index: 1;
}

.blog-page-title {
    display: inline-block;
    background: #1d4ed8;
    color: #fff;
    padding: 16px 40px;
    font-size: 28px;
    font-weight: 700;
    border-radius: 8px;
    margin-bottom: 16px;
}

.blog-page-grid-section {
    padding: 80px 0;
    background: #fff;
}

.blog-page .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-page .blog-pagination,
.blog-page .navigation.pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.blog-page .nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.blog-page .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-page .page-numbers:hover {
    background: #e2e8f0;
}

.blog-page .page-numbers.current {
    background: #1d4ed8;
    color: #fff;
}

.blog-page .page-numbers.prev,
.blog-page .page-numbers.next {
    background: transparent;
}

@media (max-width: 991px) {
    .blog-page .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .blog-page .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-page-hero {
        padding: 140px 0 60px;
    }

    .blog-page-title {
        font-size: 24px;
        padding: 12px 24px;
    }
}

/* ==========================================================================
   SINGLE BLOG POST PAGE
   ========================================================================== */

.single-post-hero {
    text-align: center;
    padding: 160px 0 60px;
    background-color: #f5f5f5;
    position: relative;
}

.single-post-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.single-post-hero-content {
    position: relative;
    z-index: 1;
}

.single-post-category {
    display: inline-block;
    background: #1d4ed8;
    color: #fff;
    padding: 6px 16px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.single-post-title {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    max-width: 800px;
    margin: 0 auto 16px;
    line-height: 1.3;
}

.single-post-hero .breadcrumbs {
    margin-top: 16px;
}

/* Single Post Content Section */
.single-post-content-section {
    padding: 80px 0;
    background: #fff;
}

.single-post-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 48px;
    align-items: start;
}

/* Sidebar */
.single-post-sidebar {
    position: sticky;
    top: 120px;
}

.single-post-sidebar .sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.single-post-sidebar .widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

/* Latest Posts Widget */
.sidebar-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-post-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-post-item:first-child {
    padding-top: 0;
}

.sidebar-post-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
}

.sidebar-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-post-content {
    flex: 1;
    min-width: 0;
}

.sidebar-post-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.sidebar-post-title:hover {
    color: #1d4ed8;
}

.sidebar-post-date {
    font-size: 16px;
    color: #64748b;
}

/* Categories Widget */
.sidebar-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories-list li {
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-categories-list li:last-child {
    border-bottom: none;
}

.sidebar-categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: #475569;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.sidebar-categories-list a:hover {
    color: #1d4ed8;
}

.cat-count {
    background: #e2e8f0;
    color: #64748b;
    font-size: 16px;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Main Content */
.single-post-main {
    min-width: 0;
}

.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}

.post-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: #64748b;
}

.post-meta-item .icon {
    width: 16px;
    height: 16px;
}

.single-post-featured-image {
    margin-bottom: 32px;
    border-radius: 12px;
    overflow: hidden;
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
}

.single-post-content {
    font-size: 17px;
    line-height: 1.8;
    color: #334155;
}

.single-post-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 40px 0 20px;
}

.single-post-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin: 32px 0 16px;
}

.single-post-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 24px 0 12px;
}

.single-post-content p {
    margin-bottom: 20px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.single-post-content li {
    margin-bottom: 8px;
}

.single-post-content blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background: #f8fafc;
    border-left: 4px solid #1d4ed8;
    font-style: italic;
    color: #475569;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

.single-post-content a {
    color: #1d4ed8;
    text-decoration: underline;
}

.single-post-content a:hover {
    color: #1e40af;
}

/* Tags */
.single-post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.tags-label {
    font-weight: 600;
    color: #1e293b;
    margin-right: 8px;
}

.post-tag {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-tag:hover {
    background: #1d4ed8;
    color: #fff;
}

/* Share */
.single-post-share {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.share-label {
    font-weight: 600;
    color: #1e293b;
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-facebook:hover {
    background: #1877f2;
    color: #fff;
}

.share-twitter:hover {
    background: #000;
    color: #fff;
}

.share-linkedin:hover {
    background: #0a66c2;
    color: #fff;
}

.share-email:hover {
    background: #1d4ed8;
    color: #fff;
}

/* Author Box */
.single-post-author-box {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-label {
    font-size: 16px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-name {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 4px 0 8px;
}

.author-bio {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Post Navigation */
.single-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.post-nav-link {
    display: block;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-nav-link:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.post-nav-next {
    text-align: right;
}

.nav-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: #64748b;
    margin-bottom: 4px;
}

.post-nav-next .nav-label {
    justify-content: flex-end;
}

.nav-label .icon {
    width: 14px;
    height: 14px;
}

.nav-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

/* Related Posts */
.related-posts-section {
    padding: 80px 0;
    background: #f5f5f5;
}

.related-posts-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 48px;
}

/* Responsive */
@media (max-width: 1199px) {
    .single-post-grid {
        grid-template-columns: 280px 1fr;
        gap: 32px;
    }
}

@media (max-width: 991px) {
    .single-post-grid {
        grid-template-columns: 1fr;
    }

    .single-post-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        order: 2;
    }

    .single-post-sidebar .contact-cta-widget {
        grid-column: span 2;
    }

    .single-post-main {
        order: 1;
    }

    .single-post-title {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .single-post-hero {
        padding: 140px 0 40px;
    }

    .single-post-title {
        font-size: 26px;
    }

    .single-post-sidebar {
        grid-template-columns: 1fr;
    }

    .single-post-sidebar .contact-cta-widget {
        grid-column: span 1;
    }

    .single-post-content-section {
        padding: 40px 0;
    }

    .single-post-meta {
        gap: 16px;
    }

    .single-post-author-box {
        flex-direction: column;
        text-align: center;
    }

    .single-post-navigation {
        grid-template-columns: 1fr;
    }

    .post-nav-next {
        text-align: left;
    }

    .post-nav-next .nav-label {
        justify-content: flex-start;
    }

    .related-posts-section {
        padding: 60px 0;
    }

    .related-posts-title {
        font-size: 26px;
        margin-bottom: 32px;
    }
}
