.heading-bar {
    text-align: center;
}
.heading-bar h2 {
    margin-bottom: 1rem;
}
.heading-bar p {
    color:var(--gray-color);
    max-width: 120rem;
    margin:auto;
    margin-bottom: 2rem;
}

hr {
    border:none;
    height: 1px;
    background-color: var(--room-separator);
    margin: 3rem 0;
}

.container h4 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: normal;
}

.container {
    max-width: 140rem;
    margin:auto;
    padding: 3rem;
}

.featured-countries{ 
    margin: 4rem 0;
}

.featured-countries .holder {
    display:flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content:center;
    gap: 3rem;
}

.featured-countries .holder article {
    flex-basis: 30%;
}

.holder article {
    border-radius: 1.5rem;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.featured-countries .holder article .img {
    height: 25rem;
    cursor: pointer;
    position: relative;
}
.featured-countries .holder article .img  span {
    position: absolute;
    bottom: 1.5rem;
    right: 1rem;
    background: rgba(255,255,255, .6);
    padding: .5rem 1rem;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
}

.holder article .img {
    background-position: center center;
    background-size: cover;
}

.holder article .text-description{
    height: 12.5rem;
    overflow: hidden;
    font-size: 1.4rem;
    color: var(--gray-color);
    margin-bottom: 1rem;
    padding:0 1rem;
}

.holder article .text-right {
    padding:1rem;
}


.holder article .title {
    color:var(--primary-color);
    font-weight: 600;
    text-align: center;
    padding: 1rem;
    display: block;
}

.regular-countries .holder {
    --gap: 2rem;
    --num-cols: 6;
    display: grid;
    grid-template-columns: repeat(var(--num-cols), 1fr);
    gap: var(--gap);
    margin-bottom: 6rem;
}
.regular-countries .holder article {
    cursor:pointer;
}
.regular-countries .holder .img {
    height:15rem;
    background-repeat: no-repeat;
}

@media screen and (max-width: 1440px) {
.regular-countries .holder {
     --num-cols: 4;
}
}

@media screen and (max-width: 991px) {
.regular-countries .holder {
     --num-cols: 3;
}
	.featured-countries .holder article {
    flex-basis: 45%;
}
}
@media screen and (max-width: 767px) {

	.featured-countries .holder article {
    flex-basis: 100%;
}
}

@media screen and (max-width: 576px) {
.regular-countries .holder {
     --num-cols: 2;
}
}

@media screen and (max-width: 400px) {
.regular-countries .holder {
     --num-cols: 1;
}
}

/* Pagination (same style as favorites) */
.pagination-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    margin-bottom: 20px;
}
.pag-btn {
    background-color: white;
    color: #0B1215;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 12px;
    min-width: 40px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}
.pag-btn:hover:not(.disabled):not(.active) {
    background-color: #f0f0f0;
}
.pag-btn.active {
    background-color: #000;
    color: white;
    font-weight: bold;
    border-color: #000;
}
.pag-btn.disabled {
    color: #aaa;
    border-color: #eee;
    background-color: #f9f9f9;
    cursor: not-allowed;
}
.ellipsis {
    display: inline-block;
    padding: 6px 12px;
    color: #666;
    font-size: 14px;
}
