/* ========================================================================
   LAWNAT SITE-WIDE COSMETIC SYSTEM & INTERACTIVE THEME CONTROLS
   ======================================================================== */

/* Reset base typography rules across all active viewports */
body {
    font-family: 'Georgia', serif;
    color: #222;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #fcfcfc;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    text-align: justify;
}

/* Three-Column Header Panel Settings */
header {
    background-color: #0f1e36;
    color: #fff;
    padding: 15px 40px;
    border-top: 4px solid #c5a059;
    border-bottom: 4px solid #c5a059;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    text-align: left;
    min-height: 120px;
}
.logo-container img {
    max-width: 110px;
    height: auto;
    display: block;
    border: none;
}
.center-branding {
    text-align: center;
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.text-lock-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: 165px;
    max-width: 100%;
    font-family: 'Trebuchet MS', sans-serif;
}
.text-lock-box h1 {
    margin: 0;
    font-size: 2.3em;
    font-weight: normal;
    letter-spacing: -0.5px; 
    color: #c5a059;
    line-height: 1;
    text-align: center;
    width: 100%;
}
.text-lock-box .motto {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-style: normal !important;
    font-weight: normal;
    margin: 8px 0 0 0;
    color: #c5a059;
    font-size: 0.82em;
    letter-spacing: 0.8px;
    text-align: center;
    width: 100%;
    display: block;
    box-sizing: border-box;
    border-top: 1px solid rgba(197, 160, 89, 0.3);
    padding-top: 6px;
    white-space: nowrap;
}
.right-credentials {
    text-align: right;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 90px;
}
.right-credentials .lawyer-name {
    font-size: 1.2em;
    color: #c5a059;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1;
    letter-spacing: 0.5px;
}
.right-credentials .advocate-title {
    font-size: 0.9em;
    color: #c5a059;
    font-weight: normal;
    text-transform: uppercase;
    margin: 3px 0 0 0;
    letter-spacing: 1px;
    display: block;
}
.right-credentials .degrees {
    color: #ffffff;
    font-size: 0.9em;
    font-weight: bold;
    margin: 3px 0 0 0;
    display: block;
}
.social-icon-strip {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    align-items: center;
    min-height: 32px;
    padding: 2px 0;
    box-sizing: border-box;
}
.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    fill: #aaa;
    transition: fill 0.3s, transform 0.2s;
}
.social-icon-link:hover {
    fill: #c5a059;
    transform: scale(1.1);
}

/* Pure CSS Tab Switch Layout Panels */
.tab-navigation {
    background-color: #0c182b;
    display: flex;
    justify-content: center;
    border-bottom: 2px solid #e0e0e0;
}
.tab-label {
    color: #aaa;
    padding: 15px 25px;
    font-size: 0.95em;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: inline-block;
}
.tab-label:hover {
    color: #fff;
}
.container {
    max-width: 950px;
    margin: 20px auto 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
    flex: 1 0 auto;
    width: 100%;
}
h2 {
    border-bottom: 2px solid #0f1e36;
    padding-bottom: 8px;
    color: #0f1e36;
    font-size: 1.5em;
    text-align: left;
}

/* MANDATORY DISPLAY OVERRIDES: Makes clicked tabs reveal themselves flawlessly */
.tab-window {
    display: none;
    width: 100%;
    box-sizing: border-box;
}
input[type="radio"] {
    display: none !important;
}

#tab1:checked ~ .tab-navigation #lbl1, 
#tab2:checked ~ .tab-navigation #lbl2, 
#tab3:checked ~ .tab-navigation #lbl3, 
#tab4:checked ~ .tab-navigation #lbl4 { 
    color: #c5a059 !important; 
    font-weight: bold !important; 
    border-bottom: 3px solid #c5a059 !important; 
    background: rgba(255,255,255,0.05); 
}

#tab1:checked ~ .container #aboutWindow, 
#tab2:checked ~ .container #expertiseWindow, 
#tab3:checked ~ .container #academicWindow, 
#tab4:checked ~ .container #contactWindow { 
    display: block !important; 
}

