* {
    padding: 0px;
    margin: 0px;
}

html {
    height: 100%;
}

body {
    margin: 0;
    /*font-family: 'Roboto', sans-serif;*/
    font-family: "Avenir", -apple-system, system-ui, "Segoe UI", "Liberation Sans", sans-serif;
    font-size: 11pt;
    color: White;
    min-height: 100%;
    position: relative;
    background: rgb(9, 85, 150);
    /*background: linear-gradient(0deg, rgba(9, 85, 150, 1) 10%, rgb(0, 190, 232) 82%, rgb(0, 255, 247) 87%, rgb(0, 255, 217) 100%);*/
    background-attachment: fixed;
}

.title a, #features a {
    text-decoration: none;
}

a {
    text-decoration: underline;
    color: White;
}

a:hover {
    text-decoration: underline;
}

.ex-spacer {
    padding-bottom: 2em;
}

#wrapper, #features {
    /*margin: 0 auto;*/
    padding: 0;
    background: linear-gradient(0deg, rgba(9, 85, 150, 1) 10%, rgb(0, 190, 232) 96%, rgb(0, 255, 247) 99%, rgb(100, 255, 231) 100%);
    background: radial-gradient(ellipse 300% 100% at 60% top, rgb(44, 255, 223) 0%, rgb(0, 255, 247) 9%, rgb(0, 190, 232) 19%, rgba(9, 85, 150, 1) 100%);
}

/* Header */
#header {
    background: White;
    background-image: url("../images/header.0dd8b8d5cec2.svg");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 200px;
}

/* Logo */
#logo {
    /*font-family: 'Source Code Pro', monospace, Courier;*/
    /*font-family: cursive;*/
    /*padding: 0;*/
    /*margin-right:100px;*/
    max-width: 50%;
    float: left;
}

#logo h1 {
    font-size: 40pt;
    text-rendering: optimizeLegibility;
    text-transform: none;
    color: #fff;
    letter-spacing: .08em;
    text-shadow: 0px 0px 20px #ff690f,
    -1px -1px 0 #fbe095,
    -2px -2px 0 #fbdc75,
    -3px -3px 0 #fbd951,
    -4px -4px 0 #ebc931,
    -5px -5px 0 #da9324,
    -6px -6px 0 #d0881b,
    -7px -7px 20px #d2740d
}

#logo h2 {
    margin: 0px;
    color: red;
    opacity: .35;
}

#logo a {
    border: none;
    background: none;
    text-decoration: none;
}

#logo h1 a:hover {
    color: #fff;
    text-shadow: 0px 0px 3px #e57e0e;
    outline: 1px #e57e0e;
    margin-left: -7px;
    margin-top: -7px;
}

#header_button_box {
    float: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    position: relative;
    z-index: 100;
}

.choice {
    background-color: #0c4a87;
    color: white;
    padding: 5px;
    border-radius: 10em;
    /*margin: 20px;*/
    margin-bottom: 1em;
    margin-right: 0px;
    float: right;
    box-shadow: 0 0px 15px rgba(50, 44, 58, 0.5);
}

#header .choice {
    background-color: #ff6a23;
    box-shadow: none;
}

#language_box {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1060;
}

#language_box .lang-switcher {
    position: relative;
}

#language_box .lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 2px 8px;
    border: none;
    border-radius: 10em;
    background: #ff6a23;
    color: #fff;
    font-size: 0.9rem;
    box-shadow: none;
    cursor: pointer;
}

#language_box .lang-toggle-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

#language_box .lang-toggle:focus {
    outline: 2px solid #ff6a23;
    outline-offset: 2px;
}

#language_box .lang-caret {
    font-size: 10px;
    color: #fff;
}

#language_box .lang-menu {
    position: absolute;
    left: 0;
    bottom: calc(100% + 6px);
    min-width: 180px;
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    padding: 6px;
    display: none;
    z-index: 1060;
}

#language_box .lang-menu-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #666;
    padding: 6px 8px 2px;
}

#language_box .lang-switcher.is-open .lang-menu {
    display: block;
}

#language_box .lang-menu-footer {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #e6e6e6;
}

#language_box .lang-separator {
    height: 1px;
    background: #d0d0d0;
    margin: 6px 0;
}

