/* Default CSS */
body {
    font-family: 'Archivo Black', sans-serif;
    color: #ffffff;
    background-color: #96866E;
}

/* Header and Navigation Styles */

header {
    background-image: url('images/pantry.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: right; /* Align text to the right */
    padding-top: 20px; /* Adjust top padding */
    padding-bottom: 300px; /* Retain large padding at the bottom */
}

@media screen and (max-width: 768px) {
    header {
        padding: 200px 0; /* Reduced padding for smaller screens */
    }
}


nav {
    padding-right: 20px; /* Adds padding on the right */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin-left: 20px; /* Spacing between menu items */
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size:1.5em;
}

nav ul li a:hover {
    color: #6E8986; /* Complementary color for hover effect */
}


/* Feature Section */
.feature-section {
  display: flex;
  justify-content: space-around;
  text-align: center;
  color: #ffffff;
  max-width: 1000px; /* Controls the maximum width */
  margin: auto; /* Centers the section on the page */
}

.column img {
  width: 300px; /* Adjust as needed */
  height: 300px; /* Adjust as needed */
  border-radius: 50%; /* Creates the circle shape */
  margin-bottom: 15px; /* Space below the image */
}

.column {
  flex: 1;
  padding: 15px;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
  .feature-section {
    flex-direction: column; /* Stacks columns vertically */
    align-items: center; /* Centers items when stacked */
    max-width: 90%; /* Adjusts max width for smaller screens */
  }

  .column img {
    width: 250px; /* Optionally adjust size for smaller screens */
    height: 250px; /* Optionally adjust size for smaller screens */
  }
}


/* Custom Buttons for the Feature Section */
.custom-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff; /* Primary color of your theme */
    color: white; /* Adjust for readability */
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.custom-button:hover {
    background-color: #0056b3; /* Darker shade for hover effect */
    text-decoration: none;
    color: white;
}



/* Latest YouTube Video Section */

#latest-youtube-videos h2,
#latest-youtube-videos .video h3,
#latest-youtube-videos .video p {
    color: #96866E;; /* Dark gray; adjust the color as needed */
}

#latest-youtube-videos {
    background-color: white;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
    color: #333; /* Sets default text color for the whole section */
}

.video-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.video {
    width: 450px; /* Adjust as needed */
    text-align: left;
}

.video h3 {
    margin: 10px 0 5px;
    font-size: 1.1em;
    color: #333; /* Specific color for video titles */
}

.video p {
    margin-top: 10px;
    font-size: 0.9em;
    color: #333; /* Specific color for video descriptions */
}

.video iframe {
    width: 100%;
    height: 315px; /* Adjust as needed */
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .video iframe {
        height: auto;
    }
}

/* YT Tips and Tricks */

#youtube-tips-section {
    text-align: center;
    margin: 20px;
    padding: 20px;
    background-color: #96866E;
}

#youtube-tips-section h2 {
    color: #333;
    margin-bottom: 15px;
}

.youtube-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.youtube-short-thumbnail {
    width: 180px; /* Adjust width as needed */
    height: auto; /* This will maintain the aspect ratio */
    border: 2px solid #333;
    border-radius: 10px;
}

.youtube-video {
    width: 180px; /* Adjust based on your layout */
    height: auto; /* This will maintain the aspect ratio */
    border: 2px solid #333;
}


/* Tools and Review Page Styles */

.tools-introduction {
    max-width: 1044px; /* Matching the tools-list width for consistency */
    margin: 20px auto; /* Ensures some spacing from the disclaimer and the tools list */
    padding: 0 20px; /* Padding on the sides for readability */
    color: #333; /* Matching the text color for consistency */
    background-color: #f9f9f9; /* Optional: a subtle background color if needed */
    border-radius: 5px; /* Optional: adds rounded corners for a softer look */
    padding: 15px; /* Internal padding for content breathing space */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Optional: adds a subtle shadow for depth */
}

.tools-introduction p {
    margin: 0; /* Resets any default margins for a clean look */
    line-height: 1.6; /* Enhances readability */
    text-align: justify; /* Optional: justifies the text for a clean layout */
}

