/*
Theme Name: Kids Game Festival
Theme URI: https://kidsgamefestival.jp
Author: Your Name
Author URI: https://yourwebsite.com
Description: 子どもゲーム展示会のための明るくポップなWordPressテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kidsgamefestival
Tags: responsive, colorful, kids, game, festival
*/

:root {
    --primary-color: #FF6B6B;
    /* 明るい赤 */
    --secondary-color: #4ECDC4;
    /* ターコイズ */
    --accent-color: #FFE66D;
    /* 黄色 */
    --dark-color: #292F36;
    /* 濃い青灰色 */
    --light-color: #F7FFF7;
    /* オフホワイト */
    --font-main: 'Rounded Mplus 1c', 'M PLUS Rounded 1c', sans-serif;
    --font-heading: 'Kosugi Maru', sans-serif;
}

/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

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

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

.pc-br {
    display: inline;
}

.sp-br {
    display: none;
}

/* ヘッダー */
.site-header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

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

/* ナビゲーション */
.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 20px;
}

.main-nav a {
    font-weight: 500;
    color: var(--dark-color);
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-color);
}

/* ヒーローセクション */
.hero {
    /* background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); */
    background-image: url(./assets/images/hero-bg.jpg);
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 180px 20px 140px;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-logo {
    position: absolute;
    top: 76px;
    right: 20px;
    width: 150px;
    height: 150px;
    z-index: 3;
    filter: drop-shadow(0px 0px 12px rgba(255, 255, 255, 1));
}

.hero-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    animation: float 4s infinite ease-in-out;
}

/* ゲームアイコン */
.game-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 4s infinite ease-in-out, rotate 10s infinite linear;
    z-index: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, filter 0.3s ease, text-shadow 0.3s ease;
}

.game-icon:hover {
    transform: scale(1.2) !important;
    filter: brightness(1.2);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 20px currentColor;
    z-index: 5;
}

.game-icon i {
    font-size: 2.5rem;
    line-height: 1;
}

.game-icon.large i {
    font-size: 4rem;
}

.game-icon.medium i {
    font-size: 3rem;
}

.game-icon.small i {
    font-size: 1.5rem;
}

@keyframes rotate {
    from {
        transform: rotate(0deg) translateY(0);
    }

    to {
        transform: rotate(360deg) translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(0deg);
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTAボタン */
.cta-button {
    display: table;
    margin: 20px auto 0;
    background-color: var(--accent-color);
    color: var(--dark-color);
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.cta-button:hover {
    background-color: #FFD700;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* セクション共通 */
.section {
    padding: 80px 20px;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: var(--font-heading);
    position: relative;
    display: inline-block;
}

.section-heading h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2.5px;
}

.section-heading p {
    font-size: 1.2rem;
    color: var(--dark-color);
    max-width: 600px;
    margin: 0 auto;
}

/* 特徴セクション */
.features {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--light-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-family: var(--font-heading);
}

/* イベント詳細セクション */
.event-details {
    background-color: var(--light-color);
}

.event-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-family: var(--font-heading);
}

.info-card p {
    margin-bottom: 10px;
}

.info-card ul {
    list-style-position: inside;
    margin-left: 10px;
}

.info-card li {
    margin-bottom: 10px;
}

.info-card ol {
    padding-left: 20px;
}

/* 申込みフォームセクション */
.application {
    background-color: #f8f8f8;
    padding: 80px 0;
}

.application-container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.application-text {
    flex: 1;
    margin-bottom: 40px;
}

.application-text h2 {
    margin-bottom: 20px;
}

.application-text h2:after {
    content: '';
}

.application-text p {
    padding-bottom: 0.3rem;
}

.application-form {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    border-color: #ff9900;
    box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.2);
    outline: none;
}

.submit-button {
    display: table;
    margin: 0 auto;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background-color: #ff6600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    animation: pulse 2s infinite;
}

.submit-button:hover {
    background-color: #ff9900;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

/* フォームの2カラムレイアウト（PCとタブレット向け） */
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.form-col {
    flex: 1 0 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

/* PCとタブレット表示でのフォームの2カラム設定 */
@media (min-width: 768px) {
    .form-col {
        flex: 0 0 50%;
    }
}

/* スポンサーセクション */
.sponsors {
    background-color: white;
    text-align: center;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.sponsor-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    max-width: 150px;
}

.sponsor-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* FAQ セクション */
.faq {
    background-color: var(--light-color);
}

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

.accordion-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    background-color: white;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background-color: rgba(78, 205, 196, 0.1);
}

.accordion-header h3 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--dark-color);
    font-family: var(--font-heading);
}