#language_box .lang-menu-link {
    display: block;
    padding: 6px 8px;
    font-size: 13px;
    color: #2a6bb8;
    text-decoration: none;
}

#language_box .lang-menu-link:hover {
    text-decoration: underline;
}

#language_box .lang-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 0;
}

#language_box .lang-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    text-decoration: none;
    color: #222;
    flex: 1;
}

#language_box .lang-link.is-active {
    background: #f2f2f2;
}

#language_box .lang-link:hover {
    background: #f8f8f8;
    color: #222;
    cursor: pointer;
}

#language_box .lang-link:focus {
    outline: 2px solid #ffb87a;
    outline-offset: 2px;
}

#language_box .lang-label {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

#language_box .lang-label-main {
    font-size: 14px;
}

#language_box .lang-label-sub {
    font-size: 11px;
    color: #666;
}

#language_box .lang-check {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #ff6a23;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #ff6a23;
    flex-shrink: 0;
}

#language_box .lang-check::before {
    content: "\2713";
    line-height: 1;
}

#language_box .lang-submenu-toggle {
    border: none;
    background: #f5f5f5;
    color: #555;
    font-size: 11px;
    padding: 4px 6px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

#language_box .lang-submenu-caret {
    font-size: 9px;
}

#language_box .lang-submenu {
    position: absolute;
    right: 100%;
    top: 0;
    margin-right: 6px;
    min-width: 170px;
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    padding: 6px;
    display: none;
    z-index: 1061;
}

#language_box .lang-submenu-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #666;
    padding: 4px 8px 2px;
}

#language_box .lang-submenu .lang-link {
    padding-left: 14px;
    background: #fafafa;
    border-radius: 6px;
}

#language_box .lang-item.is-submenu-open .lang-submenu {
    display: block;
}

#language_box .lang-layouts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding-right: 4px;
    min-width: 0;
}

#language_box .lang-layout-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    font-size: 11px;
    line-height: 1.2;
    color: #2d3a4a;
    background: #f3f5f8;
    border: 1px solid transparent;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
}

#language_box .lang-layout-tag:hover {
    border-color: #cbd5e1;
}

#language_box .lang-layout-tag.is-active {
    background: #ffe8d9;
    border-color: #ffb87a;
    color: #a14d00;
}

#language_box input[type=submit] {
    width: 70px;
    height: 50px;
    float: right;
    border: none;
}

#theme_box {
    float: none;
}

.lang {
    width: 49px;
    height: 35px;
    display: inline-block;
    text-indent: -9999px;
    border-radius: 4px;
    overflow: hidden;
    /*background-size: cover;*/
    /*background-position: center;*/
    background-repeat: no-repeat;
    color: transparent;
}

.lang.en {
    background: url("../images/en.58231b4c0443.svg") no-repeat;
}

.lang.de {
    background: url("../images/de.b01fef8e4543.svg") no-repeat;
}

.lang.es {
    background: url("../images/es.fd37aa9e9ff0.svg") no-repeat;
}

.lang.mx {
    background: url("../images/mx.052943ce7c5c.svg") no-repeat;
}

.lang.fr {
    background: url("../images/fr.bdc207089c09.svg") no-repeat;
}

.lang.it {
    background: url("../images/it.c983b9daedc1.svg") no-repeat;
}

.lang.da {
    background: url("../images/da.bde68e820157.svg") no-repeat;
}

.lang.ca {
    background: url("../images/ca.9812f68ae741.svg") no-repeat;
}

.lang.uk {
    background: url("../images/uk.bce81e310ec3.svg") no-repeat;
}

.exercise-content {
    max-width: 900px;
}

@media (max-width: 768px) {
    .exercise-content {
        max-width: 100%;
    }
}

@media (min-width: 1200px) {
    .exercise-content {
        max-width: 1100px;
    }
}

.lang.pt {
    background: url("../images/pt.e36644664e5b.svg") no-repeat;
    background-size: cover;
    background-position: center;
    color: transparent;
}

.lang.tl {
    background: url("../images/tl.045f62f1f863.svg") no-repeat;
    background-size: cover;
    background-position: center;
    color: transparent;
}

