/* Reset and Base Styles */
:root {
    --primary-color: #ff6046;
    --secondary-color: #2f3c7e;
    --tertiary-color: #44bb9c;
    --background-color: #f8f9fa;
    --dark-background: #1a1a2e;
    --text-color: #333;
    --light-text: #f8f9fa;
    --border-color: #e0e0e0;
    --card-bg: #ffffff;
    --accent-light: #ffd9d2;
    --hover-color: #e0503c;
    --gray-text: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --gray-bg: #f1f3f5;
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --container-width: 1200px;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@300;400;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

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

.secondary-btn:hover {
    background-color: #253069;
    color: white;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 1rem;
    padding: 0;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after, nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 6rem 0;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: white;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12);
}

.feature-icon {
    margin-bottom: 1.5rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--accent-light);
    color: var(--primary-color);
}

.feature-icon svg {
    width: 35px;
    height: 35px;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-text);
    margin-bottom: 0;
}

/* Editor's Note Section */
.editor-note {
    padding: 5rem 0;
    background-color: var(--gray-bg);
}

.editor-note h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.note-content {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.note-content:before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 8rem;
    color: var(--accent-light);
    font-family: serif;
    line-height: 1;
    opacity: 0.5;
}

.note-content ul {
    margin-bottom: 1.5rem;
}

.editor-signature {
    text-align: right;
    margin-top: 2rem;
}

.editor-signature p:first-child {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.editor-signature p:last-child {
    font-style: italic;
    color: var(--gray-text);
    margin-bottom: 0;
}

/* Recent Posts Section */
.recent-posts {
    padding: 5rem 0;
    background-color: white;
}

.recent-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.post-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12);
}

.post-image {
    height: 220px;
    overflow: hidden;
}

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

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

.post-content {
    padding: 1.5rem;
}

.post-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.post-meta {
    color: var(--gray-text);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.read-more {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
}

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

.read-more:after {
    content: '→';
    margin-left: 0.5rem;
    transition: var(--transition);
}

.read-more:hover:after {
    margin-left: 0.75rem;
}

.view-all {
    text-align: center;
    margin-top: 3rem;
}

/* Newsletter Section */
.newsletter {
    padding: 5rem 0;
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
}

.newsletter h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 0 1.5rem;
}

/* Footer Styles */
footer {
    background-color: var(--dark-background);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: #ccc;
}

.footer-links h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

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

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: #ccc;
}

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

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--card-bg);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.cookie-content p {
    flex: 1;
    min-width: 250px;
    margin-bottom: 0;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: var(--body-font);
}

.cookie-btn.accept {
    background-color: var(--success-color);
    color: white;
}

.cookie-btn.customize {
    background-color: var(--gray-bg);
    color: var(--text-color);
}

.cookie-btn.decline {
    background-color: var(--danger-color);
    color: white;
}

.cookie-more-info {
    width: 100%;
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Page Banner */
.page-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/2.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.page-banner h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-banner p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
}

/* Blog Page Styles */
.blog-posts {
    padding: 5rem 0;
    background-color: var(--background-color);
}

.search-filter {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 250px;
    display: flex;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 0.8rem 1rem;
    padding-right: 3rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.search-box button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 3rem;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-text);
}

.filter-box select {
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background-color: white;
    cursor: pointer;
    min-width: 180px;
}

.blog-grid {
    margin-bottom: 3rem;
}

