/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://thatsittools.com
Description: Child theme for Twenty Twenty-Five with wider content area
Author: That's IT Tools
Author URI: https://thatsittools.com
Template: twentytwentyfive
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive-child
*/

/* Footer Styles */
.has-contrast-background-color a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.has-contrast-background-color a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.has-contrast-background-color ul {
    list-style: none;
}

.has-contrast-background-color .wp-block-separator {
    opacity: 0.2;
}

/* Header Logo */
.site-logo-img {
    margin: 0 !important;
}

.site-logo-img img {
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.site-logo-img:hover img {
    transform: scale(1.05);
}

/* Header Navigation */
.wp-block-navigation a {
    text-decoration: none;
}

.wp-block-navigation a:hover {
    text-decoration: underline;
}

/* Button Styles */
.wp-block-button__link {
    transition: all 0.2s ease;
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Card Hover Effects */
.wp-block-group.has-border-color:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Blog Card Styles */
.blog-card {
    background: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.blog-card .wp-block-post-featured-image {
    margin: 0;
    overflow: hidden;
}

.blog-card .wp-block-post-featured-image img {
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.blog-card:hover .wp-block-post-featured-image img {
    transform: scale(1.05);
}

.blog-card .wp-block-post-title a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card .wp-block-post-title a:hover {
    color: #2563eb !important;
}

.blog-card .wp-block-post-excerpt {
    color: #6b7280;
    line-height: 1.6;
}

.blog-card .wp-block-read-more {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.blog-card .wp-block-read-more:hover {
    text-decoration: underline;
}

/* Pagination Styles */
.wp-block-query-pagination {
    gap: 10px;
}

.wp-block-query-pagination-numbers .page-numbers {
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.wp-block-query-pagination-numbers .page-numbers:hover,
.wp-block-query-pagination-numbers .page-numbers.current {
    background: #2563eb;
    color: #fff;
}

.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover {
    background: #f3f4f6;
}

/* Author Box */
.author-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transition: box-shadow 0.3s ease;
}

.author-box:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.author-photo {
    margin: 0 !important;
}

.author-photo img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    object-fit: cover;
    object-position: center top;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Grid Responsive */
@media (max-width: 781px) {
    .wp-block-post-template.is-layout-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .wp-block-post-template.is-layout-grid {
        grid-template-columns: 1fr !important;
    }

    .author-box .wp-block-columns {
        flex-direction: column !important;
        text-align: center;
    }

    .author-box .wp-block-column {
        flex-basis: 100% !important;
    }
}
