.lifestyle-page {
margin-top: 120px;
padding-top: 48px;
} .lifestyle-hero {
max-width: 1226px;
margin: 0 auto;
padding: 0 32px;
}
.lifestyle-content {
max-width: 808px;
margin-bottom: 48px;
}
.lifestyle-hero h1 {
max-width: 662px;
margin-bottom: 48px;
}
.lifestyle-hero p {
margin-bottom: 15px;
}
.lifestyle-container {
background: var(--bg-white);
position: relative;
padding: 60px 0;
} .tip-row {
display: flex;
align-items: flex-start;
gap: 60px;
max-width: 1226px;
margin: 0 auto;
margin-bottom: 90px;
position: relative;
padding: 0 32px;
} .tip-row:nth-child(odd) .tip-content {
order: 1;
}
.tip-row:nth-child(odd) .tip-image {
order: 2;
}
.tip-row:nth-child(even) .tip-image {
order: 1;
}
.tip-row:nth-child(even) .tip-content {
order: 2;
}
.tip-content {
background: var(--bg-white);
position: relative;
z-index: 2;
max-width: 624px;
}
.tip-header {
display: flex;
align-items: flex-start;
gap: 12px;
margin-bottom: 15px;
}
.tip-number {
flex-shrink: 0;
width: 48px;
height: 48px;
background-color: var(--primary-light);
color: var(--primary);
border-radius: 50%;
display: flex;
font-family: 'SukhumvitSet', sans-serif;
align-items: center;
justify-content: center;
font-size: 32px;
font-weight: 500;
}
.tip-content h2 {
margin-top: 3px;
}
.tip-content p {
font-size: 18px;
font-weight: 400;
color: var(--text-light);
line-height: 24px;
}
.tip-image {
max-width: 540px;
height: 320px;
border-radius: 24px;
border: 1px solid var(--text-softer);
overflow: hidden;
background: var(--bg-white);
position: relative;
z-index: 2;
}
.tip-image img {
width: 100%;
height: 100%;
object-fit: cover;
} .curve-line {
position: absolute;
top: 50%;
z-index: 1;
width: 45%;
max-width: 300px;
pointer-events: none;
} .curve-left-right {
left: 24%;
} .curve-right-left {
right: 24%;
}  .article-row {
display: grid;
grid-template-columns: 1.1fr 0.9fr;
gap: 60px;
align-items: start;
max-width: 1226px;
margin: 0 auto;
margin-bottom: 100px;
padding: 0 32px;
} .article-row.img-left {
grid-template-columns: 0.9fr 1.1fr;
}
.article-row.img-left .article-content {
order: 2;
}
.article-row.img-left .article-image {
order: 1;
} .article-content h2 {
margin-bottom: 24px;
}
.article-content p,
.article-list li {
margin-bottom: 18px;
text-align: justify;
}
.article-content p:last-of-type {
margin-bottom: 0;
} .article-link {
color: var(--primary);
text-decoration: underline;
} .article-list {
list-style: none;
margin: 15px 0 20px 10px;
}
.article-list li {
position: relative;
padding-left: 20px;
margin-bottom: 8px;
}
.article-list li::before {
content: "•";
color: var(--text-main);
font-weight: bold;
font-size: 18px;
position: absolute;
left: 0;
top: -2px;
} .cta-btn {
display: inline-flex;
align-items: center;
gap: 10px;
background-color: var(--primary);
color: var(--text-white);
text-decoration: none;
padding: 16px 24px;
border-radius: 25px;
font-size: 16px;
font-weight: 700;
margin-top: 24px;
transition: background-color 0.2s ease, transform 0.2s ease;
}
.cta-btn:hover {
background-color: var(--primary-hover);
transform: translateY(-1px);
}
.post-btn {
display: block;
width: fit-content;
} .article-image {
width: 100%;
height: 440px;
border-radius: 24px;
border: 1px solid var(--text-softer);
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.article-image img {
width: 100%;
height: 100%;
object-fit: cover;
} .banner-section {
position: relative;
width: 100%;
background-color: #8c8c8c; display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
min-height: 500px;
}
.banner-image {
width: 100%;
height: auto;
object-fit: cover;
mix-blend-mode: multiply; 
}
.banner-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #ffffff;
font-family: 'Playwrite US Trad', cursive;
font-size: 64px;
text-align: center;
width: 100%;
font-weight: 400;
text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.15); 
} @media (max-width: 1024px) {
.tip-row {
gap: 30px;
} .curve-left-right {
left: 10%;
} .curve-right-left {
right: 10%;
}
}
@media (max-width: 992px) {
.article-row,
.article-row.img-left {
grid-template-columns: 1fr;
gap: 40px;
margin-bottom: 80px;
} .article-row.img-left .article-content,
.article-row .article-content {
order: 1;
}
.article-row.img-left .article-image,
.article-row .article-image {
order: 2;
}
.article-image {
height: 350px;
}
.banner-text {
font-size: 3.5rem;
}
}
@media (max-width: 820px) { .curve-left-right {
left: 5%;
} .curve-right-left {
right: 5%;
}
.curve-line {
top: 60%;
max-width: 270px;
}
}
@media (max-width: 768px) {
.lifestyle-hero {
padding: 0 24px;
margin-top: 40px;
}
.tip-row {
padding: 0 24px;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 20px;
margin-bottom: 40px;
} .tip-row:nth-child(odd) .tip-image,
.tip-row:nth-child(even) .tip-image {
order: 1;
}
.tip-row:nth-child(odd) .tip-content,
.tip-row:nth-child(even) .tip-content {
order: 2;
padding: 10px 0 0;
}
.tip-content p {
padding-left: 0;
margin-top: 10px;
} .curve-line {
position: relative;
top: 0;
left: 0 !important;
right: 0 !important;
width: 100px;
display: block;
order: 3;
}
}
@media (max-width: 576px) {
.article-content h2 {
margin-bottom: 18px;
}
.article-image {
height: 260px;
border-radius: 16px;
}
.cta-btn {
width: 100%;
justify-content: center;
}
.banner-text {
font-size: 2.5rem;
}
}