/* Custom Search Form Styling */
.srchfrm {
    text-align: center;
    margin: 40px 0 60px;
    padding: 0 20px;
    position: relative;
}

.srchfrm::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    opacity: 0.7;
}

.srchfrm .search-form {
    display: inline-flex;
    max-width: 600px;
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(12, 30, 91, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.srchfrm .search-form:hover {
    box-shadow: 0 12px 40px rgba(12, 30, 91, 0.15);
    transform: translateY(-2px);
}

.srchfrm .search-form:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(12, 30, 91, 0.2);
}

.srchfrm .search-form label {
    display: none;
}

.srchfrm .search-form .search-field {
    flex: 1;
    padding: 20px 30px;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: var(--font-para);
    color: var(--text-color);
    background: transparent;
}

.srchfrm .search-form .search-field::placeholder {
    color: #999;
    font-style: italic;
}

.srchfrm .search-form .search-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4b8c 100%);
    color: white;
    border: none;
    padding: 20px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-para);
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.srchfrm .search-form .search-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.srchfrm .search-form .search-submit:hover::before {
    left: 100%;
}

.srchfrm .search-form .search-submit:hover {
    background: linear-gradient(135deg, var(--text-color) 0%, #2c3e50 100%);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(12, 30, 91, 0.3);
}

.srchfrm .search-form .search-submit:active {
    transform: scale(0.98);
}

.srchfrm .search-form .search-submit .search-text {
    position: relative;
    z-index: 1;
}

/* Search Icon */
.srchfrm .search-form::before {
    content: "🔍";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #999;
    pointer-events: none;
    z-index: 1;
}

.srchfrm .search-form {
    position: relative;
}

.srchfrm .search-form .search-field {
    padding-left: 50px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .srchfrm .search-form {
        max-width: 500px;
    }
}

@media (max-width: 992px) {
    .srchfrm {
        margin: 30px 0 50px;
        padding: 0 20px;
    }
    
    .srchfrm .search-form {
        max-width: 450px;
    }
    
    .srchfrm .search-form .search-field {
        padding: 18px 25px 18px 45px;
        font-size: 15px;
    }
    
    .srchfrm .search-form .search-submit {
        padding: 18px 25px;
        font-size: 15px;
        min-width: 110px;
    }
    
    .srchfrm .search-form::before {
        left: 18px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .srchfrm {
        margin: 25px 0 40px;
        padding: 0 15px;
    }
    
    .srchfrm .search-form {
        max-width: 100%;
        flex-direction: column;
        border-radius: 25px;
    }
    
    .srchfrm .search-form .search-field {
        padding: 16px 20px;
        border-bottom: 1px solid #eee;
        font-size: 16px;
    }
    
    .srchfrm .search-form .search-submit {
        padding: 16px 20px;
        border-radius: 0 0 23px 23px;
        font-size: 16px;
        min-width: 100%;
    }
    
    .srchfrm .search-form::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .srchfrm {
        margin: 20px 0 30px;
        padding: 0 10px;
    }
    
    .srchfrm .search-form {
        border-radius: 20px;
    }
    
    .srchfrm .search-form .search-field {
        padding: 14px 16px 14px 40px;
        font-size: 14px;
    }
    
    .srchfrm .search-form .search-submit {
        padding: 14px 16px;
        border-radius: 0 0 18px 18px;
        font-size: 14px;
    }
    
    .srchfrm .search-form::before {
        left: 14px;
        font-size: 14px;
    }
    
    .srchfrm::before {
        width: 50px;
        height: 3px;
        top: -15px;
    }
}

@media (max-width: 360px) {
    .srchfrm {
        margin: 15px 0 25px;
        padding: 0 8px;
    }
    
    .srchfrm .search-form .search-field {
        padding: 12px 14px 12px 35px;
        font-size: 13px;
    }
    
    .srchfrm .search-form .search-submit {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .srchfrm .search-form::before {
        left: 12px;
        font-size: 13px;
    }
}

/* Animation for search form appearance */
.srchfrm .search-form {
    animation: slideInUp 0.6s ease-out;
}

.srchfrm .search-form .search-field {
    animation: fadeInLeft 0.8s ease-out 0.2s both;
}

.srchfrm .search-form .search-submit {
    animation: fadeInRight 0.8s ease-out 0.4s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Pulse animation for search icon */
.srchfrm .search-form::before {
    animation: pulse 2s infinite;
}

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

/* Focus states for accessibility */
.srchfrm .search-form .search-field:focus {
    background: rgba(12, 30, 91, 0.02);
}

.srchfrm .search-form .search-submit:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Touch-friendly improvements for mobile */
@media (max-width: 768px) {
    .srchfrm .search-form .search-field {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 0;
    }
    
    .srchfrm .search-form .search-submit {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    /* Prevent zoom on iOS */
    .srchfrm .search-form .search-field {
        font-size: 16px !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .srchfrm .search-form {
        border: 2px solid var(--primary-color);
    }
    
    .srchfrm .search-form .search-field {
        border: 1px solid var(--primary-color);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .srchfrm .search-form,
    .srchfrm .search-form .search-field,
    .srchfrm .search-form .search-submit,
    .srchfrm .search-form::before {
        animation: none;
        transition: none;
    }
    
    .srchfrm .search-form .search-submit::before {
        display: none;
    }
}

/* Loading state */
.srchfrm .search-form.loading .search-submit {
    background: #ccc;
    cursor: not-allowed;
}

.srchfrm .search-form.loading .search-submit::after {
    content: "⏳";
    margin-left: 5px;
} 

/* Blog Detail Hero Section */
.blog-detail-hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid #e9ecef;
}



/* Breadcrumb Styling */
.breadcrumb-wrapper {
    margin-bottom: 30px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6c757d;
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--text-color);
    text-decoration: underline;
}

.breadcrumb-nav .separator {
    color: #adb5bd;
    width: auto;
}

.breadcrumb-nav .current {
    color: #495057;
    font-weight: 500;
}

/* Post Header */
.post-header {
    margin-bottom: 40px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #6c757d;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta svg {
    color: var(--primary-color);
}

.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
    margin-bottom: 20px;
    font-family: var(--font-para);
}

.post-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #6c757d;
    font-style: italic;
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin-bottom: 30px;
}

/* Featured Image */
.post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(12, 30, 91, 0.1);
}

.featured-img {
    width: 100%;
    height: 520px;
    display: block;
    object-fit: cover;
}

/* Blog Content Section */
.blog-content-section {
    padding: 60px 0;
    background: #ffffff;
}



.blog-content {
    margin-bottom: 50px;
}

/* WordPress Editor Content Styling */
.post-content {
    font-family: var(--font-para);
    line-height: 1.7;
    color: var(--text-color);
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    font-family: var(--font-para);
    font-weight: 600;
    line-height: 1.3;
    margin: 40px 0 20px;
    color: var(--text-color);
}

.post-content h1 {
    font-size: 2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.post-content h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content h4 {
    font-size: 1.25rem;
}

.post-content p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.post-content ul,
.post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.post-content ul {
    list-style-type: disc;
}

.post-content ol {
    list-style-type: decimal;
}

.post-content blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    font-size: 1.1rem;
    border-radius: 0 8px 8px 0;
}

.post-content blockquote p {
    margin: 0;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.post-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.post-content a:hover {
    color: var(--text-color);
}

.post-content strong,
.post-content b {
    font-weight: 700;
}

.post-content em,
.post-content i {
    font-style: italic;
}

.post-content code {
    background: #f1f3f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.post-content pre {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.post-content pre code {
    background: none;
    padding: 0;
}

/* Post Footer */
.post-footer {
    border-top: 1px solid #e9ecef;
    padding-top: 30px;
    margin-top: 40px;
}

.post-tags {
    margin-bottom: 30px;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tags-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

.tag-link {
    display: inline-block;
    padding: 6px 12px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}







/* Responsive Design */
@media (max-width: 768px) {
    .blog-detail-hero {
        padding: 60px 0 40px;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .blog-content-section {
        padding: 40px 0;
    }
    
    .post-content h1 {
        font-size: 1.75rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 600px) {
    .featured-img {
        height: auto;
    }
    .blog-detail-hero{
        padding: 55px 0 0 0;
    }
    .blog-content-section {
        padding: 0;
    }
    .post-content h1,
    .post-content h2,
    .post-content h3,
    .post-content h4,
    .post-content h5,
    .post-content h6 {
        margin: 10px 0 5px;
    }
}

@media (max-width: 480px) {
    .post-title {
        font-size: 1.75rem;
    }
    
    .post-content {
        font-size: 0.95rem;
    }
    
    .post-content h1 {
        font-size: 1.5rem;
    }
    
    .post-content h2 {
        font-size: 1.25rem;
    }
}

/* Print Styles */
@media print {
    .breadcrumb-wrapper,
    .post-footer {
        display: none;
    }
    
    .blog-detail-hero {
        padding: 20px 0;
    }
    
    .post-title {
        font-size: 1.5rem;
    }
    
    .post-content {
        font-size: 12pt;
        line-height: 1.6;
    }
} 