/**
 * Abbey Solutions Theme - Block Styles
 *
 * Styles for all custom Gutenberg blocks.
 *
 * @package AbbeySolutions
 * @since 1.0.0
 */

/* ==========================================================================
   SHARED BLOCK STYLES
   ========================================================================== */

/* Section Header (used across multiple blocks) */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header__title {
    font-size: 2.8rem;
    color: var(--abbey-color-primary-dark, #051d2c);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header__description {
    font-size: 1.2rem;
    color: var(--abbey-color-text-light, #666);
    max-width: 600px;
    margin: 0 auto;
}

/* Block placeholder for editor */
.abbey-block-placeholder {
    padding: 3rem;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 8px;
    text-align: center;
}

.abbey-block-placeholder__icon {
    font-size: 2rem;
    color: #999;
    margin-bottom: 1rem;
}

.abbey-block-placeholder__message {
    color: #666;
    margin: 0;
}

/* ==========================================================================
   HERO BLOCK
   ========================================================================== */

.abbey-hero {
    background: linear-gradient(135deg, #051d2c 0%, #0a2f4a 50%, #1a4870 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.abbey-hero__pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle fill="rgba(255,255,255,0.03)" cx="200" cy="150" r="50"/><circle fill="rgba(255,255,255,0.03)" cx="800" cy="100" r="30"/><circle fill="rgba(255,255,255,0.03)" cx="1000" cy="200" r="40"/><path fill="rgba(255,255,255,0.02)" d="M0,400 Q300,350 600,380 T1200,400 V600 H0 Z"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.abbey-hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.abbey-hero__title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.abbey-hero__subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.abbey-hero__stats {
    display: flex;
    gap: 2rem;
    margin: 2.5rem 0;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
}

.abbey-hero__stat {
    text-align: center;
    flex: 1;
}

.abbey-hero__stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    display: block;
    color: #fff;
}

.abbey-hero__stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.abbey-hero__cta {
    display: inline-block;
    background: #051d2c;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(5,29,44,0.3);
}

.abbey-hero__cta:hover {
    background: #0a2f4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(5,29,44,0.4);
    color: white;
}

.abbey-hero__image-container {
    position: relative;
}

.abbey-hero__image {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #1a4870 0%, #2a5980 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.abbey-hero__image-placeholder {
    opacity: 0.5;
}

.abbey-hero__floating-cards {
    position: absolute;
    top: -20px;
    right: -20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.abbey-hero__floating-card {
    background: rgba(255,255,255,0.95);
    color: #333;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    font-size: 0.9rem;
    width: 200px;
}

.abbey-hero__floating-card strong {
    color: #051d2c;
}

/* Hero Responsive */
@media (max-width: 768px) {
    .abbey-hero__content {
        grid-template-columns: 1fr;
    }
    
    .abbey-hero__title {
        font-size: 2.2rem;
    }
    
    .abbey-hero__stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .abbey-hero__floating-cards {
        display: none;
    }
}

/* ==========================================================================
   SERVICES GRID BLOCK
   ========================================================================== */

.abbey-services {
    padding: 5rem 0;
    background: white;
}

.abbey-services__grid {
    display: grid;
    gap: 2rem;
}

.abbey-services__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.abbey-services__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.abbey-services__grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

.abbey-service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
}

.abbey-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.abbey-service-card__image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abbey-service-card__image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(5,29,44,0.6), transparent);
}

.abbey-service-card__image--placeholder {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.abbey-service-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abbey-service-card__icon {
    font-size: 3rem;
    position: relative;
    z-index: 1;
}

.abbey-service-card__content {
    padding: 1.5rem;
}

.abbey-service-card__title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #051d2c;
    font-weight: 600;
}

