body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffeee6;
    color: #333;
}

/* Content Wrapper */
.content-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr 300px; /* 300px for left and right sidebars, 1fr for main content */
    gap: 5px;
    padding: 0px;
    max-width: 1500px;
    margin: 90px auto;
}

/* Sidebar Left */
.sidebar-left {
    background-color: #ffeee6;
    height: auto;
    border-radius: 0px;

}

/* Sidebar Right */
.sidebar-right {
    background-color: #ffeee6;
    height: auto;
    border-radius: 0px;
 
}

/* Main Content */
.main-content {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Breadcrumb Styling (part of the main content) */
.breadcrumb {
    max-width: 100%; /* Full width of the content area */
    margin-bottom: 10px; /* Small gap between breadcrumb and content */
    padding: 10px 20px; /* Add padding for a better look */
    font-size: 14px;
    font-family: Arial, sans-serif;
    text-align: left;
    margin-left: 10px; 
    padding-left: 0;
}

/* Breadcrumb Links */
.breadcrumb a {
    color: #ad013d;
    text-decoration: none;
    font-weight: bold;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
    cursor: not-allowed;
}
/* Accordion item */
.accordion-item {
    border-bottom: 2px solid #ad013d;
    margin-bottom: 5px;
}

/* Accordion header */
.accordion-header {
    cursor: pointer;
    color: #ad013d;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    position: relative;
    outline: none; /* Remove default outline */
    transition: background-color 0.3s ease, padding 0.3s ease;
}

/* Focus state for accessibility */
.accordion-header:focus {
    outline: 2px dashed #ad013d; /* Add outline for keyboard users */
}

/* Toggle indicator */
.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.accordion-header.active::after {
    content: 'x'; /* Toggle between + and x when active */
}

/* Hover effect */
.accordion-header:hover {
    background-color: #ad013d;
    color: #ffffff;
}

/* Accordion content */
.accordion-content {
    display: block; /* Initially set display to block */
    max-height: 0; /* Start with zero height */
    overflow: hidden; /* Hide overflow when closed */
    background-color: #fff;
    padding: 0 15px; /* Set padding to 0 initially for smooth transition */
    border-left: 2px solid #ad013d;
    font-size: 0.95rem;
    color: #333;
    transition: max-height 0.5s ease, padding 0.5s ease; /* Smooth transitions */
}

/* When the accordion is active, reveal content */
.accordion-header.active + .accordion-content {
    max-height: 500px; /* Set a reasonable max-height (adjust based on content) */
    padding: 10px 15px; /* Add padding when open */
    overflow-y: auto; /* Add vertical scrolling for long content */
}

.accordion-item:first-of-type .accordion-header.active + .accordion-content {
    display: block;
    max-height: 500px;
    padding: 10px 15px;
}
/* Accordion Content List Styling */
.accordion-content ul {
    list-style-type: none;
    padding: 0;
}

.accordion-content li {
    cursor: pointer;
    padding: 8px 10px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.accordion-content li:hover {
    background-color: #e7e7e7;
}

/* Indentation for Different Heading Levels for H1 */
.H1 {
    margin-left: 0px;
}

/* Indentation for Different Heading Levels */
.H2 {
    margin-left: 15px;
}

.H3 {
    margin-left: 30px; /* Slight indentation for h3 */
}

.H4 {
    margin-left: 45px; /* More indentation for h4 */
}

.accordion-content a {
    text-decoration: none;
    color: #333;
    font-weight: normal;
}

/* Optional: Adding hover effect for links inside the accordion */
.accordion-content a:hover {
    text-decoration: underline;
}

/* Poem Styling */
.poem {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #fffbfb;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: right;
}
.poem p{
    text-align: left;
    border-left: 2px solid #ffeee6;
    margin-left: 5px;
}

.copy-btn {
    font-size: 0.9rem;
    cursor: pointer;
    background-color: #f3426b;
    color: #f9f9f9;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.copy-btn:hover {
    background-color: #de1140;
}
.poem-title {
            text-align: left;
            font-size: 1.1rem;
            font-weight: bold;
            color: #ad013d;
            margin-bottom: 5px;
            margin-left: 10px;
        }

        .author-name {
            text-align: left;
            font-size: 0.9rem;
            font-style: italic;
            color: #666;
            margin-bottom: 15px;
            margin-left: 12px;
        }


        h1, h2 {
            text-align: left;
            color: #ad013d;
            margin: 10px auto;
            margin-left: 10px; 
            padding-left: 0;
        }

        h3 {
            text-align: left;
            font-size: 1.2rem;
            color: #ad013d;
            margin-left: 10px; 
            padding-left: 0;
        }

        p {
            line-height: 1.6;
            /* border-left: 2px solid; */
            max-width: 800px;
            margin: 0 auto;
            padding: 0px 10px 10px 10px;
            text-align: left;
        }
        
@media (max-width: 1040px) {
    .sidebar-left {
        display: none; /* Hide left sidebar for medium screens */
    }

    .content-wrapper {
        grid-template-columns: 1fr 300px; /* Main content and right sidebar only */
    }
}

@media (max-width: 768px) {
    .sidebar-left, .sidebar-right {
        display: none; /* Hide both sidebars for small screens */
    }

    .content-wrapper {
        grid-template-columns: 1fr; /* Only main content */
    }
}