/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400&family=Poppins:wght@300;400;600&family=Noto+Serif:wght@400;700&family=Playfair+Display:wght@400;700&family=Libre+Baskerville:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arimo:wght@400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

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

body {
    line-height: 1.7;
    color: #444444;
    background-color: #FFFFFF;
    transition: opacity 0.3s ease-in-out;
}

body, p, li, a, span, div,
h2, h3, h4, h5, h6,
label, button, input, textarea, select,
footer {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

.logo-img-container {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    margin-bottom: 10px; 
    background-color: #FFFFFF;
    display: inline-block; 
    padding: 30px;
    border-radius: 4px;
}

.logo-img {
    height: 100px;
    width: auto;
    display: block;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #ffffff;
    padding: 20px 0;
}

.header-logo-link {
    display: block;
    text-align: center;
    text-decoration: none;
}

main {
    flex: 1;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

footer {
    text-align: center;
    padding: 20px 0;
    background-color: #f7f7f7;
    border-top: 1px solid #eaeaea;
    margin-top: auto;
}

/* ADDED: Loader Styles */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: all;
}

body.loaded #loader-wrapper {
    opacity: 0;
    pointer-events: none;
}

.loader {
    display: flex;
    gap: 10px;
}

.loader span {
    width: 15px;
    height: 15px;
    background-color: #000000;
    border-radius: 50%;
    animation: pulsate 1.4s infinite ease-in-out both;
}

.loader span:nth-child(1) {
    animation-delay: -0.32s;
}

.loader span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes pulsate {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0;
    }
    40% {
        transform: scale(1.0);
        opacity: 1;
    }
}