.abbey-service-card__excerpt {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.abbey-service-card__link {
    color: #051d2c;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.abbey-service-card__link:hover {
    gap: 1rem;
}

/* Services Responsive */
@media (max-width: 1024px) {
    .abbey-services__grid--cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .abbey-services__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   STATISTICS BLOCK
   ========================================================================== */

.abbey-statistics {
    padding: 5rem 0;
    position: relative;
}

.abbey-statistics--gradient {
    background: linear-gradient(135deg, #051d2c 0%, #0a2f4a 50%, #1a4870 100%);
    color: white;
}

.abbey-statistics--light {
    background: #f8f9fa;
}

.abbey-statistics--cards {
    background: white;
}

.abbey-statistics__pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path fill="rgba(255,255,255,0.05)" d="M0,200 Q300,150 600,180 T1200,200 V600 H0 Z"/><circle fill="rgba(255,255,255,0.03)" cx="100" cy="100" r="50"/><circle fill="rgba(255,255,255,0.03)" cx="1100" cy="150" r="30"/></svg>');
    pointer-events: none;
}

.abbey-statistics__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.abbey-statistics--light .abbey-statistics__content,
.abbey-statistics--cards .abbey-statistics__content {
    grid-template-columns: 1fr;
}

.abbey-statistics__header {
    text-align: left;
}

.abbey-statistics--light .abbey-statistics__header,
.abbey-statistics--cards .abbey-statistics__header {
    text-align: center;
    margin-bottom: 3rem;
}

.abbey-statistics__title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.abbey-statistics--light .abbey-statistics__title,
.abbey-statistics--cards .abbey-statistics__title {
    color: #051d2c;
}

/* Gradient variant needs white text */
.abbey-statistics--gradient .abbey-statistics__title {
    color: #ffffff;
}

.abbey-statistics__description {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.abbey-statistics--light .abbey-statistics__description,
.abbey-statistics--cards .abbey-statistics__description {
    color: #666;
}

.abbey-statistics__grid {
    display: grid;
    gap: 2rem;
}

.abbey-statistics__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.abbey-statistics__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.abbey-statistics__grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.abbey-statistics__grid--cols-6 { grid-template-columns: repeat(6, 1fr); }

.abbey-statistics__stat {
    text-align: center;
}

.abbey-statistics--gradient .abbey-statistics__stat {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 2rem 1rem;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
}

.abbey-statistics--cards .abbey-statistics__stat {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.abbey-statistics__stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.abbey-statistics--light .abbey-statistics__stat-number,
.abbey-statistics--cards .abbey-statistics__stat-number {
    color: #051d2c;
}

.abbey-statistics__stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.abbey-statistics--light .abbey-statistics__stat-label,
.abbey-statistics--cards .abbey-statistics__stat-label {
    color: #666;
}

/* Statistics Responsive */
@media (max-width: 768px) {
    .abbey-statistics__content {
        grid-template-columns: 1fr;
    }
    
    .abbey-statistics__header {
        text-align: center;
    }
    
    .abbey-statistics__title {
        font-size: 2.2rem;
    }
    
    .abbey-statistics__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CTA SECTION BLOCK
   ========================================================================== */

.abbey-cta {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.abbey-cta--gradient,
.abbey-cta--gradient-alt,
.abbey-cta--solid {
    color: white;
}

.abbey-cta--gradient {
    background: linear-gradient(135deg, #051d2c 0%, #0a2f4a 100%);
}

.abbey-cta--gradient-alt {
    background: linear-gradient(135deg, #0a2f4a 0%, #1a4870 100%);
}

.abbey-cta--solid {
    background: #051d2c;
}

.abbey-cta--light {
    background: #f8f9fa;
    color: #333;
}

.abbey-cta__pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path fill="rgba(255,255,255,0.05)" d="M0,400 Q300,350 600,380 T1200,400 V600 H0 Z"/></svg>');
    pointer-events: none;
}

.abbey-cta__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.abbey-cta--gradient .abbey-cta__title {
    color:#ffffff;
}

.abbey-cta--center .abbey-cta__content {
    margin: 0 auto;
    text-align: center;
}

.abbey-cta--compact {
    padding: 3rem 0;
}

.abbey-cta--large {
    padding: 7rem 0;
}

.abbey-cta__title {
    font-size: 2.25rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.abbey-cta--light .abbey-cta__title {
    color: #051d2c;
}

.abbey-cta__description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.5;
}

.abbey-cta__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.abbey-cta--center .abbey-cta__buttons {
    justify-content: center;
}

.abbey-cta__button {
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s;
    display: inline-block;
}

.abbey-cta__button--primary {
    background: white;
    color: #051d2c;
}

.abbey-cta__button--primary:hover {
    background: #f8f9fa;
}

.abbey-cta--light .abbey-cta__button--primary {
    background: #051d2c;
    color: white;
}

.abbey-cta--light .abbey-cta__button--primary:hover {
    background: #0a2f4a;
}

.abbey-cta__button--secondary {
    background: transparent;
    border: 1px solid white;
    color: white;
}

.abbey-cta__button--secondary:hover {
    background: white;
    color: #051d2c;
}

.abbey-cta--light .abbey-cta__button--secondary {
    border-color: #051d2c;
    color: #051d2c;
}

.abbey-cta--light .abbey-cta__button--secondary:hover {
    background: #051d2c;
    color: white;
}

/* CTA Responsive */
@media (max-width: 768px) {
    .abbey-cta__title {
        font-size: 1.85rem;
    }
    
    .abbey-cta__buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .abbey-cta--center .abbey-cta__buttons {
        align-items: center;
    }
}

/* ==========================================================================
   TESTIMONIALS BLOCK
   ========================================================================== */

.abbey-testimonials {
    padding: 5rem 0;
}

.abbey-testimonials--bg-light {
    background: #f8f9fa;
}

.abbey-testimonials--bg-white {
    background: white;
}

.abbey-testimonials--bg-gradient {
    background: linear-gradient(135deg, #051d2c 0%, #0a2f4a 100%);
    color: white;
}

/* Featured Quote */
.abbey-testimonials__featured {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.abbey-testimonials__featured-text {
    font-size: 1.75rem;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.abbey-testimonials--bg-gradient .abbey-testimonials__featured-text {
    color: white;
}

.abbey-testimonials__featured-author {
    font-size: 1.1rem;
    font-weight: 600;
    font-style: normal;
    display: block;
}

.abbey-testimonials--bg-light .abbey-testimonials__featured-author,
.abbey-testimonials--bg-white .abbey-testimonials__featured-author {
    color: #051d2c;
}

.abbey-testimonials__featured-title {
    font-size: 0.95rem;
    color: #999;
    margin-top: 0.5rem;
    display: block;
}

/* Testimonials Grid */
.abbey-testimonials__grid {
    display: grid;
    gap: 2rem;
}

.abbey-testimonials__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.abbey-testimonials__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Testimonial Card */
.abbey-testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    transition: all 0.3s;
}

.abbey-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.abbey-testimonial-card--glassmorphism {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.abbey-testimonial-card__quote-mark {
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #051d2c;
    opacity: 0.2;
    line-height: 1;
}

.abbey-testimonial-card__text {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.abbey-testimonial-card__rating {
    margin-bottom: 1rem;
}

.abbey-testimonial-card__star {
    color: #ddd;
    font-size: 1rem;
}

.abbey-testimonial-card__star--filled {
    color: #f5a623;
}

.abbey-testimonial-card__footer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.abbey-testimonial-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(45deg, #0a2f4a, #051d2c);
    display: flex;
    align-items: center;
    justify-content: center;
}

.abbey-testimonial-card__avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abbey-testimonial-card__avatar-initials {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.abbey-testimonial-card__name {
    font-weight: 600;
    color: #051d2c;
    font-style: normal;
    display: block;
}

.abbey-testimonial-card__title {
    font-size: 0.9rem;
    color: #666;
    display: block;
}

/* Testimonials Responsive */
@media (max-width: 768px) {
    .abbey-testimonials__grid {
        grid-template-columns: 1fr;
    }
    
    .abbey-testimonials__featured-text {
        font-size: 1.4rem;
    }
}

/* ==========================================================================
   TEAM GRID BLOCK
   ========================================================================== */

.abbey-team {
    padding: 5rem 0;
}

.abbey-team--bg-white {
    background: white;
}

.abbey-team--bg-light {
    background: #f8f9fa;
}

.abbey-team__grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.abbey-team__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.abbey-team__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.abbey-team__grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Team Card - Standard */
.abbey-team-card {
    text-align: center;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.abbey-team--bg-light .abbey-team-card {
    background: white;
}

.abbey-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.abbey-team-card__photo {
    margin-bottom: 1rem;
}

.abbey-team-card__img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

.abbey-team-card__avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(45deg, #0a2f4a 0%, #051d2c 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abbey-team-card__initials {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.abbey-team-card__name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #051d2c;
    margin-bottom: 0.5rem;
}

.abbey-team-card__name a {
    color: inherit;
    text-decoration: none;
}

.abbey-team-card__name a:hover {
    color: #1a4870;
}

.abbey-team-card__role {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.abbey-team-card__bio {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.abbey-team-card__social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.abbey-team-card__social-link {
    color: #666;
    transition: color 0.3s;
}

.abbey-team-card__social-link:hover {
    color: #051d2c;
}

/* Team Card - Horizontal */
.abbey-team-card--horizontal {
    text-align: left;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.abbey-team-card--horizontal .abbey-team-card__photo {
    margin-bottom: 0;
    flex-shrink: 0;
}

.abbey-team-card--horizontal .abbey-team-card__social {
    justify-content: flex-start;
}

/* Team Responsive */
@media (max-width: 1024px) {
    .abbey-team__grid--cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .abbey-team__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SUCCESS STORIES BLOCK
   ========================================================================== */

.abbey-success-stories {
    padding: 5rem 0;
    background: white;
}

.abbey-success-stories__grid {
    display: grid;
    gap: 2rem;
}

.abbey-success-stories__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.abbey-success-stories__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Story Card */
.abbey-story-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.abbey-story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.abbey-story-card__image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.abbey-story-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.abbey-story-card:hover .abbey-story-card__img {
    transform: scale(1.05);
}

.abbey-story-card__image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #1a4870 0%, #2a5980 100%);
    color: white;
    text-decoration: none;
}

/* Overlay Style */
.abbey-story-card--overlay .abbey-story-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(5,29,44,0.9), transparent);
}

.abbey-story-card--overlay .abbey-story-card__overlay .abbey-story-card__title {
    color: white;
    margin: 0;
}

.abbey-story-card__content {
    padding: 1.5rem;
}

.abbey-story-card__client {
    margin-bottom: 1rem;
}

.abbey-story-card__client-logo {
    max-height: 40px;
    width: auto;
}

.abbey-story-card__client-name {
    font-weight: 600;
    color: #051d2c;
    font-size: 0.9rem;
}

.abbey-story-card__title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #051d2c;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.abbey-story-card__title a {
    color: inherit;
    text-decoration: none;
}

.abbey-story-card__title a:hover {
    color: #1a4870;
}

.abbey-story-card__location {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.abbey-story-card__excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.abbey-story-card__result {
    font-size: 0.9rem;
    background: #e3f2fd;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.abbey-story-card__link {
    color: #051d2c;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.abbey-story-card__link:hover {
    gap: 1rem;
}

/* Section CTA */
.abbey-success-stories__cta {
    text-align: center;
    margin-top: 3rem;
}

.abbey-success-stories__cta-link {
    color: #051d2c;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.abbey-success-stories__cta-link:hover {
    gap: 1rem;
}

/* Success Stories Responsive */
@media (max-width: 768px) {
    .abbey-success-stories__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   GLOBAL PRESENCE BLOCK
   ========================================================================== */

.abbey-global {
    padding: 5rem 0;
}

.abbey-global--bg-light {
    background: #f8f9fa;
}

.abbey-global--bg-white {
    background: white;
}

.abbey-global__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.abbey-global--layout-full-width .abbey-global__content {
    grid-template-columns: 1fr;
}

.abbey-global--layout-map-focus .abbey-global__content {
    grid-template-columns: 1fr 2fr;
}

.abbey-global__title {
    font-size: 2.5rem;
    color: #051d2c;
    margin-bottom: 1rem;
    font-weight: 700;
}

.abbey-global__description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.abbey-global__offices {
    display: grid;
    gap: 1rem;
}

.abbey-global__offices--cols-2 { grid-template-columns: repeat(2, 1fr); }
.abbey-global__offices--cols-3 { grid-template-columns: repeat(3, 1fr); }

.abbey-global__office {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.abbey-global--bg-white .abbey-global__office {
    background: #f8f9fa;
}

.abbey-global__office:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.abbey-global__office-flag {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.abbey-global__office-flag--placeholder {
    width: 30px;
    height: 20px;
    background: #051d2c;
    border-radius: 3px;
}

.abbey-global__office-city {
    display: block;
    color: #051d2c;
}

.abbey-global__office-region {
    font-size: 0.85rem;
    color: #666;
}

/* Map Styles */
.abbey-global__map {
    height: 400px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.abbey-global--bg-white .abbey-global__map {
    background: #f8f9fa;
}

.abbey-global__map-svg {
    width: 100%;
    height: 100%;
    color: #051d2c;
}

.abbey-global__map-dot {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.abbey-global__map-dots {
    display: flex;
    gap: 1rem;
}

.abbey-global__map-dots .abbey-global__map-dot {
    width: 12px;
    height: 12px;
    background: #051d2c;
    border-radius: 50%;
}

.abbey-global__map-minimal {
    text-align: center;
}

.abbey-global__map-label {
    font-size: 2rem;
    font-weight: 700;
    color: #051d2c;
}

/* Global Presence Responsive */
@media (max-width: 768px) {
    .abbey-global__content {
        grid-template-columns: 1fr;
    }
    
    .abbey-global__offices {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CLIENTS BLOCK
   ========================================================================== */

.abbey-clients {
    padding: 3rem 0;
    border-bottom: 1px solid #eee;
}

.abbey-clients--bg-light {
    background: #f8f9fa;
}

.abbey-clients--bg-white {
    background: white;
}

.abbey-clients--spacing-compact {
    padding: 2rem 0;
}

.abbey-clients--spacing-spacious {
    padding: 5rem 0;
}

.abbey-clients__title {
    text-align: center;
    margin-bottom: 2rem;
    color: #666;
    font-weight: 500;
}

.abbey-clients__grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.abbey-clients__grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.abbey-clients__grid--cols-5 { grid-template-columns: repeat(5, 1fr); }
.abbey-clients__grid--cols-6 { grid-template-columns: repeat(6, 1fr); }

.abbey-clients__grid--inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.abbey-clients__item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: all 0.3s;
}

.abbey-clients__grid--contained .abbey-clients__item {
    background: #f8f9fa;
    border-radius: 8px;
}

.abbey-clients--bg-light .abbey-clients__grid--contained .abbey-clients__item {
    background: white;
}

.abbey-clients__item:hover {
    transform: translateY(-2px);
}

.abbey-clients__logo {
    max-height: 100px; /* was 60px */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.3s;
}

.abbey-clients__grid--grayscale .abbey-clients__logo {
    filter: grayscale(100%);
    opacity: 0.7;
}

.abbey-clients__grid--grayscale .abbey-clients__item:hover .abbey-clients__logo {
    filter: grayscale(0%);
    opacity: 1;
}

.abbey-clients__name {
    font-weight: 600;
    color: #666;
    text-align: center;
}

/* Clients Responsive */
@media (max-width: 768px) {
    .abbey-clients__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   INSIGHTS BLOCK
   ========================================================================== */

.abbey-insights {
    padding: 5rem 0;
}

.abbey-insights--bg-light {
    background: #f8f9fa;
}

.abbey-insights--bg-white {
    background: white;
}

.abbey-insights__container--featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Featured Insight */
.abbey-insights__featured {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    transition: all 0.3s;
}

.abbey-insights--bg-white .abbey-insights__featured {
    background: #f8f9fa;
}

.abbey-insights__featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.abbey-insights__featured-image {
    height: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, #1a4870 0%, #2a5980 100%);
}

.abbey-insights__featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abbey-insights__featured-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a4870 0%, #2a5980 100%);
}

.abbey-insights__featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.abbey-insights__featured-meta {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.abbey-insights__category {
    display: inline-block;
    background: #e3f2fd;
    color: #051d2c;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 600;
}

.abbey-insights__featured-title {
    font-size: 2rem;
    color: #051d2c;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.abbey-insights__featured-title a {
    color: inherit;
    text-decoration: none;
}

.abbey-insights__featured-title a:hover {
    color: #1a4870;
}

.abbey-insights__featured-excerpt {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.abbey-insights__link {
    color: #051d2c;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.abbey-insights__link:hover {
    gap: 1rem;
}

/* Insights Grid */
.abbey-insights__grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.abbey-insights__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.abbey-insights__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.abbey-insights__grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Insight Card */
.abbey-insight-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.abbey-insights--bg-white .abbey-insight-card {
    background: #f8f9fa;
}

.abbey-insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.abbey-insight-card__image {
    height: 180px;
    overflow: hidden;
}

.abbey-insight-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.abbey-insight-card:hover .abbey-insight-card__img {
    transform: scale(1.05);
}

.abbey-insight-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a4870 0%, #2a5980 100%);
}

.abbey-insight-card__content {
    padding: 1.5rem;
}

.abbey-insight-card__meta {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.abbey-insight-card__title {
    font-size: 1.2rem;
    color: #051d2c;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.abbey-insight-card__title a {
    color: inherit;
    text-decoration: none;
}

.abbey-insight-card__title a:hover {
    color: #1a4870;
}

.abbey-insight-card__author {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.75rem;
}

/* Insights CTA */
.abbey-insights__cta {
    text-align: center;
    margin-top: 3rem;
}

.abbey-insights__cta-link {
    color: #051d2c;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.abbey-insights__cta-link:hover {
    gap: 1rem;
}

/* Insights Responsive */
@media (max-width: 768px) {
    .abbey-insights__featured {
        grid-template-columns: 1fr;
    }
    
    .abbey-insights__featured-image {
        height: 250px;
        min-height: unset;
    }
    
    .abbey-insights__grid {
        grid-template-columns: 1fr;
    }
}


/**
 * Hero Block Fixes
 * 
 * Add this to the end of /assets/css/blocks/blocks.css
 * or upload as a separate file and enqueue it
 */

/* ==========================================================================
   HERO BLOCK FIXES
   ========================================================================== */

/* Fix: Ensure hero text is white */
.abbey-hero,
.abbey-hero__title,
.abbey-hero__subtitle,
.abbey-hero__stat-number,
.abbey-hero__stat-label {
    color: #ffffff !important;
}

/* Fix: Make hero full-width (break out of container) */
.abbey-hero {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Ensure the container inside hero is centered */
.abbey-hero > .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Fix for WordPress block editor alignment */
.wp-block-carbon-fields-hero-section {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Also fix other full-width blocks */
.abbey-statistics--gradient,
.abbey-cta--gradient,
.abbey-cta--gradient-alt,
.abbey-cta--solid {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.abbey-statistics--gradient > .container,
.abbey-cta > .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Connection lines between offices */
.connection-line {
    transition: opacity 0.3s, stroke-width 0.3s;
    stroke-width: 3px;
}

.abbey-global__map-svg:hover .connection-line {
    opacity: 0.5 !important;
}

/* Hub offices - slightly different style */
.location-dot--hub {
    filter: drop-shadow(0 2px 4px rgba(26, 72, 112, 0.3));
}

/* City labels on hover */
.location-marker:hover .location-label {
    opacity: 1 !important;
    transition: opacity 0.3s;
}

.location-label {
    pointer-events: none;
    font-weight: 600;
    transition: opacity 0.3s;
    font-size: 30px;
}

/* Make dots interactive */
.location-dot {
    cursor: pointer;
    transition: fill 0.3s;
}

.location-marker:hover .location-dot {
    fill: #1a4870 !important;
}