.place-container .opening-hours{
    border-bottom:unset;
    margin-bottom:0px;
}

.place-container .locations-container .place-info{
    width:100%;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-item a {
    line-height: normal;
}

article .place-container .title-container, article .place-container .place-rating{
    justify-content: start;
}

.place-container .locations-container{
    margin-bottom:0em;
}

.place-container{
    display:flex;
    justify-content: space-between;
    margin-bottom: 2em;
    padding:1em;
}

.faded-border {
  border-top: none;
  border-bottom: 1px solid black;
  position: relative;
}

.google-img-container {
    position: relative;
    margin-bottom: 10px;
    width: 100%;
    margin-top: auto;
}

.google-img-container img {
    width: 100%;
    object-fit: cover;
    max-height: 400px;
}

.google-img {
    flex-direction: column;
    display: flex;
    align-items: center;
    box-shadow: 0 0 20px rgb(0, 0, 0, 0.1);
    padding: 10px 10px 0;
}

.google-img-container small {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(245, 245, 245, 0.6);
    padding: 0 3px;
    font-size: 11px;
}

.status {
    margin-left: 1em;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 15px;
}

.status.open {
    background-color: #a9ffa9;
}

.status.soon {
    background-color: #ffd4a9;
}

.status.closed {
    background-color: #ffabab;
}

.meta-item img {
    width: 22px;
}

.opening-hours, .rating-distribution, .menu {
    margin: 1em 0;
    border-bottom: 1px solid #dedede;
    padding-bottom: 1em;
}

.opening-hours-container table {
    margin-top: 1em;
}

.opening-hours-container table tr td:first-of-type {
    padding-right: 1em;
}

.opening-hours summary, .rating-distribution summary, .menu summary {
    cursor: pointer;
}

.opening-hours summary h3, .rating-distribution summary h3, .menu summary h3,
.opening-hours summary h4, .rating-distribution summary h4, .menu summary h4,
.opening-hours summary h5, .rating-distribution summary h5, .menu summary h5,
.opening-hours summary h6, .rating-distribution summary h6, .menu summary h6 {
    display: inline-block;
}

.opening-hours details, .rating-distribution details, .menu details {
    padding: 0.5em 0;
}

.opening-hours-container, .rating-distribution-container {
    padding-left: 1em;
}

/* Fading borders using pseudo-elements */
.faded-border::before,
.faded-border::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 100%;
  background: black;
  mask-image: linear-gradient(to top, black, transparent);
  -webkit-mask-image: linear-gradient(to top, black, transparent);
}

.faded-border::before {
  left: 0;
}

.faded-border::after {
  right: 0;
}
@media (max-width: 768px) {
    .place-container{
        flex-direction: column;
    }
}

/* Rankingi */
article .ranking-container .place-rating {
    justify-content: flex-start;
}