.accordion-icon {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.accordion-content {
    background-color: white;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 20px;
    max-height: 1000px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* ギャラリーセクション */
.gallery {
    background-color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ニュースセクション */
.news {
    background-color: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

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

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
}

.news-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
    font-family: var(--font-heading);
}

.news-excerpt {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 500;
}

/* フッター */
.site-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-logo {
    grid-column: 1 / -1;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 40px;
}

.footer-widgets {
    grid-column: 1 / -1;
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    color: var(--accent-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

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

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

.footer-bottom {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #999;
}

/* レスポンシブスタイル */
@media (max-width: 768px) {
    .site-header {
        padding: 15px 20px;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 100;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

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

    .main-nav li {
        margin: 10px 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .application-container {
        flex-direction: column;
    }

    .section {
        padding: 50px 10px;
    }

    .section-heading h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .pc-br {
        display: none;
    }

    .sp-br {
        display: inline;
    }

    .header-container {
        padding: 0px;
    }

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

    .cta-button {
        font-size: 1rem;
        padding: 12px 25px;
    }

    .section-heading h2 {
        font-size: 1.8rem;
    }

    .feature-card,
    .info-card {
        padding: 20px;
    }
}

/* アニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* カスタマイザー用スタイル */
.customizer-section {
    margin-bottom: 20px;
}

.customizer-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.customizer-control {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* 記事ページのスタイル */
.post-content {
    padding-top: 140px;
}

.post-content {
    .section-container {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
    }

    .post-main {
        flex: 1;
        min-width: 65%;
    }

    .entry-content {
        background-color: white;
        padding: 40px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .post-categories {
        margin-bottom: 15px;
    }

    .post-category {
        display: inline-block;
        background-color: var(--primary-color);
        color: white;
        padding: 5px 15px;
        border-radius: 20px;
        margin: 0 5px 5px 0;
        font-size: 0.9rem;
    }

    .entry-content h1 {
        font-size: 2.0rem;
        margin-bottom: 20px;
        font-family: var(--font-heading);
        color: var(--dark-color);
        line-height: 1.3;
    }

    .post-meta {
        font-size: 1rem;
        color: #666;
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid #eee;
    }

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

    .post-author {
        margin-left: 15px;
    }

    .featured-image {
        margin-bottom: 30px;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    }

    .featured-image img {
        width: 100%;
        height: auto;
    }

    .post-content-body {
        margin-bottom: 30px;

        .wp-block-heading {
            margin: 40px 0 10px;
            color: #364e96;
            /*文字色*/
            padding: 0.3em 0;
            /*上下の余白*/
            border-top: solid 3px #364e96;
            /*上線*/
            border-bottom: solid 3px #364e96;
            /*下線*/
        }

        p {
            margin-bottom: 20px;
        }

        ul,
        ol {
            padding-left: 30px;
        }
    }

    .page-links {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }

    .post-tags {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }

    .post-tags>span {
        display: block;
        margin-bottom: 10px;
        font-weight: bold;
        color: var(--dark-color);
    }

    .tag-links {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .post-navigation {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .post-navigation>div {
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }

    .nav-previous,
    .nav-next {
        flex: 1;
    }

    .nav-previous a,
    .nav-next a {
        display: flex;
        align-items: center;
        background: white;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .nav-previous a:hover,
    .nav-next a:hover {
        transform: translateY(-5px);
    }

    .post-thumbnail {
        width: 60px;
        height: 60px;
        border-radius: 5px;
        overflow: hidden;
        flex-shrink: 0;
    }

    .nav-previous .post-thumbnail {
        margin-right: 15px;
    }

    .nav-next .post-thumbnail {
        margin-left: 15px;
    }

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

    .nav-label {
        display: block;
        font-size: 0.8rem;
        color: var(--primary-color);
        margin-bottom: 5px;
    }

    .nav-title {
        font-family: var(--font-heading);
        font-weight: bold;
        display: block;
        font-size: 0.95rem;
    }

    .nav-previous .nav-label i {
        margin-right: 5px;
    }

    .nav-next .nav-label i {
        margin-left: 5px;
    }

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

    .nav-next a {
        justify-content: flex-end;
    }

    .related-posts {
        margin-top: 40px;
    }

    .related-posts h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        font-family: var(--font-heading);
        color: var(--primary-color);
        position: relative;
        display: inline-block;
        padding-bottom: 10px;
    }

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

    .related-posts-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }

    .related-post {
        display: block;
        background: white;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s;
    }

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

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

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

    .related-post-content {
        padding: 20px;
    }

    .related-post-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
        color: var(--dark-color);
        font-family: var(--font-heading);
    }

    .related-post-date {
        color: var(--primary-color);
        font-size: 0.9rem;
    }

    /* サイドバーのスタイル */
    .sidebar {
        width: 300px;
    }

    .widget {
        display: block;
        background-color: white;
        padding: 25px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-bottom: 30px;
    }

    .widget h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
        color: var(--primary-color);
        font-family: var(--font-heading);
    }


    .widget ul {
        list-style: none;
        padding: 0;

        li {
            margin-bottom: 10px;

            strong {
                color: var(--primary-color);
            }
        }
    }

    .widget.recent-posts li {
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
    }

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

    .widget.recent-posts a {
        display: flex;
        align-items: center;
    }

    .widget.recent-posts .post-thumbnail {
        margin-right: 15px;
    }

    .widget.recent-posts h4 {
        font-size: 1rem;
        margin: 0 0 5px;
        font-family: var(--font-heading);
    }

    .widget.recent-posts .post-date {
        font-size: 0.8rem;
        color: var(--primary-color);
    }

    .widget.categories li {
        margin-bottom: 10px;
    }

    .widget.categories a {
        display: flex;
        justify-content: space-between;
    }

    .category-count {
        background-color: var(--light-color);
        padding: 0 8px;
        border-radius: 10px;
        font-size: 0.8rem;
    }

    .widget.event-info ul {
        list-style: none;
        padding: 0;
    }

    .widget.event-info li {
        margin-bottom: 10px;
        display: flex;
    }

    .widget.event-info li:last-child {
        margin-bottom: 0;
    }

    .widget.event-info i {
        width: 20px;
        margin-right: 10px;
        color: var(--primary-color);
    }

    @media (max-width: 768px) {
        .section-container {
            flex-direction: column;
        }

        .post-main,
        .sidebar {
            width: 100%;
        }

        .post-navigation>div {
            flex-direction: column;
        }

        .nav-previous,
        .nav-next {
            margin-bottom: 15px;
        }
    }

    @media (max-width: 480px) {
        .entry-content h1 {
            font-size: 1.8rem;
        }

        .entry-content {
            padding: 20px;
        }

        .related-posts-grid {
            grid-template-columns: 1fr;
        }

        .wp-block-heading {
            font-size: 1.2rem;
        }

        .post-author {
            margin-left: 0px;
        }
    }

    .widget.about-event .cta-container {
        text-align: center;
        margin-top: 20px;
    }
}