body {
    background-color: white;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.6em;
    color: #575757;
}

html, body {
    height: 100%;
    margin: 0;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.site-content {
    flex: 1; /* занимает всё доступное пространство */
}

/*-------------------------------------------------
    [ ## Heading ]
*/
h1, h2, h3, h4, h5, h6 {
    clear: both;
    font-family: "Roboto Slab", serif;
    line-height: 1.25em;
    color: #232323;
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
}

h1 { font-size: 2.441em; }
h2 { font-size: 1.953em; }
h3 { font-size: 1.563em; }
h4 { font-size: 1.25em; }
h5 { font-size: 1em; }
h6 { font-size: 0.8em; }

h1 a, h2 a, h3 a, h4 a, h5 a,
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover {
    color: inherit;
    text-decoration: none;
}

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

/* Дополнительно — ссылки меню */
.site-header nav a,
.logo-text,
.footer-content,
.author-info #author-details .author-name {
    font-family: "Roboto Slab", serif;
}

.site-header nav a { font-size: 15px; }

/*-------------------------------------------------
    [ ## Sections ]
*/
.hero-section {
    background: linear-gradient(135deg, #4a90e2, #50e3c2);
    padding: 120px 20px;
}

.features-section,
.pricing-section,
.testimonials-section {
    padding: 80px 0;
}

.cta-section {
    background: linear-gradient(135deg, #50e3c2, #4a90e2);
    padding: 80px 20px;
}

.footer-section { border-top: 1px solid #e0e0e0; }

/*-------------------------------------------------
    [ ## Cards ]
*/
.card,
.card-quiz {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card-quiz {
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
    padding: 30px 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
}

.question-card { cursor: pointer; }

/*-------------------------------------------------
    [ ## Form Validation ]
*/
.help-block {
    color: #d9534f;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.help-block.alert {
    background-color: #f8d7da;
    padding: 0.3rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #f5c6cb;
    display: inline-block;
}

/*-------------------------------------------------
    [ ## Quiz Form ]
*/
#cardform-answer_id {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.radio-wrapper {
    flex: 0 0 48%;
    box-sizing: border-box;
}

.radio-card {
    display: block;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    text-align: center;
}

.radio-card:hover {
    border-color: #3498db;
    background-color: #f0faff;
}

.radio-card input[type="radio"] { display: none; }

.radio-card .radio-content {
    font-size: 18px;
    color: #2c3e50;
    padding: 10px 15px;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.radio-card input[type="radio"]:checked + .radio-content {
    font-weight: bold;
    color: #fff;
    background-color: #3498db;
}

.form-group {
    margin-top: 30px;
    text-align: center;
}

/*-------------------------------------------------
    [ ## Responsive ]
*/
@media (max-width: 767px) {
    .card-quiz {
        max-width: 100%;
        margin: 20px 10px;
        padding: 20px;
    }

    .radio-wrapper { flex: 0 0 48%; }
}

/* Footer START */
:root {
    --primary-color: #50e3c2;
    --text-color: #d1d5db;
    --bg-dark: #0f1117;
    --bg-dark-accent: #111827;
    --footer-shadow: rgba(0,0,0,0.3);
}

.site-footer {
    position: relative;
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-dark-accent) 80%);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    padding: 60px 20px 30px;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("https://www.transparenttextures.com/patterns/asfalt-light.png");
    opacity: 0.1;
    pointer-events: none;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 25px;
    margin-bottom: 25px;
}

/* Логотип */
.footer-logo a {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-logo a:hover { color: var(--primary-color); }

/* Горизонтальное меню */
.footer-nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}
.footer-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}
.footer-nav a:hover { color: var(--primary-color); }
.footer-nav a:hover::after { width: 100%; }

/* Соцсети */
.footer-social {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}
.footer-social a {
    color: var(--text-color);
    font-size: 1.4rem;
    transition: all 0.3s ease;
}
.footer-social a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
    text-shadow: 0 0 8px var(--primary-color);
}

.footer-bottom {
    text-align: center;
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-social { justify-content: center; }
}
/* Footer END */

/*--------------------------------------------------------------
## Blog Single
--------------------------------------------------------------*/
.entry-title {
    font-size: 50px;
    line-height: 1.1;
    margin-bottom: 15px;
}

.post.single-post .entry-title {
    font-size: 60px;
    line-height: 1.05em;
    margin-bottom: 30px;
}

/* Базовые стили для single post */
.post.single-post {
    margin-bottom: 0;
    background-color: transparent;
    box-shadow: none;
    text-align: left;
    font-family: var(--font-sans, 'Inter', sans-serif);
}

.post.single-post p {
    margin-bottom: 30px;
    line-height: 1.8;
}
.post.single-post p:last-child { margin-bottom: 0; }

.post.single-post ul,
.post.single-post ol { padding-left: 20px; }