/* NAVIGATION STYLING */
header nav {
    background-color: #000000;
    padding: 0;
    border-radius: 0;
    position: sticky;
    top: 0;
    z-index: 10000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

header nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

header nav ul li {
    position: relative;
    white-space: nowrap;
}

header nav ul li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #959595;
    font-family: 'Arimo', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: linear-gradient(to right, #FFFFFF 50%, #959595 50%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 0.5s ease;
    background-position: right bottom;
}

header nav ul li a:hover,
header nav ul li a.active {
    background-position: left bottom;
}

/* Submenu styles */
.submenu {
    max-height: 0; 
    overflow: hidden;
    transition: max-height 0.25s ease-in; 
    position: absolute;
    top: 100%;
    left: 0;
    background-image: url('images/marble.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #000000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-width: 224px; 
}

.has-submenu:hover > .submenu {
    transition: max-height 0.5s ease-out; 
    max-height: 500px;
}

@keyframes slideDownFadeIn {
    0% {
        opacity: 0; 
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.submenu li {
    opacity: 0;
    transform: translateY(-10px);
    text-align: left; 
    width: 100%; 
}

.has-submenu:hover > .submenu li {
    animation: slideDownFadeIn 0.3s ease-out forwards;
}

.has-submenu:hover > .submenu li:nth-child(1) {
    animation-delay: 0.1s;
}

.has-submenu:hover > .submenu li:nth-child(2) {
    animation-delay: 0.15s;
}

.has-submenu:hover > .submenu li:nth-child(3) {
    animation-delay: 0.2s;
}

.has-submenu:hover > .submenu li:nth-child(4) {
    animation-delay: 0.25s;
}

.has-submenu:hover > .submenu li:nth-child(5) {
    animation-delay: 0.3s;
}

.submenu li a {
    padding: 12px 16px;
    text-align: left; 
    font-family: 'Arimo', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    display: block; 
    text-decoration: none;
    color: #959595;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: linear-gradient(to right, #FFFFFF 50%, #959595 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 0.5s ease;
}

.submenu li a:hover {
    background-position: left bottom;
    background-color: #000000; 
}

.hero {
    text-align: center;
    padding: 40px 20px;
}

.hero h2 {
    font-size: 2.5em;
    color: #333333;
}

.hero .subtitle {
    font-style: italic;
    color: #666666;
    margin-top: 5px;
}

.article-grid {
    display: flex;
    flex-direction: column;
    gap: 80px; 
    padding-top: 0;
    max-width: 1265px; 
    margin: 0 auto;
}

.article-grid .article-card:first-child {
    margin-top: 0;
}

.article-card {
    text-decoration: none;
    color: #444444;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    position: relative;
}

.article-card:hover {
    transform: translateY(-5px);
}

/* MODIFIED: Removed border from article container */
.article-card-container {
    background-color: #FFFFFF;
    position: relative;
    display: inline-block;
    width: 100%;
}

.article-card-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}

.article-header-section {
    display: flex;
    align-items: flex-end;
    gap: 0;
    padding-right: 15%;
    position: relative;
    box-sizing: border-box;
}

.article-date-box {
    width: 55px; 
    height: 55px; 
    padding: 3px;
    background-color: #000000;
    color: #FFFFFF;
    font-family: 'Noto Serif', serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    order: 1;
}

.date-day {
    font-size: 1.35rem; 
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
    font-family: 'Noto Serif', serif; 
}

.date-month {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Noto Serif', serif; 
}

.article-overlay {
    flex: 1;
    background: #FFFFFF;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: -45px;
    position: relative;
    z-index: 5;
    order: 2;
}

.overlay-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 400;
    color: #333333;
    margin-bottom: 15px;
    line-height: 1.3;
    text-transform: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    cursor: pointer;
}

.overlay-inline-content {
    font-family: 'Libre Baskerville', serif;
    font-size: 0.625rem;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.meta-author,
.meta-category,
.share-text {
    font-weight: 400;
    text-transform: uppercase;
}

.meta-dot {
    font-size: 0.8em;
    color: #000000;
}

.share-icons-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: #000000;
    text-decoration: none;
    font-size: 12px;
    transform: translateX(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.social-link:hover {
    font-size: 16px;
    transform: translateX(0) scale(1.2);
}

.facebook-link { transition-delay: 0.1s; }
.twitter-link { transition-delay: 0.2s; }
.instagram-link { transition-delay: 0.3s; }

.article-card:hover .social-link,
.overlay-inline-content:hover .social-link {
    transform: translateX(0);
    opacity: 1;
}

.social-dot {
    font-size: 0.6em;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    color: #000000;
}

.social-dot:nth-of-type(2) { transition-delay: 0.15s; }
.social-dot:nth-of-type(4) { transition-delay: 0.25s; }

.article-card:hover .social-dot,
.overlay-inline-content:hover .social-dot {
    transform: translateX(0);
    opacity: 1;
}

.article-image-wrapper {
    position: relative;
    width: 100%;
    height: 460px; 
    overflow: hidden;
}

.article-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-card-content {
    padding: 20px;
    background-color: transparent;
}

.article-card-content p {
    font-family: 'Noto Serif', serif;
    font-size: 0.88rem;
    line-height: 1.5rem;
    margin-bottom: 1.563rem;
    color: #535353;
    position: relative;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    cursor: text;
}

.article-card.text-selecting {
    pointer-events: none;
}

.article-card.text-selecting .continue-reading-btn,
.article-card.text-selecting .article-image-wrapper {
    pointer-events: auto;
}

.article-card-content p::first-letter {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 0.9;
    float: left;
    margin-right: 0.5rem;
    margin-top: 0.2rem;
    color: #000000;
    font-family: 'Noto Serif', serif;
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
    padding: 0.3rem 0.2rem;
}

.continue-reading-btn {
    display: inline-block;
    padding: 12px 20px;
    font-family: 'Arimo', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-color: #000000;
    color: transparent;
    pointer-events: auto;
}

.continue-reading-btn::before {
    content: 'CONTINUE READING';
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: #959595;
    white-space: nowrap;
}

.continue-reading-btn::after {
    content: 'CONTINUE READING';
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: #FFFFFF;
    white-space: nowrap;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.5s ease;
}

.continue-reading-btn:hover::after {
    clip-path: inset(0 0 0 0);
}

.article-page-wrapper {
    display: flex;
    gap: 30px;
    max-width: 1500px;
    margin: 0 auto;
    padding-top: 100px;
}

.article-main-content {
    flex: 1;
}

.article-container {
    padding: 0;
    max-width: 100%;
    margin: 0;
}

.article-page-header {
    align-items: center;
    padding-right: 0;
    margin-bottom: 30px;
}

.article-page-header .article-overlay {
    margin-bottom: 0;
    box-shadow: none;
    padding: 0 0 0 20px;
    background: transparent;
}

.article-page-header .overlay-title {
    font-size: 3rem;
    margin-bottom: 0;
}

.article-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: left;
    color: #333333;
}

/* Featured image at the top - only direct child */
.article-container > img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    margin-bottom: 30px;
    border-radius: 0;
}

.wp-content-styles {
    line-height: 1.8;
    margin-bottom: 40px;
}

.wp-content-styles p {
    margin-bottom: 1.2em;
}

.wp-content-styles a {
    color: #007bff;
    text-decoration: none;
}

.wp-content-styles a:hover {
    text-decoration: underline;
}

.wp-content-styles h1,
.wp-content-styles h2,
.wp-content-styles h3,
.wp-content-styles h4,
.wp-content-styles h5,
.wp-content-styles h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #333333;
    margin-top: 1.8em;
    margin-bottom: 0.6em;
    line-height: 1.4;
}

.wp-content-styles h1 { font-size: 1.8em; }
.wp-content-styles h2 { font-size: 1.6em; }
.wp-content-styles h3 { font-size: 1.4em; }
.wp-content-styles h4 { font-size: 1.2em; }

.wp-content-styles ul,
.wp-content-styles ol {
    margin-left: 20px;
    margin-bottom: 1.2em;
}

.wp-content-styles li {
    margin-bottom: 0.5em;
}

.wp-content-styles blockquote {
    border-left: 4px solid #EAEAEA;
    padding-left: 15px;
    margin: 1.5em 0;
    font-style: italic;
    color: #666666;
}

.wp-content-styles figure {
    margin: 2em 0;
}

/* Images within article body - full width matching video */
.wp-content-styles img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    margin: 20px 0;
}

