/**
 * Full Width Content Template Styles
 */

/* ===================================
   Fixed Call Now Button
   =================================== */
.fixed-call-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.call-now-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #171843 0%, #3757a7 100%);
    color: #fff;
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(23, 24, 67, 0.4);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.call-now-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(23, 24, 67, 0.6);
    color: #fff;
}

.call-now-button svg {
    flex-shrink: 0;
    animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-10deg);
    }
    20%, 40% {
        transform: rotate(10deg);
    }
}

.call-text {
    font-weight: 700;
}

.call-number {
    font-weight: 600;
    opacity: 0.95;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .fixed-call-cta {
        bottom: 20px;
        right: 20px;
        left: 20px;
    }

    .call-now-button {
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .call-number {
        display: none;
    }
}

@media (max-width: 480px) {
    .call-now-button {
        padding: 12px 18px;
        font-size: 0.9rem;
    }
}

/* ===================================
   Main Template Container
   =================================== */
.full-width-template {
    max-width: 100%;
    margin: 0;
    padding: 40px 0;
    background: #f5f7fa;
}

.full-width-template article {
    background: #fff;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

/* ===================================
   Header & Hero Section
   =================================== */
.full-width-template .entry-header {
    margin-bottom: 40px;
    background: #fff;
}

.full-width-template .featured-image-hero {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    min-height: 400px;
}

.full-width-template .featured-image-hero img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.full-width-template .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(23, 24, 67, 0.6) 0%, rgba(23, 24, 67, 0.8) 100%);
    z-index: 1;
}

.full-width-template .title-wrapper {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    padding: 40px;
    text-align: center;
}

.full-width-template .title-wrapper-no-image {
    position: static;
    transform: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 40px 0;
    text-align: left;
}

.full-width-template .entry-title {
    font-size: 2.75rem;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-left: none;
    padding-left: 0;
}

.full-width-template .title-wrapper-no-image .entry-title {
    color: #171843;
    text-shadow: none;
    border-left: 5px solid #3757a7;
    padding-left: 20px;
    text-align: left;
}

.full-width-template .entry-subtitle {
    font-size: 1.25rem;
    color: #fff;
    font-weight: 400;
    margin: 0;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.full-width-template .title-wrapper-no-image .entry-subtitle {
    color: #666;
    text-shadow: none;
}

/* ===================================
   Main Content Area
   =================================== */
.full-width-template .entry-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 40px 60px;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #333;
    background: #fff;
}

/* Typography */
.full-width-template .entry-content h2 {
    font-size: 1.875rem;
    margin: 40px 0 20px;
    color: #171843;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.3px;
    padding-bottom: 10px;
    border-bottom: 3px solid #3757a7;
}

.full-width-template .entry-content h2:first-child {
    margin-top: 0;
}

.full-width-template .entry-content h3 {
    font-size: 1.5rem;
    margin: 35px 0 15px;
    color: #171843;
    font-weight: 600;
    line-height: 1.4;
    position: relative;
    padding-left: 15px;
}

.full-width-template .entry-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: #3757a7;
    border-radius: 2px;
}

.full-width-template .entry-content h4 {
    font-size: 1.25rem;
    margin: 30px 0 12px;
    color: #171843;
    font-weight: 600;
}

.full-width-template .entry-content p {
    margin-bottom: 18px;
    color: #444;
}

.full-width-template .entry-content p:last-child {
    margin-bottom: 0;
}

.full-width-template .entry-content p strong {
    color: #171843;
    font-weight: 600;
}

/* Lists */
.full-width-template .entry-content ul,
.full-width-template .entry-content ol {
    margin: 20px 0 20px 25px;
    padding-left: 20px;
    background: #f8f9fa;
    padding: 20px 20px 20px 45px;
    border-radius: 8px;
}

.full-width-template .entry-content li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #444;
}

.full-width-template .entry-content ul li::marker {
    color: #3757a7;
    font-weight: bold;
}

.full-width-template .entry-content ul li {
    list-style-type: disc;
}

.full-width-template .entry-content ol li {
    list-style-type: decimal;
}

/* Links */
.full-width-template .entry-content a {
    color: #3757a7;
    text-decoration: none;
    border-bottom: 1px solid rgba(55, 87, 167, 0.3);
    transition: all 0.2s ease;
}

.full-width-template .entry-content a:hover {
    color: #171843;
    border-bottom-color: #171843;
}

/* Blockquotes */
.full-width-template .entry-content blockquote {
    margin: 30px 0;
    padding: 25px 30px;
    background: #f8f9fa;
    border-left: 5px solid #3757a7;
    font-style: italic;
    color: #555;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.full-width-template .entry-content blockquote p {
    margin-bottom: 0;
}

/* Images in content */
.full-width-template .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* ===================================
   Info Boxes & Callouts
   =================================== */
.info-box,
.full-width-template .entry-content .info-box {
    background: #eff6ff;
    border-left: 5px solid #3757a7;
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(55, 87, 167, 0.1);
}

.info-box h3,
.full-width-template .entry-content .info-box h3 {
    margin-top: 0;
    color: #171843;
    padding-left: 0;
}

.info-box h3::before,
.full-width-template .entry-content .info-box h3::before {
    display: none;
}

.warning-box,
.full-width-template .entry-content .warning-box {
    background: #fef3c7;
    border-left: 5px solid #f59e0b;
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.1);
}

.warning-box h3,
.full-width-template .entry-content .warning-box h3 {
    padding-left: 0;
}

.warning-box h3::before,
.full-width-template .entry-content .warning-box h3::before {
    display: none;
}

