/*
Theme Name: La Fratta Law
Theme URI: https://www.lafrattalaw.com
Description: WordPress theme for La Fratta Law - wraps existing static HTML site
Version: 1.0.0
Author: La Fratta Law
Author URI: https://www.lafrattalaw.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lafrattalaw

This theme wraps the existing static HTML site in WordPress for easy content management.
*/

/* Blog Styles */
.blog-grid-item {
    margin-bottom: 30px;
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    height: 100%;
    /* Ideally use flexbox for equal height, handled by grid */
    transition: transform 0.2s, box-shadow 0.2s;
}

.blog-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-grid-item .post-thumbnail {
    margin: -15px -15px 15px;
    overflow: hidden;
}

.blog-grid-item .post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-grid-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

.blog-grid-item .entry-title {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 10px;
}

.blog-grid-item .entry-title a {
    color: #1a2b49;
    text-decoration: none;
}

.blog-grid-item .entry-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 15px;
}

.blog-grid-item .entry-summary {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #1a2b49;
    font-weight: bold;
    font-size: 13px;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* Sidebar Styles */
.blog-sidebar .widget {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.blog-sidebar .widget-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #1a2b49;
    font-family: "Georgia", serif;
    border-left: 3px solid #1a2b49;
    padding-left: 10px;
}

.blog-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.blog-sidebar ul li a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-sidebar ul li a:hover {
    color: #1a2b49;
    padding-left: 5px;
}

/* Pagination */
.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 2px;
    border: 1px solid #ddd;
    color: #555;
    text-decoration: none;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background-color: #1a2b49;
    color: #fff;
    border-color: #1a2b49;
}

/* Theme styles are inline in the HTML files */

/* Footer Styles */
.site-footer {
    background-color: #fff;
    padding: 60px 0 20px;
    font-family: "Georgia", serif;
}

.footer-logo-col {
    text-align: center;
    margin-bottom: 30px;
}

.footer-logo img {
    max-width: 250px;
    /* Increased logo size */
    margin: 0 auto 20px;
    display: block;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    /* Fixed size for circle */
    height: 38px;
    border: 1px solid #1a2b49;
    /* Dark blue border */
    border-radius: 50%;
    color: #1a2b49;
    transition: all 0.3s;
    text-decoration: none !important;
    /* Force no underline */
}

.social-circle:hover {
    background-color: #1a2b49;
    color: #fff;
    text-decoration: none;
}

.social-circle svg {
    width: 18px;
    height: 18px;
}

.footer-contact-col {
    color: #1a2b49;
    margin-bottom: 30px;
    text-align: center;
    /* Center align everything in this column initially */
}

.footer-phone-block {
    margin-bottom: 40px;
}

.phone-label {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
    font-family: "Georgia", serif;
    /* Serif for "TEXT OR CALL" */
}

.phone-number {
    font-size: 34px;
    /* Larger phone number */
    font-weight: bold;
    margin-bottom: 30px;
    color: #1a2b49;
    font-family: "Arial", sans-serif;
    /* Phone number often looks better in sans-serif/slab or keep Georgia if matches image */
}

.phone-number a {
    color: inherit;
    text-decoration: none;
}

.page-template-blog-template .entry-title,
.page-template-blog-template .entry-title a {
    color: white;
}

.page-template-blog-template .entry-title {
    padding: 5px 5px;
}

.row.locations-row {
    margin-top: 20px;
}

.location-block {
    margin-bottom: 20px;
    text-align: left;
    /* Align text inside chunks to left if needed, but headers look centered in image? checking... Image shows headers 'Charlottesville' and 'Richmond' centered relative to their blocks */
    /* Actually image shows 2 cols. Each col has centered header? No, 'Charlottesville' and 'Richmond' act as headers. Let's keep them centered in their grid cells. */
    text-align: center;
    padding: 0 15px;
}

.location-title {
    font-size: 20px;
    font-weight: bold;
    color: #1a2b49;
    margin-top: 0;
    margin-bottom: 15px;
    font-family: "Georgia", serif;
}

.location-divider {
    height: 1px;
    width: 50px;
    background-color: #ccc;
    margin: 0 auto 15px;
    /* Center divider */
}

address {
    font-style: normal;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #666;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.map-link {
    font-weight: bold;
    color: #1a2b49;
    text-decoration: underline;
    font-size: 13px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Practice Areas */
.footer-links-col {
    padding-left: 30px;
    /* Check if extra spacing needed */
}

.footer-heading {
    color: #444;
    font-size: 22px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 25px;
    font-family: "Georgia", serif;
}

.practice-areas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.practice-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a2b49;
    /* Dark blue from logo */
    color: #fff;
    padding: 12px 5px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    border-radius: 0;
    /* Sharp corners */
    line-height: 1.2;
    min-height: 40px;
}

.practice-link:hover,
.practice-link:focus {
    background-color: #2c4a7c;
    color: #fff;
    text-decoration: none;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 70px;
    padding-top: 20px;
    font-size: 11px;
    color: #999;
    font-family: sans-serif;
    text-align: left;
    /* Image shows left aligned? Or centered? usually these are small. Let's usually left or center. Code currently has 'row' > col-12. */
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color:
        #66b5f8;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.site-footer .container {
    width: 90%;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .practice-areas-grid {
        grid-template-columns: 1fr 1fr;
        /* Keep 2 cols on tablet */
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding-top: 40px;
        text-align: center;
    }

    .footer-logo-col,
    .footer-contact-col,
    .footer-links-col {
        margin-bottom: 50px;
    }

    .footer-links-col {
        padding-left: 15px;
        /* Reset padding */
    }

    .practice-areas-grid {
        grid-template-columns: 1fr;
        /* 1 col on mobile? or 2? Image doesn't show mobile. usually 2 is fine if small enough. */
    }
}