/* --- Global Containers --- */
.hw-attorney-template {
    padding: 60px 0;
    background-color: #ffffff;
    font-family: var(--font-secondary);
    color: #333333;
}
.hw-container {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--container);
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 100pt;
}

/* --- CSS Grid Layout (No Bootstrap) --- */
.hw-layout-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 60px;
    align-items: start;
}

@media (max-width: 991px) {
    .hw-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- Left Sidebar & Watermark --- */
.hw-sidebar-column {
    position: relative;
}
.hw-vertical-watermark {
    position: absolute;
    left: -50px;
    top:37%;
    transform: rotate(-90deg);
    transform-origin: left top;
    white-space: nowrap;
    
   
    letter-spacing: 2px;
    font-weight: bold;
    text-transform: uppercase;
}

/* --- Profile Sidebar Card --- */
.hw-profile-card {
    background-color: #0d2240; /* Dark Navy Blue */
    color: #ffffff;
    box-sizing: border-box;
}
.hw-profile-image img {
    width: 100%;
    height: auto;
    display: block;
}
.hw-profile-meta {
    padding: 25px 20px;
}
.hw-sidebar-name {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 5px 0;
    letter-spacing: 0.5px;
    color: #ffffff;
}
.hw-sidebar-position {
    
    color: #cbb281; /* Premium Gold Accent */
    text-transform: uppercase;
    margin: 0 0 20px 0;
}
.hw-sidebar-locations {
   
    line-height: 1.6;
    margin-bottom: 20px;
    color: #e0e0e0;
}
.hw-sidebar-contacts {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-bottom: 20px;
}
.hw-contact-item {
    display: block;
    color: #ffffff;
    text-decoration: none;
   
    margin-bottom: 8px;
}
.hw-contact-item:hover {
    color: #cbb281;
}
.hw-vcard-btn {
    display: inline-block;
    color: #cbb281;
    text-decoration: none;
    
    font-weight: bold;
    letter-spacing: 1px;
}
.hw-sidebar-utilities {
    margin-top: 15px;
    padding-left: 5px;
}
.hw-print-btn {
    
    color: #666666;
    text-decoration: none;
}

/* --- Right Side Main Content --- */
.hw-content-header {
    margin-bottom: 25px;
}
.hw-main-name {
    
    color: #0d2240;
    margin: 0 0 5px 0;
    font-weight: 500;
}
.hw-main-position {
    
    color: #cbb281;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 15px;
}


.hw-content-section {
    margin-bottom: 35px;
}
.hw-wysiwyg {
     font-size: 20px;
    line-height: 1.4em;
    width: 100%;
    margin: 0;
    letter-spacing: 0.01em;
}

/* --- Badges Layout --- */
.hw-section-label {
    
    
    font-weight: bold;
    letter-spacing: 1px;
    margin: 0 0 15px 0;
}
.hw-badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.hw-badge {
    background-color: #f4eee3; /* Light Cream Gold background */
   
    text-decoration: none;
    padding: 8px 16px;
    
    font-weight: 500;
    border-radius: 2px;
    transition: background 0.2s;
}
.hw-badge:hover {
    background-color: #cbb281;
    color: #ffffff;
}

/* --- Global Section Breaks --- */
.hw-divider {
    border: 0;
    border-top: 1px solid #cbb281;
    margin: 40px 0;
}
.hw-section-title-large {
    
    color: #0d2240;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-0: 0 0 20px 0;
    text-transform: uppercase;
}

/* --- Custom Bullet Lists --- */
.hw-bullet-list, .hw-qual-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.hw-bullet-list li, .hw-qual-list li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #555555;
}
.hw-bullet-list li::before, .hw-qual-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #cbb281;
}

