/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *

 */

/* body font DM Sans (from google fonts) */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:wght@400&display=swap');
/* font Noto Serif (from google fonts) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:wght@400;500&display=swap');

body {
    font-family: 'DM Sans', sans-serif;
}

h1 {
    font-family: 'DM Serif Display', serif;
}

h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif', sans-serif;
    font-weight: 400;
    word-break: break-word;
}

section ol {
    list-style: decimal;
    margin: 16px 0;
    padding: 0 0 0 40px;
}

section ul {
    list-style: disc;
    margin: 16px 0;
    padding: 0 0 0 40px;
}

#activities h3 {
    font-weight: 500;
}

 

.blog-content img.float-left {
    float: left;
    margin: 0 1rem 1rem 0;
}

.blog-content img.float-right {
    float: right;
    margin: 0 0 1rem 1rem;
}

/* Blog post typography (public reading area) */
.blog-content {
    font-size: 1.05rem;
    line-height: 1.75;
}

.blog-content p {
    margin: 1rem 0;
}

.blog-content h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin: 2rem 0 1rem;
}

.blog-content h2 {
    font-size: 1.6rem;
    line-height: 1.25;
    margin: 1.75rem 0 0.75rem;
}

.blog-content h3 {
    font-size: 1.3rem;
    line-height: 1.3;
    margin: 1.5rem 0 0.5rem;
}

.blog-content h4 {
    font-size: 1.15rem;
    line-height: 1.35;
    margin: 1.25rem 0 0.5rem;
}

.blog-content ul {
    list-style: disc;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.blog-content ol {
    list-style: decimal;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.blog-content li {
    margin: 0.25rem 0;
}

.blog-content a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-content blockquote {
    margin: 1.5rem 0;
    padding-left: 1rem;
    border-left: 4px solid #e5e7eb;
    color: #374151;
}

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

/* Utility: clamp to two lines with ellipsis */
.two-line-ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.blog-link__icon {
    display: inline-flex;
    align-items: center;
}

.blog-link__label {
    display: none;
}

@media (min-width: 768px) {
    .blog-link__icon {
        display: none;
    }

    .blog-link__label {
        display: inline;
    }
}
