/*
Theme Name: wvupress-wordpress-theme
Theme URI: https://wvupressonline.com
Author: WVU Press
Author URI: https://wvupressonline.com
Description: WVU Press WordPress Block Theme - A custom theme matching the WVU Press brand identity
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: wvupress-wordpress-theme
Tags: custom-colors, custom-logo, custom-menu, featured-images, full-site-editing, rtl-language-support, threaded-comments, translation-ready, wide-blocks
*/


/* remove margin-bottom from block columns to prevent extra spacing */
main .wp-block-columns {
    margin-bottom: 0 !important;
}

/* Social Icons Responsive Styles */
.social-icon img {
    height: 41.5px;
    width: auto;
    max-width: none;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 1;
    transition: opacity 0.3s ease;
}

.social-icon img:hover {
    opacity: 0.8;
}

/* Tablet breakpoint */
@media (max-width: 991.98px) {
    .social-icon img {
        height: 38px;
    }
}

/* Mobile breakpoint */
@media (max-width: 480px) {
    .social-icon img {
        height: 32px;
    }
}

/* Header Layout Adjustments */
.shopping-cart-icon img {
    transition: all 0.3s ease;
}

.shopping-cart-icon img:hover {
    transform: scale(1.05);
}

/* Navigation styling */
.horizontal-nav {
    font-size: 0.86rem;
}

.horizontal-nav a {
    color: var(--wp--preset--color--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.horizontal-nav a:hover {
    color: var(--wp--preset--color--accent-gold);
}

/* Footer responsive adjustments */
@media (max-width: 991.98px) {
    footer .wp-block-columns {
        flex-direction: column;
    }
    
    footer .wp-block-column {
        width: 100% !important;
        flex-basis: 100% !important;
    }
    
    footer .has-text-align-right {
        text-align: left !important;
    }
}

/* Content area adjustments */
.frontpage-left-column,
.frontpage-right-column {
    /* Empty spacer columns */
}

/* Dotted border utility */
.has-dotted-border-top {
    border-top: 1px dotted #c0c0c0;
}

.has-dotted-border-bottom {
    border-bottom: 1px dotted #c0c0c0;
}

/* Link hover states */
a {
    color: var(--wp--preset--color--text-primary);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--wp--preset--color--accent-gold);
}

/* Footer link styling */
footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Search input styling */
.wp-block-search__input {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

/* Site title styling with Merriweather */
.wp-block-site-title a {
    font-family: 'Merriweather', serif;
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1.1;
    text-decoration: none;
}

/* View All Button - Front Page */
.view-all-btn-wrapper {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.view-all-btn-wrapper .wp-block-button__link {
    background-color: #40AD47;
    color: white;   
    padding: 4px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
    outline: none;
    border: none;
}

.view-all-btn-wrapper .wp-block-button__link:hover {
    background-color: #35903D;
    color: white;
}

.view-all-btn-wrapper .wp-block-button__link:focus {
    outline: none;
    box-shadow: 0 0 0 2px rga(64, 173, 71, 0.5);
}
