/*
Theme Name: Global Food Pro (Español)
Author: Antigravity AI
Description: Una réplica de alto rendimiento y perfecta en píxeles de Global Food Magazine.
Version: 1.0
Text Domain: global-food-pro
*/

:root {
    --e-global-color-primary: #E24E1B;
    --e-global-color-secondary: #2D2D2A;
    --e-global-color-text: #62625F;
    --e-global-color-accent: #174D44;
    --e-global-color-c7c80f8: #C94418;
    --e-global-color-24ddbf7: #F8EEDC;
    --e-global-typography-primary-font-family: "Nunito";
    --e-global-typography-primary-font-size: 40px;
    --e-global-typography-primary-font-weight: 700;
    --e-global-typography-primary-line-height: 1.2em;
    --e-global-typography-secondary-font-family: "Josefin Sans";
    --e-global-typography-secondary-font-size: 13px;
    --e-global-typography-secondary-font-weight: 400;
    --e-global-typography-secondary-text-transform: uppercase;
    --e-global-typography-secondary-letter-spacing: 0.5px;
    --e-global-typography-text-font-family: "Georgia";
    --e-global-typography-text-font-size: 16px;
    --e-global-typography-text-font-weight: 400;
    --e-global-typography-text-line-height: 1.5em;
    --e-global-typography-accent-font-family: "Josefin Sans";
    --e-global-typography-accent-font-size: 14px;
    --e-global-typography-accent-font-weight: 500;
    --e-global-typography-accent-text-transform: uppercase;
    --e-global-typography-accent-line-height: 1.5em;
    --e-global-typography-accent-letter-spacing: 0.5px;
    --e-global-typography-7004bcb-font-family: "Source Serif Pro";
    --e-global-typography-7004bcb-font-size: 24px;
    --e-global-typography-7004bcb-font-weight: 700;
    --e-global-typography-7004bcb-line-height: 1.2em;
    --e-global-typography-6fe8ce6-font-family: "Josefin Sans";
    --e-global-typography-6fe8ce6-font-size: 16px;
    --e-global-typography-6fe8ce6-line-height: 1.5em;
    --e-global-typography-947cc1a-font-family: "Josefin Sans";
    --e-global-typography-947cc1a-font-size: 12px;
    --e-global-typography-947cc1a-font-weight: 400;
    --e-global-typography-947cc1a-line-height: 1.5em;
    --e-global-typography-3b12db2-font-family: "Source Serif Pro";
    --e-global-typography-3b12db2-font-size: 28px;
    --e-global-typography-3b12db2-font-weight: bold;
    --e-global-typography-3b12db2-font-style: italic;
    --e-global-typography-3b12db2-line-height: 1.2em;
    --e-global-typography-4ac9a62-font-family: "Source Serif Pro";
    --e-global-typography-4ac9a62-font-size: 52px;
    --e-global-typography-4ac9a62-font-weight: 700;
    --e-global-typography-4ac9a62-line-height: 1.2em;
    --e-global-typography-b470a79-font-family: "Georgia";
    --e-global-typography-b470a79-font-size: 20px;
    --e-global-typography-b470a79-line-height: 1.5em;
    --e-global-typography-cfd4668-font-family: "Source Serif Pro";
    --e-global-typography-cfd4668-font-size: 18px;
    --e-global-typography-cfd4668-font-weight: 600;
    --e-global-typography-cfd4668-line-height: 1.35em;
    --e-global-typography-0f981b4-font-family: "Georgia";
    --e-global-typography-0f981b4-font-size: 18px;
    --e-global-typography-0f981b4-font-weight: 400;
    --e-global-typography-0f981b4-line-height: 1.5em;
    --e-global-typography-32f519b-font-family: "Josefin Sans";
    --e-global-typography-32f519b-font-size: 26px;
    --e-global-typography-32f519b-font-weight: bold;
    --e-global-typography-32f519b-text-transform: uppercase;
    --e-global-typography-e46b802-font-family: "Josefin Sans";
    --e-global-typography-e46b802-font-size: 40px;
    --e-global-typography-e46b802-font-weight: bold;
    --e-global-typography-e46b802-text-transform: uppercase;
    --e-global-typography-2f54874-font-family: "Josefin Sans";
    --e-global-typography-2f54874-font-size: 24px;
    --e-global-typography-2f54874-font-weight: 500;
    --e-global-typography-99d9ace-font-family: "Georgia";
    --e-global-typography-99d9ace-font-size: 24px;
    --e-global-typography-99d9ace-font-weight: 400;
    --e-global-typography-99d9ace-font-style: italic;
    --e-global-typography-99d9ace-line-height: 1.4em;
    --e-global-typography-6bce51e-font-family: "Josefin Sans";
    --e-global-typography-6bce51e-font-size: 20px;
    --e-global-typography-6bce51e-font-weight: 400;
    --e-global-typography-6bce51e-line-height: 1.35em;

    --primary-color: var(--e-global-color-primary);
    --text-dark: var(--e-global-color-secondary);
    --text-muted: var(--e-global-color-text);
    --bg-light: #f9f9f9;
    --header-height: 140px;
    --font-heading: var(--e-global-typography-primary-font-family), Sans-serif;
    --font-body: var(--e-global-typography-text-font-family), "Times New Roman", Times, serif;
}

