/* MAIN WRAPPER */
.quote-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 15px;
    text-align: center;
}

/* IMAGE SECTION */
.quote-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.quote-image img {
    max-width: 100%;
    max-height: 65vh;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
}

/* ACTION BUTTONS */
.quote-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 15px 0;
}

.like-btn,
.download-btn {
    background: #f2f2f2;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
}

.like-btn:hover,
.download-btn:hover {
    background: #e4e4e4;
}

/* QUOTE TEXT BOX */
.quote-text {
    margin: 25px auto;
    padding: 20px 24px;
    max-width: 700px;
    background: #f7f7f7;
    color: #222;
    font-size: 18px;
    line-height: 1.7;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Optional: quote styling */
.quote-text p {
    margin: 0;
    font-weight: 500;
}

/* RELATED QUOTES */
.related-quotes {
    margin-top: 50px;
}

.related-quotes h3 {
    text-align: center;
    margin-bottom: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.related-grid a {
    display: block;
    border-radius: 10px;
    overflow: hidden;
}

.related-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
/* FORCE OVERRIDE */
.quote-wrapper,
.quote-wrapper * {
    box-sizing: border-box !important;
}

.quote-image img {
    max-width: 100% !important;
    height: auto !important;
    max-height: 65vh !important;
    display: block !important;
    margin: 0 auto !important;
}

.quote-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.quote-main {
    width: 100%;
}

.quote-sidebar {
    width: 100%;
}

@media (max-width: 900px) {
    .quote-layout {
        grid-template-columns: 1fr;
    }
}

.quote-tags {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.quote-tag {
    background: #eaf1ff;
    color: #1a4ed8;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s ease;
}

.quote-tag:hover {
    background: #dbe6ff;
}