/* WordPress Gallery Support - Show only first image with dark overlay */
.wp-content-styles .wp-block-gallery,
.wp-content-styles .blocks-gallery-grid,
.wp-content-styles .gallery {
    display: block;
    margin: 2em 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

.wp-content-styles .blocks-gallery-item,
.wp-content-styles .gallery-item,
.wp-content-styles .wp-block-image {
    margin: 0;
    position: relative;
    display: inline-block;
    width: 100%;
}

.wp-content-styles .blocks-gallery-item img,
.wp-content-styles .gallery-item img,
.wp-content-styles .wp-block-gallery img {
    width: 100%;
    height: auto;
    border-radius: 0;
    display: block;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.wp-content-styles .blocks-gallery-item:hover img,
.wp-content-styles .gallery-item:hover img {
    opacity: 0.9;
}

/* Gallery indicator badge - dark overlay style */
.gallery-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.gallery-indicator-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
	color: #FFFFFF !important;
}

.gallery-indicator-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    font-style: italic;
    margin: -10px 0 10px 0;
}

.gallery-indicator-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.gallery-indicator svg {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Lightbox styles */
#gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
}

#gallery-lightbox.active {
    display: block;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.lightbox-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px 20px 80px;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    padding: 0;
    width: 50px;
    height: 50px;
    transition: transform 0.2s ease;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 20px 15px;
    z-index: 10001;
    transition: background 0.3s ease;
    border-radius: 4px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-thumbnails {
    display: flex;
    gap: 10px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    overflow-x: auto;
    justify-content: center;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.lightbox-thumbnails::-webkit-scrollbar {
    height: 8px;
}

.lightbox-thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

.lightbox-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.lightbox-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 4px;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.lightbox-thumb:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.lightbox-thumb.active {
    opacity: 1;
    border-color: white;
    transform: scale(1.1);
}

/* WordPress Video/Embed Support - Full width matching images */
.wp-content-styles .wp-block-embed,
.wp-content-styles .wp-block-video {
    max-width: 100%;
    width: 100%;
    margin: 2em 0;
}

.wp-content-styles iframe,
.wp-content-styles video {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 0;
}

.wp-content-styles .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.wp-content-styles .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
}

.wp-content-styles .wp-block-embed.is-type-video .wp-block-embed__wrapper {
    padding-bottom: 56.25%;
}

/* YouTube, Vimeo, and other responsive embeds */
.wp-content-styles .wp-embed-responsive .wp-has-aspect-ratio iframe {
    width: 100%;
    height: 100%;
}

/* Handle direct iframe embeds - full width */
.wp-content-styles > iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0;
    margin: 2em 0;
}

.article-social-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    padding: 15px 0;
}