.tools-list {
    max-width: 1100px; /* This can be adjusted based on your layout */
    margin: 0 auto; /* Center the container */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.tool {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 10px; /* Adjusted for example, ensure this aligns with your design */
    width: 300px; /* Adjusted width to fit three across */
    height: 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 5px;
    color: #333;
    
}

.tool h3, .tool p {
    margin: 10px 0; /* Adds margin to the top and bottom for spacing */
}

.tool img {
    width: 100%; /* Adjusts image width to scale with its container */
    max-width: 100%; /* Prevents the image from exceeding the container width */
    height: auto; /* Maintains aspect ratio */
    max-width: 90%; /* Keeps image within bounds */
    max-height: 60%; /* Adjust based on your preference */
    object-fit: contain;
    border-radius: 5px;
    padding: 5px; /* Adjusts padding around the image */
}

.amazon-link {
    display: inline-block;
    background-color: #FF9900; /* Amazon's brand color */
    color: white;
    padding: 10px 20px;
    margin-top: 10px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.amazon-link:hover {
    background-color: #cc7a00; /* Darker shade for hover effect */
}

.disclaimer-container {
    max-width: 1074px; /* Adjust this width to match the tools-list width or container */
    margin: 0 auto; /* Centers the container */
    padding: 0 20px; /* Adds some padding on the sides */
}

.affiliate-disclaimer {
    font-size: 0.9em;
    font-style:italic;
    margin: 0;
    color: #666;
    text-align: center;
    background-color: #f9f9f9; /* Optional: adds a subtle background color */
    border-radius: 5px; /* Optional: adds rounded corners */
    padding: 15px; /* Adds padding inside the disclaimer for better readability */
}

.review-link {
    display: inline-block;
    background-color: #007BFF; /* Example: A distinct color for the review video button */
    color: white;
    padding: 10px 20px;
    margin-top: 10px;
    margin-bottom: 10px; /* Adds space below the button if needed */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.review-link:hover {
    background-color: #0056b3; /* Darker shade for hover effect */
}

@media (max-width: 600px) {
    .tools-list {
        /* Adjustments for the tools-list if necessary */
    }

    .tool {
        width: 100%; /* Allows the tool card to be fully responsive */
        min-width: 150px; /* Prevents the tool card from becoming too narrow */
        /* Other styling adjustments */
    }

    .tool img {
        /* Ensure images are responsive and do not overflow their container */
        width: auto; /* Adapts to the width of its container */
        max-width: 100%; /* Prevents the image from exceeding the tool card width */
        height: auto; /* Maintains aspect ratio */
    }
}

/* Blog-specific body class to prevent style conflicts */
.blog-post-page header,
.blog-container header,
.blog-content header,
article.blog-content header.blog-header {
    background-image: none;
    padding: 0;
    text-align: left;
}

.blog-post-page {
    background: #f5f5f5;
    margin: 0;
    padding: 0;
}

.blog-excerpt {
    color:#444;
}

/* Blog Navigation */
.blog-nav {
    background: #96866E; /* Dark background for better contrast */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 60px; /* Fixed height for consistency */
}

.blog-nav-content {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-nav-logo a {
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-nav-logo a:hover {
    color: #96866E; /* Your existing accent color */
}

.blog-nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: center;
}

.blog-nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.blog-nav-links a:hover {
    background: rgba(255,255,255,0.1);
    color: #96866E;
}


/* Blog Layout */
.blog-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 2rem;
}

/* Main Content Styles */
.blog-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

article.blog-content header.blog-header {
   /* margin: -2rem -2rem 2rem -2rem; */
}


.blog-header {
    margin-bottom: 2rem;
}

.blog-header h1 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

.blog-hero {
    position: relative;
    height: 200px; /* Reduced from 300px */
    overflow: hidden;
    margin-top: 1rem; /* Added space between meta info and hero image */
}

.blog-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px; /* Optional: adds slight rounding to image corners */
}

.blog-body {
    color: #444;
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.blog-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

/* Author Info */
.author-info {
    display: flex;
    gap: 1rem;
    align-items: start;
    text-align: left;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-left: 1rem;
}

.author-details h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

/* Sidebar Styles */
.blog-sidebar {
    position: sticky;
    top: 5rem; /* Adjusted to account for sticky header */
    align-self: start;
}

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

.sidebar-section h2 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

/* Video Section */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Support Section Styles */
.support-section {
    text-align: center;
    padding: 1.5rem;
}

.support-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.support-message {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-top: 1rem;
}

/* Override BMC Widget Styles */
.bmc-btn {
    min-width: 210px !important;
    margin: 0.5rem auto !important;
}

/* Audio Section */
.audio-section audio {
    width: 100%;
    margin-top: 0.5rem;
}

/* Tools Section */
.tool-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tool-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    border: 1px solid #eee;
    border-radius: 4px;
}

.tool-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.tool-item h3 {
    font-size: 1rem;
    margin: 0;
}

.amazon-button {
    display: inline-block;
    background: #FF9900;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.amazon-button:hover {
    background: #e68a00;
}

/* Related Articles */
.related-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-posts li {
    margin-bottom: 1rem;
}

.related-posts a {
    display: flex;
    gap: 1rem;
    align-items: center;
    color: #333;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.related-posts a:hover {
    background: #f5f5f5;
}

.related-posts img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

/* Mobile Navigation */
.blog-nav-menu-button {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-container {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-nav-links {
        display: none;
    }
    
    .blog-nav-menu-button {
        display: block;
    }
    
    .blog-nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .blog-content {
        padding: 1.5rem;
    }
    
    .tool-item {
        flex-direction: column;
        text-align: center;
    }
    
    .related-posts a {
        flex-direction: column;
        text-align: center;
    }
    
    .related-posts img {
        width: 100%;
        height: 200px;
    }
}

/* Social Share Buttons Styles */
.social-share {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.social-share h3 {
    color: #333;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
}

.share-button:hover {
    transform: translateY(-2px);
    color: white;
}

.share-button i {
    font-size: 1.1rem;
}

/* Individual button colors */
.share-button.facebook {
    background-color: #1877f2;
}

.share-button.facebook:hover {
    background-color: #1659b7;
}

.share-button.twitter {
    background-color: #000000;
}

.share-button.twitter:hover {
    background-color: #333333;
}

.share-button.linkedin {
    background-color: #0a66c2;
}

.share-button.linkedin:hover {
    background-color: #084d93;
}

.share-button.pinterest {
    background-color: #e60023;
}

.share-button.pinterest:hover {
    background-color: #b3001b;
}

.share-button.email {
    background-color: #666666;
}

.share-button.email:hover {
    background-color: #4d4d4d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .share-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .share-button {
        width: 100%;
    }
}

/* YouTube Buttons */
.youtube-button {
  background-color: #FF0000; /* YouTube Red */
  color: white;
  padding: 3px 10px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.youtube-button:hover {
  background-color: #cc0000; /* Darker shade for hover effect */
}


.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

.contact-info {
    color: rgba(255, 255, 255, 0.8);
}

.contact-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-link.youtube:hover {
    background-color: #FF0000;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}


#video-gallery {
    display: grid;
    /* Change grid settings based on screen size */
    grid-template-columns: repeat(1, 1fr); /* Default for mobile */
    max-width: 1200px;
    gap: 30px;
    padding: 30px;
    margin: 0 auto;
}

/* Medium screens */
@media (min-width: 900px) {
    #video-gallery {
        grid-template-columns: repeat(2, 1fr); /* Two columns */
    }
}


/* Keep your existing video card styles */
#video-gallery .video {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    max-width: 500px; /* Control maximum width of each video card */
    margin: 0 auto; /* Center the video cards */
}

#video-gallery .video {
    background: white;
    padding: 25px; /* Increased from 15px */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px; /* Added extra bottom margin */
}

#video-gallery .video h3 {
    color: #333;
    margin-bottom: 15px; /* Increased from 10px */
    font-size: 1.2em; /* Added for better readability */
}

