/**
 * Sherbimet Single Post Styles
 */

/* ============================================
   Hero Section
   ============================================ */

.sherbimet-hero {
    position: relative;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 0;
    margin-bottom: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 60px 0 80px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

.hero-content .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.breadcrumb {
    display: inline-flex;
    align-items: center;
    background: rgba(51, 51, 51, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--color-white);
}

.breadcrumb a {
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb .current {
    color: var(--color-white);
    font-weight: 600;
}

/* Hero Title */
.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 20px;
    line-height: 1.2;
}

/* Hero Excerpt */
.hero-excerpt {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-white);
    max-width: 800px;
    margin-top: 20px;
}

/* ============================================
   Content Section
   ============================================ */

.sherbimet-content-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.sherbimet-content-section .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr 350px;
    gap: 40px;
    align-items: start;
}

/* ============================================
   Left Sidebar Navigation
   ============================================ */

.sidebar-left {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-gray-light);
}

.section-navigation {
    margin: 0;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 8px;
}

.nav-link {
    display: block;
    padding: 12px 16px;
    color: var(--color-gray-dark);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    border-radius: 6px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background-color: var(--color-gray-light);
    color: var(--color-primary);
}

.nav-link.active {
    background-color: rgba(0, 102, 204, 0.05);
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    font-weight: 600;
}

/* ============================================
   Main Content
   ============================================ */

.sherbimet-main-content {
    min-height: 500px;
}

.content-section {
    margin-bottom: 60px;
    scroll-margin-top: 120px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.section-heading {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 25px;
    line-height: 1.3;
}

.section-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-gray-dark);
}

.section-content p {
    margin-bottom: 20px;
}

.section-content h3,
.section-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.section-content ul,
.section-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.section-content li {
    margin-bottom: 10px;
}

.section-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 20px 0;
}

/* ============================================
   Right Sidebar Contact Form
   ============================================ */

.sidebar-right {
    position: relative;
}

.contact-form-wrapper {
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper .wpcf7-form {
    margin: 0;
}

.contact-form-wrapper .wpcf7-form p {
    margin-bottom: 20px;
}

.contact-form-wrapper .wpcf7-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-dark);
    font-size: 14px;
}

.contact-form-wrapper .wpcf7-form input[type="text"],
.contact-form-wrapper .wpcf7-form input[type="email"],
.contact-form-wrapper .wpcf7-form input[type="tel"],
.contact-form-wrapper .wpcf7-form select,
.contact-form-wrapper .wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.contact-form-wrapper .wpcf7-form input:focus,
.contact-form-wrapper .wpcf7-form select:focus,
.contact-form-wrapper .wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.contact-form-wrapper .wpcf7-form input[type="submit"] {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
}

.contact-form-wrapper .wpcf7-form input[type="submit"]:hover {
    background-color: var(--color-primary-dark);
}

.contact-form-wrapper .wpcf7-checkbox,
.contact-form-wrapper .wpcf7-radio {
    margin: 15px 0;
}