body {
    font-family: var(--e-global-typography-text-font-family), "Times New Roman", Times, serif;
    font-size: var(--e-global-typography-text-font-size);
    line-height: var(--e-global-typography-text-line-height);
    color: var(--e-global-color-text);
    background: #fff;
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--e-global-typography-primary-font-family), Georgia, serif;
    font-weight: var(--e-global-typography-primary-font-weight);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Logo and layout alignment */
.hero-section .container,
.site-main .container.border-container {
    padding-left: 0;
    width: 100%;
}

p {
    margin-bottom: 14.4px;
}

/* Header Section */
.site-header {
    background: #fff;
    position: relative;
    z-index: 100;
}

.top-bar {
    padding: 10px 0;
    font-size: 14px;
    font-family: var(--font-heading);
    width: 100%;
}

.top-bar .container,
.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 0;
    max-width: 1140px;
    margin: 0 auto;
}

.top-left {
    flex: 1;
}

.top-search-form {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    width: 250px;
    border: none;
}

.top-search-form input {
    border: none;
    background: transparent;
    font-size: 13px;
    width: 100%;
    outline: none;
    padding-left: 10px;
    font-family: var(--font-heading);
}

.social-links a {
    color: var(--text-dark);
    margin-left: 20px;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

.site-logo h1 {
    margin: 0;
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    border: 3px solid #111;
    padding: 5px 15px;
    display: inline-block;
}

.site-branding {
    flex-shrink: 0;
    margin-right: 20px;
}

.site-branding .custom-logo {
    max-height: 80px;
    width: auto;
    display: block;
}

.site-logo a {
    color: var(--text-dark);
    text-decoration: none;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: space-around;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
    padding: 10px;
    transition: color 0.3s;
}

.menu-toggle:hover {
    color: var(--primary-color);
}

.menu-toggle .icon-close {
    display: none;
}

.main-navigation.toggled .menu-toggle .icon-menu {
    display: none;
}

.main-navigation.toggled .menu-toggle .icon-close {
    display: inline-block;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    width: 80%;
    justify-content: space-around;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    color: var(--primary-color);
}

.header-right {
    text-align: right;
    display: flex;
    align-items: center;
}

.header-btn {
    background-color: #2BAE66; /* 一个高级的绿色 */
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(43, 174, 102, 0.2);
}

.header-btn:hover {
    background-color: #228B51;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 174, 102, 0.3);
}

.header-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .header-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    color: #fff;
    height: 1000px;
    margin-bottom: 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0;
    padding: 0;
    text-align: left;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: normal;
}

