:root {
    --primary-color: #c92a8d;
    --primary-dark: #a61e72;
    --secondary-color: #9d2b6b;
    --bg-color: #fcf6fa;
    --text-color: #444;
    --text-light: #777;
    --black: #000000;
    --white: #ffffff;
    --border-color: #eaeaea;
    --shadow: 0 4px 15px rgba(0,0,0,0.05);
    --font-main: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Typography */
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

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

/* Decorative Background Shapes */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border: 3px solid #eebbdb;
    border-radius: 8px;
    opacity: 0.6;
}

.shape-1 {
    width: 40px;
    height: 40px;
    top: 20%;
    left: 10%;
    transform: rotate(25deg);
}

.shape-2 {
    width: 30px;
    height: 30px;
    top: 60%;
    right: 5%;
    transform: rotate(-15deg);
}

.shape-3 {
    width: 20px;
    height: 20px;
    top: 80%;
    left: 15%;
    transform: rotate(45deg);
}

/* Header & Navigation */
.logo-container {
    text-align: center;
    padding: 20px 0;
    background: var(--bg-color);
}

.logo-container h1 {
    color: #ce89ba;
    font-size: 2.5rem;
    font-weight: 700;
}

.main-nav {
    background-color: var(--primary-color);
}

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

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li a {
    color: var(--white);
    padding: 15px 20px;
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links li a:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.nav-links .home-link {
    background-color: var(--primary-dark);
    padding: 15px;
}

.nav-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.arrow-prev {
    transform: rotate(180deg);
}

.meta-icon {
    width: 14px;
    height: 14px;
    opacity: 0.6;
    vertical-align: middle;
    margin-right: 5px;
}

.meta-icon.primary-color {
    filter: invert(28%) sepia(85%) saturate(3025%) hue-rotate(307deg) brightness(85%) contrast(98%);
    opacity: 1;
}

/* Ticker Bar */
.ticker-bar {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.ticker-container {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    font-size: 0.85rem;
}

.ticker-labels {
    display: flex;
    gap: 10px;
    margin-right: 20px;
}

.label {
    padding: 5px 10px;
    color: var(--white);
    font-weight: 500;
}

.label.primary {
    background-color: var(--primary-color);
}

.label.secondary {
    background-color: var(--secondary-color);
}

.ticker-text p {
    color: var(--text-color);
}

.ticker-controls {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

.ticker-controls .nav-icon {
    filter: none;
    opacity: 0.5;
    cursor: pointer;
}

/* Main Layout */
.main-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Post Cards */
.post-card {
    background: var(--white);
    border-radius: 5px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    display: flex;
    overflow: hidden;
}

.post-image {
    flex: 0 0 45%;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 25px;
    flex: 1;
}

.post-content h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.post-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.post-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    color: var(--primary-color);
    border: 1px solid #f0f0f0;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.read-more:hover {
    background-color: var(--bg-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}

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

.older-posts {
    margin-bottom: 40px;
}

/* Trust Section */
.trust-section {
    background: var(--white);
    padding: 30px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    text-align: center;
}

.trust-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.trust-logo img {
    max-width: 250px;
    margin-bottom: 15px;
}

.trust-section a {
    color: var(--primary-color);
}

/* Sidebar Widgets */
.widget {
    background: var(--white);
    padding: 25px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.widget h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    background-color: #fdf4f9;
    padding: 10px;
    text-align: center;
}

/* Search Widget */
.search-widget label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.search-form {
    display: flex;
}

.search-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-right: none;
    outline: none;
}

.search-form button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 15px;
    cursor: pointer;
}

/* Recent Posts Widget */
.recent-posts-widget ul {
    list-style: none;
}

.recent-posts-widget li {
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    position: relative;
    padding-left: 15px;
}

.recent-posts-widget li::before {
    content: '»';
    position: absolute;
    left: 0;
    color: var(--text-light);
}

.recent-posts-widget li:last-child {
    border-bottom: none;
}

.recent-posts-widget a {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Pre-Footer */
.pre-footer {
    background: var(--white);
    padding: 40px 0;
    text-align: center;
    border-top: 2px solid var(--primary-color);
}

.pre-footer h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.pre-footer p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-color);
}

