/* Main container for each post */
.url-extractor-container {
    display: flex;
    align-items: top;
    border-top: 1px solid #1a1a3a;
    padding-top:30px;
    padding: 15px;
    margin-bottom: 20px;
    position: relative; /* Ensures icon positioning works */
}

/* Icon styling (Top-Right Corner) */
.url-extractor-icon {
    position: absolute;
    top: 20px;
    right: 10px;
    height: 100px;
    width: 100px;
    object-fit: contain;
    background: #f9f9f9; /* Light background for contrast */
    border-radius: 50%!important; /* Circular icon */
    border: 1px solid #1a1a3a;
    display: block;
}

/* Fix for the icon size */
.url-extractor-icon img {
    height: 100%; /* Ensure the icon image fits within the container */
    width: 100%;  /* Make the icon image take up the entire container */
    object-fit: contain; /* Maintain aspect ratio */
}

/* Main image styling */
.url-extractor-image img {
    height: 300px !important;
    width: 400px !important;
    object-fit: contain !important;
    background: #eaeaea !important;
    border-radius: 4px; /* Adds subtle rounded corners */
}

/* Content area styling */
.url-extractor-content {
    flex: 2;
    padding-left: 20px;
}

/* Title styling */
.url-extractor-content h2 {
    font-size: 24px;
    margin: 0 0 10px;
    text-decoration: none;
    line-height: 30px;
    color: #1a1a3a;
}

.url-extractor-content h2:hover {
    color: #ffcd05;
}

/* Text paragraph styling */
.url-extractor-content p {
    font-size: 16px;
    margin: 0 0 15px;
    color: #333; /* Subtle text color */
    line-height: 1.5; /* Improves readability */
}

/* Read More button */
.url-extractor-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffcd05;
    color: #1a1a3a;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease; /* Smooth hover effect */
}

.url-extractor-button:hover {
    background-color: #1a1a3a;
    color: #fff;
}

/* Load more button */
#load-more-btn {
    padding: 10px 20px;
    background-color: #1a1a3a;
    color: #fff;
    cursor: pointer;
    text-align: center;
    border: none;
    display: block;
    margin: 20px auto;
    border-radius: 5px;
    transition: all 0.3s ease; /* Smooth hover effect */
}

#load-more-btn:hover {
    background-color: #ffcd05;
    color: #1a1a3a;
}

/* Adjusted container layout */
.url-extractor-image {
    margin-right: 15px;
}

.url-extractor-content {
    flex: 1;
    padding-left: 20px;
    padding-right: 100px;
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
}

/* Responsive design improvements */
@media (max-width: 768px) {
    .url-extractor-container {
        flex-direction: column;
        padding-right: 0px !important;
    }

    .url-extractor-image img {
        height: auto !important;
        width: 80% !important;
    }

    .url-extractor-content {
        padding-left: 0;
        margin-top: 15px;
    }
}

/* Copyright styling */
.url-extractor-copyright {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

.url-extractor-container {
    position: relative;
}

.url-extractor-publication-date {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #666;
    font-size: 14px;
}

@media (max-width: 760px) {
    .url-extractor-icon {
        height: 80px;
        width: 80px;
    }
    
    .url-extractor-content {
        padding-right: 15px;
    }
    
}

@media(max-width:970){
    .url-extractor-container {
        flex-direction: column;
    }
}