#video-gallery .video iframe {
    width: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 15px; /* Increased from 10px */
}

#video-gallery .video p {
    color: #666;
    font-size: 0.9em;
    line-height: 1.4; /* Added for better readability */
    padding: 10px 0; /* Added padding top and bottom */
}

#latest-youtube-videos .custom-button {
    margin: 20px auto;
    font-size: 1.1em;
    padding: 12px 30px;
}

/* Add categories at the top */
.tool-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.category-button {
    padding: 8px 16px;
    background: #6E8986;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}

/* Add a hover effect to tool cards */
.tool {
    transition: transform 0.2s ease;
}

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

.tool {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 10px;
    width: 300px;
    min-height: 600px; /* Changed from fixed height to min-height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 20px 20px 15px 20px;
    background-color: #FFFFFF;
    border-radius: 5px;
    color: #333;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative; /* Add this */
    z-index: 1; /* Add this */
}

.tool:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 2;
}

.tool-meta {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    padding: 5px 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.price {
    font-weight: bold;
    color: #2c3e50;
}

.rating {
    color: #f1c40f;
}

.button-group {
    width: 100%;
    display: flex;
    gap: 5px;
    margin-top: auto;
    padding-top: 15px;
    padding-bottom: 0;
    border-top: 1px solid #eee;
}

.amazon-link, .review-link {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #FF9900;
    color: white;
    padding: 8px 10px;
    margin: 0;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
 
 .review-link {
    background-color: #007BFF;
 }
 
 .review-link:hover {
    background-color: #0056b3;
 }

 /* Blog Page */
 .blog-categories {
    text-align: center;
    margin-bottom: 30px;
}

.category-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.category-buttons button {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.category-buttons button:hover {
    background-color: #0056b3;
}

.blog-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-preview {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.blog-preview h3 {
    margin: 10px 0;
    color: #333;
}

.blog-preview p {
    flex-grow: 1;
    margin-bottom: 15px;
    color: #666;
    line-height: 1.5;
}

.blog-preview-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    color: white;
    font-size: 0.9em;
}

.tag-projects {
    background-color: #007BFF;
}

.tag-workshop {
    background-color: #28a745;
}

.tag-techniques {
    background-color: #fd7e14;
}

.blog-preview-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.post-date {
    color: #666;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .blog-preview-container {
        grid-template-columns: 1fr;
    }
}

.tool-preview-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.tool-preview {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
}

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

.tool-preview-image {
    width: 100%;
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
}

.tool-preview-image img {
    max-width: 90%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}

.tool-preview-content {
    padding: 20px;
}

.tool-preview h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.1em;
}

.tool-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.tool-rating {
    color: #f1c40f;
}

.tool-price {
    font-weight: bold;
    color: #2c3e50;
}

.tool-preview p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.4;
}

.tool-preview-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.amazon-button, .review-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.amazon-button {
    background-color: #FF9900;
    color: white;
}

.review-button {
    background-color: #007BFF;
    color: white;
}

.amazon-button:hover {
    background-color: #e68a00;
}

.review-button:hover {
    background-color: #0056b3;
}

@media (max-width: 1024px) {
    .tool-preview-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tool-preview-container {
        grid-template-columns: 1fr;
    }
}