.post.single-post li {
    margin-top: 10px;
    line-height: 1.6;
}

.post.single-post table { margin-bottom: 30px; }

.post.single-post .post-thumb { position: relative; }
.post.single-post .post-thumb img { min-height: auto; }

/* Entry header */
.post.single-post .entry-header {
    text-align: center;
    padding: 15px 0;
}
.post.single-post .entry-meta-content,
.post.single-post .entry-category > a {
    font-family: "Barlow", sans-serif;
    color: #676767;
}

.post.single-post .entry-category {
    margin-bottom: 25px;
}
.post.single-post .entry-category > a {
    text-decoration: none;
    font-weight: 500;
}
.post.single-post .entry-category > a:hover { color: #c5305c; }

/* Entry footer */
.post.single-post .entry-footer {
    display: flex;
    justify-content: center;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    margin-top: 40px;
    padding: 15px 0;
}

/* Single Post Two Specific */
.post.single-post.single-post-two .entry-header {
    padding-top: 35px;
    padding-bottom: 30px;
}

/* [ ## Post Author ] */
.author-info {
    padding: 35px 50px;
    text-align: center;
}
@media only screen and (max-width: 1199px) {
    .author-info { padding: 35px 0; }
}
.author-info #author-img { width: 75px; margin: 0 auto; }
.author-info .at-img { margin-bottom: 10px; }
.author-info .at-img > img {
    border-radius: 50%;
    height: 75px;
    width: 75px;
}
.author-info #author-details { position: relative; }
.author-info #author-details .author-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #232323;
}
@media only screen and (max-width: 767px) {
    .author-info #author-details .author-name {
        font-size: 18px;
        margin-bottom: 10px;
    }
}
.author-info #author-details .authors-bio { font-size: 15px; }
.author-info #author-details .authors-bio > p { line-height: 1.8em; }

.logo-text {
    font-family: "Roboto Slab", serif;
}


.post.post-grid-style .entry-title {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.35em;
}
@media only screen and (max-width: 1199px) {
    .post.post-grid-style .entry-title {
        font-size: 22px;
    }
}
@media only screen and (max-width: 991px) {
    .post.post-grid-style .entry-title {
        margin-bottom: 10px;
    }
}
@media only screen and (max-width: 767px) {
    .post.post-grid-style .entry-title {
        font-size: 20px;
    }
}
@media only screen and (max-width: 420px) {
    .post.post-grid-style .entry-title {
        font-size: 18px;
    }
}