.success-box,
.full-width-template .entry-content .success-box {
    background: #d1fae5;
    border-left: 5px solid #10b981;
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.success-box h3,
.full-width-template .entry-content .success-box h3 {
    padding-left: 0;
}

.success-box h3::before,
.full-width-template .entry-content .success-box h3::before {
    display: none;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    background: #171843;
    padding: 60px 40px;
    margin: 60px 0 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(55, 87, 167, 0.3) 0%, rgba(23, 24, 67, 0) 100%);
    z-index: 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    color: #fff;
    font-size: 1.125rem;
    margin-bottom: 25px;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #171843;
    padding: 16px 45px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
    background: #f8f9fa;
    color: #171843;
}

/* Secondary CTA Button Style */
.cta-button-secondary {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 18px 50px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    margin-left: 15px;
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* ===================================
   Accordion / FAQ Section
   =================================== */
.accordion-section {
    margin: 60px 0;
}

.accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-header {
    background: #f8f9fa;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.125rem;
    color: #1a1a1a;
    transition: background 0.2s ease;
    position: relative;
    padding-right: 50px;
}

.accordion-header:hover {
    background: #e5e7eb;
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 400;
    color: #2563eb;
}

.accordion-header.active::after {
    content: '−';
}

.accordion-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
    padding: 20px 25px;
    max-height: 2000px;
}

.accordion-content p:last-child {
    margin-bottom: 0;
}

/* ===================================
   Related Content Section
   =================================== */
.related-content-section {
    background: #f8f9fa;
    padding: 60px 40px;
    margin-top: 80px;
}

.related-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.related-content-section h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 45px;
    color: #1a1a1a;
}

.related-articles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

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

.related-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.related-article a {
    text-decoration: none;
    color: #1a1a1a;
    display: block;
    padding: 25px;
}

.related-article h3 {
    font-size: 1.25rem;
    margin: 0 0 10px;
    font-weight: 600;
}

.related-article p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ===================================
   Page Links (Pagination)
   =================================== */
.page-links {
    margin: 50px 0;
    text-align: center;
}

.page-links a,
.page-links span {
    display: inline-block;
    margin: 0 5px;
    padding: 10px 18px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.page-links a:hover {
    background: #2563eb;
    color: #fff;
}

.page-links .current {
    background: #2563eb;
    color: #fff;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .full-width-template {
        padding: 30px 0;
    }

    .full-width-template .title-wrapper {
        padding: 30px;
    }

    .full-width-template .title-wrapper-no-image {
        padding: 30px 30px 0;
    }

    .full-width-template .entry-content {
        padding: 30px 30px 40px;
    }

    .full-width-template .entry-title {
        font-size: 2.25rem;
    }

    .full-width-template .entry-content h2 {
        font-size: 1.75rem;
    }

    .full-width-template .featured-image-hero {
        min-height: 350px;
    }

    .full-width-template .featured-image-hero img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .full-width-template {
        padding: 20px 0;
    }

    .full-width-template article {
        border-radius: 0;
        margin: 0 10px;
    }

    .full-width-template .title-wrapper {
        padding: 25px 20px;
    }

    .full-width-template .title-wrapper-no-image {
        padding: 25px 20px 0;
    }

    .full-width-template .entry-title {
        font-size: 1.75rem;
    }

    .full-width-template .title-wrapper-no-image .entry-title {
        padding-left: 15px;
        border-left-width: 4px;
    }

    .full-width-template .entry-subtitle {
        font-size: 1rem;
    }

    .full-width-template .featured-image-hero {
        border-radius: 0;
        min-height: 300px;
    }

    .full-width-template .featured-image-hero img {
        height: 300px;
    }

    .full-width-template .entry-content {
        padding: 25px 20px 35px;
        font-size: 1rem;
    }

    .full-width-template .entry-content h2 {
        font-size: 1.5rem;
        margin: 30px 0 15px;
        padding-bottom: 8px;
        border-bottom-width: 2px;
    }

    .full-width-template .entry-content h3 {
        font-size: 1.25rem;
        margin: 25px 0 12px;
        padding-left: 12px;
    }

    .full-width-template .entry-content h3::before {
        width: 3px;
    }

    .full-width-template .entry-content h4 {
        font-size: 1.125rem;
        margin: 20px 0 10px;
    }

    .full-width-template .entry-content p {
        margin-bottom: 15px;
    }

    .full-width-template .entry-content ul,
    .full-width-template .entry-content ol {
        margin: 15px 0;
        padding: 15px 15px 15px 35px;
    }

    .full-width-template .entry-content li {
        margin-bottom: 8px;
    }

    .info-box,
    .warning-box,
    .success-box,
    .full-width-template .entry-content .info-box,
    .full-width-template .entry-content .warning-box,
    .full-width-template .entry-content .success-box {
        padding: 15px 18px;
        margin: 20px 0;
    }

    .cta-section {
        padding: 45px 20px;
        margin-top: 45px;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 14px 35px;
        font-size: 1rem;
        display: inline-block;
    }

    .cta-button-secondary {
        padding: 14px 35px;
        font-size: 1rem;
        margin-left: 0;
        margin-top: 10px;
        display: inline-block;
    }

    .related-content-section {
        padding: 40px 20px;
        margin-top: 45px;
    }

    .related-content-section h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .related-articles {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .accordion-header {
        font-size: 1rem;
        padding: 15px 45px 15px 18px;
    }

    .accordion-header::after {
        right: 18px;
    }

    .accordion-content {
        font-size: 0.95rem;
    }

    .accordion-content.active {
        padding: 15px 18px;
    }
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    .cta-section,
    .related-content-section {
        display: none;
    }

    .full-width-template .entry-content {
        font-size: 12pt;
        line-height: 1.6;
    }
}
