/* Top info box */
.info-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 18px;
}

/* Logo floats top-right */
.info-logo {
    float: right;
    max-width: 180px;
    height: auto;
    margin-left: 20px;
    margin-bottom: 10px;
    border-radius: 6px;
}

.info-box p { font-size:15px; line-height:1.45; }
.info-box div { font-size:15px; line-height:1.45; }

/* Contact lines spacing */
.info-line { margin-bottom: 6px; }

/* Description spacing */
.info-description { margin-top: 10px; }

/* Article container */
.info-article {
    margin-top: 25px;
}

/* Image wrapper */
.info-article-image-wrapper {
    float: right;
    max-width: 400px;
    margin-left: 20px;
    margin-bottom: 10px;
    text-align: center;
}

/* Image */
.info-article-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Caption */
.info-article-caption {
    font-size: 13px;
    font-style: italic;
    color: #666;
}

h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.3;
}

.info-link {
    color: #0a8a2a;
    text-decoration: none;
    font-weight: bold;
}

.info-link:hover {
    color: #14b33a;
    text-decoration: underline;
}

.info-box .pill-bar {
    justify-content: flex-start !important;
	padding-bottom: 15px !important;
}

.webreviews {
    border-left: 4px solid #2e8b57; /* green bar */
    padding: 6px 20px;
    margin: 24px 20px;
    background: #f4fff4; /* very light green tint */
    border-radius: 6px;
}

.webreviews p {
    margin: 5px 0;
    color: #2e8b57;
    font-style: italic;
    line-height: 1.2;
}

/* Voting box */
.voting-box {
    position: relative;
    background: #fff url('/images/voting-tile.webp') repeat-x center;
    background-size: auto 120px;
    margin-top: 40px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    text-align: center;
    overflow: hidden;
}

/* Gradient overlay BEHIND the stars/text */
.voting-box::before {
    content: "";
    position: absolute;
    inset: 0;

    /* Put it behind the content */
    z-index: 0;

    /* Fade the background only */
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0) 100%
    );
}

/* Ensure stars + text sit ABOVE the gradient */
.voting-box > * {
    position: relative;
    z-index: 1;
}

.voting-inner {
    position: relative;
}

.voting-inner::before {
    content: "";
    position: absolute;
    inset: -3px;
    background: radial-gradient(
        circle,
        rgba(255,255,255,0.85) 0%,
        rgba(255,255,255,0.55) 40%,
        rgba(255,255,255,0) 100%
    );
    z-index: 0;
    pointer-events: none;
}

.voting-inner > * {
    position: relative;
    z-index: 1;
}

/* Stars always centered */
.star-rating {
    display: inline-flex;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 10px;
}

/* Star size */
.star-rating .star {
    width: 30px;
    height: 30px;
    stroke: #000;
    stroke-width: 2;
    fill: transparent;
    transition: fill 0.2s, stroke 0.2s;
}

.star-rating .star.filled {
    fill: gold;
    stroke: gold;
}

/* Rating text under stars */
.rating-info {
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
    max-width: 320px;
    margin: 0 auto;
}

/* Thank-you message */
.voted-message {
    color: green;
    font-weight: bold;
}

.next-ten ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.next-ten li {
    margin-bottom: 5px;
    line-height: 1.30;
}


/* MOBILE FIXES */
@media (max-width: 600px) {

    .info-logo {
        max-width: 100px;
    }

    .info-article-image-wrapper {
        float: none;
        max-width: 100%;
        width: 100%;
        margin: 0 0 15px 0;
    }

    .star-rating .star {
        width: 28px;
        height: 28px;
    }

    .rating-info {
        max-width: 90%;
    }
    .info-box .pill-bar {
        justify-content: center !important;
    }	
}
