/* style/user-stories.css */
.page-user-stories {
    font-family: 'Arial', sans-serif;
    color: #0A2463; /* Main text color, dark blue */
    line-height: 1.6;
    background-color: #f9f9f9;
}

.page-user-stories__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-user-stories__hero-section {
    background: linear-gradient(135deg, #0A2463 0%, #0A2463 60%, #E3B505 100%);
    color: #FFFFFF;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.page-user-stories__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 L 0 10" fill="none" stroke="%231a3d8c" stroke-width="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" opacity="0.1"/></svg>');
    z-index: 0;
}

.page-user-stories__hero-content {
    position: relative;
    z-index: 1;
    flex: 1;
    padding-left: 50px;
}

.page-user-stories__hero-image-wrapper {
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
    padding-right: 50px;
}

.page-user-stories__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-user-stories__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #E3B505;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-user-stories__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-user-stories__hero-cta,
.page-user-stories__button {
    display: inline-block;
    background-color: #E3B505; /* Auxiliary color */
    color: #0A2463; /* Main color for text */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-user-stories__hero-cta:hover,
.page-user-stories__button:hover {
    background-color: #f5db9c; /* Lighter shade for hover */
    transform: translateY(-3px);
}

.page-user-stories__section-title {
    font-size: 2.5em;
    color: #0A2463; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    position: relative;
}

.page-user-stories__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #E3B505; /* Auxiliary color */
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-user-stories__introduction,
.page-user-stories__common-themes,
.page-user-stories__call-to-action,
.page-user-stories__more-stories,
.page-user-stories__faq {
    padding: 40px 0;
}

.page-user-stories__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #333333;
}

.page-user-stories__featured-stories {
    background-color: #f0f5fa;
    padding: 60px 0;
}

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

.page-user-stories__story-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-user-stories__story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-user-stories__story-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.page-user-stories__story-title {
    font-size: 1.6em;
    color: #0A2463;
    margin: 20px 20px 10px;
    font-weight: bold;
}

.page-user-stories__story-excerpt {
    font-size: 0.95em;
    color: #555555;
    padding: 0 20px;
    flex-grow: 1;
}

.page-user-stories__read-more {
    display: inline-block;
    background-color: #0A2463; /* Main color */
    color: #E3B505; /* Auxiliary color for text */
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    margin: 20px;
    transition: background-color 0.3s ease;
}

.page-user-stories__read-more:hover {
    background-color: #1a3d8c; /* Slightly darker main color */
}

.page-user-stories__list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.page-user-stories__list li {
    background-color: #FFFFFF;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #E3B505; /* Auxiliary color highlight */
    font-size: 1.1em;
    color: #333333;
}

.page-user-stories__list li strong {
    color: #0A2463;
}

.page-user-stories__cta-buttons {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-user-stories__button--primary {
    background-color: #E3B505;
    color: #0A2463;
}

.page-user-stories__button--primary:hover {
    background-color: #f5db9c;
}

.page-user-stories__button--secondary {
    background-color: #0A2463;
    color: #E3B505;
}

.page-user-stories__button--secondary:hover {
    background-color: #1a3d8c;
}

.page-user-stories__responsible-gaming-note {
    text-align: center;
    font-size: 0.9em;
    color: #777777;
    margin-top: 30px;
}

.page-user-stories__story-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-user-stories__list-item {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 25px;
    border-left: 6px solid #0A2463;
    transition: transform 0.2s ease;
}

.page-user-stories__list-item:hover {
    transform: translateX(5px);
}

.page-user-stories__list-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #0A2463;
}

.page-user-stories__list-title a {
    color: #0A2463;
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-user-stories__list-title a:hover {
    color: #E3B505;
}

.page-user-stories__list-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 15px;
}

.page-user-stories__list-button {
    display: inline-block;
    background-color: #E3B505;
    color: #0A2463;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.page-user-stories__list-button:hover {
    background-color: #f5db9c;
}

.page-user-stories__faq-item {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    padding: 20px 25px;
    border-left: 4px solid #E3B505;
}

.page-user-stories__faq-question {
    font-size: 1.3em;
    color: #0A2463;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-user-stories__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #E3B505;
    transition: transform 0.3s ease;
}

.page-user-stories__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-user-stories__faq-answer {
    font-size: 1em;
    color: #555555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
    padding-top: 0;
}

.page-user-stories__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    opacity: 1;
    padding-top: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-user-stories__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }

    .page-user-stories__hero-content,
    .page-user-stories__hero-image-wrapper {
        padding: 0;
    }

    .page-user-stories__hero-title {
        font-size: 2.8em;
    }

    .page-user-stories__hero-subtitle {
        font-size: 1.2em;
    }

    .page-user-stories__story-grid {
        grid-template-columns: 1fr;
    }

    .page-user-stories__section-title {
        font-size: 2em;
    }

    .page-user-stories__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-user-stories__button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .page-user-stories__hero-title {
        font-size: 2.2em;
    }

    .page-user-stories__hero-subtitle {
        font-size: 1em;
    }

    .page-user-stories__section-title {
        font-size: 1.8em;
    }

    .page-user-stories__story-title {
        font-size: 1.4em;
    }

    .page-user-stories__text-block,
    .page-user-stories__list li,
    .page-user-stories__story-excerpt,
    .page-user-stories__list-description,
    .page-user-stories__faq-answer {
        font-size: 0.95em;
    }

    .page-user-stories__list-title {
        font-size: 1.3em;
    }

    .page-user-stories__faq-question {
        font-size: 1.1em;
    }
}