/*
Theme Name: Twenty Thirteen Child - AZ Legal Finder
Theme URI: https://azlegalfinder.com
Description: Twenty Thirteen Child Theme for Arizona Legal Finder Directory
Author: AZ Legal Finder
Author URI: https://azlegalfinder.com
Template: twentythirteen
Version: 1.0.0
License: GPL v2 or later
Text Domain: twentythirteen-child
*/

/* Color Scheme Variables */
:root {
    --azld-yale-blue: #00356B;
    --azld-gold: #EFBF04;
    --azld-maroon: #660000;
    --azld-light-gold: #FFF3D4;
    --azld-light-blue: #E6EEF5;
    --azld-dark-gray: #333333;
    --azld-medium-gray: #666666;
    --azld-light-gray: #F5F5F5;
}

/* Override Twenty Thirteen default colors */
body {
    background-color: #ffffff;
}

/* Site Header Styling */
.site-header {
    background-color: var(--azld-yale-blue);
    border-top: 5px solid var(--azld-gold);
}

.site-title,
.site-title a,
.site-title a:hover {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.site-description {
    color: var(--azld-gold) !important;
    font-style: normal;
    font-weight: 500;
}

/* Navigation Menu Styling - Basic colors only */
.navbar {
    background-color: var(--azld-yale-blue);
    border-bottom: 3px solid var(--azld-gold);
    border-top: 2px solid #EFBF04;
}

.nav-menu li a {
    color: #ffffff !important;
}

.nav-menu li a:hover,
.nav-menu .current_page_item > a,
.nav-menu .current-menu-item > a {
    background-color: var(--azld-maroon);
    color: var(--azld-gold) !important;
}

/* Mobile Navigation Toggle */
.menu-toggle {
    background-color: var(--azld-gold);
    color: var(--azld-yale-blue);
    border: none;
    padding: 10px 15px;
    font-weight: 600;
    border-radius: 5px;
}

.menu-toggle:hover {
    background-color: var(--azld-maroon);
    color: #ffffff;
}

/* Main Content Area */
.site-content {
    background-color: #ffffff;
    padding-left: 20px;
    padding-right: 20px;
}

/* Links and Buttons */
a {
    color: var(--azld-yale-blue);
    transition: color 0.3s ease;
}

a:hover,
a:focus,
a:active {
    color: var(--azld-maroon);
}

/* Buttons */
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.button {
    background-color: var(--azld-yale-blue);
    border: 2px solid var(--azld-yale-blue);
    color: #ffffff;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-radius: 5px;
    font-weight: 600;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
.button:hover {
    background-color: var(--azld-gold);
    border-color: var(--azld-gold);
    color: var(--azld-yale-blue);
}


/* Widget Areas */
.widget-area {
    background-color: var(--azld-light-gray);
    padding: 20px;
    border-radius: 10px;
}

.widget-title {
    color: var(--azld-yale-blue);
    border-bottom: 3px solid var(--azld-gold);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Footer */
.site-footer {
    background-color: var(--azld-yale-blue);
    color: #ffffff;
    border-top: 5px solid var(--azld-gold);
}

.site-footer a {
    color: var(--azld-gold);
}

.site-footer a:hover {
    color: #ffffff;
}

/* Page Headers */
.page-header,
.entry-header {
    border-bottom: 3px solid var(--azld-gold);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.entry-title,
.page-title {
    color: var(--azld-yale-blue);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
    border: 2px solid var(--azld-light-blue);
    padding: 10px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    border-color: var(--azld-gold);
    outline: none;
    box-shadow: 0 0 5px rgba(239, 191, 4, 0.3);
}

/* Tables */
table {
    border-collapse: collapse;
    width: 100%;
}

th {
    background-color: var(--azld-yale-blue);
    color: #ffffff;
    padding: 12px;
    text-align: left;
}

td {
    padding: 12px;
    border-bottom: 1px solid var(--azld-light-blue);
}

tr:hover {
    background-color: var(--azld-light-gold);
}

/* Full Width Home Page */
.full-width-home .site {
    max-width: 100%;
    background: #ffffff;
}

.full-width-home .site-content {
    max-width: 100%;
    padding: 0;
}

.full-width-home .content-area {
    width: 100%;
    max-width: none;
    margin: 0;
    float: none;
    padding: 0;
}

.full-width-home .site-main {
    width: 100%;
    max-width: none;
    padding: 60px 40px;
}

.full-width-home .entry-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Override sidebar padding for home page */
.full-width-home .entry-header,
.full-width-home .entry-content,
.full-width-home .entry-summary,
.full-width-home .entry-meta {
    max-width: 100%;
    padding: 0;
}

.full-width-home.sidebar .entry-header,
.full-width-home.sidebar .entry-content,
.full-width-home.sidebar .entry-summary,
.full-width-home.sidebar .entry-meta {
    max-width: 100%;
    padding: 0;
}

.full-width-home .widget-area {
    display: none !important;
}

/* Home page specific adjustments */
.home .entry-header {
    display: none; /* Hide page title on home since we have custom H1 */
}

.home .site-header {
    margin-bottom: 0;
}

/* Home page sections with alternating backgrounds */
.full-width-home h1 {
    font-size: 42px;
    color: var(--azld-yale-blue);
    text-align: center;
    margin-bottom: 30px;
}

.full-width-home h2 {
    font-size: 32px;
    color: var(--azld-yale-blue);
    margin: 40px 0 30px;
    text-align: center;
}

/* Practice Area Cards Grid Layout */
.practice-area-cards {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    margin: 40px 0 !important;
    width: 100% !important;
}

.practice-card {
    background-color: #ffffff !important;
    border: 2px solid var(--azld-light-blue) !important;
    border-radius: 10px !important;
    padding: 25px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    display: block !important;
    width: 100% !important;
}

.practice-card:hover {
    border-color: var(--azld-gold);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.practice-card-icon {
    font-size: 48px;
    margin-bottom: 15px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.practice-card h3 {
    color: var(--azld-yale-blue);
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.practice-card p {
    color: var(--azld-medium-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.practice-card-link {
    color: var(--azld-yale-blue);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--azld-yale-blue);
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    transition: all 0.3s ease;
}

.practice-card-link:hover {
    background-color: var(--azld-yale-blue);
    color: #ffffff;
}

/* Attorney Listing Grid Layout (from shortcodes) */
.azld-practice-area-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin: 20px 0 !important;
}

.azld-listing-card {
    background-color: #ffffff !important;
    border: 2px solid var(--azld-light-blue) !important;
    border-radius: 10px !important;
    padding: 20px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.azld-listing-card:hover {
    border-color: var(--azld-gold) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
}

.azld-listing-title a {
    color: var(--azld-yale-blue) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.azld-listing-title a:hover {
    color: var(--azld-maroon) !important;
}

.azld-practice-tag {
    background-color: var(--azld-gold) !important;
    color: var(--azld-yale-blue) !important;
    padding: 4px 12px !important;
    border-radius: 15px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: inline-block !important;
    margin: 5px 0 !important;
}

.azld-view-profile {
    background-color: var(--azld-yale-blue) !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: inline-block !important;
    margin-top: 10px !important;
    transition: all 0.3s ease !important;
}

.azld-view-profile:hover {
    background-color: var(--azld-maroon) !important;
}

/* Custom Footer Styling */
.azld-custom-footer {
    background-color: var(--azld-light-gray);
    color: var(--azld-dark-gray);
    padding: 60px 40px;
    margin-top: 0;
    border-top: 5px solid var(--azld-yale-blue);
}

.azld-footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}

.azld-footer-section h3 {
    color: var(--azld-yale-blue);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--azld-gold);
}

.azld-footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.azld-footer-section ul li {
    margin-bottom: 10px;
}

.azld-footer-section ul li a {
    color: var(--azld-yale-blue);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
}

.azld-footer-section ul li a:hover {
    color: var(--azld-maroon);
    transform: translateX(3px);
    transition: all 0.3s ease;
}

.azld-practice-areas-list {
    columns: 1;
}

.azld-footer-contact {
    margin-top: 25px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    border-left: 5px solid var(--azld-gold);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.azld-footer-contact p {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--azld-dark-gray);
}

.azld-footer-contact p:first-child {
    font-weight: 600;
    color: var(--azld-yale-blue);
    font-size: 16px;
}

/* Footer description text */
.azld-footer-section p {
    color: var(--azld-medium-gray);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .azld-footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 999px) {
    .azld-footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .azld-custom-footer {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .azld-footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .azld-custom-footer {
        padding: 40px 20px;
    }
    
    .azld-footer-section h3 {
        font-size: 18px;
    }
    
    .azld-footer-section ul li a {
        font-size: 14px;
    }
    
    .azld-footer-contact {
        padding: 15px;
    }
}

/* Custom Classes for Special Elements */
.highlight-box {
    background-color: var(--azld-light-gold);
    border-left: 5px solid var(--azld-gold);
    padding: 20px;
    margin: 20px 0;
}

.cta-button {
    background-color: var(--azld-gold);
    color: var(--azld-yale-blue);
    padding: 15px 30px;
    display: inline-block;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--azld-maroon);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 0, 0, 0.3);
}

/* Preserve normal sidebar layout on other pages */
body:not(.full-width-home).sidebar .entry-header,
body:not(.full-width-home).sidebar .entry-content,
body:not(.full-width-home).sidebar .entry-summary,
body:not(.full-width-home).sidebar .entry-meta {
    /* These will inherit the parent theme's padding */
}

/* Balance padding for better content display on regular pages */
.sidebar .entry-content {
    padding-right: 320px; /* Reduced from 376px for better balance */
}

/* Responsive adjustments */
@media (max-width: 999px) {
    /* Remove the large right padding on smaller screens */
    .sidebar .entry-header,
    .sidebar .entry-content,
    .sidebar .entry-summary,
    .sidebar .entry-meta {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    /* Practice area cards - 3 per row on tablet */
    .practice-area-cards {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 25px !important;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 20px;
    }
    
    .nav-menu li a {
        padding: 10px;
    }
    
    /* Further reduce padding on mobile */
    .sidebar .entry-header,
    .sidebar .entry-content,
    .sidebar .entry-summary,
    .sidebar .entry-meta {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Practice area cards - 2 per row on mobile */
    .practice-area-cards {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        margin: 30px 0 !important;
    }
    
    .practice-card {
        padding: 20px;
    }
    
    .practice-card-icon {
        font-size: 36px;
        height: 50px;
    }
    
    .practice-card h3 {
        font-size: 18px;
    }
    
    .practice-card p {
        font-size: 13px;
    }
    
    /* Attorney listing cards - 1 per row on mobile */
    .azld-practice-area-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}
/* html5reset.css - 01/11/2011 */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    line-height: 1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display: block;
}

nav ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

/* change colours to suit your needs */
ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

/* change colours to suit your needs */
mark {
    background-color: #ff9;
    color: #000; 
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration:  line-through;
}

abbr[title], dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
    display: block;
    height: 1px;
    border: 0;   
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input, select {
    vertical-align: middle;
}
  .section{clear:both;padding:0;margin:0}.group:before,.group:after{content:
  "";display:table}.group:after{clear:both}.group{zoom:1}.col{display:block;
  float:left;margin:1% 0 1% 1.6%}.col:first-child{margin-left:0}.span_2_of_2
  {width:100%}.span_1_of_2{width:49.2%}.span_3_of_3{width:100%}.span_2_of_3{
  width:66.13%}.span_1_of_3{width:32.26%}.span_4_of_4{width:100%}.span_3_of_
  4{width:74.6%}.span_2_of_4{width:49.2%}.span_1_of_4{width:23.8%}.span_5_of
  _5{width:100%}.span_4_of_5{width:79.68%}.span_3_of_5{width:59.36%}.span_2_
  of_5{width:39.04%}.span_1_of_5{width:18.72%}.span_6_of_6{width:100%}.span_
  5_of_6{width:83.06%}.span_4_of_6{width:66.13%}.span_3_of_6{width:49.2%}.sp
  an_2_of_6{width:32.26%}.span_1_of_6{width:15.33%}.span_7_of_7{width:100%}.
  span_6_of_7{width:85.48%}.span_5_of_7{width:70.97%}.span_4_of_7{width:56.4
  5%}.span_3_of_7{width:41.94%}.span_2_of_7{width:27.42%}.span_1_of_7{width:
  12.91%}.span_8_of_8{width:100%}.span_7_of_8{width:87.3%}.span_6_of_8{width
  :74.6%}.span_5_of_8{width:61.9%}.span_4_of_8{width:49.2%}.span_3_of_8{widt
  h:36.5%}.span_2_of_8{width:23.8%}.span_1_of_8{width:11.1%}.span_9_of_9{wid
  th:100%}.span_8_of_9{width:88.71%}.span_7_of_9{width:77.42%}.span_6_of_9{w
  idth:66.13%}.span_5_of_9{width:54.84%}.span_4_of_9{width:43.55%}.span_3_of
  _9{width:32.26%}.span_2_of_9{width:20.97%}.span_1_of_9{width:9.68%}.span_1
  0_of_10{width:100%}.span_9_of_10{width:89.84%}.span_8_of_10{width:79.68%}.
  span_7_of_10{width:69.52%}.span_6_of_10{width:59.36%}.span_5_of_10{width:4
  9.2%}.span_4_of_10{width:39.04%}.span_3_of_10{width:28.88%}.span_2_of_10{w
  idth:18.72%}.span_1_of_10{width:8.56%}.span_11_of_11{width:100%}.span_10_o
  f_11{width:90.76%}.span_9_of_11{width:81.52%}.span_8_of_11{width:72.29%}.s
  pan_7_of_11{width:63.05%}.span_6_of_11{width:53.81%}.span_5_of_11{width:44
  .58%}.span_4_of_11{width:35.34%}.span_3_of_11{width:26.1%}.span_2_of_11{wi
  dth:16.87%}.span_1_of_11{width:7.63%}.span_12_of_12{width:100%}.span_11_of
  _12{width:91.53%}.span_10_of_12{width:83.06%}.span_9_of_12{width:74.6%}.sp
  an_8_of_12{width:66.13%}.span_7_of_12{width:57.66%}.span_6_of_12{width:49.
  2%}.span_5_of_12{width:40.73%}.span_4_of_12{width:32.26%}.span_3_of_12{wid
  th:23.8%}.span_2_of_12{width:15.33%}.span_1_of_12{width:6.86%}@media only
  screen and (max-width:480px){.col{margin:1% 0}.span_1_of_2,.span_2_of_2,.s
  pan_1_of_3,.span_2_of_3,.span_3_of_3,.span_1_of_4,.span_2_of_4,.span_3_of_
  4,.span_4_of_4,.span_1_of_5,.span_2_of_5,.span_3_of_5,.span_4_of_5,.span_5
  _of_5,.span_1_of_6,.span_2_of_6,.span_3_of_6,.span_4_of_6,.span_5_of_6,.sp
  an_6_of_6,.span_1_of_7,.span_2_of_7,.span_3_of_7,.span_4_of_7,.span_5_of_7
  ,.span_6_of_7,.span_7_of_7,.span_1_of_8,.span_2_of_8,.span_3_of_8,.span_4_
  of_8,.span_5_of_8,.span_6_of_8,.span_7_of_8,.span_8_of_8,.span_1_of_9,.spa
  n_2_of_9,.span_3_of_9,.span_4_of_9,.span_5_of_9,.span_6_of_9,.span_7_of_9,
  .span_8_of_9,.span_9_of_9,.span_1_of_10,.span_2_of_10,.span_3_of_10,.span_
  4_of_10,.span_5_of_10,.span_6_of_10,.span_7_of_10,.span_8_of_10,.span_9_of
  _10,.span_10_of_10,.span_1_of_11,.span_2_of_11,.span_3_of_11,.span_4_of_11
  ,.span_5_of_11,.span_6_of_11,.span_7_of_11,.span_8_of_11,.span_9_of_11,.sp
  an_10_of_11,.span_11_of_11,.span_1_of_12,.span_2_of_12,.span_3_of_12,.span
  _4_of_12,.span_5_of_12,.span_6_of_12,.span_7_of_12,.span_8_of_12,.span_9_o
  f_12,.span_10_of_12,.span_11_of_12,.span_12_of_12{width:100%}}

/* Override parent theme max-width restriction for full-width content */
.entry-content,
.entry-summary,
.entry-meta {
    /* max-width: 604px; - Commented out from parent theme to allow full width */
    max-width: none !important;
}
