/* Global Styles & Variables */
:root {
    --primary-pink: #ec407a;
    --primary-dark: #c2185b;
    --secondary-teal: #26a69a;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-body: #f9f9f9;
    --white: #ffffff;
    --border-color: #eee;
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.08);
    --radius: 8px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body), sans-serif !important;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-body);
    overflow-x: hidden;
    top: 0 !important;
    position: static !important;
}

/* Force Poppins on all elements to stop Google from injecting Lohit Tamil */
* {
    font-family: inherit;
}

html,
body,
p,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
a {
    font-family: var(--font-body), sans-serif !important;
}

/* Hide Google Translate Banner & UI Elements */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-gt-tt,
.skiptranslate {
    display: none !important;
    visibility: hidden !important;
}

body {
    top: 0 !important;
}

html {
    top: 0 !important;
}

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.justify-content-center {
    justify-content: center;
}


.col-lg-8,
.col-lg-4,
.col-lg-6,
.col-lg-12 {
    padding: 0 15px;
}

.col-lg-8 {
    width: 66.666%;
}

.col-lg-4 {
    width: 33.333%;
}

.col-lg-6 {
    width: 50%;
}

.col-lg-12 {
    width: 100%;
}

@media (max-width: 992px) {

    .col-lg-8,
    .col-lg-4,
    .col-lg-6 {
        width: 100%;
    }

    .col-lg-4,
    .col-lg-6 {
        margin-top: 40px;
    }
}

/* --- Header & Navigation --- */
.top-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-icons a {
    margin-left: 15px;
    color: var(--text-muted);
}

.social-icons a:hover {
    color: var(--primary-pink);
}

.navbar {
    background: var(--white);
    padding: 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    font-weight: 300;
    color: var(--text-muted);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 12px;
    margin-left: 20px;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.lang-switcher a {
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.lang-switcher a:hover {
    color: var(--primary-pink);
}

.lang-switcher a.active {
    color: var(--primary-pink);
    border-color: var(--primary-pink);
    background: #fff5f8;
}

@media (max-width: 768px) {
    .lang-switcher {
        margin-left: 10px;
        gap: 5px;
        font-size: 0.75rem;
    }

    .lang-switcher a {
        padding: 1px 4px;
    }
}

/* Navigation Menu */
.main-menu {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.main-menu ul {
    display: flex;
    gap: 25px;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-menu li {
    margin: 0;
    padding: 0;
    border: none;
}

.main-menu li a {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
    text-transform: uppercase;
    display: block;
}

.main-menu li a:hover,
.main-menu li.selected a {
    color: var(--primary-pink);
}

.btn-contact {
    background: var(--primary-pink);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 20px;
}

.btn-contact:hover {
    background: var(--primary-dark);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
    margin-left: auto;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    transition: 0.4s;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
    }

    .main-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        display: block;
        padding-top: 40px;
        transition: 0.3s ease-in-out;
        box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
        overflow-y: auto;
    }

    .main-menu.active {
        left: 0;
    }

    .main-menu ul {
        flex-direction: column;
    }

    .main-menu li {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .main-menu li a {
        font-size: 1.2rem;
        padding: 10px;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* --- Main Content --- */
.main-content {
    padding: 40px 0;
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
}

.page-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--primary-pink);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Blog Post Card */
.blog-post {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
    transition: transform 0.3s;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.blog-post.single-view-container {
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    overflow: visible !important;
    background: transparent !important;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.single-view-container:hover {
    transform: none !important;
    box-shadow: none !important;
}

.post-image {
    height: 300px;
    overflow: hidden;
    position: relative;
    display: block;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    display: block;
}

.blog-post:hover .post-image img {
    transform: scale(1.05);
}

.single-view-container .post-image-full img {
    transform: none !important;
}

.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-pink);
    color: var(--white);
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
}

.post-content {
    padding: 25px;
}

.post-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.post-meta i {
    color: var(--primary-pink);
    margin-right: 5px;
}

.post-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    line-height: 1.3;
    margin-top: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.post-title a,
.post-title span,
.post-title h1 {
    color: var(--text-main);
    text-decoration: none;
    display: block;
    opacity: 1 !important;
}

.post-title a:hover {
    color: var(--primary-pink);
}

.post-excerpt {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--border-color);
    padding: 8px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--primary-pink);
    border-color: var(--primary-pink);
    color: var(--white);
}

/* --- Sidebar --- */
.sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
    z-index: 10;
}

.sidebar .widget {
    background: var(--white);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.sidebar .widget h2,
.sidebar .widget h3,
.sidebar .widget .title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 25px;
    position: relative;
    color: var(--text-main);
    display: block;
}

.sidebar .widget h2::after,
.sidebar .widget h3::after,
.sidebar .widget .title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-pink);
}

/* Category List Styling */
.list-label-widget-content ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.list-label-widget-content li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    margin: 0;
}

.list-label-widget-content li:last-child {
    border-bottom: none;
}

.list-label-widget-content li a {
    color: #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    width: 100%;
}

.list-label-widget-content li a:hover {
    color: var(--primary-pink);
}

/* Category Count Badge */
.list-label-widget-content .label-count {
    background: #f0f0f0;
    color: #666;
    font-size: 0.8rem;
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
    transition: all 0.3s;
}