.lang.hi {
    background: url("../images/hi.0905daed2dc1.svg") no-repeat;
    background-size: cover;
    background-position: center;
    color: transparent;
}


/* Content */

/* Home page*/
#banner {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 400px;
    /*padding-top: 40px;*/
}

#splash h1 {
    position: relative;
    text-align: center;
    font-size: 30px;
    font-family: 'Arial Rounded MT Bold', 'Futura Bold', 'Phosphate', 'Calibri', "Arial Black", sans-serif;
    letter-spacing: .1em;
    margin: 0 0;
}

/* Features */

#features {
    padding-top: 2em;
    /*background: linear-gradient(#4dffe9, #106cb7);*/

}

.feature {
    float: left;
    font-size: 14pt;
    min-height: 300px;
    color: white;
}

.feature h2, #splash h1 {
    color: White;
    text-shadow: 0px 0px 20px rgb(0, 5, 52);
    font-family: 'Arial Rounded MT Bold', 'Futura Bold', 'Phosphate', 'Calibri', "Arial Black", sans-serif;
    letter-spacing: .1em;
    padding-bottom: .8em;
}

a:hover h2 {
    color: #fff;
    text-shadow: 0px 0px 3px #104070;
    outline: 1px #104070;
}

.feature h3 {
    font-weight: bold;

}

.feature .button {
    margin-right: 10%;

}

p.description {
    padding-top: 1em;
}

p.description, #tips {
    padding-bottom: 2em;
    text-shadow: 0px 0px 20px #010018;
}

/* Lesson List */

.lesson-list li {
    display: block;
}

.lesson-list {
    /*margin: 0 auto;*/
}

.feature .lesson-list {
    /*margin-left: 10%;*/
    /*margin-right: 10%;*/
    max-width: 70%;
}

.lesson-list ol, .lesson-list ul {
    counter-reset: li;
    list-style: none;
    *list-style: decimal;
    padding: 0;
}

.lesson-list li a {
    position: relative;
    display: block;
    /*font-weight: bold;*/
    padding: .3em;
    padding-left: 1em;
    /*background: rgba(26, 105, 184, 1);*/
    color: #ffffff;
    text-decoration: none;
    -moz-border-radius: 10em;
    -webkit-border-radius: 10em;
    border-radius: 10em;
    transition: all .1s ease-in-out;
    font-weight: bold;
}

.lesson-list li {
    margin-top: 1em;
    display: block;
    font-weight: bold;
}

.lesson-list ul a {
    /*background: #a0fcff linear-gradient(#b7fdff, #6dffff);*/
    /*background: rgba(255, 255, 255, 1);*/

    background: rgba(26, 105, 184, .2);
    color: #ffffff;
    /*border: 1px solid #1d63ab;*/
    border-radius: 10em;
    font-size: large;
    font-weight: bold;
}

.lesson-list li li a {
    background: none;
    border: none;
    color: #f3faff;
    font-weight: normal;
    font-size: 1rem;
    margin-left: .5rem;
    /*background: rgba(26, 105, 184, .4);*/
    /*color: #ffffff;*/
}

.lesson-list li li {
    background: none;
    margin-top: .2em;
}

.lesson-list a:hover {
    background: #ffffff;
    color: #1a69b8;
    text-decoration: none;
    /*transform: scale(1.1);*/
}

.lesson-list ol a:before {
    position: absolute;
    content: counter(li);
    counter-increment: li;
    top: 0em;
    left: .5em;
    font-size: 1.4em;
}

.lesson-list ol li a {
    padding-left: 2em;
}

#sidebar .lesson-list li a {
    display: table;
    min-width: 100%;
}

#features .lesson-list li a {
    color: #ffffff;
    background: rgba(26, 105, 184, .2);
}

#page {
    clear: both;
}

#banner {
    clear: both;
}

/* Lesson Pages */

.lesson h1, .lesson h2, .lesson h3, .lesson h4 {
    font-family: "American Typewriter", 'Courier New', serif;
    font-weight: bold;
    color: #28a5ca;

    letter-spacing: .05em;
}

.lesson h1, .lesson h2 {
}

