/* CTA Component Styles */
.in-office-cta {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-top: 20px;
}

.cta-counter {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 6px;
    border: 2px solid #00d3ff;
}

.cta-counter-text {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.cta-counter-animation {
    font-size: 48px;
    font-weight: bold;
    color: #00d3ff;
    margin: 15px 0;
}

.counter-remaining {
    color: #ff6b6b;
}

.counter-separator {
    color: #333;
    margin: 0 10px;
}

.counter-initial {
    color: #999;
}

.cta-counter-subtext {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

.cta-or-text {
    text-align: center;
    font-size: 16px;
    margin: 20px 0;
    color: #666;
}

.cta-meeting-link {
    text-align: center;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #00d3ff;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #00a8cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 211, 255, 0.3);
}

/* Articles Carousel Styles */
.articles-carousel {
    padding: 60px 0;
    background: #f8f9fa;
}

.articles-carousel h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    color: #333;
}

.articles-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
}

.articles-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.article-card {
    flex: 0 0 calc(33.333% - 20px);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.article-image {
    overflow: hidden;
    height: 200px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 20px;
}

.article-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.article-title a {
    color: #333;
    text-decoration: none;
}

.article-title a:hover {
    color: #00d3ff;
}

.article-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

.article-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.article-read-more {
    color: #00d3ff;
    text-decoration: none;
    font-weight: bold;
}

.article-read-more:hover {
    text-decoration: underline;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 2px solid #00d3ff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.carousel-nav:hover:not(:disabled) {
    background: #00d3ff;
    color: #fff;
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-nav .dashicons {
    font-size: 30px;
    width: 30px;
    height: 30px;
}

/* Downloadable Resources Styles */
.downloadable-resources {
    padding: 60px 0;
    background: #fff;
}

.downloadable-resources h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 36px;
    color: #333;
}

.downloads-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
    line-height: 1.8;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.resource-item {
    display: flex;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.resource-item:hover {
    border-color: #00d3ff;
    box-shadow: 0 5px 15px rgba(0, 211, 255, 0.2);
}

.resource-icon {
    flex: 0 0 80px;
    height: 80px;
    background: #00d3ff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    position: relative;
}

.resource-icon .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #fff;
}

.resource-ext {
    position: absolute;
    bottom: 5px;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
}

.resource-content {
    flex: 1;
}

.resource-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.resource-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.resource-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #00d3ff;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s;
}

.resource-download-btn:hover {
    background: #00a8cc;
}

.resource-download-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .article-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media screen and (max-width: 768px) {
    .articles-carousel-wrapper {
        padding: 0 50px;
    }
    
    .article-card {
        flex: 0 0 100%;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    .carousel-nav .dashicons {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-counter-animation {
        font-size: 36px;
    }
}

@media screen and (max-width: 480px) {
    .resource-item {
        flex-direction: column;
        text-align: center;
    }
    
    .resource-icon {
        margin: 0 auto 20px;
    }
    
    .cta-counter-animation {
        font-size: 28px;
    }
}

/* Header Logo */
.site-branding .site-logo {
    max-width: 200px;
    height: auto;
    display: block;
}

@media screen and (max-width: 768px) {
    .site-branding .site-logo {
        max-width: 150px;
    }
}