.list-label-widget-content li a:hover .label-count {
    background: var(--primary-pink);
    color: #fff;
}

/* Search Widget Styling */
.sidebar .widget.BlogSearch {
    padding: 30px;
}

.sidebar .widget.BlogSearch form {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.sidebar .widget.BlogSearch .search-input {
    flex-grow: 1;
    margin: 0;
    padding: 0;
    border: none;
}

.sidebar .widget.BlogSearch input[name="q"] {
    width: 100%;
    padding: 12px 15px;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: #555;
    background: #fff;
    height: 45px;
}

.sidebar .widget.BlogSearch .search-action {
    background-color: #333;
    color: transparent;
    /* Hide text */
    border: none;
    padding: 0;
    width: 50px;
    height: 45px;
    cursor: pointer;
    transition: background 0.3s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='%23ffffff' width='18' height='18'%3E%3Cpath d='M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0s208 93.1 208 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.sidebar .widget.BlogSearch .search-action:hover {
    background-color: var(--primary-pink);
}

/* Weekly Tips Box */
.weekly-tips-box {
    background: #fff5f8;
    padding: 15px;
    border-left: 4px solid var(--primary-pink);
    border-radius: 4px;
    font-style: italic;
    color: #555;
}


/* --- Footer --- */
.footer {
    background: #161616;
    color: #999;
    padding: 75px 0 0;
    margin-top: 80px;
    font-size: 0.95rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 60px;
    border-bottom: 1px solid #222;
}

.footer-1 {
    flex: 1.4;
    min-width: 280px;
    margin-bottom: 20px;
}

.footer-2,
.footer-3 {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer .widget h2,
.footer .widget h3,
.footer .title {
    color: #ffffff !important;
    font-size: 1.15rem;
    margin-bottom: 25px;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.3px;
    position: relative;
    padding-bottom: 15px;
    border: none;
    text-transform: none;
}

.footer .widget h2::after,
.footer .widget h3::after,
.footer .title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background: var(--primary-pink);
}

.footer .widget-content {
    color: #999;
    line-height: 1.7;
}

.footer .widget-content ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer .widget-content li {
    margin-bottom: 14px;
    padding: 0;
    border: none;
}

.footer .widget-content li a {
    color: #999;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer .widget-content li a:hover {
    color: var(--primary-pink);
    transform: translateX(3px);
}

.footer .social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.footer .social-links a {
    width: 38px;
    height: 38px;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s;
    text-decoration: none;
}

.footer .social-links a:hover {
    background: var(--primary-pink);
    transform: translateY(-3px);
}

.footer-bottom {
    background: #0f0f0f;
    padding: 30px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #555;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-1,
    .footer-2,
    .footer-3 {
        min-width: 100%;
        margin-bottom: 10px;
    }
}

/* Single Post */
.single-article-viewer {
    width: 100%;
    display: block;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.single-article-viewer a {
  
    color: var(--primary-pink);
}

.single-article {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.post-title.entry-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.post-body-container {
    margin-top: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
    display: block;
}

.post-body-container p {
    margin-bottom: 25px;
}

.post-body-container h2,
.post-body-container h3,
.post-body-container h4 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.3;
}

.post-body-container h2 {
    font-size: 1.8rem;
}

.post-body-container h3 {
    font-size: 1.5rem;
}

.post-body-container ul,
.post-body-container ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.post-body-container li {
    margin-bottom: 10px;
}

.post-body blockquote {
    background: #fff5f8;
    border-left: 5px solid var(--primary-pink);
    padding: 20px;
    font-style: italic;
    margin: 30px 0;
    font-size: 1.2rem;
    color: #555;
}

.comments {
    margin-top: 40px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

/* --- Blog Card Styles --- */
.blog-post-card {
    display: flex;
    flex-direction: column;
    /* Vertical Layout */
    margin-bottom: 30px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-post-card .post-image {
    width: 100%;
    /* Full Width */
    position: relative;
    aspect-ratio: 16/9;
    /* Maintain ratio */
    overflow: hidden;
}

.blog-post-card .post-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-post-card .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .post-image img {
    transform: scale(1.05);
}

.blog-post-card .category-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-pink);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.blog-post-card .post-content {
    width: 100%;
    /* Full Width */
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.blog-post-card .post-meta {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 500;
}

.blog-post-card .post-meta i {
    color: var(--primary-pink);
    margin-right: 6px;
}

.blog-post-card .post-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    font-family: var(--font-heading);
}

.blog-post-card .post-title a {
    color: var(--text-heading);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-post-card .post-title a:hover {
    color: var(--primary-pink);
}

.blog-post-card .post-excerpt {
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-post-card .read-more-btn {
    align-self: flex-start;
    color: var(--primary-pink);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid var(--primary-pink);
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-post-card .read-more-btn:hover {
    background: var(--primary-pink);
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-post-card .post-title {
        font-size: 1.4rem;
    }
}



/*single-article-viewer*/

/* Mobile (up to 767px) */
@media (max-width: 767px) {
    .container.main-content {
        padding: 10px !important;
    }

    .post-image {
        height: 200px !important;
    }

    .container.navbar-container {
        padding: 10px !important;
    }
}

/* Tablet (768px – 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .container.main-content {
        padding: 10px !important;
    }

    .post-image {
        height: 200px !important;
    }

    .container.navbar-container {
        padding: 10px !important;
    }
}