/* Blog Page Styles */
.blog-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.blog-content {
    width: 100%;
}

/* Search Bar */
.search-container {
    margin-bottom: 2rem;
}

.search-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.search-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid #333;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-form input:focus {
    outline: none;
    border-color: #ffcc00;
}

.search-form button {
    padding: 0.8rem 1.5rem;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.search-form button:hover {
    background: #ffcc00;
    color: #333;
}

/* Featured Post */
.featured-post {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.featured-post img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.featured-post .post-content {
    padding: 1.5rem;
}

.featured-post h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-post {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-post .post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-post h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #333;
}

/* Post Meta */
.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.post-meta .category {
    color: #ffcc00;
}

/* Read More Link */
.read-more {
    display: inline-block;
    margin-top: auto;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    padding-top: 1rem;
}

.read-more:hover {
    color: #ffcc00;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-widget {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
}

.sidebar-widget ul li {
    margin-bottom: 0.5rem;
}

.sidebar-widget ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-widget ul li a:hover {
    color: #007bff;
}

/* Subscribe Form */
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subscribe-form input {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.subscribe-form button {
    padding: 0.8rem;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.subscribe-form button:hover {
    background: #0056b3;
}

/* Individual Blog Post Styles */
.blog-post-full {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.post-header {
    margin-bottom: 2rem;
    text-align: center;
}

.post-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.post-meta .category {
    color: #ffcc00;
}

.post-featured-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

.post-content h2 {
    font-size: 1.8rem;
    color: #333;
    margin: 2rem 0 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content strong {
    color: #333;
}

.post-tags {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f0f7ff;
    color: #333;
    border-radius: 20px;
    margin: 0.25rem;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.tag:hover {
    background: #ffcc00;
}

.video-embed {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    clear: both;
    position: relative;
    z-index: 1;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 8px;
    margin-top: 10px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 2;
}

.highlight-stat {
    background: #e3f2fd;
    padding: 20px;
    border-left: 4px solid #ffcc00;
    margin: 20px 0;
    border-radius: 4px;
}

.highlight-stat strong {
    color: #1565c0;
    font-size: 1.2em;
}

.platform-review {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #ffcc00;
}

.platform-review h4 {
    margin-top: 0;
    color: #000000;
}

.platform-details {
    margin: 10px 0;
}

.platform-details strong {
    color: #495057;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.comparison-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

.comparison-table tr:hover {
    background-color: #f8f9fa;
}

.session-times {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #ffcc00;
}

.session-times h4 {
    margin-top: 0;
    color: #333;
}

/* STRAT Trading Strategy styles */
.candle-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.candle-type {
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease;
}

.candle-type:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-color: #ffcc00;
}

.candle-type.type1 {
    border-color: #ffcc00;
    background: #fff9e6;
}

.candle-type.type2 {
    border-color: #333;
    background: #f8f9fa;
}

.candle-type.type3 {
    border-color: #666;
    background: #f8f9fa;
}

.candle-type h4 {
    margin-top: 0;
    font-size: 1.3em;
    color: #333;
}

.setup-box {
    background: #f8f9fa;
    border-left: 4px solid #ffcc00;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.setup-box h4 {
    margin-top: 0;
    color: #333;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.pros, .cons {
    padding: 20px;
    border-radius: 8px;
    background: #f8f9fa;
}

.pros {
    border-left: 4px solid #ffcc00;
}

.cons {
    border-left: 4px solid #333;
}

.pros h4, .cons h4 {
    margin-top: 0;
    color: #333;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-container {
        padding: 0 1rem;
    }

    .pros-cons {
        grid-template-columns: 1fr;
    }

    .search-form {
        flex-direction: column;
    }

    .search-form button {
        width: 100%;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }

    .featured-post img {
        height: 300px;
    }

    .post-header h1 {
        font-size: 2rem;
    }

    .post-featured-image {
        height: 300px;
    }

    .post-content {
        font-size: 1rem;
    }

    .post-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

/* Social Follow Styles */
#social-follow {
    text-align: center;
    background-color: #333;
    padding: 40px 20px;
    margin: 40px 0;
    border-radius: 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#social-follow h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #ffcc00;
    text-shadow: 2px 2px 4px #000;
}

#social-follow .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

#social-follow .social-icons a {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ffcc00;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 10px;
}

#social-follow .social-icons a img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
}

#social-follow .social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background-color: #fff;
}

#social-follow .social-icons a:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
    background: #f8f9fa;
}

.footer-section h3 {
    color: #333;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #666;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: #007bff;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding: 1rem;
    background: #333;
    color: #fff;
}

@media (max-width: 768px) {
    .video-embed {
        margin: 20px 0;
    }
    
    .video-embed p {
        position: relative;
        top: 0;
        margin-bottom: 10px;
    }
}

.accordion {
    margin-top: 30px;
}

.accordion-item {
    border: 1px solid #333;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
}

.accordion-header {
    background: #333;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background: #444;
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.1em;
    color: #ffcc00;
}

.accordion-icon {
    color: #ffcc00;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #f8f9fa;
}

.accordion-content.active {
    padding: 20px;
    max-height: 500px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content p {
    color: #333;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .accordion-header {
        padding: 15px;
    }

    .accordion-header h3 {
        font-size: 1em;
    }

    .accordion-content {
        padding: 0 15px;
    }

    .accordion-content.active {
        padding: 15px;
    }
} 

        
.highlight-stat {
    background: #e3f2fd;
    padding: 20px;
    border-left: 4px solid #2196f3;
    margin: 20px 0;
    border-radius: 4px;
}

.highlight-stat strong {
    color: #1565c0;
    font-size: 1.2em;
}

.trading-days-table {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.trading-days-table h4 {
    margin-top: 0;
    color: #2196f3;
}

.calculation-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.calculation-box strong {
    color: #856404;
    font-size: 1.1em;
}

.seasonal-info {
    background: #fff5d6;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.seasonal-info h4 {
    margin-top: 0;
    color: #000d03;
}

.weekly-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.day-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.day-card h5 {
    margin-top: 0;
    color: #495057;
}

.day-card.best {
    border-color: #ffc107;
    background: #f8fff9;
}

.day-card.average {
    border-color: #ffc107;
    background: #fffdf2;
}

.day-card.avoid {
    border-color: #dc3545;
    background: #fff5f5;
}