.lesson h1 {
    color: #28a5ca;
    font-family: "American Typewriter", 'Courier New', serif;
    text-shadow: -1px -1px 0px #ffffff, -3px -3px 0px rgba(67, 172, 231, 0.29);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Arial Rounded MT Bold', 'Futura Bold', 'Phosphate', 'Calibri', "Arial Black", sans-serif;
    /*margin-top: 1.5em;*/
    clear: both;

}

.lesson a, #quote-source a {
    color: #1a69b8;
    font-weight: bold;
}

#quote-source p {
    color: #cfeaff;
}

#quote-source a {
    text-decoration: none;
    color: #ffffff
}

.links {
    padding: 10px 5px;
    text-align: left;
}

.links ul {
    list-style: none;
}

#lesson-container {
    /*float: left;*/
}

/* Sidebar */

#sidebar {
    margin: 0px;
    /*padding: 0px;*/
}

#sidebar .section .ad {
    padding-top: 1em;
}

button.navbar-toggle {
    background: rgba(26, 105, 184, .4);
    color: White;
    border: 1px White solid;
    border-radius: 10em;
}

#octopus_side_img {
    margin-top: 1em;
}

/* Footer */

#footer {
    margin: 0 auto;
    clear: both;
    min-height: 50px;
}

#footer p {
    margin: 0;
    padding: 3px;
    padding-right: 5em;
    line-height: normal;
    font-size: 12px;
    text-transform: lowercase;
    text-align: right;
}

#footer a:hover {
    color: White;
    text-decoration: underline;
}

#copyright {
    /*background-color: rgba(34, 72, 113, 0.55);*/
    position: absolute;
    width: 100%;
    bottom: 0px;
}

#copyright a {
    text-decoration: none;
}

.card h1, .card h2, .card h3 {
    font-family: 'Arial Rounded MT Bold', 'Futura Bold', 'Phosphate', 'Calibri', "Arial Black", sans-serif;
}

#typingpracticetips.accordion .card {
    border-radius: 1em;
}

.card {
    background: linear-gradient(#e8fbff, #FFFFFF);
    color: #1a69b8;
}

.card a {
    color: #0080ff;
    font-weight: bold;
}

.card li {
    padding-top: 1em;
    list-style: none;
}

.card-header {
    cursor: pointer;
}

.card-body {
    padding: 1em;
}

.collapsed .open-practice-tips {
    display: inline;
}

.collapsed .close-practice-tips {
    display: none;
}

.open-practice-tips {
    display: none;
}

/* Make collapsed accordion look like a compact button */
#typingpracticetips {
    text-align: center;
}

#typingpracticetips .card {
    background: transparent;
    border: none;
    display: inline-block;
    width: auto;
}

#typingpracticetips .card-header.collapsed {
    background: linear-gradient(#e8fbff, #FFFFFF);
    border: 1px solid #b3e0f0;
    border-radius: 0.5em;
    padding: 0.5em 1em;
    min-width: 25em;
}

#typingpracticetips .card-header.collapsed h2 {
    color: #064b8f;
    font-size: 1rem;
    font-weight: normal;
    margin: 0;
}

#typingpracticetips .card-header.collapsed:hover {
    background: linear-gradient(#d0f4ff, #f0f9ff);
    border-color: #1a69b8;
}

/* Restore full-width card styling when expanded */
#typingpracticetips .accordion:has(.card-header:not(.collapsed)) .card {
    display: block;
    width: 100%;
}

#typingpracticetips .card-header:not(.collapsed) {
    background: linear-gradient(#e8fbff, #FFFFFF);
    border-bottom: 1px solid #ccc;
    padding: 1em;
}

#typingpracticetips .card-body {
    background: linear-gradient(#e8fbff, #FFFFFF);
    text-align: left;
}

/* Ads */
#sidebar .ad {
}

.ad {
    margin: 0 auto;
    margin-top: 1em;

}

.ad.test {
    background-color: #363636;
}

.top_ads {
    clear: both;

}

.r_sidebar_ad {
    display: none;
}

.r_banner_ad {
    display: none;
}

@media (min-width: 900px) {
    .r_sidebar_ad {
        display: inline-block;
        width: 160px;
        height: 600px;
    }

    .r_banner_ad {
        display: inline-block;
        width: 728px;
        height: 90px;
    }
}