.large-card {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.large-card .post-image {
    height: 100%;
}

.post-category {
    display: inline-block;
    background-color: var(--tertiary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: 600;
    color: var(--text-color);
    background-color: white;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.pagination a:hover, .pagination a.active {
    background-color: var(--primary-color);
    color: white;
}

/* About Page Styles */
.about-story, .about-values, .team-section, .achievements, .cta-section {
    padding: 5rem 0;
}

.about-story, .team-section, .cta-section {
    background-color: white;
}

.about-values, .achievements {
    background-color: var(--gray-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 2rem;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    margin-bottom: 1.5rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--accent-light);
    color: var(--primary-color);
}

.value-icon svg {
    width: 35px;
    height: 35px;
}

.value-card h3 {
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--gray-text);
    margin-bottom: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-section h2, .about-values h2, .achievements h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.team-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.team-card h3 {
    margin: 1.5rem 0 0.5rem;
    padding: 0 1.5rem;
}

.team-card p {
    padding: 0 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-text);
}

.team-card p:nth-of-type(1) {
    font-weight: 600;
    color: var(--tertiary-color);
}

.team-social {
    display: flex;
    gap: 1rem;
    padding: 0 1.5rem 1.5rem;
    margin-top: 1rem;
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.achievement-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2.5rem 1.5rem;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.achievement-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
}

.achievement-card p {
    font-weight: 600;
    margin-bottom: 0;
}

.cta-section {
    text-align: center;
    background: linear-gradient(rgba(47, 60, 126, 0.9), rgba(47, 60, 126, 0.9)), url('images/5.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Page Styles */
.contact-info, .map-section, .faq-section {
    padding: 5rem 0;
}

.contact-info, .faq-section {
    background-color: white;
}

.map-section {
    background-color: var(--gray-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.contact-details h2, .contact-form-container h2, .map-section h2, .faq-section h2 {
    margin-bottom: 2rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-icon {
    margin-right: 1.5rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-light);
    color: var(--primary-color);
}

.info-icon svg {
    width: 25px;
    height: 25px;
}

.info-card h3 {
    margin-bottom: 0.5rem;
}

.info-card p {
    margin-bottom: 0.25rem;
    color: var(--gray-text);
}

.info-card a {
    color: var(--text-color);
}

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

.social-contact {
    margin-top: 3rem;
}

.social-contact h3 {
    margin-bottom: 1rem;
}

.contact-form-container {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
}

.contact-form button {
    justify-self: start;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background-color: var(--card-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 300px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-text);
}

.thank-you-message {
    text-align: center;
}

.thank-you-message svg {
    width: 64px;
    height: 64px;
    color: var(--success-color);
    margin: 0 auto 1.5rem;
}

.thank-you-message h2 {
    margin-bottom: 1rem;
}

.thank-you-message p {
    margin-bottom: 2rem;
}

.close-btn {
    display: inline-block;
}

/* Blog Post Styles */
.post-header {
    padding: 3rem 0;
    background-color: white;
}

.post-header h1 {
    font-size: 2.5rem;
    max-width: 900px;
    margin-bottom: 1.5rem;
}

.post-header .post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.post-date {
    color: var(--gray-text);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.post-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--gray-bg);
    color: var(--text-color);
    transition: var(--transition);
}

.post-share a:hover {
    background-color: var(--primary-color);
    color: white;
}

.post-content {
    padding: 4rem 0;
    background-color: var(--background-color);
}

.post-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 3rem;
}

.post-featured-image {
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-image-container {
    margin: 2rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.image-caption {
    display: block;
    padding: 0.75rem;
    background-color: rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    color: var(--gray-text);
    text-align: center;
}

article h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

article h3 {
    margin-top: 2rem;
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
}

article h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

article ul, article ol {
    margin-bottom: 1.5rem;
}

article li {
    margin-bottom: 0.5rem;
}

article blockquote {
    margin: 2.5rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--primary-color);
    background-color: var(--accent-light);
    font-style: italic;
}

article blockquote p {
    margin-bottom: 0;
    font-size: 1.1rem;
}

article blockquote cite {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    font-style: normal;
}

.post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 3rem 0;
    gap: 0.5rem;
}

.post-tags span {
    font-weight: 600;
    margin-right: 0.5rem;
}

.post-tags a {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    background-color: var(--gray-bg);
    border-radius: 30px;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: var(--transition);
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

.author-bio {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--box-shadow);
}

.author-bio .author-img {
    width: 100px;
    height: 100px;
    margin-right: 2rem;
}

.author-bio h3 {
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--gray-text);
    margin-bottom: 0.5rem;
}

.author-bio h4 {
    margin-bottom: 1rem;
}

.author-bio p {
    margin-bottom: 1rem;
}

.author-social {
    display: flex;
    gap: 0.75rem;
}

.author-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--gray-bg);
    color: var(--text-color);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.prev-post, .next-post {
    max-width: 45%;
}

.prev-post span, .next-post span {
    display: block;
    color: var(--gray-text);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.prev-post a, .next-post a {
    font-weight: 600;
}

.next-post {
    text-align: right;
}

.related-posts h3 {
    margin-bottom: 1.5rem;
}

.small-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.small-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.post-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

.sidebar-widget h3 {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.recent-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-posts a {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.recent-posts .post-date {
    font-size: 0.9rem;
}

.categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories li {
    margin-bottom: 0.75rem;
}

.categories a {
    display: flex;
    justify-content: space-between;
    color: var(--text-color);
}

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

.categories a span {
    color: var(--gray-text);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-cloud a {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    background-color: var(--gray-bg);
    border-radius: 30px;
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.tag-cloud a:hover {
    background-color: var(--primary-color);
    color: white;
}

.newsletter-widget p {
    margin-bottom: 1.25rem;
}

.sidebar-newsletter {
    display: flex;
    flex-direction: column;
}

.sidebar-newsletter input {
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.sidebar-newsletter button {
    width: 100%;
}

/* Player Profile Styles */
.player-profile {
    position: relative;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    padding-left: 3.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

.player-number {
    position: absolute;
    top: 1.5rem;
    left: -15px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.player-profile h3 {
    margin-bottom: 0.75rem;
}

.player-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.player-team, .player-role, .player-age {
    font-size: 0.9rem;
    color: var(--gray-text);
    position: relative;
    padding-left: 1.25rem;
}

.player-team::before, .player-role::before, .player-age::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.player-team::before {
    background-color: var(--primary-color);
}

.player-role::before {
    background-color: var(--tertiary-color);
}

.player-age::before {
    background-color: var(--secondary-color);
}

/* Tournament Card Styles */
.tournament-card {
    background-color: white;
    border-radius: var(--border-radius);
    margin-bottom: 2.5rem;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.tournament-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 1.5rem 2rem;
}

.tournament-header h3 {
    color: white;
    margin-bottom: 1rem;
}

.tournament-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.tournament-date, .tournament-location, .tournament-prize {
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.tournament-date::before, .tournament-location::before, .tournament-prize::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.tournament-details {
    padding: 2rem;
}

.tournament-details p {
    margin-bottom: 1.5rem;
}

.tournament-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    background-color: var(--gray-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.info-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Tables and Settings */
.settings-table, .specs-table, .specs-list, .content-box, .routine-table, .code-block {
    margin: 2rem 0;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}

.settings-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.settings-table th, .settings-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.settings-table th {
    font-weight: 600;
    color: var(--primary-color);
}

.settings-table tr:last-child td {
    border-bottom: none;
}

.specs-table h4, .specs-list h4, .content-box h3, .content-box h4, .routine-table h4, .code-block h4 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.code-block {
    background-color: #f8f9fa;
    font-family: monospace;
}

.code-block code {
    display: block;
    margin-bottom: 1rem;
    white-space: pre-wrap;
    color: #333;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .post-grid {
        grid-template-columns: 2fr 1fr;
    }

    .large-card {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .large-card .post-image {
        height: 220px;
    }
}

@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .post-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .post-sidebar {
        position: static;
    }

    .values-grid, .team-grid, .achievements-grid, .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .post-header h1 {
        font-size: 2rem;
    }

    .post-header .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto 1rem;
    }

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

    .cookie-content {
        text-align: center;
        justify-content: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }

    .newsletter-form button {
        width: 100%;
        border-radius: var(--border-radius);
    }

    .values-grid, .team-grid, .achievements-grid, .feature-grid {
        grid-template-columns: 1fr;
    }

    .player-details {
        flex-direction: column;
        gap: 0.5rem;
    }

    .small-grid {
        grid-template-columns: 1fr;
    }

    .post-navigation {
        flex-direction: column;
        gap: 1.5rem;
    }

    .prev-post, .next-post {
        max-width: 100%;
    }

    .next-post {
        text-align: left;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
    }

    .author-bio .author-img {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

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

    .tournament-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .search-filter {
        flex-direction: column;
    }

    .filter-box select {
        width: 100%;
    }
}