/* --- Profile Bottom Pagination --- */
.hw-profile-pagination {
    margin-top: 20px;
}
.hw-pagination-controls {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-top: 10px;
}
.hw-pag-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #baa570; /* Thin elegant gold outline */
    border-radius: 50%; /* Perfect circle */
    text-decoration: none;
    color: #baa570;
    font-size: 18px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    background: transparent;
}
.hw-pag-btn span {
    line-height: 1;
    position: relative;
    top: -1px; /* Optical adjustment centering */
}
.hw-pag-btn{
    background-repeat: no-repeat;
    background-position: center;
    background-size: 25px;
}
.hw-pag-btn.hw-pag-next{
    background-image: url("data:image/svg+xml,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' version='1.1' fill='%23ae8c3e' viewBox='0 0 160.22 109.47'%3E%3Cpath d='M159.7,56.44c.03-.05.06-.11.09-.16.07-.12.14-.24.2-.37.03-.07.04-.14.07-.22.04-.12.08-.23.11-.36.04-.2.06-.4.06-.61s-.02-.41-.06-.61c-.03-.12-.07-.24-.11-.36-.02-.07-.04-.14-.07-.21-.05-.13-.13-.25-.2-.37-.03-.05-.05-.11-.08-.15-.11-.17-.24-.32-.38-.46L107.65.9c-1.2-1.2-3.14-1.2-4.34,0-1.2,1.2-1.2,3.14,0,4.34l46.44,46.44H3.07c-1.69,0-3.07,1.37-3.07,3.07s1.37,3.07,3.07,3.07h146.69l-46.44,46.44c-1.2,1.2-1.2,3.14,0,4.34.6.6,1.38.9,2.17.9s1.57-.3,2.17-.9l51.67-51.67h0c.14-.14.27-.3.38-.46Z'/%3E%3C/svg%3E");
}
.hw-pag-btn.hw-pag-prev{
    transform: scaleX(-1);
    background-image: url("data:image/svg+xml,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' version='1.1' fill='%23ae8c3e' viewBox='0 0 160.22 109.47'%3E%3Cpath d='M159.7,56.44c.03-.05.06-.11.09-.16.07-.12.14-.24.2-.37.03-.07.04-.14.07-.22.04-.12.08-.23.11-.36.04-.2.06-.4.06-.61s-.02-.41-.06-.61c-.03-.12-.07-.24-.11-.36-.02-.07-.04-.14-.07-.21-.05-.13-.13-.25-.2-.37-.03-.05-.05-.11-.08-.15-.11-.17-.24-.32-.38-.46L107.65.9c-1.2-1.2-3.14-1.2-4.34,0-1.2,1.2-1.2,3.14,0,4.34l46.44,46.44H3.07c-1.69,0-3.07,1.37-3.07,3.07s1.37,3.07,3.07,3.07h146.69l-46.44,46.44c-1.2,1.2-1.2,3.14,0,4.34.6.6,1.38.9,2.17.9s1.57-.3,2.17-.9l51.67-51.67h0c.14-.14.27-.3.38-.46Z'/%3E%3C/svg%3E");
}
.hw-pag-btn.hw-pag-prev span{
    display: none;
}
.hw-pag-btn:hover {
    background-color: #baa570;
    color: #ffffff;
}
.hw-pag-btn.hw-pag-next:hover{
    background-image: url("data:image/svg+xml,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' version='1.1' fill='%23ffffff' viewBox='0 0 160.22 109.47'%3E%3Cpath d='M159.7,56.44c.03-.05.06-.11.09-.16.07-.12.14-.24.2-.37.03-.07.04-.14.07-.22.04-.12.08-.23.11-.36.04-.2.06-.4.06-.61s-.02-.41-.06-.61c-.03-.12-.07-.24-.11-.36-.02-.07-.04-.14-.07-.21-.05-.13-.13-.25-.2-.37-.03-.05-.05-.11-.08-.15-.11-.17-.24-.32-.38-.46L107.65.9c-1.2-1.2-3.14-1.2-4.34,0-1.2,1.2-1.2,3.14,0,4.34l46.44,46.44H3.07c-1.69,0-3.07,1.37-3.07,3.07s1.37,3.07,3.07,3.07h146.69l-46.44,46.44c-1.2,1.2-1.2,3.14,0,4.34.6.6,1.38.9,2.17.9s1.57-.3,2.17-.9l51.67-51.67h0c.14-.14.27-.3.38-.46Z'/%3E%3C/svg%3E");
}
.hw-pag-btn.hw-pag-prev:hover{
    background-image: url("data:image/svg+xml,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' version='1.1' fill='%23ffffff' viewBox='0 0 160.22 109.47'%3E%3Cpath d='M159.7,56.44c.03-.05.06-.11.09-.16.07-.12.14-.24.2-.37.03-.07.04-.14.07-.22.04-.12.08-.23.11-.36.04-.2.06-.4.06-.61s-.02-.41-.06-.61c-.03-.12-.07-.24-.11-.36-.02-.07-.04-.14-.07-.21-.05-.13-.13-.25-.2-.37-.03-.05-.05-.11-.08-.15-.11-.17-.24-.32-.38-.46L107.65.9c-1.2-1.2-3.14-1.2-4.34,0-1.2,1.2-1.2,3.14,0,4.34l46.44,46.44H3.07c-1.69,0-3.07,1.37-3.07,3.07s1.37,3.07,3.07,3.07h146.69l-46.44,46.44c-1.2,1.2-1.2,3.14,0,4.34.6.6,1.38.9,2.17.9s1.57-.3,2.17-.9l51.67-51.67h0c.14-.14.27-.3.38-.46Z'/%3E%3C/svg%3E");
}
.hw-pag-close{
    background-size: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ae8c3e' class='bi bi-x-lg' viewBox='0 0 16 16'%3E%3Cpath d='M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8z'/%3E%3C/svg%3E");
}
.hw-pag-close:hover{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' class='bi bi-x-lg' viewBox='0 0 16 16'%3E%3Cpath d='M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8z'/%3E%3C/svg%3E");

}
.hw-pag-disabled {
    border-color: #e2e2e2;
    color: #c8c8c8;
    cursor: not-allowed;
    pointer-events: none;
}

/*Mega Menu css*/

/*=========================================
PROFESSIONALS SEARCH PAGINATION
=========================================*/
.professionals-search__pagination {
    display: flex;
    align-items: center;
    gap: 18px;
}
.professionals-search__page {
    font-family: var(--font-secondary);
    font-size: 17px;
    font-weight: 300;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    transition: color 0.3s;
}
.professionals-search__page:hover {
    color: var(--secondary);
}
.professionals-search__page.active {
    color: var(--secondary);
}
.professionals-search__page.active::after {
    content: "";
    display: inline-block;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
    flex-shrink: 0;
}
.professionals-search__dots {
    font-family: var(--font-secondary);
    font-size: 17px;
    font-weight: 300;
    color: var(--white);
    letter-spacing: 0.1em;
}
.professionals-search__next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    margin-left: auto;
    flex-shrink: 0;
    transition: border-color 0.3s, background-color 0.3s;
}
.professionals-search__next:hover {
    border-color: var(--secondary);
    background-color: var(--secondary);
    color: var(--white);
}