/* Buttons */

.button h3 {
    margin: .2em;
}

.button {
    position: relative;
    display: inline-block;
    padding: .3em 1em;
    text-decoration: none;
    -moz-border-radius: 10em;
    -webkit-border-radius: 10em;
    border-radius: 10em;
    transition: all .2s ease-in-out;
    font-weight: bold;
    text-align: center;
    background: #ff6a23;
    color: #ffffff;
    box-shadow: 0 0px 15px rgba(50, 44, 58, 0.8);
}

a.button {
    color: #ffffff;
}

a:hover .button {
    background: #ffff76;
    color: #1a69b8;
    text-decoration: none;
    transform: scale(1.1);
    box-shadow: 0 0px 15px rgba(255, 255, 118, 0.8);
}

a.button:hover div {
    background-position: 3px -86px;
    color: #da24eb;
}

a.button:hover {
    text-decoration: none;
}

/* Misc */

.h1.title {
    clear: both;
}

.lesson .illustration {
    /*width: 70%;*/
    margin: 0 auto;
}

.illustration img {
    width: 100%;
    backgroud: white;
}

.caption {
    color: #94d4ec;
    text-align: center;
}

#tips {
    /*margin-top: 10px;*/
    margin: 0;
    background-color: #27b3ea;
    padding: 50px;
    border-radius: 5px;
}

ul.inline {
    list-style: none;
    line-height: 100%;
}

ul.inline li {
    list-style: none;
    display: inline;
    margin-right: 30px;
    font-size: 10pt;
}

ul.inline a {
    color: Yellow;
}

#quote-source {
    /*margin: 1em;*/
    padding: 0 0;
    border-radius: 1em;
    /*max-width: 15em;*/
    /*padding: 1em 1em;*/
    /*background: linear-gradient(rgba(5, 59, 112, 0.1), rgba(5, 59, 112, 0.25))*/
    /*background: linear-gradient(rgba(5, 59, 112, 0.1), rgba(126, 191, 255, 0.25))*/
}

#right-sidebar {
    margin-left: 0px;
    padding-left: 0px;
}

.illustration {
    width: 40em;
    max-width: 70%;
}

img.kbd-img {
    background: rgba(255, 255, 255, 0.76);
    border-radius: 1em;
    padding:.2em;
}


/* Screen size breakpoints */

/* Extra small devices (phones, less than 768px) */
@media (min-width: 0px) {
    h2 {
        font-size: 16pt;
    }

    h3 {
        font-size: 12pt;
    }

    #logo {
        max-width: 70%;
    }

    #logo h1 {
        font-size: 20pt;
        margin-top: .1em;
        margin-bottom: .1em;
    }

    #logo h2 {
        font-size: 10pt;
        /*color: #ff690f;*/
        /*color: #ac6c69;*/
        /*color: red;*/
    }

    #banner {
        height: 240px;
        /*padding-top: 20px;*/
    }

    #splash h1 {
        font-size: 14pt;
    }

    #header {
        height: 80px;
    }

    .feature {
        font-size: 12pt;
        min-height: 200px;
    }

    .feature .lesson-list {
        /*margin: auto 20%;*/
    }
}

@media (max-width: 600px) {
    #logo h1 {
        letter-spacing: .1em;
        text-shadow: 0px 0px 20px #ff690f,
        -1px -1px 0 #fbe095,
        -2px -2px 0 #fbd951,
        -3px -3px 0 #da9324;
    }

    #logo {
        padding-left: 1em;
    }
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 600px) {
    h2 {
        font-size: 18pt;
    }

    h3 {
        font-size: 14pt;
    }

    #logo {
        /*max-width: 50%;*/
    }

    #logo h1 {
        font-size: 20pt;
    }

    #logo h2 {
        font-size: 10pt;
        /*opacity: .5;*/
    }

    #banner {
        height: 250px;
    }

    #header {
        height: 79px;
    }
    #quote-source {
        max-width: 25em;
        margin: 0 auto;

    }

}

