/* Custom Editor Styles for Single Blog Posts */
.ryc-content {
    line-height: 1.8;
    color: #334155;
    /* slate-700 */
    font-size: 1.125rem;
    /* text-lg */
}

/* Headings */
.ryc-content h1,
.ryc-content h2,
.ryc-content h3,
.ryc-content h4,
.ryc-content h5,
.ryc-content h6 {
    color: #0f172a;
    /* slate-900 */
    font-weight: 700;
    /* bold */
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.ryc-content h1 {
    font-size: 2.25rem;
}

.ryc-content h2 {
    font-size: 1.875rem;
}

/* text-3xl */
.ryc-content h3 {
    font-size: 1.5rem;
}

/* text-2xl */
.ryc-content h4 {
    font-size: 1.25rem;
}

/* text-xl */

/* Paragraphs */
.ryc-content p {
    margin-bottom: 1.5rem;
}

/* Lists */
.ryc-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.ryc-content ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.ryc-content li {
    margin-bottom: 0.5rem;
}

/* Links */
.ryc-content a:not(.bg-primary) {
    color: #2563eb;
    /* blue-600 - typical primary */
    text-decoration: none;
    font-weight: 500;
}

.ryc-content a:hover {
    text-decoration: underline;
}

/* Blockquotes */
.ryc-content blockquote {
    border-left: 4px solid #cbd5e1;
    /* slate-300 */
    padding-left: 1rem;
    font-style: italic;
    color: #475569;
    /* slate-600 */
    margin: 2rem 0;
}

/* Images */
.ryc-content img {
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    margin: 2rem 0;
    max-width: 100%;
    height: auto;
}

/* Figures */
.ryc-content figure {
    margin: 2rem 0;
}

.ryc-content figcaption {
    font-size: 0.875rem;
    color: #64748b;
    /* slate-500 */
    text-align: center;
    margin-top: 0.5rem;
}

/* -------------------------------------------------------------------
   Hero Section Custom Styles (Conflicting with Tailwind)
   ------------------------------------------------------------------- */

/* Mobile Defaults (approx < 768px) */
.ryc-hero-section-lg,
.ryc-hero-section-md,
.ryc-hero-section-sm {
    height: 70vh;
    /* Default Mobile Height */
    min-height: 400px;
}

.ryc-hero-section-sm {
    height: 50vh;
    min-height: 250px;
}

.ryc-hero-content {
    padding-top: 5rem;
    /* Mobile pt-20 */
}

.ryc-hero-title {
    font-size: 2.25rem;
    /* Mobile text-4xl */
    line-height: 2.5rem;
}

/* Desktop Overrides (>= 768px) */
@media (min-width: 768px) {
    .ryc-hero-section-lg {
        height: 60vh;
        min-height: 600px;
    }

    .ryc-hero-section-md {
        height: 50vh;
        min-height: 600px;
    }

    .ryc-hero-section-sm {
        height: 40vh;
        min-height: 600px;
    }

    .ryc-hero-content {
        padding-top: 8rem;
        /* Desktop pt-32 */
    }

    .ryc-hero-title {
        font-size: 3.75rem;
        /* Desktop text-6xl */
        line-height: 1;
    }
}

/* -------------------------------------------------------------------
   About Us Page Styles
   ------------------------------------------------------------------- */

/* Our Mission Section */
.about-mission-title {
    font-size: 30px;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.about-mission-text {
    font-size: 20px;
    color: #475569;
    line-height: 1.7;
}

/* Our Approach Section */
.about-approach-content {
    background-color: #f8fafc;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

@media (min-width: 1024px) {
    .about-approach-content {
        padding: 3.5rem 3.5rem 3.5rem 4rem;
    }
}

.about-approach-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.about-approach-text {
    font-size: 18px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-approach-quote {
    border-left: 4px solid #dc2626;
    padding-left: 1rem;
}

.about-approach-quote p {
    font-size: 18px;
    font-weight: 700;
    color: #334155;
    line-height: 1.6;
    margin: 0;
}

/* Our Team Section */
.about-team-photo {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border: 4px solid #fff;
    margin: 0 auto 1rem;
    flex-shrink: 0;
}

.about-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-team-photo-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-team-name {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

.about-team-role {
    font-size: 16px;
    font-weight: 700;
    color: #dc2626;
}

/* Our Services Section */
.about-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .about-services-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* Why RYC Section */
.about-promise-box {
    background-color: #f8fafc;
    /* slate-50 */
    border-radius: 1rem;
    padding: 2.5rem;
    margin-top: 2rem;
}

.about-promise-title {
    font-size: 20px;
    font-weight: 700;
    color: #dc2626;
    /* red-600 */
    margin-bottom: 1rem;
}

.about-promise-text {
    font-size: 18px;
    color: #475569;
    font-style: italic;
    line-height: 1.7;
}

.about-cta-card {
    background-color: #0f172a;
    /* slate-900 */
    color: #ffffff;
    border-radius: 1.5rem;
    padding: 3.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.about-cta-title {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

.about-cta-desc {
    font-size: 18px;
    color: #cbd5e1;
    /* slate-300 */
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-cta-button {
    background-color: #dc2626;
    /* red-600 */
    color: #ffffff;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 9999px;
    width: 100%;
    display: inline-block;
    text-align: center;
    transition: background-color 0.3s ease;
}

.about-cta-button:hover {
    background-color: #b91c1c;
    /* red-700 */
}

.about-cta-footer {
    text-align: center;
    color: #94a3b8;
    /* slate-400 */
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1.5rem;
}

/* Utilities */
.font-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Layout Utilities Polyfill */
.gap-y-24 {
    row-gap: 6rem;
}

.py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.border-b-2 {
    border-bottom-width: 2px;
}

@media (min-width: 768px) {
    .md\:py-32 {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

.gap-x-12 {
    column-gap: 3rem;
}

/* Accordion Utilities */
.max-h-0 {
    max-height: 0;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.ease-out {
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.p-6 {
    padding: 1.5rem;
}

.hover\:border-slate-400:hover {
    border-color: #94a3b8;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* FAQ Hover Effect */
.faq-item:hover h4 {
    color: #ef4444;
    transition: color 0.2s ease;
}

/* Sidebar CTA Utilities */
.bg-red-600 {
    background-color: #dc2626;
}

.text-red-600 {
    color: #dc2626;
}

.text-white\/90 {
    color: rgb(255 255 255 / 0.9);
}

.hover\:bg-slate-50:hover {
    background-color: #f8fafc;
}

/* Pagination Styles */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
}

.nav-links .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #475569;
    background-color: white;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
    text-decoration: none;
}

.nav-links .page-numbers:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
    color: #0f172a;
}

.nav-links .page-numbers.current {
    background-color: #dc2626;
    border-color: #dc2626;
    color: white;
}

.nav-links .page-numbers.dots {
    border: none;
    background: transparent;
    color: #94a3b8;
}

/* Challenge Section Utilities */
.bg-challenge-card {
    background-color: #fef8f8;
}

.challenge-card-item {
    width: 100%;
}

/* Pain Points Section */
.ryc-quote-box {
    background-color: #1b2336;
    /* slate-800 */
    border-left: 6px solid #dc2626;
    /* red-600 */
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    padding: 2rem;
    /* shadow-lg */
}

.ryc-challenges-box {
    background-color: #1b2336;
    /* slate-800 matches quote box */
    border-radius: 1rem;
    padding: 1.5rem 2.5rem;
    border: 1px solid rgba(51, 65, 85, 0.5);
    /* slate-700/50 */
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ryc-challenges-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* Increased spacing between items */
    margin-top: 2rem;
    padding-left: 2rem;
    /* Indentation from title */
    list-style: none;
}

.ryc-challenges-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    /* Better indentation gap */
}

/* Custom bullet adjustment to align with text */
.ryc-challenges-list li .custom-bullet {
    width: 0.375rem;
    /* 6px */
    height: 0.375rem;
    border-radius: 9999px;
    background-color: #ef4444;
    /* red-500 */
    margin-top: 0.6rem;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.ryc-challenges-list li:hover .custom-bullet {
    transform: scale(1.25);
}

.ryc-solutions-box {
    background-color: #1b2336;
    /* same as other boxes */
    border-radius: 1rem;
    padding: 2.5rem;
    border: 1px solid rgba(51, 65, 85, 0.5);
    /* slate-700/50 */
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    margin-top: 2rem;
}

.ryc-solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .ryc-solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ryc-solution-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(30, 41, 59, 0.5);
    /* slate-800/50 */
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    /* blue-500 default */
    margin-bottom: 1rem;
    border: 1px solid rgba(51, 65, 85, 0.5);
}

/* Fix previously broken block */
.ryc-challenges-list li .custom-bullet {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background-color: #ef4444;
    margin-top: 0.6rem;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.ryc-challenges-list li:hover .custom-bullet {
    transform: scale(1.25);
}

/* Testimonial Carousel Styles */
.ryc-testi-carousel-wrapper {
    position: relative;
    max-width: 100%;
}

.ryc-testi-track {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}