/* 
* ИнвестПросто - Основной CSS стиль
* Версия: 1.0
* Автор: Команда ИнвестПросто
* Год: 2024
*/

/* ======== Основные настройки и сброс ======== */
:root {
    --primary-color: #2a6cc2;
    --secondary-color: #19365a;
    --accent-color: #f7b733;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #f0f3f7;
    --border-color: #e5e5e5;
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --error-color: #e53e3e;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

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

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

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ======== Типографика ======== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

/* ======== Кнопки ======== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* ======== Шапка (Header) ======== */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 15px;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

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

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

nav a.active {
    color: var(--primary-color);
}

/* ======== Главный раздел (Hero) ======== */
.hero {
    background-image: linear-gradient(rgba(26, 55, 94, 0.8), rgba(26, 55, 94, 0.8)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 60px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

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

/* ======== Раздел заголовка страницы ======== */
.page-header {
    background-color: var(--bg-dark);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

/* ======== Сетка постов ======== */
.posts {
    padding: 60px 0;
}

.posts h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

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

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

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 3.5em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.post-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    height: 4.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* ======== Терминология ======== */
.terminology {
    background-color: var(--bg-light);
    padding: 60px 0;
    margin-bottom: 60px;
}

.terminology h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.term-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.term-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.term-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ======== Секция "Задать вопрос" ======== */
.ask-question {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.ask-question h2 {
    color: white;
    margin-bottom: 20px;
}

.ask-question p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ask-question .btn {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

.ask-question .btn:hover {
    background-color: white;
}

/* ======== Footer ======== */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 10px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-links h4, .footer-contact h4, .footer-social h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h4:after, .footer-contact h4:after, .footer-social h4:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact .icon {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    color: var(--accent-color);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

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

.social-icons-small {
    display: flex;
    gap: 10px;
}

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

.social-icons-small a {
    width: 32px;
    height: 32px;
}

.social-icons a:hover, .social-icons-small a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

.social-icons svg, .social-icons-small svg {
    width: 20px;
    height: 20px;
    color: white;
}

.social-icons-small svg {
    width: 16px;
    height: 16px;
}

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

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* ======== Модальные окна ======== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1100;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
}

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

/* ======== Формы ======== */
.form-group {
    margin-bottom: 20px;
}

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

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(42, 108, 194, 0.2);
}

/* ======== Cookie уведомление ======== */
.cookie-notice {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 20px;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-content p {
    margin-bottom: 0;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-content a {
    font-size: 0.9rem;
    text-decoration: underline;
}

/* ======== Секция "О нас" ======== */
.about-mission {
    padding: 60px 0;
    margin-bottom: 40px;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.mission-text h2 {
    margin-bottom: 25px;
}

.mission-text p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.mission-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-values {
    background-color: var(--bg-light);
    padding: 60px 0;
    margin-bottom: 60px;
}

.about-values h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

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

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

.value-card .icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    color: var(--primary-color);
}

.value-card h3 {
    margin-bottom: 15px;
}

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

.team {
    padding: 60px 0;
}

.team h2 {
    text-align: center;
    margin-bottom: 20px;
}

.team-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-light);
    font-size: 1.1rem;
}

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

.team-member {
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
    object-fit: cover;
}

.team-member h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.team-member p:nth-of-type(1) {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-member p:nth-of-type(2) {
    color: var(--text-light);
    margin-bottom: 20px;
}

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

.team-member .social-icons a {
    background-color: var(--bg-light);
}

.team-member .social-icons svg {
    color: var(--primary-color);
}

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

.team-member .social-icons a:hover svg {
    color: white;
}

/* ======== Контактная информация ======== */
.contact-info {
    padding: 60px 0;
}

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

.contact-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(42, 108, 194, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary-color);
}

.contact-card h3 {
    margin-bottom: 15px;
}

.contact-card p, .contact-card a {
    color: var(--text-light);
    transition: var(--transition);
    margin-bottom: 0;
}

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

.contact-form {
    padding: 60px 0;
    background-color: var(--bg-light);
    margin-bottom: 60px;
}

.form-map-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form-container h2 {
    margin-bottom: 20px;
}

.contact-form-container p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* ======== FAQ ======== */
.faq {
    padding-bottom: 60px;
}

.faq h2 {
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 20px 0;
}

.faq-question h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
    flex-grow: 1;
    padding-right: 20px;
}

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

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

.faq-answer p {
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ======== Страница поста ======== */
.post-content {
    padding: 60px 0;
}

.post-content .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.post-meta span {
    display: flex;
    align-items: center;
}

.post-featured-image {
    width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
}

.post-body {
    line-height: 1.8;
}

.post-body h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
}

.post-body h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.post-body ul, .post-body ol {
    margin-bottom: 30px;
    padding-left: 20px;
}

.post-body ul li, .post-body ol li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.post-body ul li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.post-body ol {
    list-style-type: decimal;
}

.info-box {
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 20px 25px;
    margin: 30px 0;
}

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

.info-box p, .info-box ul {
    margin-bottom: 0;
}

.post-footer {
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.post-tags span {
    font-weight: 600;
}

.tag {
    display: inline-block;
    background-color: var(--bg-light);
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 0.85rem;
    transition: var(--transition);
}

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

.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-share span {
    font-weight: 600;
}

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

.post-share svg {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
    transition: var(--transition);
}

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

.post-share a:hover svg {
    color: white;
}

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

.related-posts h3 {
    margin-bottom: 30px;
}

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

.related-post {
    display: block;
    transition: var(--transition);
}

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

.related-post img {
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-post h4 {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 0;
    color: var(--text-color);
    transition: var(--transition);
}

.related-post:hover h4 {
    color: var(--primary-color);
}

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

.sidebar-widget {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 25px;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

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

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

.sidebar-posts a {
    font-size: 0.95rem;
    line-height: 1.4;
    display: block;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-posts a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.subscribe-form input {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.subscribe-form input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(42, 108, 194, 0.2);
}

.sidebar-widget p {
    margin-bottom: 15px;
}

/* ======== Адаптивность ======== */
@media (max-width: 992px) {
    .post-content .container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .form-map-container {
        grid-template-columns: 1fr;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-footer {
        flex-direction: column;
    }
    
    header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        gap: 15px;
        justify-content: center;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .posts-grid, .team-grid, .terms-grid, .values-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-notice {
        left: 10px;
        right: 10px;
        padding: 15px;
    }
    
    .cookie-content {
        gap: 10px;
    }
}

/* Печать */
@media print {
    header, footer, .sidebar, .ask-question, .related-posts, .cookie-notice, .post-share, .post-tags {
        display: none !important;
    }
    
    .post-content .container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    a {
        text-decoration: underline;
        color: black;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        color: black;
    }
    
    p, ul, ol {
        page-break-inside: avoid;
    }
    
    img {
        max-width: 100% !important;
    }
}
