/* file: /wp-content/plugins/datingleads/css/dating-offers-style.css */

.datingoffer-item-link {
    text-decoration: none;
    color: inherit;
}

.datingoffer-item {
    display: flex;
    flex-direction: column;
    border: 1px solid #e1e1e1;
    padding: 16px;
    margin: 16px 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease; /* Add transition for smooth effect */
}

.datingoffer-item:hover {
    border-color: #4CAF50; /* Change border color to green */
    transform: scale(1.02); /* Slightly enlarge the item */
}

.number_flag {
    position: absolute;
    width: auto;
    min-width: 26px;
    top: -2px;
    left: -12px;
    padding: 4px 8px;
    border-radius: 4px 0 0 4px;
    background-color: #00bcd4;
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
    letter-spacing: -0.25px;
    color: #FFF;
    z-index: 1;
}

.number_flag::after {
    display: block;
    content: "";
    position: absolute;
    bottom: -8px; /* Adjusted */
    left: 0;
    border: 5px solid transparent;
    border-top-color: rgba(0, 188, 212, 0.7);
    border-right-color: rgba(0, 188, 212, 0.7);
}

.tag {
    position: absolute;
    top: -2px;
    height: 30px; /* Set height to match number flag */
    line-height: 22px; /* Set line height to match number flag */
    background-color: #00bcd4;
    color: #fff;
    padding: 4px 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    border-top-right-radius: 4px;
}

.tag i {
    margin-left: 4px;
}

.datingoffer-columns {
    display: flex;
    justify-content: space-between;
    margin-top: 30px; /* Adjusted to avoid overlapping with the rank and tag */
}

.datingoffer-column1, .datingoffer-column2, .datingoffer-column3 {
    flex: 1;
    margin-right: 16px;
}

.datingoffer-column1 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.datingoffer-image img {
    max-width: 140px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.datingoffer-rating {
    text-align: center;
}

.rating-number {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 8px;
}

.star-rating i {
    color: #ffbc00;
}

.datingoffer-column2 {
    flex: 2;
}

.datingoffer-header {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
}

.datingoffer-title {
    font-family: 'Open Sans';
    color: #e91e63;
    font-weight: 800;
}

.datingoffer-description {
    font-size: 16px;
}

.datingoffer-description ul {
    list-style: none;
    padding: 0;
}

.datingoffer-description ul li {
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.datingoffer-description ul li::before {
    content: '\f058'; /* FontAwesome check icon */
    font-family: FontAwesome;
    color: #00bcd4;
    margin-right: 8px;
}

.datingoffer-column3 {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Align items to the center vertically */
    align-items: flex-end;
    margin-right: 16px;
}

.btn {
    background-color: #e91e63;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: background-color 0.3s ease; /* Add transition for smooth effect */
}

.btn:hover {
    background-color: #4CAF50; /* Change button background to green */
    color: #fff; /* Ensure the font color stays white */
}

.btn:visited {
    color: #fff; /* Ensure the font color stays white when visited */
}

.datingoffer-abstract {
    font-family: 'Open Sans';
    font-size: 14px;
    color: #f750bbc7;
    text-align: right;
    margin-bottom: 8px;
    font-weight: 800;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .datingoffer-item {
        padding: 12px;
    }

    .datingoffer-columns {
        flex-direction: column;
        align-items: center; /* Center columns */
        margin-top: 16px;
    }

    .datingoffer-column1, .datingoffer-column3 {
        margin-right: 0;
        margin-bottom: 16px;
        text-align: center; /* Center content in columns */
    }

    .datingoffer-column2 {
        margin-right: 0;
        margin-bottom: 16px;
        text-align: left; /* Keep text left-aligned */
    }

    .datingoffer-column1 {
        align-items: center;
    }

    .datingoffer-image img {
        max-width: 140px; /* Enlarge the logo */
    }

    .rating-number {
        font-size: 24px;
    }

    .star-rating i {
        font-size: 18px; /* Adjust star size */
    }

    .datingoffer-header {
        font-size: 20px;
    }

    .datingoffer-description {
        font-size: 14px;
    }

    .datingoffer-description ul {
        text-align: left; /* Ensure lists remain left-aligned */
    }

	.datingoffer-description ul li {
    margin-left: -15px;
	}
	
	
    .btn {
        width: 100%;
        text-align: center;
    }

    .datingoffer-abstract {
        text-align: center; /* Center abstract */
        width: 100%;
		margin-top: 15px;
		margin-bottom: 0px;
    }
}