.contact-form-wrapper .wpcf7-checkbox label,
.contact-form-wrapper .wpcf7-radio label {
    font-weight: 400;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-form-wrapper .wpcf7-checkbox input[type="checkbox"],
.contact-form-wrapper .wpcf7-radio input[type="radio"] {
    width: auto;
    margin-top: 3px;
}

/* ============================================
   FAQ Section
   ============================================ */

.sherbimet-faq-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.sherbimet-faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-title {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.faq-subtitle {
    font-size: 42px;
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
    line-height: 1.2;
}

.faq-search {
    position: relative;
    margin-bottom: 30px;
}

.faq-search-input {
    width: 100%;
    padding: 16px 50px 16px 20px;
    background: var(--color-white);
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-family: var(--font-primary);
    color: var(--color-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.faq-search-input:focus {
    outline: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.faq-search-input::placeholder {
    color: var(--color-gray);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gray);
    pointer-events: none;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--color-white);
    font-size: 16px;
    font-weight: 500;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.faq-question-text {
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
}

.faq-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer-content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.7;
}

.faq-answer-content p {
    margin-bottom: 15px;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-item.hidden {
    display: none;
}
.single-sherbimet .faq-answer p {
    color: #fff;
    padding: 0;
    font-size: 18px;
}
/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1200px) {
    .content-wrapper {
        grid-template-columns: 220px 1fr 320px;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sidebar-left,
    .sidebar-right {
        order: 2;
    }
    
    .sherbimet-main-content {
        order: 1;
    }
    
    .sidebar-sticky {
        position: relative;
        top: 0;
    }
    
    .nav-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .nav-item {
        margin-bottom: 0;
    }
    
    .nav-link {
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    
    .nav-link.active {
        border-left: none;
        border-bottom-color: var(--color-primary);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-excerpt {
        font-size: 16px;
    }
    
    .section-heading {
        font-size: 28px;
    }
    
    .faq-subtitle {
        font-size: 32px;
    }
    
    .content-section {
        scroll-margin-top: 80px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-content {
        padding: 40px 0 60px;
    }
    
    .sherbimet-content-section {
        padding: 60px 0;
    }
    
    .sherbimet-faq-section {
        padding: 60px 0;
    }
    
    .faq-subtitle {
        font-size: 24px;
    }
}

/* ============================================
   Archive Page Styles
   ============================================ */

.sherbimet-archive-banner {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 60px 0 80px;
    color: var(--color-white);
}

.sherbimet-archive-banner .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.banner-content {
    max-width: 900px;
    margin: 0 auto;
}

.banner-content .breadcrumb {
    margin-bottom: 30px;
}

.archive-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 20px;
    line-height: 1.2;
}

.archive-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 40px;
    line-height: 1.6;
}

/* Search Form */
.archive-search-form {
    margin-top: 30px;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--color-white);
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.search-input {
    flex: 1;
    padding: 14px 50px 14px 20px;
    border: none;
    background: transparent;
    font-size: 16px;
    font-family: var(--font-primary);
    color: var(--color-dark);
    outline: none;
}

.search-input::placeholder {
    color: var(--color-gray);
}

.search-icon {
    position: absolute;
    left: 20px;
    color: var(--color-gray);
    pointer-events: none;
}

.search-button {
    padding: 12px 30px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.search-button:hover {
    background: var(--color-primary-dark);
}

/* Archive Content Section */
.sherbimet-archive-content {
    padding: 60px 0;
    background: var(--color-gray-light);
    min-height: 60vh;
}

.sherbimet-archive-content .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.sherbimet-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sherbimet-item {
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.sherbimet-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.sherbimet-item-wrapper {
    display: flex;
    gap: 0;
    align-items: flex-start;
}

/* Featured Image */
.sherbimet-image {
    position: relative;
    overflow: hidden;
    background: var(--color-gray-light);
}

.sherbimet-image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.sherbimet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.sherbimet-item:hover .sherbimet-image img {
    transform: scale(1.05);
}

.sherbimet-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-light);
}

.sherbimet-image-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.5;
}

/* Content Area */
.sherbimet-content {
    padding: 30px 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sherbimet-header {
    margin-bottom: 15px;
}

.sherbimet-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 10px;
    line-height: 1.3;
}

.sherbimet-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.sherbimet-title a:hover {
    color: var(--color-primary);
}

.sherbimet-excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-gray-dark);
    margin-bottom: 20px;
    flex: 1;
}

.sherbimet-excerpt p {
    margin: 0;
}

/* Footer with Button */
.sherbimet-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
}

.sherbimet-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.sherbimet-button:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.sherbimet-button svg {
    transition: var(--transition);
}

.sherbimet-button:hover svg {
    transform: translateX(4px);
}

/* Pagination */
.sherbimet-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.sherbimet-pagination .page-numbers {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sherbimet-pagination .page-numbers li {
    margin: 0;
}

.sherbimet-pagination .page-numbers a,
.sherbimet-pagination .page-numbers span {
    display: block;
    padding: 10px 16px;
    background: var(--color-white);
    color: var(--color-dark);
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
    font-weight: 500;
}

.sherbimet-pagination .page-numbers a:hover,
.sherbimet-pagination .page-numbers .current {
    background: var(--color-primary);
    color: var(--color-white);
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    background: var(--color-white);
    border-radius: var(--border-radius);
}

.no-posts p {
    font-size: 18px;
    color: var(--color-gray-dark);
    margin: 10px 0;
}

section.sherbimet-faq-section {
    background: #f3f4f4;
    border-radius: inherit;
    padding: 0;
}

section.sherbimet-faq-section .container {
    width: 1400px;
    max-width: 100%;
    margin: auto;
    padding: 0 20px;
    background-image: url(https://sanartdental.impactstudio.al/wp-content/uploads/2026/02/faq-bg.webp);
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 30px 0;
}

.faq-wrapper {
    max-width: 100%;
}

.faq-search {
    max-width: 100%;
}
section.sherbimet-faq-section {
    padding-bottom: 50px;
}
input#faq-search {
    padding-left: 60px;
    color: #fff;
    background: transparent;
    border-bottom: 1px solid;
}

input#faq-search::placeholder {
color: #fff;
}

svg.search-icon {
    color: #fff;
}

button.faq-question {
    font-size: 22px;
}

.faq-icon svg {
    width: 30px;
    height: 30px;
}

span.faq-icon {
    width: 42px;
    height: 42px;
    border: 1px solid;
}

svg.search-icon {
    color: #000;
}

input.search-input {
    padding-left: 55px;
    font-size: 18px;
    color: #000;
}

input.search-input::placeholder {
    color: #000;
}

.sherbimet-item {
    padding: 20px;
}

.sherbimet-image img {
    width: 140px;
    height: 140px;
}

header.sherbimet-header {
    margin: 0;
}

.sherbimet-content {
    padding-top: 0;
    padding-bottom: 0;
}

.sherbimet-image {
    width: 140px;
    flex: 0 0 140px;
}

a.sherbimet-image-link {
    width: 140px;
}

.sherbimet-item-wrapper > div:last-of-type {
    flex: 0 0 200px;
    align-self: flex-end;
}

.sherbimet-faq-section svg.search-icon {
    color: #fff;
}

/* Archive Page Responsive */
@media (max-width: 768px) {
    .sherbimet-item-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sherbimet-image {
        min-height: 200px;
    }
    
    .sherbimet-content {
        padding: 25px;
    }
    
    .archive-title {
        font-size: 32px;
    }
    
    .search-wrapper {
        flex-direction: column;
        border-radius: 12px;
        padding: 0;
        gap: 0;
    }
    
    .search-input {
        padding: 14px 20px 14px 50px;
        border-radius: 12px 12px 0 0;
    }
    
    .search-button {
        width: 100%;
        border-radius: 0 0 12px 12px;
        padding: 14px 30px;
    }
}

@media (max-width: 480px) {
    .sherbimet-archive-banner {
        padding: 40px 0 60px;
    }
    
    .archive-title {
        font-size: 28px;
    }
    
    .sherbimet-title {
        font-size: 24px;
    }
    
    .sherbimet-content {
        padding: 20px;
    }
    
    .sherbimet-button {
        width: 100%;
        justify-content: center;
    }
}
