﻿/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}
p  {
    font-size:20px;
}

p, li {
    line-height: 191%;
}

h2 {
    font-size:18px;
}

h3 {
    font-size: 20px;
}
.OtherTitle {
    font-size: 25px;
    font-weight:500;
}

.blogList {
    text-decoration: none;
}

.blogList:hover {
    font-size:18px;
    color:#ff4242;
}
.blinking {
    animation: blink 1s step-start 0s infinite;
    color: red;
    font-weight: bold;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}
.rect-button {
    display: inline-block;
    padding: 5px 10px;
    color: #ffffff;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Segoe UI', sans-serif;
    font-size: 12px;
    transition: background-color 0.3s ease;
}
    .rect-button:hover {
        background-color: red; /* Slightly darker on hover */
    }
.blog-sidebar {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
    position: relative;
    top: 0px;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    border-left: 4px solid #6c63ff;
    padding-left: 10px;
    color: #333;
}

.sidebar-post {
    display: flex;
    margin-bottom: 15px;
    gap: 10px;
    align-items: center;
    transition: all 0.3s ease;
}

    .sidebar-post:hover {
        transform: translateX(5px);
    }

.post-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e0e0e0;
}

.post-info {
    flex: 1;
}

.post-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

    .post-title:hover {
        color: #f72200;
        /*#6c63ff;*/
    }

.post-date {
    font-size: 0.75rem;
    color: #777;
    margin-top: 4px;
    display: block;
}

.title-h1 {
    font-size: 2.2rem; /* Scales well on all devices */
    /*font-weight: 700;  Bold but not too heavy */
    line-height: 1.3;
    /* color: #222;  Dark gray for readability */
    margin-bottom: 25px;
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    /*letter-spacing: -0.5px;*/
    /*text-align: center; *//* or left if preferred */
}
/* Self-contained styles for the amazon affiliate grid */
.aff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.aff-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

    .aff-card a {
        color: inherit;
        text-decoration: none;
    }

.aff-img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    border-radius: 6px;
    background: #fafafa;
}

.aff-title {
    font-size: 14px;
    margin: 10px 0 6px;
    color: #222;
    min-height: 42px;
}

.aff-price {
    font-weight: 700;
    color: #b22234;
    margin-bottom: 8px;
}

.aff-cta {
    display: inline-block;
    padding: 8px 12px;
    background: #ff9900;
    color: #fff;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}

.aff-badge {
    display: inline-block;
    font-size: 11px;
    color: #fff;
    background: #3c3b6e;
    padding: 4px 8px;
    border-radius: 12px;
    margin-bottom: 8px;
}
/* Responsive breaks */
@media (max-width: 1000px) {
    .aff-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .aff-img {
        height: 180px;
    }
}

@media (max-width: 520px) {
    .aff-grid {
        grid-template-columns: 1fr;
    }

    .aff-img {
        height: 220px;
    }
}