/*
Theme Name:   GeneratePress Child
Theme URI:    https://generatepress.com
Description:  Child theme for GeneratePress — The Swiss Way
Author:       The Swiss Way
Template:     generatepress
Version:      1.0.0
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  generatepress-child
*/

/*=====================================
Theme Variables
=====================================*/

:root{
    --color-bg:#F7F5F1;
    --color-white:#ffffff;
    --color-heading:#232323;
    --color-text:#5C5C5C;
    --color-border:#E6E1DB;
    --color-primary:#7A1E2C;

    --container:1200px;

    --space-xs:16px;
    --space-sm:30px;
    --space-md:60px;
    --space-lg:100px;
    --space-xl:140px;
}
body p {
	margin-bottom: 15px;
}
.margin_zero {
margin: 0;
}
.site-main {
	margin-top: 0 !important;
}
.inside-article {
	padding: 0 !important;
}
.wp-block-group .wp-block-group__inner-container {
	padding: 0;
}
.max_width_1200 {
	max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-right: 25px;
    padding-left: 25px;
}
.padding_25 {
	    padding-right: 25px;
    padding-left: 25px;
}
.inside-article {
	background-color: transparent !important; 
}
/* =============================================================
   LANGUAGE SWITCHER  (Polylang block)
   ============================================================= */
.wp-block-polylang-language-switcher {
	display: flex;
	align-items: center;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.wp-block-polylang-language-switcher li {
	margin: 0 !important;
}
.wp-block-columns {
	padding: 0 !important;
    margin: 0 !important;
        width: 100% !important;
    max-width: 100% !important;
    
}
.wp-block-columns .wp-block-column {
	padding: 0;
    max-width: unset !important;
}

.section_ {
	padding:  0 25px !important;
    margin: 0;
}
html .page-template-default .section_ > div {
    padding:0;
        border-bottom: 1px solid #e3e0da;
}
html .page-template-default .section_.no_border > div {
    padding:0;
        border-bottom: none;
}
html .page-template-default .section_ > div .content_wrapper{
		max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 100px 0;
}
.wp-block-polylang-language-switcher{
    display:flex;
    align-items:center;
    gap:0;
    list-style:none;
    margin:0;
    padding:0;
}

.wp-block-polylang-language-switcher li{
    position:relative;
    margin:0;
    padding:0 12px;
}

.wp-block-polylang-language-switcher li:not(:last-child)::after{
    content:"";
    position:absolute;
    right:0;
    top:50%;
    transform:translateY(-50%);
    width:1px;
    height:12px;
    background:#cfcfcf;
}

.wp-block-polylang-language-switcher a{
    text-decoration:none;
    color:#444;
    font-size:13px;
    font-weight:500;
    letter-spacing:.12em;
    text-transform:uppercase;
    transition:color .25s ease;
}

.wp-block-polylang-language-switcher img{
    display:none;
}

.wp-block-polylang-language-switcher span{
    margin-left:0 !important;
}

.wp-block-polylang-language-switcher .current-lang a{
    color:#8B1E2D; /* Burgundy */
    font-weight:600;
}

/* ==========================
   Default Brand Button
========================== */

.wp-block-button__link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background-color:#c8102e !important;
    color:#fff;
    text-transform: uppercase;
    border:1px solid #c8102e;
    border-radius:0px;
    padding:16px 32px;
    min-height:45px;

    font-family:inherit;
    font-size:15px;
    font-weight:500;
    line-height:1;
    letter-spacing:.04em;
    text-decoration:none;

    transition:
        background-color .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .2s ease;
}
a.wp-block-button__link:not(.has-background):focus {
	color: #c8102e;
    box-shadow: none;
}
.wp-block-button__link:hover{
    background:#651825;
    border-color:#651825;
    color:#fff;
    transform:translateY(-1px);
}
.wp-block-buttons.secondary_button .wp-block-button__link {
	background-color: transparent !important;
    padding: 0;
    border: none;
    border-bottom: 1px solid #c8102e;
    color: #c8102e;
}
.wp-block-buttons.secondary_button .wp-block-button__link:hover {
	    border-bottom: 1px solid #c8102e !important;
    color: #c8102e;
}
.wp-block-button__link:focus{
    outline:none;
    box-shadow:0 0 0 3px rgba(122,30,44,.15);
}

