/*
Theme Name: Booktoan Pro
Theme URI: https://booktoan.com/
Description: Theme con hiện đại cho booktoan.com - powered by Genesis Framework. Thiết kế mượt mà, glassmorphism, animations kiểu React/Astro.
Author: Booktoan
Author URI: https://booktoan.com/

Version: 1.3

Tags: one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-logo, custom-menu, e-commerce, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, accessibility-ready

Template: genesis

License: GPL-2.0-or-later
License URI: http://www.opensource.org/licenses/gpl-license.php

Text Domain: magazine-pro
Requires at least: 5.4
Requires PHP: 5.6
*/

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

main {
    display: block
}

h1 {
    font-size: 2em;
    margin: .67em 0
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible
}

pre {
    font-family: monospace, monospace;
    font-size: 1em
}

a {
    background-color: transparent
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted
}

b,
strong {
    font-weight: bolder
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

img {
    border-style: none
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1;
    margin: 0
}

button,
input {
    overflow: visible
}

button,
select {
    text-transform: none
}

[type=button],
[type=reset],
[type=submit],
button {
    -webkit-appearance: button
}

[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner,
button::-moz-focus-inner {
    border-style: none;
    padding: 0
}

[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring,
button:-moz-focusring {
    outline: 1px dotted ButtonText
}

fieldset {
    padding: .35em .75em .625em
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal
}

progress {
    vertical-align: baseline
}

textarea {
    overflow: auto
}

[type=checkbox],
[type=radio] {
    box-sizing: border-box;
    padding: 0
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

details {
    display: block
}

summary {
    display: list-item
}

[hidden],
template {
    display: none
}

html,
input[type="search"] {
    box-sizing: border-box
}

*,
::before,
::after {
    box-sizing: inherit
}

.author-box::before,
.clearfix::before,
.entry::before,
.entry-content::before,
.footer-widgets::before,
.nav-primary::before,
.nav-secondary::before,
.pagination::before,
.site-container::before,
.site-footer::before,
.site-header::before,
.site-inner::before,
.widget::before,
.wrap::before {
    content: " ";
    display: table
}

.author-box::after,
.clearfix::after,
.entry::after,
.entry-content::after,
.footer-widgets::after,
.nav-primary::after,
.nav-secondary::after,
.pagination::after,
.site-container::after,
.site-footer::after,
.site-header::after,
.site-inner::after,
.widget::after,
.wrap::after {
    clear: both;
    content: " ";
    display: table
}

body {
    background-color: #fdf2f8;
    color: #111111;
    font-family: 'Be Vietnam Pro', 'STIX Two Text', 'Times New Roman', serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.85;
    overflow-x: hidden
}

body.magazine-landing {
    background-color: #222
}

a,
button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus,
.button {
    transition: all .1s ease-in-out
}

::selection {
    background-color: #222;
    color: #fff;
    text-shadow: none
}

a {
    background-color: inherit;
    color: #1565C0;
    font-weight: 400;
    text-decoration: none
}

a:focus,
a:hover {
    color: #0D47A1
}

p {
    margin: 0 0 24px;
    padding: 0
}

strong {
    font-weight: 700
}

ol,
ul {
    margin: 0;
    padding: 0
}

mark {
    background-color: #ddd;
    color: #000
}

blockquote,
blockquote::before {
    color: #9900ff
}

blockquote {
    margin: 40px
}

cite {
    font-style: normal
}

hr {
    border: 0;
    border-collapse: collapse;
    border-bottom: 2px solid currentColor;
    clear: left;
    color: #eee;
    margin: 1.65em 0
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Be Vietnam Pro', sans-serif;
    color: #111111;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 16px
}

h1 {
    font-size: 36px
}

h2 {
    font-size: 30px
}

h3 {
    font-size: 24px
}

h4 {
    font-size: 20px
}

h5 {
    font-size: 18px
}

h6 {
    font-size: 16px
}

embed,
iframe,
img,
object,
video,
.wp-caption {
    max-width: 100%
}

img {
    height: auto
}

figure {
    margin: 0
}

.gallery {
    overflow: hidden;
    margin-bottom: 28px
}

.gallery-item {
    float: left;
    margin: 0;
    padding: 0 4px;
    text-align: center;
    width: 100%
}

.gallery-columns-2 .gallery-item {
    width: 50%
}

.gallery-columns-3 .gallery-item {
    width: 33%
}

.gallery-columns-4 .gallery-item {
    width: 25%
}

.gallery-columns-5 .gallery-item {
    width: 20%
}

.gallery-columns-6 .gallery-item {
    width: 16.6666%
}

.gallery-columns-7 .gallery-item {
    width: 14.2857%
}

.gallery-columns-8 .gallery-item {
    width: 12.5%
}

.gallery-columns-9 .gallery-item {
    width: 11.1111%
}

.gallery-columns-2 .gallery-item:nth-child(2n+1),
.gallery-columns-3 .gallery-item:nth-child(3n+1),
.gallery-columns-4 .gallery-item:nth-child(4n+1),
.gallery-columns-5 .gallery-item:nth-child(5n+1),
.gallery-columns-6 .gallery-item:nth-child(6n+1),
.gallery-columns-7 .gallery-item:nth-child(7n+1),
.gallery-columns-8 .gallery-item:nth-child(8n+1),
.gallery-columns-9 .gallery-item:nth-child(9n+1) {
    clear: left
}

.gallery .gallery-item img {
    border: 0;
    height: auto;
    margin: 0
}

input,
select,
textarea {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #222;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: 300;
    padding: 16px;
    width: 100%
}

input:focus,
textarea:focus {
    border: 1px solid #888;
    outline: none
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
    width: auto
}

::-ms-input-placeholder {
    color: #222;
    font-family: sans-serif;
    opacity: 1
}

:-ms-input-placeholder {
    color: #222;
    font-family: sans-serif;
    opacity: 1
}

::placeholder {
    color: #222;
    font-family: sans-serif;
    opacity: 1
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.entry-content .button,
.sidebar button,
.sidebar input[type="button"],
.sidebar input[type="reset"],
.sidebar input[type="submit"],
.sidebar .widget a.button,
.site-container div.wpforms-container-full .wpforms-form input[type="submit"],
.site-container div.wpforms-container-full .wpforms-form button[type="submit"] {
    background-color: #222;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-family: sans-serif;
    padding: 16px 24px;
    text-transform: uppercase;
    white-space: normal;
    width: auto
}

button:focus,
button:hover,
input[type="button"]:focus,
input[type="button"]:hover,
input[type="reset"]:focus,
input[type="reset"]:hover,
input[type="submit"]:focus,
input[type="submit"]:hover,
.button:focus,
.button:hover,
.entry-content .button:focus,
.entry-content .button:hover,
.sidebar .widget a.button:focus,
.sidebar .widget a.button:hover,
.site-container div.wpforms-container-full .wpforms-form input[type="submit"]:focus,
.site-container div.wpforms-container-full .wpforms-form input[type="submit"]:hover,
.site-container div.wpforms-container-full .wpforms-form button[type="submit"]:focus,
.site-container div.wpforms-container-full .wpforms-form button[type="submit"]:hover {
    color: #fff;
    background-color: #008285;
    border: 0
}

button.small,
input[type="button"].small,
input[type="reset"].small,
input[type="submit"].small,
.button.small {
    padding: 8px 12px
}

.entry-content .button:focus,
.entry-content .button:hover {
    color: #fff
}

.button {
    display: inline-block
}

.site-container button:disabled,
.site-container button:disabled:hover,
.site-container input:disabled,
.site-container input:disabled:hover,
.site-container input[type="button"]:disabled,
.site-container input[type="button"]:disabled:hover,
.site-container input[type="reset"]:disabled,
.site-container input[type="reset"]:disabled:hover,
.site-container input[type="submit"]:disabled,
.site-container input[type="submit"]:disabled:hover {
    background-color: #ddd;
    border: 0;
    color: #565656;
    cursor: not-allowed
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button {
    display: none
}

.error404 .entry-content input[type="search"],
.post-password-form input[type="password"] {
    margin-bottom: 15px
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 40px;
    width: 100%;
    word-break: break-all
}

tbody {
    border-bottom: 1px solid #eee
}

td,
th {
    line-height: 2;
    text-align: left;
    vertical-align: top
}

td {
    padding: .5em
}

tr {
    border-top: 1px solid #eee
}

th {
    font-weight: 600;
    padding: .5em
}

.screen-reader-shortcut,
.screen-reader-text,
.screen-reader-text span {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important
}

.genesis-nav-menu .search input[type="submit"]:focus,
.screen-reader-shortcut:focus,
.screen-reader-text:focus,
.widget_search input[type="submit"]:focus {
    background: #fff;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #333;
    display: block;
    font-size: 1em;
    font-weight: 500;
    height: auto;
    padding: 15px 23px 14px;
    text-decoration: none;
    width: auto;
    z-index: 100000
}

.more-link {
    position: relative
}

.site-inner,
.wrap {
    margin: 0 auto;
    max-width: 1140px
}

.site-inner {
    clear: both;
    padding-top: 40px
}

.magazine-landing .site-inner {
    padding-bottom: 40px
}

.content-sidebar-sidebar .content-sidebar-wrap,
.sidebar-content-sidebar .content-sidebar-wrap,
.sidebar-sidebar-content .content-sidebar-wrap {
    width: 930px
}

.content-sidebar-sidebar .content-sidebar-wrap {
    float: left
}

.sidebar-content-sidebar .content-sidebar-wrap,
.sidebar-sidebar-content .content-sidebar-wrap {
    float: right
}

.content {
    float: right;
    width: 750px
}

.magazine-landing.full-width-content .content {
    float: none;
    margin: 0 auto;
    max-width: 800px
}

.magazine-landing .content {
    background-color: #fff;
    padding: 50px 60px 24px
}

.content-sidebar .content,
.content-sidebar-sidebar .content,
.sidebar-content-sidebar .content {
    float: left
}

.content-sidebar-sidebar .content,
.sidebar-content-sidebar .content,
.sidebar-sidebar-content .content {
    width: 540px
}

.full-width-content .content {
    width: 100%
}

.sidebar-primary {
    float: right;
    width: 360px
}

.sidebar-content .sidebar-primary,
.sidebar-sidebar-content .sidebar-primary {
    float: left
}

.sidebar-secondary {
    float: left;
    width: 180px
}

.content-sidebar-sidebar .sidebar-secondary {
    float: right
}

.five-sixths,
.four-sixths,
.one-fourth,
.one-half,
.one-sixth,
.one-third,
.three-fourths,
.three-sixths,
.two-fourths,
.two-sixths,
.two-thirds {
    float: left;
    margin-left: 2.5641025641026%
}

.one-half,
.three-sixths,
.two-fourths {
    width: 48.717948717949%
}

.one-third,
.two-sixths {
    width: 31.623931623932%
}

.four-sixths,
.two-thirds {
    width: 65.811965811966%
}

.one-fourth {
    width: 23.076923076923%
}

.three-fourths {
    width: 74.358974358974%
}

.one-sixth {
    width: 14.529914529915%
}

.five-sixths {
    width: 82.905982905983%
}

.first {
    clear: both;
    margin-left: 0
}

.avatar {
    float: left
}

.alignleft .avatar {
    margin-right: 24px
}

.alignright .avatar {
    margin-left: 24px
}

.author-box .avatar {
    margin-right: 30px
}

.comment .avatar {
    margin: 0 16px 24px 0
}

a.aligncenter img {
    display: block;
    margin: 0 auto
}

img.centered,
.aligncenter,
.singular-image {
    display: block;
    margin: 0 auto 24px
}

img.alignnone {
    margin-bottom: 12px
}

.alignleft {
    float: left;
    text-align: left
}

.alignright {
    float: right;
    text-align: right
}

a.alignleft,
a.alignright {
    max-width: 100%
}

a.alignleft,
img.alignleft,
.wp-caption.alignleft {
    margin: 0 24px 24px 0
}

a.alignright,
img.alignright,
.wp-caption.alignright {
    margin: 0 0 24px 24px
}

figcaption,
.gallery-caption,
.entry-content .wp-caption-text {
    font-size: 16px;
    font-style: italic;
    margin-top: .5em;
    margin-bottom: 1em;
    text-align: center
}

.gallery-caption,
.entry-content .gallery-caption {
    margin: 0 0 10px
}

.widget_calendar table {
    width: 100%
}

.widget_calendar td,
.widget_calendar th {
    text-align: center
}

.wp-audio-shortcode,
.wp-playlist,
.wp-video {
    margin: 0 0 28px
}

.breadcrumb {
    border-bottom: 1px dotted #888;
    margin-bottom: 40px;
    padding-bottom: 10px
}

.archive-description,
.author-box {
    margin-bottom: 50px;
    padding: 40px
}

.archive-description,
.author-box {
    background-color: #f5f5f5
}

.archive-description p:last-child,
.author-box p:last-child,
.search-results .archive-description h1 {
    margin-bottom: 0
}

.archive-title+p {
    margin-top: 24px
}

.author-box-title {
    color: #222;
    font-family: 'Times New Roman', sans-serif;
    font-size: 16px;
    margin-bottom: 4px
}

.author-box p {
    margin-bottom: 0
}

.search-form {
    overflow: hidden;
    position: relative
}

.entry-content .search-form {
    margin-bottom: 40px;
    width: 50%
}

.site-header .search-form {
    float: right;
    margin-top: 24px
}

.footer-widgets .search-form input {
    border: 0
}

.genesis-nav-menu .search-form input {
    background-color: #222;
    border: 1px solid #222;
    color: #fff;
    text-transform: uppercase;
    width: 180px
}

.genesis-nav-menu .search-form ::-moz-placeholder {
    color: #fff
}

.genesis-nav-menu .search-form ::-webkit-input-placeholder {
    color: #fff
}

.genesis-nav-menu .search-form input:focus {
    border: 1px solid #fff
}

.genesis-nav-menu .search input[type="submit"],
.widget_search input[type="submit"] {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    padding: 0;
    position: absolute;
    width: 1px
}

.widget_search input[type="submit"]:focus {
    border-left: 1px solid #ddd;
    box-shadow: none;
    padding: 14px 16px;
    right: 2px;
    top: 2px
}

.entry-title {
    font-size: 36px;
    line-height: 1
}

.entry-title a,
.sidebar .widget-title a {
    color: #222;
    font-weight: 500
}

.entry-title a:focus,
.entry-title a:hover {
    color: #008285
}

.widget-title {
    clear: both;
    font-size: 16px;
    margin-bottom: 24px;
    text-transform: uppercase
}

.sidebar .widget-title {
    background-color: #2F89C6;
    color: #fff;
    padding: 10px
}

.sidebar .enews .widget-title {
    background: none;
    padding: 0
}

.footer-widgets .widget-title {
    color: #fff
}

.magazine-landing .widget-title {
    background-color: #fff;
    color: #222
}

.archive-title {
    font-size: 20px;
    margin-bottom: 0
}

.widget,
.widget li {
    word-wrap: break-word
}

.widget li {
    list-style-type: none
}

.widget ol>li {
    list-style-position: inside;
    list-style-type: decimal;
    padding-left: 20px;
    text-indent: -20px
}

.widget li li {
    border: 0;
    margin: 0 0 0 30px;
    padding-bottom: 0
}

.widget ul>li:last-child {
    margin-bottom: 0
}

.widget .genesis-nav-menu li li {
    margin: 0;
    padding: 0
}

.featured-content {
    clear: both;
    overflow: hidden
}

.featured-content .entry {
    margin-bottom: 30px
}

.sidebar .featured-content .entry {
    border-bottom: 2px solid #eee
}

.sidebar .featured-content .entry:last-child {
    border-bottom: none
}

.sidebar .featured-content .entry:last-child {
    margin-bottom: 0
}

.featured-content .entry-title {
    border: 0;
    font-size: 24px;
    line-height: 1.2
}

.sidebar .featured-content .entry-title {
    font-size: 20px
}

.featured-content .entry-title a {
    border: 0
}

.featured-content a.alignnone {
    display: inline-block;
    margin-bottom: 20px;
    max-width: 100%
}

.featured-content .entry-header .entry-meta {
    margin-bottom: 10px
}

.featured-content ul {
    clear: both;
    margin-bottom: 30px
}

.featured-content li {
    list-style-type: none
}

.enews-widget input {
    margin-bottom: 16px
}

.enews-widget input[type="submit"] {
    margin: 0;
    width: 100%
}

.enews form+p {
    margin-top: 24px
}

.widget-area .enews-widget {
    background-color: #222;
    color: #aaa;
    padding: 40px
}

.widget-area .enews-widget .widget-title {
    color: #fff
}

.widget-area .enews-widget input:focus {
    border: 1px solid #ddd
}

.widget-area .enews-widget input[type="submit"] {
    background-color: #008285;
    color: #fff
}

.widget-area .enews-widget input:focus[type="submit"],
.widget-area .enews-widget input:hover[type="submit"] {
    background-color: #fff;
    color: #222
}

.magazine-landing .widget-area .enews-widget input:focus[type="submit"],
.magazine-landing .widget-area .enews-widget input:hover[type="submit"] {
    background-color: #222;
    color: #fff
}

.magazine-landing .widget-area .enews-widget {
    background-color: #fff;
    color: #222
}

.magazine-landing .widget-area .enews-widget .widget-title {
    color: #222
}

.latest-tweets ul li {
    margin-bottom: 16px
}

img#wpstats {
    display: none
}

.sidebar .simple-social-icons ul li {
    margin: 0 2px 4px !important
}

.entry-content .wpforms-container {
    margin-bottom: 40px
}

.entry-content .wpforms-form .wpforms-field {
    clear: both;
    margin: 20px 0;
    overflow: hidden
}

.site-container .wpforms-container .wpforms-form .wpforms-field input {
    border-radius: 0;
    height: auto;
    padding: 15px
}

.site-container .entry-content .wpforms-form .wpforms-field-label {
    font-weight: 600
}

.site-container .entry-content .wpforms-form .wpforms-field-sublabel {
    font-size: 14px;
    font-weight: 300
}

.entry-content .wpforms-form .wpforms-field-hp {
    display: none !important;
    left: -9000px !important;
    position: absolute !important
}

.site-container .entry-content .wpforms-form textarea {
    padding: 15px
}

.site-container .entry-content .wpforms-form textarea.wpforms-field-small {
    height: 120px
}

.site-container .entry-content .wpforms-form textarea.wpforms-field-medium {
    height: 200px
}

.site-container .entry-content .wpforms-form textarea.wpforms-field-large {
    height: 300px
}

.genesis-skip-link {
    margin: 0
}

.genesis-skip-link li {
    height: 0;
    width: 0;
    list-style: none
}

:focus {
    color: #333;
    outline: #ccc solid 1px
}

.primary-nav .site-header {
    padding-top: 40px
}

.site-header .wrap {
    padding: 20px 0
}

.title-area {
    float: left;
    padding-top: 30px
}

.wp-custom-logo .title-area {
    padding: 0;
    text-align: center
}

.wp-custom-logo .title-area img {
    width: auto
}

.site-title {
    font-family: sans-serif;
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0
}

.site-title a,
.site-title a:focus,
.site-title a:hover {
    color: #222;
    font-weight: 900
}

.site-description,
.wp-custom-logo .site-title {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important
}

.site-header .widget-area {
    float: right;
    text-align: right;
    width: auto
}

.site-header .widget-area p {
    margin-bottom: 0
}

.genesis-nav-menu {
    clear: both;
    color: #2F89C6;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    width: 100%
}

.genesis-nav-menu .menu-item {
    display: inline-block;
    text-align: left
}

.genesis-nav-menu a {
    border: 0;
    color: #222;
    display: block;
    padding: 25px 20px;
    position: relative
}

.genesis-nav-menu a:focus,
.genesis-nav-menu a:hover,
.genesis-nav-menu .current-menu-item>a,
.genesis-nav-menu .sub-menu .current-menu-item>a:focus,
.genesis-nav-menu .sub-menu .current-menu-item>a:hover {
    color: #008285
}

.genesis-nav-menu .sub-menu {
    left: -9999px;
    opacity: 0;
    position: absolute;
    transition: opacity .4s ease-in-out;
    width: 190px;
    z-index: 99
}

.genesis-nav-menu .sub-menu a {
    background-color: #ddd;
    border: 1px solid #222;
    border-top: none;
    font-size: 12px;
    padding: 20px;
    position: relative;
    text-transform: none;
    width: 190px
}

.genesis-nav-menu .sub-menu .sub-menu {
    margin: -53px 0 0 189px
}

.genesis-nav-menu .menu-item:hover {
    position: static
}

.genesis-nav-menu .menu-item:hover>.sub-menu {
    left: auto;
    opacity: 1
}

.genesis-nav-menu>.first>a {
    padding-left: 0
}

.genesis-nav-menu>.last>a {
    padding-right: 0
}

.genesis-nav-menu>.right {
    float: right
}

.site-header .sub-menu {
    border-top: 1px solid #222
}

.site-header .sub-menu .sub-menu {
    margin-top: -54px
}

.nav-primary {
    background: linear-gradient(90deg, #0f2942 0%, #1358a8 55%, #1565C0 100%);
    color: #fff;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 0 rgba(56, 189, 248, .28), 0 4px 24px rgba(0, 0, 0, .38)
}

.admin-bar .nav-primary {
    top: 32px
}

/* ============================================================================
   MODERN MAIN NAV — PREMIUM DARK GRADIENT
   ============================================================================ */

/* Shimmer line top */
.nav-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #38bdf8 30%, #818cf8 65%, transparent 100%);
    opacity: .8;
    pointer-events: none;
}

/* All nav links — white text */
.nav-primary a {
    color: rgba(255, 255, 255, .9);
}

/* Top-level items */
.nav-primary .genesis-nav-menu>li>a {
    color: rgba(255, 255, 255, .9);
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .025em;
    padding: 0 18px;
    height: 58px;
    line-height: 58px;
    display: block;
    position: relative;
    border-radius: 6px;
    transition: color .2s ease, background .2s ease;
}

/* Pill hover */
.nav-primary .genesis-nav-menu>li>a:hover,
.nav-primary .genesis-nav-menu>li>a:focus {
    background: rgba(56, 189, 248, .16);
    color: #fff;
}

/* Hover / active text always white */
.nav-primary a:focus,
.nav-primary a:hover,
.nav-primary .genesis-nav-menu .current-menu-item>a {
    color: #fff;
}

/* Active / current page pill */
.nav-primary .genesis-nav-menu>li.current-menu-item>a,
.nav-primary .genesis-nav-menu>li.current-menu-ancestor>a {
    background: rgba(56, 189, 248, .22);
    color: #fff;
    font-weight: 700;
}

/* Glowing underline */
.nav-primary .genesis-nav-menu>li>a::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(56, 189, 248, .7);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .3s cubic-bezier(.25, .8, .25, 1);
}

.nav-primary .genesis-nav-menu>li:hover>a::after,
.nav-primary .genesis-nav-menu>li.current-menu-item>a::after,
.nav-primary .genesis-nav-menu>li.current-menu-ancestor>a::after {
    transform: scaleX(1);
    transform-origin: left center;
}

/* Click press */
.nav-primary .genesis-nav-menu>li>a:active {
    opacity: .85;
    transform: scale(.97);
}

/* No ::before pseudo (remove old book icon) */
.nav-primary .genesis-nav-menu>li>a::before {
    display: none;
}

/* ============================================================================
   SUB-MENU — DARK NAVY CARD
   ============================================================================ */
.nav-primary .genesis-nav-menu .sub-menu {
    background: #0e2540;
    border: 1px solid rgba(56, 189, 248, .2);
    border-radius: 10px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .04);
    overflow: hidden;
    padding: 0;
    margin-top: 4px;
}

.site-header .nav-primary .genesis-nav-menu .sub-menu {
    border-top: none;
}

.nav-primary .genesis-nav-menu .sub-menu a {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .82);
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 13px;
    font-weight: 400;
    padding: 11px 20px;
    display: block;
    width: 210px;
    line-height: 1.45;
    height: auto;
    transition: background .18s ease, color .18s ease, padding-left .18s ease;
}

.nav-primary .genesis-nav-menu .sub-menu>li:last-child>a {
    border-bottom: none;
}

.nav-primary .sub-menu a:focus,
.nav-primary .sub-menu a:hover,
.nav-primary .genesis-nav-menu .sub-menu .current-menu-item>a:focus,
.nav-primary .genesis-nav-menu .sub-menu .current-menu-item>a:hover {
    background: rgba(56, 189, 248, .15);
    color: #fff;
    padding-left: 28px;
}

/* Hide pseudo elements inside sub-menu */
.nav-primary .genesis-nav-menu .sub-menu>li>a::before,
.nav-primary .genesis-nav-menu .sub-menu>li>a::after {
    display: none;
}

.nav-secondary {
    margin-top: -60px;
    padding-top: 60px
}

.nav-secondary a {
    color: #fff
}

.nav-secondary .wrap {
    background-color: #2F89C6;
    width: 100%
}

.menu .menu-item:focus {
    position: static
}

.menu .menu-item>a:focus+ul.sub-menu,
.menu .menu-item.sfHover>ul.sub-menu {
    left: auto;
    opacity: 1
}

.menu-toggle,
.sub-menu-toggle {
    display: none;
    visibility: hidden
}

.entry {
    margin-bottom: 60px
}

.archive .content .entry,
.page-template-page_blog-php .content .entry {
    border-bottom: 2px solid #eee
}

.entry-content .attachment a,
.entry-content .gallery a {
    border: 0
}

.entry-content ol,
.entry-content p,
.entry-content ul,
.quote-caption {
    margin-bottom: 26px
}

.entry-content ol,
.entry-content ul {
    padding-left: 40px
}

.entry-content ol>li {
    list-style-type: decimal
}

.entry-content ul>li {
    list-style-type: disc
}

.entry-content ol ul>li,
.entry-content ul ul>li {
    list-style-type: circle
}

.entry-content ol ol,
.entry-content ul ul {
    margin-bottom: 0
}

.entry-meta {
    font-size: 14px
}

.entry-header .entry-meta {
    margin-bottom: 30px
}

.entry-comments-link::before {
    content: "\2014";
    margin: 0 6px 0 2px
}

.entry-categories,
.entry-tags {
    display: block
}

.after-entry {
    border-bottom: 1px solid #222;
    border-top: 2px solid #222;
    margin-top: 40px;
    padding: 30px 0
}

.after-entry p:last-child {
    margin-bottom: 0
}

.after-entry .widget {
    margin-bottom: 30px
}

.after-entry .widget:last-child {
    margin-bottom: 0
}

.archive-pagination,
.entry-pagination {
    font-size: 14px;
    margin: 40px 0
}

.archive-pagination li {
    display: inline
}

.archive-pagination li a {
    background-color: #222;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    padding: 8px 12px
}

.archive-pagination li a:focus,
.archive-pagination li a:hover,
.archive-pagination li.active a {
    background-color: #008285
}

.entry-pagination a {
    border-bottom: 1px solid #ddd
}

.comment-respond,
.entry-comments,
.entry-pings {
    background-color: #fff;
    margin-bottom: 50px
}

.comment-content {
    clear: both
}

.entry-comments .comment-author {
    margin-bottom: 0
}

.comment-respond input[type="email"],
.comment-respond input[type="text"],
.comment-respond input[type="url"] {
    width: 50%
}

.comment-respond label {
    display: block;
    margin-right: 12px
}

.comment-list li,
.ping-list li {
    list-style-type: none
}

.comment-list li {
    margin-top: 24px;
    padding: 32px
}

.comment-list li li {
    margin-right: -32px
}

li.comment {
    background-color: #f5f5f5;
    border: 2px solid #fff;
    border-right: none
}

.entry-pings .reply {
    display: none
}

.form-allowed-tags {
    background-color: #f5f5f5;
    font-size: 14px;
    padding: 24px
}

.comment-form-cookies-consent label {
    display: inline;
    padding-left: 10px
}

.magazine-landing .sidebar,
.magazine-landing .sidebar a {
    color: #fff
}

.magazine-landing .sidebar a:focus,
.magazine-landing .sidebar a:hover {
    color: #aaa;
    text-decoration: none;
    text-shadow: 1px 1px 0 #222, -1px 1px 0 #222, 2px 0 0 #222, -2px 0 0 #222;
    box-shadow: inset 0 -1px 0 0 #aaa
}

.sidebar p:last-child,
.sidebar ul>li:last-child {
    margin-bottom: 0
}

.sidebar .featured-content p:last-child {
    margin-bottom: 24px
}

.sidebar li {
    border-bottom: 1px dotted #888;
    margin-bottom: 6px;
    padding-bottom: 6px
}

.sidebar .widget {
    margin-bottom: 40px
}

.sidebar .tagcloud a,
.sidebar .tagcloud a:visited {
    background-color: #eee;
    color: #222;
    cursor: pointer;
    display: inline-block;
    margin: 0 5px 5px 0;
    padding: 5px 10px
}

.sidebar .tagcloud a:focus,
.sidebar .tagcloud a:hover {
    background-color: #008285;
    color: #fff
}

.footer-widgets {
    background: #f8fafc;
    /* very light */
    color: #374151;
    /* muted text */
    clear: both;
    font-size: 15px;
    padding: 48px 0;
    display: flex;
    gap: 32px;
    justify-content: space-between;
    align-items: flex-start;
    border-top: 1px solid rgba(15, 23, 42, 0.04);
}

.footer-widgets-1,
.footer-widgets-2,
.footer-widgets-3 {
    width: 33%;
    max-width: 360px;
}

.footer-widgets-1 {
    margin-right: 0
}

.footer-widgets-1,
.footer-widgets-2 {
    float: none
}

.footer-widgets-3 {
    float: none
}

.footer-widgets a {
    color: #0f172a;
    /* dark slate */
    font-weight: 500;
    text-decoration: none;
}

.footer-widgets a:focus,
.footer-widgets a:hover {
    color: #0ea5e9;
    text-decoration: underline
}

.footer-widgets p:last-child {
    margin-bottom: 0
}

.footer-widgets h1,
.footer-widgets h2,
.footer-widgets h3,
.footer-widgets h4,
.footer-widgets h5,
.footer-widgets h6 {
    color: #0f172a;
    margin-bottom: 12px;
    font-weight: 700;
}

.footer-widgets .widget {
    margin-bottom: 0
}

.footer-widgets li {
    margin-bottom: 12px
}

.footer-widgets .enews-widget {
    padding: 0
}

.footer-widgets button,
.footer-widgets input[type="button"],
.footer-widgets input[type="reset"],
.footer-widgets input[type="submit"],
.footer-widgets .button {
    background: transparent;
    border: 1px solid #e6eef6;
    color: #0f172a;
    padding: 10px 14px;
    border-radius: 8px
}

.footer-widgets button:focus,
.footer-widgets button:hover,
.footer-widgets input[type="button"]:focus,
.footer-widgets input[type="button"]:hover,
.footer-widgets input[type="reset"]:focus,
.footer-widgets input[type="reset"]:hover,
.footer-widgets input[type="submit"]:focus,
.footer-widgets input[type="submit"]:hover,
.footer-widgets .button:focus,
.footer-widgets .button:hover {
    background: #eef2ff;
    color: #0f172a;
    border-color: #dbeafe
}

/* Site Footer */
.site-footer {
    background: #ffffff;
    font-family: sans-serif;
    font-size: 14px;
    text-align: center;
    padding: 18px 0;
    border-top: 1px solid #e6eef6;
    box-shadow: 0 -6px 20px rgba(2, 6, 23, 0.03);
}

.site-footer .wrap {
    padding: 0;
    border-top: none
}

.site-footer,
.site-footer a {
    color: #6b7280
}

.site-footer a:focus,
.site-footer a:hover {
    color: #0ea5e9
}

.site-footer p {
    margin-bottom: 0
}

/* Responsive footer stacking */
@media only screen and (max-width: 1023px) {
    .footer-widgets {
        flex-direction: column;
        align-items: stretch
    }

    .footer-widgets-1,
    .footer-widgets-2,
    .footer-widgets-3 {
        width: 100%;
        max-width: none;
        margin: 0 0 24px
    }
}

@media only screen and (max-width: 1180px) {

    .site-inner,
    .wrap {
        max-width: 960px
    }

    .site-header .title-area,
    .wp-custom-logo .title-area {
        max-width: 380px
    }

    .site-header .widget-area,
    .wp-custom-logo .header-widget-area {
        max-width: 570px
    }

    .content-sidebar-sidebar .content-sidebar-wrap,
    .sidebar-content-sidebar .content-sidebar-wrap,
    .sidebar-sidebar-content .content-sidebar-wrap {
        width: 780px
    }

    .content {
        width: 630px
    }

    .content-sidebar-sidebar .content,
    .sidebar-content-sidebar .content,
    .sidebar-sidebar-content .content {
        width: 450px
    }

    .footer-widgets-1,
    .footer-widgets-2,
    .footer-widgets-3,
    .sidebar-primary {
        width: 300px
    }

    .sidebar-secondary {
        width: 150px
    }
}

@media only screen and (max-width: 1023px) {

    .site-inner,
    .wrap {
        max-width: 750px
    }

    .content,
    .content-sidebar-sidebar .content,
    .content-sidebar-sidebar .content-sidebar-wrap,
    .footer-widgets-1,
    .footer-widgets-2,
    .footer-widgets-3,
    .sidebar-content-sidebar .content,
    .sidebar-content-sidebar .content-sidebar-wrap,
    .sidebar-primary,
    .sidebar-secondary,
    .sidebar-sidebar-content .content,
    .sidebar-sidebar-content .content-sidebar-wrap,
    .site-header .widget-area,
    .site-header .title-area,
    .wp-custom-logo .site-header .widget-area,
    .wp-custom-logo .site-header .title-area {
        max-width: 100%;
        width: 100%
    }

    .custom-logo-link {
        display: block;
        margin: 0 auto
    }

    .genesis-nav-menu,
    .site-header .title-area,
    .site-header .widget-area,
    .site-title {
        text-align: center
    }

    .site-header .widget-area {
        margin-top: 20px
    }

    .nav-primary {
        position: static
    }

    .featured-content .entry,
    .site-header .search-form,
    .site-title {
        float: none
    }

    .primary-nav .site-header,
    .title-area {
        padding-top: 0
    }

    .title-area {
        padding-bottom: 20px
    }

    .genesis-nav-menu>.right {
        display: none
    }
}

@media only screen and (max-width: 840px) {
    .site-inner {
        max-width: 100%
    }

    .footer-widgets,
    .nav-secondary,
    .site-footer,
    .site-header,
    .site-inner {
        padding-left: 5%;
        padding-right: 5%
    }

    .genesis-nav-menu>.first>a {
        padding-left: 20px
    }

    .admin-bar nav.nav-primary {
        top: 0
    }

    nav.genesis-responsive-menu {
        display: none;
        position: relative
    }

    .genesis-skip-link .skip-link-hidden {
        display: none;
        visibility: hidden
    }

    .site-header nav .wrap {
        padding: 0
    }

    .menu-toggle,
    .sub-menu-toggle {
        border: 0;
        background-color: #ddd;
        color: #222;
        display: block;
        margin: 0 auto;
        overflow: hidden;
        text-align: center;
        visibility: visible
    }

    nav.nav-primary .sub-menu-toggle,
    #genesis-mobile-nav-primary {
        background-color: #ddd;
        color: #fff
    }

    .menu-toggle:hover,
    .menu-toggle:focus {
        color: #aaa
    }

    .sub-menu-toggle:hover,
    .sub-menu-toggle:focus {
        background-color: #ddd;
        color: #aaa;
        border: 0
    }

    .menu-toggle:focus,
    .sub-menu-toggle:focus {
        outline: 1px solid #ccc
    }

    .sub-menu-toggle:focus {
        outline-offset: -1px
    }

    .menu-toggle {
        line-height: 10px;
        position: relative;
        right: 0;
        z-index: 1000;
        width: 100%
    }

    .menu-toggle::before {
        margin-right: 10px;
        text-rendering: auto
    }

    .sub-menu-toggle {
        float: right;
        padding: 10px;
        position: absolute;
        right: 10px;
        top: 0;
        z-index: 100
    }

    nav.nav-primary .sub-menu-toggle:focus,
    nav.nav-primary .sub-menu-toggle:hover {
        background-color: transparent;
        color: #aaa
    }

    .sub-menu-toggle::before {
        display: inline-block;
        text-rendering: auto;
        transform: rotate(0)
    }

    .sub-menu-toggle.activated::before {
        transform: rotate(180deg)
    }

    .genesis-responsive-menu .genesis-nav-menu .menu-item {
        display: block;
        float: none;
        position: relative;
        text-align: left
    }

    .genesis-nav-menu .menu-item:hover {
        position: relative
    }

    .genesis-responsive-menu .genesis-nav-menu .menu-item a {
        border: 0;
        margin-bottom: 1px;
        margin-top: 1px;
        padding: 15px 20px;
        width: 100%
    }

    .genesis-responsive-menu .genesis-nav-menu .sub-menu {
        border: 0
    }

    .genesis-responsive-menu .genesis-nav-menu .menu-item>a:focus ul.sub-menu,
    .genesis-responsive-menu .genesis-nav-menu .menu-item>a:focus ul.sub-menu .sub-menu {
        left: 0;
        margin-left: 0
    }

    .genesis-responsive-menu .genesis-nav-menu>.menu-item-has-children>a::after {
        content: none
    }

    .genesis-responsive-menu .genesis-nav-menu .sub-menu {
        clear: both;
        display: none;
        margin: 0;
        opacity: 1;
        padding-left: 15px;
        position: static;
        width: 100%
    }

    .genesis-responsive-menu .genesis-nav-menu .sub-menu .sub-menu {
        margin: 0
    }

    .archive-pagination li a {
        margin-bottom: 4px
    }

    .five-sixths,
    .four-sixths,
    .one-fourth,
    .one-half,
    .one-sixth,
    .one-third,
    .three-fourths,
    .three-sixths,
    .two-fourths,
    .two-sixths,
    .two-thirds {
        margin: 0;
        width: 100%
    }
}

.content-box-blue {
    background-color: #d8ecf7;
    border: 1px solid #afcde3
}

.content-box-gray {
    background-color: #e2e2e2;
    border: 1px solid #bdbdbd
}

.content-box-green {
    background-color: #d9edc2;
    border: 1px solid #b2ce96
}

.content-box-purple {
    background-color: #e2e2f9;
    border: 1px solid #bebde9
}

.content-box-red {
    background-color: #f9dbdb;
    border: 1px solid #e9b3b3
}

.content-box-yellow {
    background-color: #fef5c4;
    border: 1px solid #fadf98
}

/* --- Modern Home Page CSS --- */
.bt-hero-section {
    background: linear-gradient(135deg, #fce7f3 0%, #e0e7ff 100%);
    padding: 80px 20px;
    text-align: center;
    border-radius: 24px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.bt-hero-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e1b4b;
    margin-bottom: 15px;
    background: -webkit-linear-gradient(45deg, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bt-hero-desc {
    font-size: 16px;
    color: #4f46e5;
    margin-bottom: 30px;
}

/* --- Gemini Style Chat Input --- */
.bt-chat-container {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.bt-chat-input-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 99px;
    padding: 8px 16px 8px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.bt-chat-input-wrapper:focus-within {
    border-color: #a78bfa;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
}

#bt-chat-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #1f2937;
    padding: 10px 0;
}

#bt-chat-input::placeholder {
    color: #9ca3af;
}

#bt-chat-submit {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    margin-left: 10px;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

#bt-chat-submit svg {
    width: 20px;
    height: 20px;
    stroke: #ffffff;
    flex-shrink: 0;
}

#bt-chat-submit:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.5);
}

.bt-chat-response {
    margin-top: 15px;
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 20px;
    font-size: 15px;
    color: #374151;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    text-align: left;
    border-left: 4px solid #8b5cf6;
}

.bt-chat-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
    margin-left: 5px;
}