.jurisdictions-list {
    background: #f4f6f9;
    padding: 20px;
    border-left: 5px solid #c5a059;
    margin-top: 20px;
    font-size: 1.05em;
    text-align: justify;
}
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}
.card {
    background: #fff;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-top: 4px solid #0f1e36;
    box-sizing: border-box;
    text-align: justify;
}
.card h3 {
    margin-top: 0;
    color: #0f1e36;
    text-align: left;
}

/* Article Layout System */
.post-preview {
    margin-bottom: 25px;
    padding: 25px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-left: 4px solid #0f1e36;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: justify;
}
.post-preview h3 {
    margin: 0 0 5px 0;
    color: #0f1e36;
    text-align: left;
    font-size: 1.3em;
}
.post-date {
    display: block;
    font-size: 0.85em;
    color: #888;
    font-family: 'Arial', sans-serif;
    margin-bottom: 12px;
}
.article-expanded-tray {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}
.read-more-toggle-btn {
    background-color: #0f1e36;
    color: #c5a059;
    border: 1px solid #c5a059;
    padding: 8px 20px;
    font-family: 'Georgia', serif;
    font-size: 0.88em;
    cursor: pointer;
    border-radius: 4px;
    display: inline-block;
    margin-top: 10px;
    transition: all 0.3s;
}
.read-more-toggle-btn:hover {
    background-color: #c5a059;
    color: #0f1e36;
}
.article-share-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px dashed #e0e0e0;
}
.share-label {
    font-size: 0.85em;
    color: #666;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    fill: #888;
    transition: fill 0.3s, transform 0.2s;
}
.share-btn:hover {
    fill: #c5a059;
    transform: scale(1.1);
}

/* Directory Contacts Configuration Layers */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}
.contact-card {
    background-color: #0f1e36;
    color: #fff;
    padding: 22px;
    border-radius: 4px;
    border-top: 4px solid #c5a059;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
}
.contact-card h3 {
    color: #c5a059;
    margin-top: 0;
    border-bottom: 1px solid #334460;
    padding-bottom: 6px;
    font-size: 1.1em;
}
.contact-card p {
    margin: 8px 0;
    font-size: 0.95em;
}
.contact-card a {
    color: #c5a059;
    text-decoration: none;
    font-weight: bold;
}
.full-width-coordinates {
    grid-column: span 3;
    background-color: #0f1e36;
    border-top: 4px solid #c5a059;
    text-align: center;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    box-sizing: border-box;
}
.full-width-coordinates p {
    margin: 0;
    font-size: 1.1em;
    font-weight: bold;
    color: #fff;
}
.full-width-coordinates a {
    color: #c5a059;
    text-decoration: none;
}

/* Standard BCI Footer Bindings */
footer {
    text-align: center;
    padding: 25px;
    color: #666;
    font-size: 0.85em;
    border-top: 1px solid #e0e0e0;
    background-color: #f7f9fa;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
}

/* Compliance Warning Modal Sheet Layers */
.bci-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 30, 54, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}
.bci-modal-content {
    background: #fff;
    max-width: 650px;
    width: 100%;
    padding: 35px;
    border-radius: 6px;
    border-top: 6px solid #c5a059;
    text-align: left;
}
.bci-btn {
    background-color: #0f1e36;
    color: #fff;
    border: none;
    padding: 12px 35px;
    font-family: 'Georgia', serif;
    cursor: pointer;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Dynamic Responsive Queries for Smaller Handheld Terminals */
@media(max-width: 900px) {
    header { flex-direction: column; text-align: center; gap: 15px; padding: 20px; }
    .right-credentials { text-align: center; }
    .social-icon-strip { justify-content: center; margin-top: 12px; }
    .contact-grid { grid-template-columns: 1fr; }
    .full-width-coordinates { grid-column: span 1; }
    .grid { grid-template-columns: 1fr; }
    body, .jurisdictions-list, .card, .post-preview { text-align: left; }
}