@media (max-width: 992px) and (min-width: 768px) {
    #sidebar {
        font-size: 10pt;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 900px) {
    h2 {
        font-size: 14pt;
    }

    h3 {
        font-size: 16pt;
    }

    #logo h1 {
        font-size: 22pt;
    }

    #logo h2 {
        font-size: 12pt;
    }

    #banner {
        height: 260px;
    }

    #splash h1 {
        font-size: 18pt;
    }

    #header {
        height: 92px;
    }

    .feature {
        min-height: 250px;
    }

    .feature .lesson-list {
        /*margin: auto 10%;*/
    }

}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    h2 {
        font-size: 18pt;
    }

    h3 {
        font-size: 16pt;
    }

    #logo h1 {
        font-size: 28pt;
    }

    #logo h2 {
        font-size: 14pt;
        /*background: -webkit-linear-gradient(0deg, #dc3545, #fdcc51);*/
        /*-webkit-background-clip: text;*/
        /*-webkit-text-fill-color: transparent;*/
    }

    #banner {
        height: 270px;
    }

    #header {
        height: 100px;
    }

    .feature {
        min-height: 300px;
        font-size: 14pt;

    }


}

/* Medium screens*/
@media (min-width: 1500px) {

    #logo h1 {
        font-size: 28pt;
    }

    #logo h2 {
        /*opacity: .5;*/
        font-size: 14pt;
    }

    #banner {
        height: 300px;
    }

    #header {
        /*height: 100px;*/
    }
}

/* Large screens */
@media (min-width: 1800px) {
    body {
        font-size: 12pt;
    }

    #logo h1 {
        font-size: 32pt;
        margin-top: 0px;
    }

    #logo h2 {
        font-size: 16pt;
    }

    #banner {
        height: 360px;
    }

    #splash h1 {
        font-size: 30px;
    }

    #header {
        height: 110px;
    }
}

/* Very Large screens */
@media (min-width: 2100px) {
    #logo h1 {
        font-size: 36pt;
    }

    #logo h2 {
        font-size: 18pt;
    }

    #header {
        height: 120px;
    }
}

/* Keyboard Layouts Page */
.layout-intro {
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 10px;
    background: #f7fbff;
    border: 1px solid #e0edf7;
}

.layout-intro__title {
    margin: 12px 0 8px;
    font-size: 20px;
}

.layout-intro__list {
    margin: 0;
    padding-left: 20px;
}

.layout-help {
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 10px;
    background: #fff7ee;
    border: 1px solid #ffd9bf;
}

.layout-help h2 {
    margin-top: 0;
}

.layout-language {
    margin-bottom: 24px;
}

.layout-language__note {
    margin-top: -6px;
    color: #556;
    font-size: 14px;
}

.layout-language__hint {
    margin-top: 6px;
    font-size: 14px;
    color: #455;
}

.layout-language__callout {
    margin-top: 6px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff3e6;
    border: 1px solid #ffd2ad;
    color: #6b3a0f;
    font-size: 14px;
}

.layout-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
    gap: 18px;
}

.layout-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.layout-card h3 {
    margin-top: 0;
    margin-bottom: 0;
}

.layout-card p {
    margin-bottom: 8px;
}

.layout-card__hint {
    margin-top: -4px;
    font-size: 14px;
    color: #556;
}

.layout-card__meta {
    margin-top: 2px;
    margin-bottom: 0;
}

.layout-card__actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.layout-card__cta {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ff6a23;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-shadow: 0 4px 12px rgba(50, 44, 58, 0.2);
}

.layout-card__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(50, 44, 58, 0.3);
}

.layout-card__learn {
    font-size: 14px;
    color: #2a6bb8;
    text-decoration: none;
}

.layout-card__learn:hover {
    text-decoration: underline;
}

/* Exercise Type Color Coding */
/* Practice (b exercises) - highlighted as new content */
.lesson-ex:has(.exercise-practice) .typer:not(.done) div.quote {
    background: #f0f0ff linear-gradient(#f8f8ff, #eeeeff);
    border-color: #d5d5ef;
}

/* Technique Training (a exercises) - no special styling, keeps default yellow */

/* Exercise time estimates */
.exercise-time {
    display: inline-block;
    margin-left: 0.5em;
    padding: 0.15em 0.5em;
    font-size: 0.85em;
    color: #666;
    background: #f0f0f0;
    border-radius: 0.5em;
}