/* Footer */
.site-footer {
    background: var(--black);
    color: var(--white);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 60px 15px;
}

.footer-col p {
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.8;
}

.footer-col h4 {
    background: #333;
    padding: 10px 15px;
    margin-bottom: 20px;
    font-size: 1rem;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul a {
    color: #ccc;
    font-size: 0.85rem;
}

.footer-col ul a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    background: #1a1a1a;
    padding: 20px 0;
    text-align: left;
    border-top: 1px solid #333;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
}

.footer-bottom .disclaimer {
    font-size: 0.75rem;
    color: #666;
    margin-top: 10px;
}

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    background: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 9999;
    padding: 20px;
    animation: slideIn 0.5s ease forwards;
}

.cookie-modal h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.cookie-modal p {
    font-size: 0.85rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.cookie-modal button {
    width: 100%;
    justify-content: center;
    border-radius: 4px;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Back to Top */
#back-to-top {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

#back-to-top .nav-icon {
    filter: brightness(0) invert(1);
}

/* Responsive */
@media (max-width: 992px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    
    .post-card {
        flex-direction: column;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .ticker-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .ticker-controls {
        margin-left: 0;
    }
    
    .cookie-modal {
        right: 10px;
        bottom: 10px;
        width: calc(100% - 20px);
    }
}
/* Inner page styles */
/* --------------------------------------
   SINGLE POST & ARTICLE CONTENT STYLES
-------------------------------------- */

.single-post {
    background: var(--white);
    padding: 35px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.single-post .post-meta {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Typography (h1-h6, p, span) */
.article-content h1 {
    font-size: 2.4rem;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.2;
}

.article-content h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0e6eb;
}

.article-content h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 30px 0 15px;
}

.article-content h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin: 25px 0 15px;
}

.article-content h5 {
    font-size: 1.15rem;
    color: var(--text-color);
    margin: 20px 0 10px;
}

.article-content h6 {
    font-size: 1rem;
    color: var(--text-light);
    margin: 20px 0 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

.article-content span.highlight {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 500;
}

/* Lists */
.article-content ul,
.article-content ol {
    margin: 0 0 25px 25px;
    padding-left: 15px;
}

.article-content ul li,
.article-content ol li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
}

.article-content ul {
    list-style-type: none;
}

.article-content ul li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.article-content ol {
    list-style-type: decimal;
}

.article-content ol li::marker {
    color: var(--primary-color);
    font-weight: 700;
}

/* Responsive Images */
.article-main-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.article-inline-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Table of Contents */
.toc {
    background-color: #fdf4f9;
    padding: 25px;
    border-left: 5px solid var(--primary-color);
    border-radius: 0 5px 5px 0;
    margin: 35px 0;
}

.toc-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.toc ul {
    margin: 0;
    padding: 0;
}

.toc ul li::before {
    content: '»';
    color: var(--primary-color);
    margin-right: 8px;
}

.toc a {
    color: var(--text-color);
    font-weight: 500;
}

.toc a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: 30px 0;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.article-content th,
.article-content td {
    padding: 15px;
    border: 1px solid var(--border-color);
    text-align: left;
    font-size: 0.95rem;
}

.article-content th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.article-content tr:nth-child(even) {
    background-color: #fafafa;
}

.article-content tr:hover td {
    background-color: #fdf4f9;
}

/* --------------------------------------
   INTERLINKING (RELATED POSTS)
-------------------------------------- */
.related-posts {
    margin-top: 50px;
}

.related-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

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

.related-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.related-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-info {
    padding: 15px 20px;
}

.related-info h4 {
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 600px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------
   CONTACT / COMMENT FORM STYLES
-------------------------------------- */
.form-section {
    background: var(--white);
    padding: 35px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.form-section h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.custom-form {
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #fafafa;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(201, 42, 141, 0.1);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .single-post {
        padding: 20px;
    }
    .article-content h1 {
        font-size: 2rem;
    }
}