.hero-description {
    font-family: var(--font-heading);
    font-size: 20px;
    color: #fff;
    margin-bottom: 35px;
    line-height: 1.5;
    opacity: 0.9;
}

.btn-read-more {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-family: var(--font-heading);
    border-radius: 4px;
    transition: background 0.3s;
}

.btn-read-more:hover {
    background: #c23e14;
}

/* Page Hero (Page Templates) */
.page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    height: 274px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.58);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero .page-title {
    font-family: var(--font-heading);
    font-size: 45px;
    font-weight: 700;
    text-transform: none;
    color: #fff;
    margin: 0;
    letter-spacing: normal;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    margin-top: 40px;
}

.post-card {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.post-thumbnail,
.post-image {
    overflow: hidden;
    position: relative;
    height: 250px;
}

.post-thumbnail img,
.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-thumbnail img,
.post-card:hover .post-image img {
    transform: scale(1.1);
}

.post-content {
    padding: 20px;
}

.post-category {
    font-family: var(--e-global-typography-secondary-font-family), sans-serif;
    font-size: var(--e-global-typography-secondary-font-size);
    font-weight: var(--e-global-typography-secondary-font-weight);
    text-transform: var(--e-global-typography-secondary-text-transform);
    letter-spacing: var(--e-global-typography-secondary-letter-spacing);
    color: var(--e-global-color-primary);
    margin-bottom: 10px;
    display: block;
}

.post-title {
    font-size: var(--e-global-typography-7004bcb-font-size);
    line-height: var(--e-global-typography-7004bcb-line-height);
    margin: 0 0 15px;
    font-family: var(--e-global-typography-primary-font-family), Georgia, serif;
    font-weight: var(--e-global-typography-7004bcb-font-weight);
}

.post-title a {
    color: var(--e-global-color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--e-global-color-primary);
}

.post-excerpt {
    font-size: var(--e-global-typography-text-font-size);
    color: var(--e-global-color-text);
    line-height: var(--e-global-typography-text-line-height);
    font-family: var(--e-global-typography-text-font-family), serif;
    margin: 0;
}

/* Instagram Section */
.instagram-section {
    background-color: #DEF0E5;
    padding: 40px 0;
    text-align: center;
}

.instagram-header {
    margin-bottom: 20px;
}

.instagram-header h2 {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.instagram-logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.instagram-logo i {
    color: #e1306c;
    font-size: 32px;
}

.instagram-feed {
    display: flex;
    gap: 0;
    overflow: hidden;
}

.instagram-item {
    flex: 1;
    min-width: 16.666%;
}

.instagram-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.instagram-item:hover img {
    transform: scale(1.1);
}

/* Footer */
footer {
    color: #333;
}

.footer-bottom {
    background-color: #fff;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.footer-bottom .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 12px;
    color: #666;
}

.copyright a {
    color: #e1306c;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.copyright a:hover {
    color: #333;
}

.footer-bottom .footer-links ul,
.footer-bottom .footer-links .footer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.footer-bottom .footer-links li a {
    color: #333;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 400;
    text-transform: capitalize;
    letter-spacing: normal;
    transition: color 0.3s;
}

.footer-bottom .footer-links li a:hover {
    color: var(--primary-color);
}

.footer-bottom .footer-social {
    display: flex;
    gap: 10px;
}

.footer-bottom .footer-social a {
    color: #333;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-bottom .footer-social a:hover {
    color: var(--primary-color);
}

/* Category Navigation */
.category-nav {
    background-color: #fff;
    padding: 40px 0;
}

.category-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    position: relative;
    display: block;
    text-decoration: none;
    overflow: hidden;
}

.category-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-card-image img {
    transform: scale(1.1);
}

.category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.category-card-border {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid #fff;
    z-index: 2;
    transition: all 0.3s ease;
}

.category-card:hover .category-card-border {
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

.category-card-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 3;
    white-space: nowrap;
}

/* Featured Content */
.featured-content {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.featured-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
}

.featured-title-container {
    display: flex;
    align-items: center;
}

.featured-content .section-title {
    font-family: "Nunito", Sans-serif;
    font-size: 85px;
    font-weight: 700;
    color: #121A24;
    margin: 0;
    text-transform: uppercase;
    text-align: left;
    line-height: 1.2;
}

.featured-content .section-title .title-line {
    display: block;
    margin-bottom: 10px;
}

/* Featured Post Section */
.featured-post-section {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.featured-post-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.featured-post-section .container {
    position: relative;
    z-index: 2;
}

.featured-post {
    background-color: #fff;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.featured-description {
    display: flex;
    align-items: flex-start;
    padding-top: 20px;
}

.featured-description p {
    font-family: var(--font-heading);
    font-size: 20px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.featured-description p strong {
    font-weight: 700;
}

.featured-post-content {
    order: 1;
}

.featured-post-image {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-post-meta {
    margin-bottom: 10px;
}

.featured-post-category {
    font-family: var(--font-heading);
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.featured-post-category i {
    margin-right: 8px;
}

.featured-post-category a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-post-category a:hover {
    color: var(--primary-color);
}

.featured-post-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 900;
    color: #333;
    margin: 0 0 15px;
    line-height: 1.2;
}

.featured-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-post-title a:hover {
    color: #e1306c;
}

.featured-post-excerpt {
    font-family: var(--font-heading);
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.featured-post-image img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    border-radius: 4px;
    object-fit: cover;
}

/* About Us Layout */
.about-us-content {
    background-color: #fff;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-section-intro {
    padding-top: 100px;
}

.about-main-title {
    font-family: var(--font-heading);
    font-size: 71px;
    line-height: 1.2;
    font-weight: 700;
    color: #121A24;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.about-col-right p {
    font-family: var(--font-heading);
    font-size: 20px;
    line-height: 32px;
    color: #121A24;
}

.features-list p {
    font-size: 20px;
    line-height: 38px;
    color: #62625F;
    margin-bottom: 0;
}

.features-list p strong {
    color: #121A24;
    display: block;
    margin-bottom: 20px;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Contact Us Layout */
.contact-layout {
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
    padding: 80px 0;
}

.contact-header-info {
    margin-bottom: 60px;
}

.contact-icon {
    font-size: 30px;
    color: #121A24;
    margin-bottom: 21px;
}

.contact-info-title {
    font-family: var(--font-heading);
    font-size: 25px;
    font-weight: 700;
    color: #121A24;
    margin: 0 0 14px;
}

.contact-info-text {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    color: #121A24;
}

.contact-content-wrapper {
    margin-top: 40px;
}

.contact-content-wrapper .entry-content {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-alert {
    padding: 15px 25px;
    margin-bottom: 30px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: fadeInDown 0.5s ease;
}

.contact-alert-success {
    background-color: #e6fcf5;
    color: #0ca678;
    border: 1px solid #b2f2bb;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Styles */
.form-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.half-width {
    width: 50%;
    padding: 0 5px;
    box-sizing: border-box;
}

.form-group.full-width {
    width: 100%;
    padding: 0 5px;
    box-sizing: border-box;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #121A24;
    border-radius: 22px;
    font-family: var(--font-heading);
    font-size: 15px;
    color: #333;
    background-color: #fff;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.contact-form textarea {
    padding: 16px 20px;
    border-radius: 22px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #121A24;
    box-shadow: none;
}

.form-submit {
    text-align: center;
    margin-top: 20px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #121A24;
    color: #fff;
    border: none;
    border-radius: 54px;
    padding: 15px 36px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.btn-submit i {
    margin-right: 10px;
    font-size: 16px;
}

.btn-submit:hover {
    opacity: 0.9;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* General Sections */
.section-title {
    font-family: var(--font-heading);
    font-size: 45px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: center;
}

.site-footer .section-title {
    color: #fff;
    margin-bottom: 20px;
}

.latest-blogs-section {
    margin-bottom: 80px;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-item {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-5px);
}

.blog-image {
    overflow: hidden;
    margin-bottom: 20px;
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-item:hover .blog-image img {
    transform: scale(1.05);
}

.blog-title {
    font-size: 20px;
    line-height: 1.3;
    margin: 0 20px 15px;
    font-family: var(--font-heading);
}

.blog-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 20px 15px;
}

.blog-categories {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary-color);
    margin: 0 20px 20px;
}

/* Social Media Section */
.social-section {
    margin: 60px 0;
    text-align: center;
}

.instagram-label {
    margin-bottom: 30px;
    text-align: center;
}

.instagram-label span {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 1px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.social-item {
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
}

.social-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.social-item:hover img {
    transform: scale(1.1);
}

/* Recipes Section */
.section-header-centered {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-centered .section-title {
    font-family: "Nunito", sans-serif !important;
    font-size: 45px !important;
    font-weight: 700 !important;
    color: #121a24 !important;
    margin-bottom: 15px !important;
    text-transform: none !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.section-divider.ekit-dotted {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0 auto;
}

.divider-dot {
    width: 4px;
    height: 4px;
    background-color: #000;
    border-radius: 50%;
}

.divider-line {
    width: 80px;
    height: 4px;
    background-color: #000;
    margin-left: 5px;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.recipe-card {
    background: transparent !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 2px solid #111;
    transition: border-color 0.3s ease !important;
    border-radius: 0 !important;
}

.recipe-card:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: transparent;
}

.post-image-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.post-image-wrapper img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.recipe-card:hover .post-image-wrapper img {
    transform: scale(1.05);
}

.post-categories-floating {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.floating-cat-btn {
    background-color: #fff !important;
    color: #121a24 !important;
    padding: 6px 15px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-transform: capitalize !important;
    transition: background-color 0.3s, color 0.3s !important;
    line-height: 1 !important;
    display: inline-block !important;
}

.floating-cat-btn:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

.recipe-card-content {
    text-align: left;
    padding: 0 !important;
    margin-top: 5px;
    padding-bottom: 25px !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.recipe-card .post-title {
    font-family: "Nunito", sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #2d2d2a !important;
    line-height: 1.2 !important;
    margin: 0 0 18px 0 !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.recipe-card .post-title a {
    color: inherit !important;
    text-decoration: none !important;
}

.recipe-card .post-title a:hover {
    color: var(--primary-color) !important;
}

.recipe-card .post-excerpt {
    font-family: "Nunito", sans-serif !important;
    font-size: 16px !important;
    color: #121a24 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding: 0 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Single Post Styles */
.single-post-header.post-hero {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 100px 0;
    margin-bottom: 60px;
}

.single-post-header .post-category {
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 25px;
}

.single-post-header .entry-title {
    font-family: "Nunito", sans-serif;
    font-size: 45px;
    font-weight: 700;
    margin-bottom: 0;
    color: #ffffff;
    text-align: center;
}

.single-post-header .entry-meta {
    display: none;
}

.content-container {
    max-width: 1140px;
    margin: 0 auto 100px;
}

.entry-content {
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    line-height: 1.4;
    color: #62625f;
}

.wp-block-columns {
    display: flex;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.wp-block-column {
    flex-basis: 0;
    flex-grow: 1;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.entry-content p {
    margin-bottom: 30px;
}

/* Related Posts */
.elementor-element-31c28251 .elementor-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-post-item {
    text-align: center;
}

.related-post-thumb {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    overflow: hidden;
}

.related-post-thumb img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.related-post-thumb:hover img {
    transform: scale(1.05);
}

.related-post-title {
    font-family: "Nunito", sans-serif;
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

.related-post-title a {
    color: #232323;
    text-decoration: none;
    transition: color 0.3s;
}

.related-post-title a:hover {
    color: var(--primary-color);
}

/* Search Overlay */
#full-screen-search {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--e-global-color-24ddbf7);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0.98;
}

.search-overlay-content {
    width: 100%;
    max-width: 800px;
    padding: 0 40px;
    position: relative;
    text-align: center;
}

.search-form-full {
    width: 100%;
    position: relative;
}

.elementor-search-form__input {
    width: 100%;
    background: transparent;
    border: none;
    font-size: 50px;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    color: var(--e-global-color-secondary);
    text-align: center;
    outline: none;
    padding: 20px 0;
}

.search-line {
    height: 1px;
    background-color: var(--e-global-color-secondary);
    width: 0;
    margin: 0 auto;
    transition: width 0.6s ease-in-out;
}

#full-screen-search:not([style*="display: none"]) .search-line {
    width: 100%;
}

.search-close-button {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 30px;
    color: var(--e-global-color-secondary);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.search-close-button:hover {
    transform: rotate(90deg);
}

body.no-scroll {
    overflow: hidden;
}

/* --- Consolidated Media Queries --- */

@media (max-width: 1024px) {

    .posts-grid,
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .recipes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 48px;
    }
}

@media (max-width: 991px) {
    .about-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0;
    }

    .about-main-title {
        font-size: 48px;
    }
}

@media (max-width: 781px) {
    .wp-block-columns {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .header-main .container {
        display: grid;
        grid-template-columns: 1fr auto auto;
        gap: 20px;
        align-items: center;
        padding: 0 20px;
        position: relative;
    }

    .menu-toggle {
        display: block;
        order: 2;
        z-index: 1001;
    }

    .main-navigation {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 1000;
        display: none;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .main-navigation.toggled .nav-menu {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        padding: 15px 30px;
        display: block;
        border-bottom: 1px solid #eee;
    }

    .nav-menu a::after {
        display: none;
    }

    .hero-section {
        height: 400px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .btn-read-more {
        padding: 10px 20px;
        font-size: 14px;
    }

    .category-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .category-card-image {
        height: 150px;
    }

    .category-card-title {
        font-size: 16px;
    }

    .featured-content {
        padding: 60px 0;
    }

    .featured-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .featured-content .section-title {
        font-size: 48px;
        text-align: center;
    }

    .featured-content .section-title .title-line {
        margin-bottom: 5px;
    }

    .featured-description {
        padding-top: 10px;
    }

    .featured-description p {
        text-align: center;
        font-size: 16px;
    }

    .featured-post {
        padding: 20px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .featured-post-content {
        order: 2;
    }

    .featured-post-image {
        order: 1;
    }

    .featured-post-title {
        font-size: 24px;
    }

    .recipes-section,
    .travel-section {
        padding: 60px 0;
    }

    .posts-grid,
    .blogs-grid,
    .related-posts-grid,
    .recipes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .post-title {
        font-size: 16px;
    }

    .instagram-header h2 {
        font-size: 12px;
    }

    .instagram-logo {
        font-size: 20px;
    }

    .instagram-logo i {
        font-size: 24px;
    }

    .instagram-item {
        min-width: 33.333%;
    }

    .instagram-item img {
        height: 150px;
    }

    .footer-bottom .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }

    .footer-bottom .footer-links ul {
        flex-direction: column;
        gap: 8px;
    }

    .footer-bottom .footer-social {
        justify-content: center;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-branding {
        font-size: 36px;
    }

    .page-hero {
        padding: 40px 0;
    }

    .page-hero .page-title {
        font-size: 32px;
    }

    .instagram-feed {
        flex-wrap: wrap;
    }

    .instagram-item {
        min-width: 50%;
    }

    .footer-bottom .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .footer-bottom .footer-links ul {
        flex-direction: column;
        gap: 10px;
    }

    .footer-bottom .footer-social {
        justify-content: center;
    }

    .common-module {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .social-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .latest-blogs-section {
        margin-bottom: 60px;
    }

    .social-section {
        margin-top: 60px;
    }

    .section-header-centered .section-title {
        font-size: 32px !important;
    }

    .post-image-wrapper img {
        height: 250px;
    }

    .elementor-search-form__input {
        font-size: 30px;
    }

    .search-close-button {
        top: 20px;
        right: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}