/* Home page styles */
@font-face {
    font-family: 'cakefont';
    src: url('../font/cakedingbats-webfont.eot');
    src: url('../font/cakedingbats-webfont.eot?#iefix') format('embedded-opentype'),
    url('../font/cakedingbats-webfont.woff2') format('woff2'),
    url('../font/cakedingbats-webfont.woff') format('woff'),
    url('../font/cakedingbats-webfont.ttf') format('truetype'),
    url('../font/cakedingbats-webfont.svg#cake_dingbatsregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
* {
    box-sizing: border-box;
}
body {
    padding: 60px 0;
    overflow-x: hidden;
}
header {
    margin-bottom: 60px;
}
img {
    margin-bottom: 30px;
}
h1 {
    font-weight: bold;
}
ul {
    list-style-type: none;
    margin: 0 0 30px 0;
    padding-left: 25px;
}
a {
    color: #0071BC;
    text-decoration: underline;
}
hr {
    border-bottom: 1px solid #e7e7e7;
    border-top: 0;
    margin-bottom: 35px;
}

.text-center {
    text-align: center;
}
.links a {
    margin-right: 10px;
}
.release-name {
    color: #D33C43;
    font-weight: 400;
    font-style: italic;
}
.bullet:before {
    font-family: 'cakefont', sans-serif;
    font-size: 18px;
    display: inline-block;
    margin-left: -1.3em;
    width: 1.2em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    vertical-align: -1px;
}
.success:before {
    color: #88c671;
    content: "\0056";
}
.problem:before {
    color: #d33d44;
    content: "\0057";
}
.cake-error {
    padding: 10px;
    margin: 10px 0;
}
#url-rewriting-warning {
    display: none;
}
.brand-link{display:flex;align-items:center;gap:.5rem;text-decoration:none}
.brand-logo{height:28px;width:auto;border-radius:.25rem}
.brand-name{font-weight:700;color:#0f172a}
.page.hc .brand-name{color:var(--text);}


.topbar__inner{
    max-width: 1100px;
    margin: 0 auto;
    padding: .6rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
}

.brand-link{
    display: flex;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
}

.brand-logo{
    height: 30px;
    width: auto;
    display: block;
    border-radius: .35rem;
}


.page.hc .brand-name{ color: var(--text); }

/* Read button icon/label swap */
#btn-read .icon-pause { display: none; }
#btn-read.is-reading .icon-play { display: none; }
#btn-read.is-reading .icon-pause { display: inline; }
#btn-read.is-paused  .icon-play { display: inline; }
#btn-read.is-paused  .icon-pause { display: none; }

.topbar__inner{max-width:none;margin:0;padding:.6rem 1rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem}

/* Read button glyphs */
#btn-read .glyph {
    display: inline-block;
    margin-right: .5rem;
    vertical-align: -1px;
}

/* ▶ triangle (play) – pure CSS */
#btn-read .glyph--play {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent currentColor;
}

/* ■ square (pause) – shown while reading */
#btn-read .glyph--pause-square {
    display: none;
    width: 12px;
    height: 12px;
    background: currentColor;
    border-radius: 3px; /* soften edges a bit */
}

/* Toggle rules */
#btn-read.is-reading .glyph--play { display: none; }
#btn-read.is-reading .glyph--pause-square { display: inline-block; }

#btn-read.is-paused .glyph--play { display: inline-block; }
#btn-read.is-paused .glyph--pause-square { display: none; }

/* Responsive adjustments for zoom */
@media (max-width: 1200px) {
    .topbar__inner {
        padding: .5rem .75rem;
    }
}

@media (max-width: 768px) {
    body {
        padding: 40px 0;
    }

    .topbar__inner {
        flex-direction: column;
        align-items: flex-start;
        padding: .5rem;
    }

    .brand-link {
        width: 100%;
    }
}
