/**
 * Styles for privacy policy page
 * 
 * Color Palette: Fresh Greens
 * Primary: Sage Green (#6B9080)
 * Secondary: Forest Green (#4D7063)
 * Dark: Deep Green (#2D4739)
 * Light: Mint Cream (#F6FFF8)
 * Neutral: Pale Sage (#CCE3DE)
 */

/* Container */
.dr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

/* Common Text Styles */
.text-center {
    text-align: center;
}

/* Privacy Policy Hero Section */
.privacy-hero {
    background-color: #F6FFF8;
    text-align: center;
    padding: 40px 0;
    border-bottom: 1px solid #CCE3DE;
}

.page-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #2D4739;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.privacy-last-updated {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: #4D7063;
    margin: 0;
    font-style: italic;
}

/* Privacy Policy Content Section */
.privacy-content-section {
    padding: 50px 0;
}

.privacy-content-section .dr-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.privacy-content {
    flex: 1;
    min-width: 300px;
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: #4D7063;
}

.privacy-sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* Privacy Intro */
.privacy-intro {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #4D7063;
    font-family: 'Nunito', sans-serif;
}

/* Privacy Sections */
.privacy-section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.privacy-section:last-child {
    border-bottom: none;
}

.privacy-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 30px 0 20px;
    color: #2D4739;
    position: relative;
    padding-bottom: 10px;
}

.privacy-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #6B9080;
}

.privacy-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 25px 0 15px;
    color: #4D7063;
}

.privacy-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 0 10px;
    color: #4D7063;
}

.privacy-section p {
    margin: 0 0 15px;
    font-size: 1rem;
    line-height: 1.7;
    font-family: 'Nunito', sans-serif;
    color: #4D7063;
}

.privacy-section ul {
    margin: 0 0 20px 20px;
    padding: 0;
}

.privacy-section li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 5px;
}

.privacy-section a {
    color: #6B9080;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-section a:hover {
    color: #4D7063;
    text-decoration: underline;
}

/* Sidebar Styles */
.sidebar-about-box,
.sidebar-featured-box,
.sidebar-cta-box,
.sidebar-newsletter-box {
    background-color: #F6FFF8;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(107, 144, 128, 0.08);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Different border styles for each box type */
.sidebar-about-box {
    border-top: 3px solid #6B9080;
    border-bottom: 1px solid rgba(204, 227, 222, 0.5);
}

.sidebar-newsletter-box {
    border-left: 3px solid #4D7063;
    background: linear-gradient(145deg, #F6FFF8, #E6F5E8);
}

.sidebar-featured-box {
    border-right: 3px solid #6B9080;
    border-bottom: 1px solid rgba(204, 227, 222, 0.5);
}

.sidebar-about-box:hover,
.sidebar-featured-box:hover,
.sidebar-cta-box:hover,
.sidebar-newsletter-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(107, 144, 128, 0.15);
}

/* Newsletter Box Styles */
.sidebar-newsletter-box h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 15px;
    color: #2D4739;
    position: relative;
    display: inline-block;
}

.sidebar-newsletter-box h3:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #6B9080;
}

.sidebar-newsletter-content p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #4D7063;
}

.sidebar-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-newsletter-form input {
    padding: 12px 15px;
    border: 1px solid #CCE3DE;
    border-radius: 6px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    background-color: #fff;
    color: #4D7063;
    transition: all 0.3s ease;
}

.sidebar-newsletter-form input:focus {
    outline: none;
    border-color: #6B9080;
    box-shadow: 0 0 0 3px rgba(107, 144, 128, 0.1);
}

.sidebar-newsletter-form button {
    padding: 12px 15px;
    background-color: #6B9080;
    color: white;
    border: none;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-newsletter-form button:hover {
    background-color: #4D7063;
    transform: translateY(-2px);
}

/* Sidebar About Box */
.sidebar-profile {
    text-align: center;
    margin-bottom: 20px;
}

.sidebar-profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #6B9080;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(107, 144, 128, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(107, 144, 128, 0.2);
}