.ranking-container {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.ranking-header {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 15px 20px;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e9ecef;
    font-size: 15px;
    text-transform: uppercase;
}

.ranking-row {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.ranking-row:hover {
    background-color: #f8f9fa;
}

.ranking-row.top-1, .ranking-row.top-2, .ranking-row.top-3 {
    background-color: #f2ffee;
}

.ranking-row.top-1 .place-name a, .ranking-row.top-2 .place-name a, .ranking-row.top-3 .place-name a {
    font-weight: 600;
}

.badge-container {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.trophy-badge {
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    animation: gentle-pulse 2s ease-in-out infinite;
}

.trophy-badge.gold {
    animation: gold-shine 3s ease-in-out infinite;
}

.position-number {
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

@keyframes gentle-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes gold-shine {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); }
    50% { transform: scale(1.08); filter: drop-shadow(0 2px 8px rgba(255,215,0,0.4)); }
}

.ranking-row.even {
    background-color: #fafbfc;
}

.ranking-row.odd {
    background-color: #ffffff;
}

.ranking-row:last-child {
    border-bottom: none;
}

.rank-col, .rank-number {
    flex: 0 0 60px;
    font-weight: bold;
    color: #666;
}

.name-col, .place-name {
    flex: 1;
    padding-right: 20px;
}

.place-name a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s ease;
    font-size: 15px;
}

.rating-col, .place-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars-container {
    display: flex;
    gap: 2px;
}

.star {
    position: relative;
    color: #ddd;
    font-size: 16px;
    line-height: 1;
}

.star::before {
    content: "★";
    position: absolute;
    top: 0;
    left: 0;
    width: var(--star-fill, 0%);
    overflow: hidden;
    color: #ffc107;
}

.rating-value {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.action-col, .place-action {
    flex: 0 0 120px;
    text-align: right;
}

.view-place-btn {
    background: #05afef;
    color: white !important;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    display: inline-block;
}

.view-place-btn:hover {
    background: #0d117a;
    color: white;
}

.no-places {
    flex: 1;
    text-align: center;
    color: #666;
    font-style: italic;
}

@media (max-width: 768px) {
.ranking-header, .ranking-row {
    padding: 12px 15px;
}

.rank-col, .rank-number {
    flex: 0 0 40px;
}

.rating-col, .place-rating {
    flex: 0 0 200px;
}

.action-col, .place-action {
    flex: 0 0 80px;
}

.view-place-btn {
    padding: 6px 12px;
    font-size: 12px;
}

.star {
    font-size: 14px;
}
}

.consolidated-places-listing {
    margin-top: 30px;
}

.consolidated-place-wrapper {
    position: relative;
    margin-bottom: 25px;
    scroll-margin-top: 100px;
}

.consolidated-place-wrapper.has-top-ranking .place-container {
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.1);
}

.ranking-badges-container {
    position: absolute;
    top: -10px;
    right: 10px;
    z-index: 10;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.ranking-badge {
    background: #fff;
    border-radius: 25px;
    padding: 0px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 3px;
    font-weight: bold;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
}

.ranking-badge.gold {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    animation: badge-glow-gold 2s ease-in-out infinite;
}

.ranking-badge.silver {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    color: #333;
}

.ranking-badge.bronze {
    background: linear-gradient(135deg, #cd7f32, #daa55a);
    color: #fff;
}

.ranking-badge .trophy {
    font-size: 14px;
}

.ranking-badge .category-name {
    font-size: 11px;
    font-weight: 600;
    text-overflow: ellipsis;
    overflow: hidden;
}

@keyframes badge-glow-gold {
    0%, 100% { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }
    50% { box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4); }
}

@media (max-width: 768px) {
    .ranking-badges-container {
        top: -8px;
        right: 5px;
    }
    
    .ranking-badge {
        padding: 6px 10px;
        font-size: 10px;
        max-width: 150px;
    }
    
    .ranking-badge .trophy {
        font-size: 12px;
    }
    
    .ranking-badge .category-name {
        font-size: 9px;
    }
}

 .update-date-container {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.update-date-box {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #495057;
    padding: 20px 60px;
    font-weight: bold;
    font-size: 20px;
}

.update-icon {
    font-size: 16px;
}

.update-text {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .update-date-box {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .update-icon {
        font-size: 14px;
    }
}

.business-cta-container {
    margin: 30px 0;
}

.business-cta-box {
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    background-color: transparent;
    background-image: linear-gradient(180deg, #e9e9e9 0%, #ffffff 100%);
    border-radius: 8px;
}

.single-post .post-entry h3.cta-headline {
    color: #2c3e50;
    font-size: 22px;
    margin: 0 0 15px 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.cta-description {
    color: #495057;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.cta-description p {
    margin: 0 0 10px 0;
}

.cta-description p:last-child {
    margin-bottom: 0;
}

.cta-button-container {
    margin-top: 25px;
}

.cta-button {
    padding: 8px 16px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    display: inline-block;
    background: #05afef;
    color: white !important;
}

.cta-button:hover {
    background: #0d117a;
}

@media (max-width: 768px) {
    .business-cta-box {
        padding: 20px 15px;
    }
    
    .cta-headline {
        font-size: 20px;
    }
    
    .cta-description {
        font-size: 15px;
    }
    
    .cta-button {
        padding: 10px 25px;
        font-size: 14px;
    }
}

.place-rankings-links {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.place-rankings-links h4 {
    margin: 0 0 12px 0;
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
}

.ranking-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ranking-links-list li {
    margin: 0 0 8px 0;
}

.ranking-links-list li:last-child {
    margin-bottom: 0;
}

.ranking-link {
    display: inline-block;
    color: #207cb2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.ranking-link:hover {
    color: #1a6a96;
    text-decoration: underline;
}

.ranking-link::before {
    content: "→";
    margin-right: 8px;
    color: #28a745;
    font-weight: bold;
}

/* Compact style */
.style-compact {
    padding: 15px;
    background: white;
    border-left: 4px solid #207cb2;
    border-radius: 4px;
}

.style-compact h4 {
    font-size: 14px;
    margin-bottom: 8px;
}

.style-compact .ranking-links-list li {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 5px;
}

/* Button style */
.style-buttons .ranking-link {
    background: #207cb2;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 8px;
}

.style-buttons .ranking-link::before {
    display: none;
}

.style-buttons .ranking-link:hover {
    background: #1a6a96;
    color: white;
    text-decoration: none;
}

i.trophy::before {
  content: "🏆"; 
  font-style: normal; /* prevent italic */
  margin-right: 4px;  /* optional spacing */
}