.wp-block-button__link:visited{
    color:#fff;
}

.the_swiss_way_page_main_container .hero_section_ .info_wrapper {
	    max-width: 600px !important;
    margin: auto;
    padding-top: 100px;
}
.hero_section_ .scroll_indicator{
    margin-top:40px;
}
.hero_section_::after {
	content: '';
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    width: 380px;
    height: 380px;
    background: linear-gradient(#fff 0 0) center / 100% 28% no-repeat, linear-gradient(#fff 0 0) center / 28% 100% no-repeat;
    opacity: 0.07;
    pointer-events: none;
}
.hero_section_ .wp-block-button {
	margin-bottom: 15px;
}
.hero_section_ .scroll_indicator a{
    display:inline-flex;
    flex-direction:column;
    align-items:center;
    gap:6px;
    text-decoration:none!important;
    color:inherit;
    letter-spacing:.18em;
    font-size:12px;
    font-weight:500;
}

.hero_section_ .scroll_indicator a::after{
    content:"↓";
    font-size:18px;
    line-height:1;
    animation:scrollDown 2s ease-in-out infinite;
}

.hero_section_ .scroll_indicator br,
.hero_section_ .scroll_indicator a{
    line-height:1.4;
}

@keyframes scrollDown{
    0%,100%{
        transform:translateY(0);
        opacity:1;
    }
    50%{
        transform:translateY(8px);
        opacity:.65;
    }
}
.before_you_sign_anything_accordion_ .content_wrapper > .wp-block-group__inner-container {
    max-width: 840px;
    margin: auto;
}
.before_you_sign_anything_accordion_ .content_wrapper > .wp-block-group__inner-container .wp-block-accordion-item {
	border-bottom:1px solid #e3e0da;
}
.before_you_sign_anything_accordion_ .content_wrapper > .wp-block-group__inner-container > .wp-block-accordion .wp-block-accordion-item:nth-child(1) .wp-block-accordion-heading__toggle::before {
        content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0; /* Prevents the icon from squeezing */
    background-image: url(https://www.theswissway.com/wp-content/uploads/2026/06/home-svgrepo-com.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-right: 10px;
}
.before_you_sign_anything_accordion_ .content_wrapper > .wp-block-group__inner-container > .wp-block-accordion .wp-block-accordion-item:nth-child(1) .wp-block-accordion-heading__toggle::before {
        content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0; /* Prevents the icon from squeezing */
    background-image: url(https://www.theswissway.com/wp-content/uploads/2026/06/home-svgrepo-com.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-right: 10px;
}
.before_you_sign_anything_accordion_ .content_wrapper > .wp-block-group__inner-container > .wp-block-accordion .wp-block-accordion-item:nth-child(2) .wp-block-accordion-heading__toggle::before {
        content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0; /* Prevents the icon from squeezing */
    background-image: url(https://www.theswissway.com/wp-content/uploads/2026/06/usd-circle-svgrepo-com.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-right: 10px;
}
.before_you_sign_anything_accordion_ .content_wrapper > .wp-block-group__inner-container > .wp-block-accordion .wp-block-accordion-item:nth-child(3) .wp-block-accordion-heading__toggle::before {
        content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0; /* Prevents the icon from squeezing */
    background-image: url(https://www.theswissway.com/wp-content/uploads/2026/06/plus-square-svgrepo-com.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-right: 10px;
}
.before_you_sign_anything_accordion_ .content_wrapper > .wp-block-group__inner-container > .wp-block-accordion .wp-block-accordion-item:nth-child(4) .wp-block-accordion-heading__toggle::before {
        content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0; /* Prevents the icon from squeezing */
    background-image: url(https://www.theswissway.com/wp-content/uploads/2026/06/user-alt-1-svgrepo-com.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-right: 10px;
}

.before_you_sign_anything_accordion_ .content_wrapper > .wp-block-group__inner-container .wp-block-accordion-item h3 {
	margin: 0;
    padding: 26px 4px;
}
.before_you_sign_anything_accordion_ .content_wrapper > .wp-block-group__inner-container .wp-block-accordion-item .wp-block-accordion-heading__toggle:hover {
	background-color: transparent;
}
.before_you_sign_anything_accordion_ .content_wrapper > .wp-block-group__inner-container .wp-block-accordion-item .wp-block-accordion-heading__toggle:focus {
	background-color: transparent;
}
.before_you_sign_anything_accordion_ .content_wrapper > .wp-block-group__inner-container .wp-block-accordion-item .wp-block-accordion-heading__toggle:focus .wp-block-accordion-heading__toggle-title {
	color: #2e3133;
}
.before_you_sign_anything_accordion_ .content_wrapper > .wp-block-group__inner-container .wp-block-accordion-item .wp-block-accordion-heading__toggle {
	padding: 0;
}
.before_you_sign_anything_accordion_ .content_wrapper > .wp-block-group__inner-container .wp-block-accordion-item .wp-block-accordion-heading__toggle-icon {
	    font-size: 22px;
    font-weight: 300;
    color: #c8102e;
}
.download_the_guide_section .book_cover_image_ {
	    position: relative;
    display: inline-block;
}
.download_the_guide_section .book_cover_image_::after {
	   content:"";
    position:absolute;
    top:3px;
    right:-10px;
    width:10px;
    height:calc(100% - 6px);
    background:linear-gradient(
        to right,
        #f8f7f4,
        #e8e5df
    );
    transform:rotateY(90deg);
    transform-origin:left;
}
.the_swiss_way_form_container .error.text-danger {
	position: absolute;
}
.before_you_sign_anything_accordion_ .content_wrapper > .wp-block-group__inner-container .wp-block-accordion-item .wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
	color: #2e3133;
}
.before_you_sign_anything_accordion_ .content_wrapper > .wp-block-group__inner-container .wp-block-accordion-item h3 .wp-block-accordion-heading__toggle-title {
	font-family: Playfair Display, serif;
    text-transform: none;
}
.before_you_sign_anything_accordion_ .content_wrapper > .wp-block-group__inner-container .wp-block-accordion-heading__toggle-title {
	font-size: 18px;
}
.inside_the_guide_section .inside__guide_tiles_container .guide_tile_ .title_row {
	margin-bottom:24px;
}
.inside_the_guide_section .inside__guide_tiles_container .guide_tile_ .wp-block-list {
	margin: 0;
    list-style: none;
        display: flex;
    flex-direction: column;
    gap: 16px;
    padding-left: 30px;
}
.inside_the_guide_section .inside__guide_tiles_container {
	margin-bottom: 40px !important;
}
.inside_the_guide_section h2 {
	margin-bottom: 64px;
}
.inside_the_guide_section .inside__guide_tiles_container .guide_tile_ .wp-block-list li {
	position: relative;
    line-height: 26px;
}
.inside_the_guide_section .inside__guide_tiles_container .guide_tile_ .wp-block-list li::before {
	content: '';
    background-image: url('https://www.theswissway.com/wp-content/uploads/2026/06/checkbox-check-svgrepo-com.svg');
height: 20px;
    width: 20px;
    position: absolute;
    left: -30px;
    top: 2px;
    background-size: cover;
}

.the_swiss_way_page_main_container .who_wrote_this_guide_section .section_eyebrow {
	text-align: left;
}
.col_gap_container_64 {
	gap: 64px;
}
.before_you_sign_anything_accordion_ > .wp-block-column{
    max-width:860px;
    margin:auto;

}

.before_you_sign_anything_accordion_ h2{
    text-align:center;
    margin-bottom:50px;
}

.before_you_sign_anything_accordion_ > .wp-block-column > p:first-child{
    text-align:center;
    text-transform:uppercase;
    letter-spacing:.12em;
    color:var(--color-primary);
    font-size:13px;
    font-weight:600;
}

.site-header .grid-container {
	max-width: 1200px;
    margin: auto;
}
.the_swiss_way_page_main_container .section_eyebrow {
	font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #c8102e;
    margin-bottom: 14px;
    text-align: center;
}
.who_wrote_this_guide_section .left_image_container .imgs_container {
	position: relative;
        padding-bottom: 32px;
    padding-right: 28px;
}
.who_wrote_this_guide_section .left_image_container .big_img_{
	width: 100%;
    aspect-ratio: 5 / 5;
}
.who_wrote_this_guide_section .left_image_container .big_img_ img {
	height: 100%;
    object-fit: cover;
}
.who_wrote_this_guide_section .left_image_container .small_img_ {
position: absolute;
    bottom: 0;
    right: 0;
    width: 46%;
    aspect-ratio: 4 / 5;
    border: 4px solid #ffffff;
    box-shadow: 0 18px 40px -16px rgba(46, 49, 51, 0.3);
		
}
.who_wrote_this_guide_section .left_image_container .small_img_ img {
	    object-fit: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

.site-footer {
	border-top: 1px solid #e3e0da;
}
.who_wrote_this_guide_section  .get_the_free_guide_area {
	margin-top: 30px;
}
.who_wrote_this_guide_section h2{
    margin-bottom:35px;
}
.who_wrote_this_guide_section  .get_the_free_guide_area .wp-block-button {
	margin-top: 20px;
}
.site-footer .footer_main_container .content_wrapper {
    max-width: 650px;
    margin: auto;
    padding: 40px 25px;
}
.site-footer .footer_main_container .content_wrapper p {
	font-size: 12px;
}

.the_swiss_way_form_container input{
	border-radius: 0 !important;
    height: 45px;
}
.the_swiss_way_form_container button {
	font-size: 14px !important;
    height: 45px;
}

.thank_you_page > .wp-block-column {
	border: none !important;
}
/* =============================================================
   TABLET
============================================================= */

@media (max-width:1200px){
	.who_wrote_this_guide_section .left_image_container .right_img {
	    flex-basis: 40%;
    min-width: unset;
}
}

/* =============================================================
   TABLET
============================================================= */

@media (max-width:1024px){

    html .page-template-default .section_ > div .content_wrapper{
        padding:80px 0;
    }

    .the_swiss_way_page_main_container .hero_section_ .info_wrapper{
        padding-top:80px;
    }

    .hero_section_::after{
        width:280px;
        height:280px;
        right:4%;
    }

    .inside_the_guide_section h2{
        margin-bottom:48px;
    }

    .col_gap_container_64{
        gap:40px;
    }

}
/* =============================================================
   MOBILE
============================================================= */

@media (max-width:781px){

    .max_width_1200,
    .padding_25,
    .section_{
        padding-left:20px !important;
        padding-right:20px !important;
    }

    html .page-template-default .section_ > div .content_wrapper{
        padding:60px 0;
    }

    .the_swiss_way_page_main_container .hero_section_ .info_wrapper{
        max-width:100% !important;
        padding-top:50px;
        text-align:center;
    }

    .hero_section_::after{
        display:none;
    }

    .hero_section_ .scroll_indicator{
        margin-top:25px;
    }

    .hero_section_ .wp-block-buttons{
        justify-content:center;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .before_you_sign_anything_accordion_ .content_wrapper > .wp-block-group__inner-container > .wp-block-accordion .wp-block-accordion-item:last-child {
    	border-bottom: none;
    } 
	.before_you_sign_anything_accordion_ .content_wrapper > .wp-block-group__inner-container .wp-block-accordion-heading__toggle-title {
    	font-size: 16px;
        line-height: 20px;
    }
    .inside_the_guide_section h2{
        margin-bottom:36px;
    }

    .before_you_sign_anything_accordion_ h2{
        margin-bottom:36px;
    }

    .col_gap_container_64{
        gap:30px;
    }

    .site-footer .footer_main_container .content_wrapper{
        padding:30px 20px;
    }

    .wp-block-button{
        width:100%;
    }

    .wp-block-button__link{
        width:100%;
        justify-content:center;
    }

    .the_swiss_way_form_container button{
        width:100%;
    }

    .before_you_sign_anything_accordion_ .content_wrapper > .wp-block-group__inner-container .wp-block-accordion-item h3{
        padding:20px 0;
    }
    .download_the_guide_section .book_cover_image_ {
    	max-width: 90%;
    }

}