/**
 * Theme Name: GeneratePress Child
 * Theme URI: https://outseller.net/generatepress-child
 * Description: A child theme for GeneratePress to customize its features.
 * Author: Hassan Zobeen
 * Author URI: https://outseller.net
 * Template: generatepress
 * Version: 1.0
 */


/* Heading */

.today-birthdays-heading {
    font-size: 2em;
    margin-bottom: 1rem;
    text-align: left;
    font-weight: 700;
}


/* Left Column: Tomorrow's Birthdays */

.birthday-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}


/* First Row: 4 Equal Columns */

.birthday-cards .birthday-card.first-row-item {
    flex: 1 1 calc(25% - 1rem);
    /* 4 items per row, accounting for gaps */
    max-width: calc(25% - 1rem);
    box-sizing: border-box;
}


/* Second Row: 6 Equal Columns */

.birthday-cards .birthday-card.second-row-item {
    flex: 1 1 calc(16.66% - 1rem);
    /* 6 items per row, accounting for gaps */
    max-width: calc(16.66% - 1rem);
    box-sizing: border-box;
}


/* Individual Card Styles */

.birthday-card {
    display: flex;
    flex-direction: column;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
    box-sizing: border-box;
}


/* Hover Effect */

.birthday-card:hover {
    color: #0073aa;
    /* WordPress blue */
    border-color: #0073aa;
}


/* Card Image */

.birthday-card img.birthday-card-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}


/* Blank Card for "More" Link */

.birthday-card.blank-card {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    background: #ffd2ef;
    border: 0;
    text-align: center;
    color: #0073aa;
    font-weight: bold;
    padding: 25px;
    font-size: 24px;
}

.birthday-card.blank-card a {
    text-decoration: none;
}

.blank-card-link {
    display: flex;
    flex-direction: column;
    position: relative;
    background: #ffd2ef;
    color: #0073aa;
    text-decoration: none;
    padding: 0;
    border-radius: 8px;
    font-size: 24px;
    font-weight: bold;
    box-sizing: border-box;
    overflow: hidden;
}

.blank-card-link:hover {
    color: #000;
}


/* Ensure the anchor behaves like a card in the grid */

.birthday-cards .blank-card-link.second-row-item {
    flex: 1 1 calc(16.66% - 1rem);
    max-width: calc(16.66% - 1rem);
}

.blank-card-content {
    display: flex;
    flex: 1;
    width: 100%;
    height: 100%;
    padding: 25px;
    align-items: flex-end;
    /* Align to bottom */
    justify-content: flex-start;
    /* Align to left */
    box-sizing: border-box;
}


/* Headings and Descriptions in Cards */

.birthday-card h3 {
    font-size: 18px;
    margin: 0.5rem 0 0;
    font-weight: 700;
    text-align: left;
}

.birthday-card p {
    font-size: 15px;
    margin: 0;
    color: #555;
    text-align: left;
}


/* Right Column: Trending Section */

.birthday-trending-section {
    display: flex;
    gap: 20px;
    margin: 50px 0;
}


/* Left Column: Tomorrow's Birthdays */

.tomorrow-birthdays {
    width: 50%;
}

.tomorrow-birthdays-heading {
    font-size: 2em;
    margin-bottom: 1rem;
    font-weight: 700;
}

.tomorrow-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}

.tomorrow-card {
    flex: 1 1 calc(33.333% - 10px);
    /* 3 equal columns */
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    text-decoration: none;
    color: #333;
    transition: box-shadow 0.3s;
}

.tomorrow-card-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.tomorrow-card h3 {
    font-size: 18px;
    margin: 0.5rem 0 0;
    font-weight: 700;
    text-align: left;
}

.tomorrow-card p {
    font-size: 15px;
    margin: 0;
    color: #555;
    text-align: left;
}

.tomorrow-card-placeholder {
    width: 100%;
    height: 150px;
    background: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #aaa;
}

.tomorrow-blank-link {
    text-decoration: none;
    background: #ffd2ef;
    color: #0073aa;
}

.tomorrow-blank-card {
    flex: 1;
    display: flex;
    align-items: flex-end;
    /* Bottom align text */
    justify-content: flex-start;
    /* Left align text */
    padding: 25px;
    font-size: 24px;
    font-weight: bold;
    text-align: left;
}


/* Right Column: Trending Section */