.bt-chat-link:hover {
    color: #1d4ed8;
}

/* --- Marquee Effect --- */
.bt-marquee-container {
    overflow: hidden;
    white-space: nowrap;
    margin-top: 25px;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.bt-marquee-content {
    display: inline-flex;
    animation: marquee 25s linear infinite;
}

.bt-marquee-content:hover {
    animation-play-state: paused;
}

.bt-tag {
    display: inline-block;
    padding: 6px 16px;
    margin: 0 8px;
    /* background được JS gán màu ngẫu nhiên */
    border: none;
    border-radius: 99px;
    font-size: 13px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.bt-tag:hover {
    filter: brightness(1.15);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.bt-hero-actions a {
    display: inline-block;
    padding: 15px 30px;
    margin: 0 10px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.bt-btn-primary {
    background: linear-gradient(45deg, #ec4899, #f43f5e);
    color: white !important;
    box-shadow: 0 8px 15px rgba(236, 72, 153, 0.3);
}

.bt-btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 20px rgba(236, 72, 153, 0.4);
}

.bt-btn-secondary {
    background: white;
    color: #6366f1 !important;
    box-shadow: 0 8px 15px rgba(99, 102, 241, 0.1);
}

.bt-btn-secondary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 20px rgba(99, 102, 241, 0.2);
}

.bt-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.bt-category-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    text-decoration: none;
    display: block;
}

.bt-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.bt-category-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.bt-category-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.bt-category-desc {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}