/*.post-left .post-thumbnail Single Promotion AJAX Navigation Styles */

/* Loading states */
.content-loading {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.ajax-nav-link.loading {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}

.ajax-nav-link.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border: 2px solid #00479D;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Loading overlay */
.ajax-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 71, 157, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #FFC804;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner p {
    font-size: 18px;
    margin: 0;
    font-weight: 500;
}

/* Content animations */
.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Circle navigation buttons */
.nav-circle-btn {
    position: relative;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #FFC804, #FFD54F);
    color: #00479D;
    text-decoration: none;
    border-radius: 50%;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 200, 4, 0.3);
    border: 3px solid white;
}

.nav-circle-btn i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.nav-circle-btn:hover {
    background: linear-gradient(45deg, #FF0056, #FF4081);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 0, 86, 0.4);
}

.nav-circle-btn:hover i {
    transform: scale(1.2);
}

.nav-circle-btn:active {
    transform: translateY(-1px) scale(1.05);
}

/* Previous button specific styles */
.previous-post-link:hover i {
    transform: translateX(-2px) scale(1.2);
}

/* Next button specific styles */
.next-post-link:hover i {
    transform: translateX(2px) scale(1.2);
}

/* Post navigation container */
.post-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 40px 0;
    padding: 20px 40px;
    position: relative;
    z-index: 10;
}

/*
.nav-previous,
.nav-next {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    margin-left: 20px;
    font-family: swiper-icons;
    font-size: var(--swiper-navigation-size);
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}
*/

.nav-previous,
.nav-next {
    background: #FF0056;
    color: #FFFFFF;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin: 0;
    z-index: 20;
}


.nav-previous {
    text-align: left;
}

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

/* Empty state when no navigation available */
.nav-previous:empty,
.nav-next:empty {
    width: 60px;
    height: 60px;
}

/* Keyboard navigation hint */
.keyboard-hint {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #666;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-navigation:hover .keyboard-hint {
    opacity: 1;
}

/* Error message styles */
.ajax-error-message {
    background: #f44336 !important;
    color: white !important;
    padding: 15px !important;
    margin: 20px 0 !important;
    border-radius: 8px !important;
    border-left: 4px solid #d32f2f !important;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3) !important;
    animation: slideInFromTop 0.5s ease-out;
}

.ajax-error-message strong {
    font-weight: bold;
}

.close-error {
    float: right !important;
    background: none !important;
    border: none !important;
    color: white !important;
    cursor: pointer !important;
    font-size: 20px !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin-left: 10px !important;
}

.close-error:hover {
    opacity: 0.7;
}

.nav-items {
  background: var(--sf-primary-red);
  color: #FFFFFF;
  border: none;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  transition: all 0.3s;
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  margin: 0;
  z-index: 20;
  line-height: 50px;
  text-align: center;
  cursor: pointer;
}

.nav-items a {
    color: #fff;
    text-decoration: none;
    font-size: 36px;
    font-weight: bold;
    line-height: 66px;
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .post-navigation {
        padding: 20px;
        margin: 30px 0;
    }
    
    .nav-circle-btn {
        width: 50px;
        height: 50px;
    }
    
    .nav-circle-btn i {
        font-size: 16px;
    }
    
    .loading-spinner p {
        font-size: 16px;
    }
    
    .spinner {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .ajax-loading-overlay {
        padding: 20px;
    }
    
    .nav-circle-btn {
        width: 45px;
        height: 45px;
        border-width: 2px;
    }
    
    .nav-circle-btn i {
        font-size: 14px;
    }
    
    .post-navigation {
        margin: 20px 0;
        padding: 15px 20px;
    }
}

/* Preloader for images */
.post-thumbnail {
    transition: opacity 0.3s ease;
}

.post-thumbnail.loading {
    opacity: 0.5;
}

/* Smooth transitions for all content updates */
.page-hero-content h1,
.page-subtitle,
.post-content {
    transition: opacity 0.3s ease;
}

/* Focus states for accessibility */
.nav-circle-btn:focus {
    outline: 3px solid #00479D;
    outline-offset: 3px;
    transform: scale(1.05);
}

/* Loading state for the hero section */
.page-hero.loading {
    position: relative;
}

.page-hero.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Success animation */
@keyframes successFlash {
    0% { background-color: #4CAF50; }
    50% { background-color: #66BB6A; }
    100% { background-color: transparent; }
}

.ajax-success {
    animation: successFlash 1s ease-out;
}
/*
.post-left .post-thumbnail {
    max-width: 100%;
    min-height: 40vh;
    border-radius: 30px;
    border-style: solid;
    border-width: 20px;
    border-color: white;
}
*/

.post-right {
    flex: 2;
    min-width: 300px;
    display: flex
;
    flex-direction: column;
    justify-content: flex-start;
}
/* Contact Us Button Styles */
.btn-contact-us {
	background-color: white;
	color: black;
	border-radius: 30px;
	padding: 8px 10px;
	font-size: 10px;
	text-decoration: none;
}