.trending-section {
    width: 50%;
}

.trending-heading {
    font-size: 2em;
    margin-bottom: 1rem;
    font-weight: 700;
}

.trending-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.trending-item {
    width: calc(50% - 10px);
    /* 50% width with a 10px gap */
    display: flex;
    align-items: center;
    gap: 10px;
}

.trending-thumbnail {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    vertical-align: middle;
    margin-right: 10px;
}

.trending-item a {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
    padding: 5px 10px;
    transition: background-color 0.3s;
    border: 1px solid #f1efef;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: #f1efef;
}

.trending-item a span {
    font-size: 20px;
    font-weight: 600;
}

.trending-item a:hover {
    background-color: #ff78cf;
    color: white;
}

.trending-blank-item {
    line-height: 50px;
    font-size: 20px;
    font-weight: 600;
}


/* General Styles */

.container {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}


/* Row Styling */

.row {
    display: grid;
    grid-template-columns: 450px 1fr;
    /* Thumbnail max 450px, rest of space for info */
    gap: 20px;
    width: 100%;
}


/* Left Column: Thumbnail */

.celebrity-thumbnail img {
    width: 100%;
    height: auto;
    max-width: 450px;
    border-radius: 8px;
}


/* Right Column: Celebrity Info */

.celebrity-info {
    display: flex;
    flex-direction: column;
    padding-left: 30px;
}

.celebrity-info a {
    text-decoration: none;
}


/* Celebrity Name */

.celebrity-name {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}

.celebrity-name h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    padding: 0;
}


/* Info Values */

.celebrity-info p {
    font-size: 24px;
    font-weight: 600;
}


/* Birth Info */

.celebrity-birth-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Two columns */
    gap: 20px;
    padding: 10px 0;
}

.birth-info-column {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
}

.birth-info-column strong {
    font-weight: bold;
    text-transform: uppercase;
}

.birth-info-column p {
    margin: 0;
    padding: 0;
}

.birthday-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.birthday-grid-card {
    background-color: #f4f4f4;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    text-decoration: none;
    color: #333;
    transition: box-shadow 0.3s;
}

.birthday-grid-card-image {
    width: 100%;
    height: auto;
    max-width: 450px;
    border-radius: 8px;
}

.birthday-card-placeholder {
    width: 100%;
    height: 150px;
    background: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #aaa;
}

.birthday-grid-card h3 {
    font-size: 18px;
    margin: 0.5rem 0 0;
    font-weight: 700;
    text-align: left;
}

.birthday-grid-card p {
    font-size: 15px;
    margin: 0;
    color: #555;
    text-align: left;
}

.birthday-grid-card a {
    text-decoration: none;
}

.birthday-heading-data {
    font-size: 2em;
    margin: 0;
    padding: 10px;
    text-align: left;
    font-weight: 700;
}

.pagination-wrapper {
    text-align: center;
    margin: 20px 0;
}

.pagination-wrapper ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 0 !important
}

.pagination-wrapper ul li {
    margin: 0 5px;
    float: left;
}

.pagination-wrapper .page-numbers {
    color: #555;
    font-size: 14px;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: inline-block;
}

.pagination-wrapper .page-numbers.current {
    font-weight: bold;
    color: #000;
    pointer-events: none;
    /* Disable clicking on the current page */
    border-color: #000;
}

.pagination-wrapper .page-numbers:hover {
    text-decoration: underline;
}

.taxonomy-section {
    padding: 20px 0;
}

.taxonomy-image,
.taxonomy-description {
    padding: 10px;
}

.taxonomy-image img {
    max-width: 100%;
    border-radius: 8px;
}

.taxonomy-description .term-description {
    font-size: 1.1rem;
    line-height: 1.6;
}


/* Centering the Header Items */


/* Centered Search Box */

.gp-header-center-search {
    display: flex;
    justify-content: flex-start;
    width: 55%;
    padding: 10px;
    margin-left: 10px;
}

.gp-header-search {
    position: relative;
    padding: 0 10px;
    width: 100%;
    border: 2px solid #ffff;
    border-radius: 50px;
    background: #fff;
    display: inline-flex;
    align-items: center;
}

.gp-header-search .search-field {
    width: 100%;
    border: none;
    /* No border on input field */
    outline: none;
    font-size: min(24px, 2rem);
    /* Larger font size */
    padding: 10px 15px;
    border-radius: 30px;
    box-sizing: border-box;
    color: #df1995;
    /* Text color */
    background: none;
    /* No background */
}

