/* blog-style.css - MAIN DESIGN */

/* Base Reset & Fonts */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* A classy, clean sans-serif */
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased; /* Smoother text rendering */
}
p{
    padding: 0;
    margin: 0;
    font-size: 15px;
    color: #443c3c !important;
    line-height: 1.9;
}
.b-link-group{
    
}
.p-links{
    margin-top: 15px;
}
.main-page{
    /*max-width: 1200px!important;*/
    padding: 0 10%;
}
.b-container {
    margin: 0 auto;
    padding: 40px 20px 20px;
    box-sizing: border-box;
}

/* Title Section - Must be centered (Your requirement) */
.b-title-section {
    text-align: center;
    padding: 20px 0;
    background: unset !important;
}

.b-main-title {
    font-size: 42px;
    font-weight: 300; 
    letter-spacing: 4px; 
    color: #333;
    text-transform: uppercase;
    margin: 0;
    color: #e49026;
    font-weight: 700;
}

/* The Horizontal Line below the title (Your requirement) */
.b-hr {
    border: 0;
    height: 2px !important;
    background-color: #e0e0e0;
    margin: 10px 0 20px 0;
    width: 100%;
    opacity: 1;
    color: gray;
}

/* Language Container - Below the line, Aligned Right (Your requirement) */
.b-lang-container {
    display: flex;
    justify-content: flex-end; 
    gap: 12px; 
    margin-bottom: 30px;
}

/* Pill Button Styling - Matching your image exactly */
.b-lang-btn {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 50px; 
    border: 1.5px solid #FF4B3A; 
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease; /* Smooth hover transition */
}

/* The Active (English) State button */
.b-lang-btn.b-active {
    background-color: #e49026; 
    color: #ffffff;
}

/* Hover effect for unselected buttons (Marathi, Hindi) */
.b-lang-btn:hover:not(.b-active) {
    background-color: #fff5f4;
    color: #FF4B3A; 
}

/* Placeholder for main content */
.b-main-content {
    width: 100%; 
}

/* Intro Section Layout */
.b-intro-section {
    margin-top: 4px !important;
    color: #444;
    padding-top: 0;
}

.b-meta-info {
    font-size: 13px;
    color: #888 !important;
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.b-intro-flex {
    display: flex;
    gap: 50px;            
    align-items: flex-start;
    /*margin-bottom: 15px;*/
}

.b-intro-text {
    flex: 1.2;
}

.b-intro-text p {
    margin-bottom: 15px;
}
.b-intro-video {
    flex: 0.8; 
}

/* Maintain 16:9 Aspect Ratio for Video */
.b-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.b-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.b-meta-info {
    font-size: 14px;
    color: #999;
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 15px;
    letter-spacing: 0.5px;
}
.b-importance-section {
    padding-top: 30px !important;
}
.b-essential-tools{
    padding-top: 5px !important;
}
/* H2 Heading - Classy & Defined */
.b-sub-heading {
    font-family: 'Playfair Display', serif;
    font-size: 27px;
    color: #a1661b;
    margin-bottom: 15px;
    text-transform: capitalize;
    letter-spacing: 1px;
    position: relative;
    padding-left: 15px;
}

/* Optional: A small accent border to the left of the H3 */
.b-sub-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 3px;
    background-color: #FF4B3A; 
}

/* Highlighting the keywords for better readability */
.b-importance-content strong {
    color: #000;
    font-weight: 600;
}
/* Side-by-Side Tool Layout */
.b-tool-row {
    margin-bottom: 60px;
    padding-top: 0 !important;
}

.b-flex-container {
    display: flex;
    gap: 40px; /* Space between image and text */
    align-items: flex-start;
    margin: 25px 0;
}

.b-col-image {
    flex: 0 0 350px; /* Fixed "Medium" width for image */
}

.b-col-content {
    flex: 1; /* Content takes up the rest of the space */
}

.b-medium-img {
    width: 100%;
    height: 50vh;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.b-inner-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #a1661b; /* Matches your gold sub-heading theme */
    margin: 25px 0 10px 0;
    font-weight: bold;
}
.b-list {
    margin: 10px 0 20px 25px;
    padding: 0;
}
.b-list li {
    margin-bottom: 10px;
    color: #443c3c;
    display: list-item !important;
    font-size: 16px;
}
.b-site-link {
    color: #FF4B3A;
    text-decoration: underline;
    font-weight: 500;
}
.b-product-link {
    display: block;
    color: #443c3c;
    text-decoration: none;
    padding: 6px 0;
}
.b-product-link:hover {
    color: #FF4B3A;
}
.b-specialized-tools{
    padding-top: 0px !important;
}
.b-specialized-tools strong {
    color: #000;
    font-weight: 600;
}
/* Accordion Styling */
.b-tool-accordion {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.b-accordion-header {
    padding: 15px 20px;
    cursor: pointer;
    list-style: none; /* Hide default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fdfaf7;
}

/* Remove default marker for Safari */
.b-accordion-header::-webkit-details-marker {
    display: none;
}

.b-accordion-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: #a1661b;
}

/* Custom Down Arrow Icon */
.b-icon::after {
    content: '\f107'; /* FontAwesome down arrow or simple character */
    font-family: serif; 
    content: "▼";
    color: #a1661b;
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* Up Arrow logic when opened */
details[open] .b-icon::after {
    content: "▲";
}

details[open] {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.b-accordion-content {
    padding: 20px;
    border-top: 1px solid #eee;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Layout for the Preview (Closed State) */
.b-accordion-summary-content {
    width: 100%;
}

.b-accordion-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.b-closed-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 5px;
}

.b-small-thumb {
    width: 60px; /* Small sized image */
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.b-preview-text {
    font-size: 14px !important;
    margin: 0 !important;
    color: #666 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Keeps it to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.b-product-link{
    color: blue !important;
    text-decoration: underline;
}

/* Hide preview when accordion is OPEN */
details[open] .b-closed-preview {
    display: none;
}