.sidebar-profile h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 5px;
    color: #2D4739;
}

.sidebar-role {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    color: #4D7063;
    font-style: italic;
    margin: 0 0 15px;
}

.sidebar-about-content p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #4D7063;
}

.sidebar-social {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(107, 144, 128, 0.1);
    border-radius: 8px;
    color: #4D7063;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(107, 144, 128, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    background-color: #6B9080;
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(107, 144, 128, 0.2);
}

.social-icon:hover:before {
    opacity: 1;
}

/* Sidebar Featured Box */
.featured-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 20px;
    color: #2D4739;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px dashed #6B9080;
    position: relative;
}

.featured-title:before,
.featured-title:after {
    content: '✦';
    position: absolute;
    bottom: -10px;
    color: #6B9080;
    font-size: 1rem;
    background-color: #F6FFF8;
    padding: 0 8px;
}

.featured-title:before {
    left: 20%;
}

.featured-title:after {
    right: 20%;
}

.sidebar-featured-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid rgba(204, 227, 222, 0.5);
    transition: all 0.3s ease;
    border-radius: 10px;
    background-color: #F6FFF8;
    box-shadow: 0 3px 10px rgba(107, 144, 128, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sidebar-featured-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: #6B9080;
    transition: width 0.3s ease;
}

.sidebar-featured-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.sidebar-featured-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(107, 144, 128, 0.15);
}

.sidebar-featured-item:hover:before {
    width: 100%;
    opacity: 0.1;
}

.sidebar-featured-item img,
.sidebar-featured-item .sidebar-thumbnail {
    width: 100%;
    height: 140px;
    border-radius: 6px;
    object-fit: cover;
    margin-bottom: 12px;
    box-shadow: 0 3px 8px rgba(107, 144, 128, 0.1);
    transition: all 0.3s ease;
}

.sidebar-featured-item:hover img,
.sidebar-featured-item:hover .sidebar-thumbnail {
    transform: scale(1.02);
    box-shadow: 0 5px 12px rgba(107, 144, 128, 0.15);
}

.default-thumbnail {
    background-color: #F6FFF8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B9080;
    font-size: 1.5rem;
    border: 1px solid #CCE3DE;
}

.sidebar-featured-content {
    width: 100%;
}

.sidebar-featured-content h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: #2D4739;
    line-height: 1.3;
}

.sidebar-featured-content h4 a {
    color: #2D4739;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    position: relative;
    z-index: 2;
}

.sidebar-featured-content h4 a:hover {
    color: #6B9080;
}

.sidebar-featured-content .post-date {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    color: #6B9080;
    font-style: italic;
    margin-top: 5px;
    display: block;
}

.sidebar-featured-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 2.8em;
}



/* Responsive Styles */
@media (max-width: 992px) {
    .privacy-content-section .dr-container {
        flex-direction: column-reverse;
    }
    
    .privacy-sidebar {
        width: 100%;
    }
    
    .privacy-toc {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .privacy-hero {
        padding: 30px 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .privacy-content-section {
        padding: 30px 0;
    }
    
    .privacy-section h2 {
        font-size: 1.6rem;
    }
    
    .privacy-section h3 {
        font-size: 1.3rem;
    }
    
    .privacy-section h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .privacy-hero {
        padding: 25px 0;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .privacy-last-updated {
        font-size: 0.9rem;
    }
    
    .privacy-intro {
        font-size: 1rem;
    }
    
    .privacy-section h2 {
        font-size: 1.4rem;
    }
    
    .privacy-section h3 {
        font-size: 1.2rem;
    }
    
    .privacy-section h4 {
        font-size: 1rem;
    }
    
    .privacy-section p, 
    .privacy-section li {
        font-size: 0.95rem;
    }
}
