.community-sommelier-index a:visited, .community-sommelier-index .alink:visited  {
    color: #333 !important;
}
.sommelier-tabs-wrapper {
    margin: 20px 0;
}
.column.main {width: 100% !important;}
.sommelier-tabs-wrapper .tabs-navigation {
    display: block;
    margin-bottom: 20px;
}

.sommelier-tabs-wrapper .tabs-navigation div[data-role="collapsible"] {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: 600 !important;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    background: #a51e23;
    color: #FFF;
}

.sommelier-tabs-wrapper .tabs-navigation div[data-role="collapsible"].active {
    border-bottom: 3px solid #b18e3a;
    background: #FFF;
    color: #a51e23;
}

.sommelier-tabs-wrapper .tabs-navigation div[data-role="collapsible"]:hover {
    color: #b18e3a;
}

.sommelier-tabs-wrapper [data-role="content"] {
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    display: none;
}

.sommelier-tabs-wrapper [data-role="content"].active {
    display: block;
}

.tab-content-inner h2 {
    color: #333;
    margin-top: 0;
}

/* Common Community Styles */
.community-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.community-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}
.community-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.w-100 {
    width: 100%;
}
.tabs-navigation {
    display: flex;
    background: #a51e23;
    color: #FFF;
}

/* Guides Page Styles */
.community-guides-wrapper {
    margin-top: 20px;
}
.guides-row {
    margin-top: 30px;
}
.guide-module {
    background: #f9f9f9;
    border: 1px solid #ddd;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    min-height: 350px;
}
.module-header {
    padding: 40px 20px;
    flex-grow: 1;
}
.module-number {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: 2px;
}
.module-title {
    font-size: 40px;
    font-weight: 900;
    color: #a51e23;
    margin-bottom: 25px;
    border-bottom: 2px solid #3498db;
    display: inline-block;
}
.module-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}
.module-footer {
    background: #a51e23;
    padding: 15px;
}
.btn-join {
    color: #fff !important;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none !important;
    display: block;
    letter-spacing: 2px;
}
.btn-join:hover {
    color: #ddd !important;
}
.submit_form {
    background: #fdfdfd;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-top: 20px;
}

.community-contact-form .legend {
    font-size: 1.8rem;
    font-weight: 700;
    color: #a51e23;
    border-bottom: none;
    margin-bottom: 20px;
}

.community-contact-form .field {
    margin-bottom: 15px;
}

.community-contact-form .input-text {
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 14px;
    width: 100%;
}

.community-contact-form textarea.input-text {
    height: auto;
}

.community-contact-form .action.submit {
    background: #a51e23;
    border: 1px solid #a51e23;
    color: #fff;
    padding: 0 30px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    width: 100%;
    cursor: pointer;
}

.community-contact-form .action.submit:hover {
    background: #8e1a1e;
    border-color: #8e1a1e;
}

.community-contact-form .field.required > .control:after {
    display: none;
}
.red {color: #A51E23 !important;}
.submit_title {
    color: #A51E23 !important;
    margin-bottom: 20px;
    font-weight: 900;
    font-size: 20px;
}
.sommelier-tabs-wrapper .tabs-navigation div[data-role="collapsible"] span {
    color: #FFF !important;
}
.sommelier-tabs-wrapper .tabs-navigation div[data-role="collapsible"].active span {
    color: #a51e23 !important;
}



/* Guides styles */
.community-guides-wrapper {
    background: #fff;
    padding: 20px;
    margin-top: 20px;
}
.community-guides-wrapper .row.g-0 {
    margin-right: 0;
    margin-left: 0;
}
.community-guides-wrapper .row.g-0 > [class^="col-"] {
    padding-right: 0;
    padding-left: 0;
}
.community-guides-wrapper h1 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 30px;
}
.michelin-bg .guides-title a {
    color: #fff;
}
.guides-item.michelin-bg {
    background: #a51e23;
    border-color: #a51e23;
}
.guides-img {
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.guides-item {
    border: none;
    height: 100%;
    background: #fff;
}
.guides-img img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}
.col-md-12 .guides-img {
    background: transparent;
}
.col-md-12 .guides-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.guides-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.guides-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}
.guides-title a {
    color: #a51e23;
    text-decoration: none;
}
.guides-title.white a {
    color: #fff;
}
.guides-desc {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #333;
    font-weight: 500;
}
.guides-desc.white {
    color: #fff;
}
.view-more {
    color: #a51e23;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}
.view-more.white {
    color: #fff;
}
.view-more:hover {
    text-decoration: underline;
}
.white {
    color: #fff !important;
}
.sommelier-header {
    text-align: center;
    margin-bottom: 20px;
}
.somelier-item {
    background: #ddd;
    color: #a51e23;
    border-radius: 30px 30px 0 0;
    padding: 10px;
    border: 10px solid #FFF;
    border-bottom: none;
}
input.form-control {
    border-color: #ccc !important;
    border-radius: 20px !important;
    height: 45px !important;
}
.somelier-item a {
    color: #000;
    font-weight: 700;
}
.somelier-item.active a {color: #FFF;}
.somelier-item.active {background: #a51e23;}
.somelier-item:last-child {
    border-right: none;
}
.sommelier-header .row {
    margin-right: 0;
    margin-left: 0;
}

/* Academy styles */
.guides-row {
    margin-top: 30px;
}
.guide-module {
    background: #a51e23;
    color: #fff;
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 20px;
}
.module-number {
    font-size: 18px;
    font-weight: 600;
    display: block;
    margin-bottom: 20px;
}
.module-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 20px;
    color: #fff !important;
}
.module-description {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 30px;
    color: #fff;
}
.btn-join {
    background: #fff;
    color: #a51e23 !important;
    padding: 10px 60px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    transition: background 0.3s ease;
}
.btn-join:hover {
    background: #eee;
    text-decoration: none;
}
.community-guides-wrapper.academy-bg {
    background: transparent !important;
    max-width: 1280px;
    margin: 0 auto;
}