.post .entry-user {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.post .entry-user .thumb {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
}
.post .entry-user .info {
    padding-left: 10px;
    text-align: left;
}
.post .entry-user .author-name {
    font-weight: 700;
    color: #232323;
    margin-bottom: 0;
    font-size: 15px;
}
@media only screen and (max-width: 767px) {
    .post .entry-user .author-name {
        font-size: 14px;
    }
}
.post .entry-user .author-name a:hover {
    color: #c5305c;
}
.post .entry-user .entry-date {
    font-size: 14px;
    margin-top: -2px;
    color: #676767;
    font-weight: normal;
}
@media only screen and (max-width: 767px) {
    .post .entry-user .entry-date {
        font-size: 13px;
    }
}
.post .entry-thumb {
    margin-bottom: 25px;
}
@media only screen and (max-width: 575px) {
    .post .entry-thumb {
        margin-bottom: 20px;
    }
}
.post .thumb-wrap {
    position: relative;
    margin-bottom: 0;
}
.post .thumb-wrap > a {
    display: block;
}
.post .thumb-wrap img {
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}
.post .thumb-wrap:hover img {
    opacity: 0.9;
}
.post .content-entry-wrap .entry-category {
    margin-bottom: 8px;
}
.post .content-entry-wrap .entry-meta-content {
    margin-bottom: 20px;
}
@media only screen and (max-width: 767px) {
    .post .content-entry-wrap .entry-meta-content {
        margin-bottom: 15px;
    }
}
.post .content-entry-wrap .entry-summary {
    font-size: 16px;
    margin-bottom: 15px;
}
@media only screen and (max-width: 767px) {
    .post .content-entry-wrap .entry-summary {
        font-size: 15px;
    }
}
.post .content-entry-wrap .entry-summary > p {
    line-height: 1.65;
}

.post.single-post .post-details {
    padding-left: 160px;
    padding-right: 160px;
    padding-top: 25px;
    position: relative;
}
@media only screen and (max-width: 1199px) {
    .post.single-post .post-details {
        padding-top: 10px;
        padding-left: 80px;
        padding-right: 80px;
    }
}
@media only screen and (max-width: 991px) {
    .post.single-post .post-details {
        padding-top: 5px;
        padding-left: 0;
        padding-right: 0;
    }
}
@media only screen and (max-width: 575px) {
    .post.single-post .post-details {
        padding-top: 0px;
    }
}
.post.single-post .social-network {
    position: absolute;
    z-index: 2;
    left: 10px;
    top: 20px;
}
@media only screen and (max-width: 1199px) {
    .post.single-post .social-network {
        top: 7px;
    }
}
@media only screen and (max-width: 991px) {
    .post.single-post .social-network {
        display: none;
    }
}
.post.single-post .social-network .social-share {
    list-style: none;
    margin-bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
}
.post.single-post .social-network .social-share > li {
    display: inline-block;
    margin-top: 12px;
}
.post.single-post .social-network .social-share > li a {
    font-size: 14px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e5e5e5;
    text-decoration: none;
    color: #575757;
}
.post.single-post .social-network .social-share > li a:hover {
    color: #c5305c;
}
.post.single-post .image-group {
    padding-top: 5px;
    padding-bottom: 10px;
}
@media only screen and (max-width: 767px) {
    .post.single-post .image-group {
        padding-top: 2px;
        padding-bottom: 0;
    }
}
.post.single-post .full-image {
    margin-left: -160px;
    margin-right: -160px;
    padding-top: 10px;
    padding-bottom: 10px;
}
@media only screen and (max-width: 1199px) {
    .post.single-post .full-image {
        margin-left: -80px;
        margin-right: -80px;
    }
}
@media only screen and (max-width: 991px) {
    .post.single-post .full-image {
        margin-left: 0px;
        margin-right: 0px;
    }
}
@media only screen and (max-width: 767px) {
    .post.single-post .full-image {
        padding-top: 3px;
        padding-bottom: 0px;
    }
}
.post.single-post .left-thumb {
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-right: 50px;
}
@media only screen and (max-width: 991px) {
    .post.single-post .left-thumb {
        padding-right: 0;
    }
}
@media only screen and (max-width: 767px) {
    .post.single-post .left-thumb {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}
.post.single-post .left-thumb img {
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
@media only screen and (max-width: 767px) {
    .post.single-post .left-thumb img {
        margin-right: 0 !important;
        margin-bottom: 25px;
    }
}
.post.single-post iframe {
    border: 0px solid;
}
.post.single-post figure {
    margin-bottom: 25px;
}
.post.single-post figure span {
    color: #979797;
    font-size: 12px;
    display: block;
    padding: 13px 0 25px;
}
.post.single-post .responsive-video {
    margin-bottom: 20px;
    margin-top: 35px;
}
.post.single-post .responsive-video .fluid-width-video-wrapper {
    position: absolute;
    top: 0;
}
.post.single-post blockquote {
    overflow: hidden;
    padding: 45px 55px 42px;
    color: #3c3c3c;
    background-color: #f8f8f8;
    margin-top: 70px;
    margin-bottom: 40px;
    position: relative;
    font-family: "Roboto Slab", serif;
    margin-left: -30px;
    margin-right: -30px;
}
@media only screen and (max-width: 991px) {
    .post.single-post blockquote {
        margin-left: 0;
        margin-right: 0;
    }
}
@media only screen and (max-width: 767px) {
    .post.single-post blockquote {
        padding: 30px 30px 33px;
        margin-top: 40px;
    }
}
@media only screen and (max-width: 575px) {
    .post.single-post blockquote {
        padding: 25px 20px 27px;
    }
}
.post.single-post blockquote .quote {
    position: absolute;
    top: 40px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
.post.single-post blockquote .name {
    font-size: 15px;
    font-weight: 700;
    color: #3c3c3c;
    margin-top: 25px;
    margin-bottom: 0;
    position: relative;
    padding-left: 75px;
}
.post.single-post blockquote .name:before {
    position: absolute;
    content: "";
    left: 0;
    top: 50%;
    width: 55px;
    height: 1px;
    background-color: black;
}
.post.single-post blockquote img {
    margin-bottom: 25px;
    border-radius: 0px;
}
.post.single-post blockquote p {
    margin-bottom: 10px;
    position: relative;
    font-size: 20px;
    font-weight: normal;
    line-height: 1.8em;
}
@media only screen and (max-width: 767px) {
    .post.single-post blockquote p {
        font-size: 18px;
    }
}
@media only screen and (max-width: 575px) {
    .post.single-post blockquote p {
        font-size: 16px;
    }
}
.post.single-post blockquote p:last-child {
    margin-bottom: 0;
}
.post.single-post blockquote p cite {
    margin-left: 0;
    padding-left: 0;
}
.post.single-post blockquote cite, .post.single-post blockquote a, .post.single-post blockquote span {
    padding: 0 1.2em;
    font-size: 0.8em;
    font-weight: 500;
    font-style: normal;
    position: relative;
}
.post.single-post blockquote span {
    font-weight: 600;
}
.post.single-post blockquote cite {
    display: block;
}
.post.single-post blockquote cite:before {
    content: "--";
    padding-right: 5px;
}