.gp-header-search .search-field::placeholder {
    color: #aaa;
    font-style: italic;
}

.gp-header-search .search-icon {
    position: absolute;
    right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    /* Make icon unclickable */
    font-size: 30px;
    /* Icon size */
    color: #df1995;
    /* Icon color */
}


/* Remove cross icon while typing */

.gp-header-search .search-field::-webkit-search-cancel-button {
    display: none;
    /* Remove the cross icon */
}

.main-navigation .menu>li>a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 14px;
    /* Adjust font size */
    padding: 10px;
}

.main-navigation .main-nav ul li a {
    line-height: 35px;
}

.main-navigation .menu>li>a i {
    font-size: 30px;
}

.people-button-grid {
    display: grid;
    gap: 15px;
    margin: 40px auto;
    padding: 0 20px;
    justify-content: center;
    max-width: 1200px;
}

.people-button-grid {
    grid-template-columns: repeat(3, 1fr);
}

.people-btn {
    display: block;
    width: 100%;
    background-color: #ffd2ef;
    color: #000;
    padding: 20px 25px;
    border-radius: 10px;
    font-size: 20px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.people-btn:hover {
    background-color: #ff78cf;
}


/* Style the footer navigation menu inside Footer Widget 1 */

.footer-widgets .widget_nav_menu ul.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-widgets .widget_nav_menu ul.menu li {
    margin: 0;
}

.footer-widgets .widget_nav_menu ul.menu li a {
    text-decoration: none;
    font-size: 16px;
    color: #333;
    /* or var(--colorBlack) if using CSS vars */
    transition: color 0.3s ease;
}

.footer-widgets .widget_nav_menu ul.menu li a:hover {
    color: #df1995;
    /* or var(--colorPink) */
}


/* Optional: on desktop, align left instead of center */

@media (min-width: 768px) {
    .footer-widgets .widget_nav_menu ul.menu {
        justify-content: flex-start;
    }
}

.site-footer__social {
    display: flex;
    justify-content: flex-end;
    /* aligns icons to the right */
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.site-footer__social li {
    display: inline-block;
}

.site-footer__social li a {
    color: #333;
    display: inline-block;
    transition: color 0.3s ease;
}

.site-footer__social li a:hover {
    color: #df1995;
}

.site-footer__social svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

/* Responsive Adjustments */

@media (max-width: 1024px) {
    .birthday-cards .birthday-card.first-row-item {
        flex: 1 1 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
    .birthday-cards .birthday-card.second-row-item {
        flex: 1 1 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .birthday-cards .birthday-card.first-row-item {
        flex: 1 1 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
    .birthday-cards .birthday-card.second-row-item {
        flex: 1 1 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
    .birthday-trending-section {
        flex-direction: column;
    }
    .tomorrow-birthdays,
    .trending-section {
        width: 100%;
    }
    .tomorrow-card,
    .tomorrow-blank-card {
        flex: 1 1 100%;
    }
    .trending-item {
        width: 100%;
    }
    .row {
        grid-template-columns: 1fr;
    }
    .celebrity-birth-info {
        grid-template-columns: 1fr;
        /* Single column on smaller screens */
    }
    .taxonomy-image,
    .taxonomy-description {
        text-align: center;
    }
    .gp-header-search {
        max-width: 100%;
        padding: 10px 30px;
    }
    .gp-header-search .search-field {
        font-size: min(20px, 1.5rem);
        /* Adjust font size on smaller screens */
        padding: 8px 10px;
    }
    .gp-header-search .search-icon {
        font-size: 24px;
        /* Adjust icon size on smaller screens */
    }
    .gp-header-center-search {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        padding: 10px 15px;
    }
    .gp-header-search {
        width: 90%;
        /* Adjust width for better fit */
    }
    .people-button-grid {
        grid-template-columns: repeat(3, 200px);
        max-width: 640px;
    }
}

@media (max-width: 480px) {
    .birthday-cards {
        flex-direction: column;
    }
    .birthday-cards .birthday-card.first-row-item,
    .birthday-cards .birthday-card.second-row-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .birthday-card h3 {
        text-align: left;
        font-weight: bold;
    }
    .birthday-card p {
        text-align: left;
    }
    .people-button-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}