.article-social-share .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    opacity: 1;
    transform: none;
    transition: all 0.3s ease;
}

.article-social-share .social-link:hover {
    transform: scale(1.2);
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 0;
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
    margin: 40px 0;
    gap: 40px;
}

.nav-item {
    flex: 1;
    text-decoration: none;
    color: #444444;
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-item.prev {
    flex-direction: row;
    justify-content: flex-start;
}

.nav-item.next {
    flex-direction: row-reverse;
    text-align: right;
    justify-content: flex-end;
}

.nav-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.nav-content {
    flex: 1;
}

.next-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.nav-label {
    font-family: 'Arimo', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #666666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item.next .nav-label {
    justify-content: flex-end;
    gap: 0;
}

.nav-arrow {
    font-size: 1rem;
    color: #666666;
}

.nav-title-block .nav-arrow {
    display: block;
    margin-bottom: 4px;
}

.nav-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #333333;
    line-height: 1.3;
}

.nav-item:hover .nav-title {
    color: #000000;
}

.related-articles {
    margin: 60px 0 40px 0;
}

.related-articles h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #333333;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-item {
    text-decoration: none;
    color: #444444;
    transition: transform 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
}

.related-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.related-date {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    color: #666666;
    margin-bottom: 8px;
}

.related-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #333333;
    line-height: 1.4;
}

.comments-section {
    margin: 60px 0 40px 0;
    padding-top: 40px;
    border-top: 2px solid #000000;
}

.comments-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333333;
}

form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

button[type="submit"] {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #555;
}

.success-message {
    padding: 20px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    text-align: center;
}

.content-wrapper {
    display: flex;
    gap: 30px;
    max-width: 1500px;
    margin: 0 auto;
    padding-top: 0;
}

.article-grid {
    display: flex;
    flex-direction: column;
    gap: 80px; 
    flex: 1;
    padding-top: 0;
}

/* MODIFIED: Removed border from sidebar */
.sidebar {
    width: 16rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
    box-sizing: border-box;
}

.sidebar-sector {
    background-color: #FFFFFF;
    color: #444444;
    border-radius: 0;
    border: none;
    padding: 20px 0;
    margin: 0;
}

.sector-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.13rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #FFFFFF;
    background-color: #000000;
    padding: 10px 20px;
    margin: 0 0 15px 0;
    width: 100%;
}

.about-sector {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
}

.about-sector .sector-title {
    margin-top: 0;
    margin-bottom: 15px;
}

.about-sector .about-image {
    padding: 0 20px;
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.about-sector .about-text {
    padding: 0 20px 20px 20px;
    width: 100%;
}

.about-text p {
    font-family: 'Noto Serif', serif;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #444444;
}

.popular-posts-sector #popular-posts-container {
    padding: 0 20px 20px 20px;
}

.popular-post-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.popular-post-item:last-child {
    margin-bottom: 0;
}

.popular-post-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.popular-post-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.popular-post-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #333333;
    line-height: 1.3;
    margin: 0;
}

.popular-post-date {
    font-family: 'Noto Serif', serif;
    font-size: 0.7rem;
    color: #666666;
    text-transform: uppercase;
}

.popular-post-link {
    font-family: 'Playfair Display', serif;
    font-size: 0.7rem;
    color: #000000;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
    transition: color 0.3s ease;
}

.popular-post-link:hover {
    color: #666666;
}

.tags-sector {
    background-color: #FFFFFF;
    display: none;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 20px 20px 20px;
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: #FFFFFF;
    color: #666666;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
    border: none;
    transition: background-color 0.3s ease;
}

.tag:hover {
    background-color: #F0F0F0;
}

.facebook-sector {
    background-color: #FFFFFF;
}

.facebook-embed {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px 20px 20px;
}

.facebook-embed iframe {
    width: 100%;
    max-width: 100%;
    height: 300px;
}

@media (max-width: 1024px) {
    .content-wrapper,
    .article-page-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .article-navigation {
        flex-direction: column;
    }
    
    .article-header-section {
        flex-direction: column;
        align-items: flex-start;
        padding-right: 0;
    }
    
    .overlay-title {
        font-size: 2rem;
    }
    
    /* Mobile lightbox adjustments */
    .lightbox-image-container {
        padding: 60px 20px 20px 20px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        padding: 15px 10px;
        font-size: 24px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-thumb {
        width: 60px;
        height: 60px;
    }
    
    .gallery-indicator-title {
        font-size: 2rem;
    }
}
/* Instagram embed styles */
.wp-content-styles .instagram-media,
.wp-content-styles blockquote.instagram-media {
    background: #FFF;
    border: 0;
    border-radius: 3px;
    box-shadow: 0 0 1px 0 rgba(0,0,0,0.5), 0 1px 10px 0 rgba(0,0,0,0.15);
    margin: 1px auto 2em auto !important;
    max-width: 540px;
    min-width: 326px;
    padding: 0;
    width: 99.375%;
    width: calc(100% - 2px);
}

.wp-content-styles .instagram-media iframe {
    width: 100% !important;
    min-height: 500px;
}

/* TikTok embed styles */
.wp-content-styles .tiktok-embed,
.wp-content-styles blockquote.tiktok-embed {
    max-width: 605px;
    min-width: 325px;
    margin: 2em auto !important;
    padding: 0;
    border: 0;
}

.wp-content-styles .tiktok-embed iframe {
    width: 100% !important;
    height: auto !important;
    min-height: 700px;
}

/* Centered container for social embeds */
.wp-content-styles .social-embed-container {
    display: flex;
    justify-content: center;
    margin: 2em 0;
    width: 100%;
}

.wp-content-styles .social-embed-container > div,
.wp-content-styles .social-embed-container > blockquote {
    margin: 0 !important;
}

/* WordPress embed blocks for social media */
.wp-content-styles .wp-block-embed.is-type-rich {
    margin: 2em 0;
    display: flex;
    justify-content: center;
}

.wp-content-styles .wp-block-embed.is-type-rich .wp-block-embed__wrapper {
    max-width: 540px;
    width: 100%;
    padding-bottom: 0;
    height: auto;
}

/* Override for social media embeds - no aspect ratio */
.wp-content-styles .wp-block-embed.is-provider-instagram .wp-block-embed__wrapper,
.wp-content-styles .wp-block-embed.is-provider-tiktok .wp-block-embed__wrapper {
    padding-bottom: 0 !important;
    height: auto !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wp-content-styles .instagram-media,
    .wp-content-styles blockquote.instagram-media {
        min-width: 280px;
    }
    
    .wp-content-styles .tiktok-embed,
    .wp-content-styles blockquote.tiktok-embed {
        min-width: 280px;
    }
    
    .wp-content-styles .tiktok-embed iframe {
        min-height: 600px;
    }
}
/* ===== MOBILE RESPONSIVE STYLES ===== */

/* Add this MOBILE RESPONSIVE CODE at the end of your existing styles.css file */

/* ===== MOBILE RESPONSIVE STYLES ===== */

/* Hamburger menu - visible only on mobile */
/* Add this MOBILE RESPONSIVE CODE at the end of your existing styles.css file */

/* ===== MOBILE RESPONSIVE STYLES ===== */

/* ===== MOBILE NAVIGATION - ALLURE ACCORDION STYLE ===== */

/* ===== MOBILE NAVIGATION - HAMBURGER ON LEFT ===== */

/* ===== MOBILE NAVIGATION - ALLURE ACCORDION STYLE ===== */
/* ===== MOBILE RESPONSIVE STYLES ===== */

/* ===== MOBILE RESPONSIVE STYLES ===== */

/* ===== MOBILE NAVIGATION ONLY - MINIMAL CHANGES ===== */

/* ===== MOBILE NAVIGATION - OFF-CANVAS DRAWER WITH ACCORDION ===== */

@media (max-width: 768px) {
    /* Layer 1: Logo Area - WHITE background, centered */
    header {
        position: relative;
        padding: 20px 0;
        background-color: #FFFFFF;
        text-align: center;
    }

    .logo-img-container {
        padding: 15px;
        margin: 0 auto;
        display: inline-block;
    }

    .logo-img {
        height: 80px;
    }

    /* Layer 2: Black Toggle Bar - Contains hamburger icon */
    .hamburger-menu {
        display: flex !important;
        position: sticky;  /* CHANGED from relative */
        top: 0; 
        width: 100%;
        height: 50px;
        background-color: #000000;
        justify-content: center; /* CENTER hamburger */
        align-items: center;
        cursor: pointer;
        z-index: 10000;
        margin: 0;
        border: none;
    }

    /* Hamburger icon - 3 white lines, CENTERED */
    .hamburger-icon {
        position: relative;
        width: 25px;
        height: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hamburger-menu::before,
    .hamburger-menu::after,
    .hamburger-menu span {
        content: '';
        position: absolute;
        width: 25px;
        height: 2px;
        background-color: #FFFFFF;
        left: 50%;
        transform: translateX(-50%);
        transition: all 0.3s ease;
    }

    .hamburger-menu::before {
        top: 17px;
    }

    .hamburger-menu span {
        top: 24px;
    }

    .hamburger-menu::after {
        top: 31px;
    }

    /* Active state - X icon */
    .hamburger-menu.active::before {
        top: 24px;
        transform: translateX(-50%) rotate(45deg);
    }

    .hamburger-menu.active span {
        opacity: 0;
    }

    .hamburger-menu.active::after {
        top: 24px;
        transform: translateX(-50%) rotate(-45deg);
    }

    /* Layer 3: Navigation Menu - FIXED OFF-CANVAS DRAWER */
    header nav {
        position: fixed;
        top: 0;
        left: -300px; /* Hidden off-screen */
        width: 300px;
        height: 100vh;
        background-color: #000000;
        z-index: 9999;
        padding: 0;
        margin: 0;
        overflow-y: auto;
        transition: left 0.3s ease;
    }

    /* Show menu when active - slides in from left */
    header nav.active {
        left: 0;
    }

    /* Overlay backdrop when menu is open */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    body.menu-open::before {
        opacity: 1;
        pointer-events: all;
    }

    /* Menu list */
    header nav ul {
        flex-direction: column;
        padding: 20px 0 0 0;
        margin: 0;
        list-style: none;
        background-color: #000000;
    }

    /* Main menu items */
    header nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background-color: #000000;
    }

    /* Main menu links - LEFT aligned, gray text, gradient effect */
    header nav ul li a {
        display: flex;
        justify-content: space-between; /* Text left, arrow right */
        align-items: center;
        padding: 15px 20px;
        color: #959595; /* Dark gray text */
        background: #000000;
        text-align: left;
        font-family: 'Arimo', sans-serif;
        font-size: 0.75rem; /* Desktop font size */
        text-transform: uppercase;
        font-weight: 600;
        text-decoration: none;
        position: relative;
        overflow: hidden;
        z-index: 1;
        /* Keep desktop gradient effect */
        background: linear-gradient(to right, #FFFFFF 50%, #959595 50%);
        background-size: 200% 100%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        transition: background-position 0.5s ease;
        background-position: right bottom;
    }

    header nav ul li a:hover,
    header nav ul li a.active {
        background-position: left bottom;
    }

    /* Arrow indicator for items with submenus - RIGHT side */
    .has-submenu > a::after {
        content: '›';
        position: absolute;
        right: 20px;
        font-size: 1.5rem;
        font-weight: 300;
        color: #959595;
        -webkit-text-fill-color: #959595; /* Override gradient */
        background: none;
        transition: transform 0.3s ease;
    }

    /* Rotate arrow when submenu is open */
    .has-submenu.mobile-open > a::after {
        transform: rotate(90deg);
    }

    /* Submenu - ACCORDION INLINE with left alignment and smooth animation */
   /* FIND THIS SECTION in your @media (max-width: 768px) block (around line 1870) */
/* REPLACE from "/* Submenu - ACCORDION INLINE" to the end of submenu styles */

    /* Submenu - ACCORDION INLINE with smooth dropdown animation */
    .submenu {
        max-height: 0 !important;
        overflow: hidden !important;
        width: 100% !important;
        background-color: #111111 !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        position: static !important;
        box-shadow: none !important;
        background-image: none !important;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
        opacity: 1 !important;
        top: auto !important;
        left: auto !important;
        min-width: auto !important;
        display: block !important;
    }

    /* Show submenu when parent is open - dropdown animation */
    .has-submenu.mobile-open > .submenu {
        max-height: 2000px !important;
    }

    /* CRITICAL: Disable ALL desktop hover effects on mobile */
    .has-submenu:hover > .submenu {
        max-height: 0 !important;
    }

    /* Re-enable transition only when mobile-open class is present */
    .has-submenu.mobile-open:hover > .submenu {
        max-height: 2000px !important;
    }

    /* Disable desktop animations on mobile */
    .has-submenu:hover > .submenu li {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    /* Submenu items */
    .submenu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        background-color: #111111;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    /* Submenu links - LEFT aligned, indented, gray text, gradient effect */
    .submenu li a {
        padding: 12px 16px 12px 40px !important;
        font-size: 0.75rem !important;
        color: #959595 !important;
        background: #111111 !important;
        text-align: left !important;
        background: linear-gradient(to right, #FFFFFF 50%, #959595 50%) !important;
        background-size: 200% 100% !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        transition: background-position 0.5s ease !important;
        background-position: right bottom !important;
        display: block !important;
        justify-content: flex-start !important;
    }

    .submenu li a:hover {
        background-position: left bottom !important;
    }
    /* Adjust main content - No extra spacing needed */
    main {
        padding: 20px 10px;
        margin-top: 0;
    }

    .content-wrapper,
    .article-page-wrapper {
        flex-direction: column;
        padding-top: 0;
    }

    /* Hide sidebar */
    .sidebar {
        display: none !important;
    }

    /* Article grid */
    .article-grid {
        width: 100%;
        gap: 80px;
        padding: 0;
    }

    /* DESKTOP TITLE POSITIONING - Date box and title SIDE BY SIDE */
    .article-header-section {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        gap: 0;
        padding-right: 10%;
        position: relative;
        box-sizing: border-box;
    }

    .article-date-box {
        width: 55px; 
        height: 55px; 
        padding: 3px;
        background-color: #000000;
        color: #FFFFFF;
        font-family: 'Noto Serif', serif;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        flex-shrink: 0;
        order: 1;
    }

    .date-day {
        font-size: 1.35rem; 
        font-weight: 700;
        line-height: 1;
        margin-bottom: 2px;
        font-family: 'Noto Serif', serif; 
    }

    .date-month {
        font-size: 0.9rem;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-family: 'Noto Serif', serif; 
    }

    .article-overlay {
        flex: 1;
        background: #FFFFFF;
        padding: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-bottom: -45px;
        position: relative;
        z-index: 5;
        order: 2;
    }

    .overlay-title {
        font-family: 'Playfair Display', serif;
        font-size: 2rem;
        font-weight: 400;
        color: #333333;
        margin-bottom: 15px;
        line-height: 1.3;
        text-transform: none;
        word-wrap: break-word;
        overflow-wrap: break-word;
        user-select: text;
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
        cursor: pointer;
    }

    .overlay-inline-content {
        font-family: 'Libre Baskerville', serif;
        font-size: 0.625rem;
        color: #666666;
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    /* Make social icons always visible on mobile */
    .social-link {
        opacity: 1;
        transform: translateX(0);
        width: 16px;
        height: 16px;
        font-size: 12px;
    }

    .social-dot {
        opacity: 1;
        transform: translateX(0);
    }

    /* ORIGINAL DESKTOP IMAGE HEIGHT */
    .article-image-wrapper {
        position: relative;
        width: 100%;
        height: 460px;
        overflow: hidden;
    }

    .article-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .article-card-content {
        padding: 20px;
        background-color: transparent;
    }

    .article-card-content p {
        font-family: 'Noto Serif', serif;
        font-size: 0.88rem;
        line-height: 1.5rem;
        margin-bottom: 1.563rem;
        color: #535353;
        position: relative;
        user-select: text;
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
        cursor: text;
    }

    .article-card-content p::first-letter {
        font-size: 2.5rem;
        font-weight: 400;
        line-height: 0.9;
        float: left;
        margin-right: 0.5rem;
        margin-top: 0.2rem;
        color: #000000;
        font-family: 'Noto Serif', serif;
        border-top: 2px solid #000000;
        border-bottom: 2px solid #000000;
        padding: 0.3rem 0.2rem;
    }

    .continue-reading-btn {
        padding: 12px 20px;
        font-size: 0.75rem;
    }

    .continue-reading-btn::before,
    .continue-reading-btn::after {
        left: 20px;
    }

    /* Article page */
    .article-page-wrapper {
        padding-top: 20px;
    }

    .article-page-header {
        margin-bottom: 30px;
        align-items: center;
        padding-right: 0;
    }

    .article-page-header .article-overlay {
        margin-bottom: 0;
        box-shadow: none;
        padding: 0 0 0 20px;
        background: transparent;
    }

    .article-page-header .overlay-title {
        font-size: 2.5rem;
        margin-bottom: 0;
    }

    .article-page-header .article-date-box {
        order: 1;
        margin: 0;
    }

    .article-container > img {
        max-height: 500px;
        margin-bottom: 30px;
    }

    .wp-content-styles {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .wp-content-styles h1 { font-size: 1.6em; }
    .wp-content-styles h2 { font-size: 1.4em; }
    .wp-content-styles h3 { font-size: 1.3em; }
    .wp-content-styles h4 { font-size: 1.2em; }

    .article-navigation {
        flex-direction: column;
        gap: 25px;
        padding: 25px 0;
        margin: 25px 0;
    }

    .nav-item {
        width: 100%;
        flex-direction: row;
        text-align: left;
    }

    .nav-item.prev,
    .nav-item.next {
        flex-direction: row;
        text-align: left;
    }

    .next-content {
        align-items: flex-start;
    }

    .nav-item.next .nav-label {
        justify-content: flex-start;
    }

    .nav-item img {
        width: 80px;
        height: 80px;
    }

    .nav-title {
        font-size: 1.1rem;
    }

    .related-articles {
        margin: 40px 0 30px 0;
    }

    .related-articles h3 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .related-item img {
        height: 200px;
    }

    .related-title {
        font-size: 1.15rem;
    }

    .comments-section {
        margin: 40px 0 30px 0;
        padding-top: 30px;
    }

    .comments-section h3 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .article-social-share {
        gap: 12px;
        margin: 20px 0;
        padding: 12px 0;
        flex-wrap: wrap;
    }

    .article-social-share .social-link {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }

    .gallery-indicator-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .gallery-indicator-subtitle {
        font-size: 0.9rem;
    }

    .gallery-indicator svg {
        width: 50px;
        height: 50px;
    }

    .lightbox-image-container {
        padding: 60px 10px 10px 10px;
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 15px 10px;
        font-size: 24px;
    }

    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }

    .lightbox-close {
        font-size: 40px;
        right: 15px;
        top: 15px;
        width: 40px;
        height: 40px;
    }

    .lightbox-thumb {
        width: 60px;
        height: 60px;
    }

    .lightbox-thumbnails {
        padding: 15px;
    }

    .article-card:hover {
        transform: none;
    }

    footer {
        padding: 15px 10px;
        font-size: 0.85rem;
    }

    form {
        padding: 15px;
        max-width: 100%;
    }

    .form-group {
        margin-bottom: 12px;
    }

    input[type="text"],
    input[type="email"],
    textarea {
        padding: 10px;
        font-size: 1em;
    }

    textarea {
        min-height: 130px;
    }

    button[type="submit"] {
        padding: 12px;
        font-size: 1em;
    }

    .wp-content-styles .instagram-media,
    .wp-content-styles blockquote.instagram-media {
        min-width: 280px;
        margin: 1.5em auto !important;
    }

    .wp-content-styles .tiktok-embed,
    .wp-content-styles blockquote.tiktok-embed {
        min-width: 280px;
        margin: 1.5em auto !important;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .logo-img {
        height: 60px;
    }

    .hamburger-menu {
        height: 45px;
    }

    .hamburger-menu::before {
        top: 15px;
    }

    .hamburger-menu span {
        top: 22px;
    }

    .hamburger-menu::after {
        top: 29px;
    }

    .hamburger-menu.active::before,
    .hamburger-menu.active::after {
        top: 22px;
    }

    .overlay-title {
        font-size: 1.6rem;
    }

    .article-page-header .overlay-title {
        font-size: 2rem;
    }

    .article-image-wrapper {
        height: 350px;
    }

    .article-date-box {
        width: 50px;
        height: 50px;
    }

    .date-day {
        font-size: 1.2rem;
    }

    .date-month {
        font-size: 0.8rem;
    }

    .article-card-content p {
        font-size: 0.85rem;
        line-height: 1.4rem;
    }

    .continue-reading-btn {
        padding: 10px 15px;
        font-size: 0.7rem;
    }

    .article-grid {
        gap: 60px;
    }
}