/*
 * NewsChannel 1150: the look of the WordPress (Oxygen) site. Open Sans for text, Mulish for headings,
 * one blue (#1211f6), grey links in header and footer, orange-red links in articles.
 */
:root {
    --blue: #1211f6;
    --grey: #7f7f7f;
    --line: #e2e2ea;
    --link: #ff5b48;
    --heading: 'Mulish', 'Open Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--heading); font-weight: 700; line-height: 1.25; }
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* Header and footer */
.site-header { position: relative; z-index: 2; }
.header-row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; margin-bottom: 10px; }
.brand { display: flex; align-items: center; color: #000; }
.brand img { width: 30px; margin-right: 9px; }
.brand span { font-size: 26px; font-weight: 900; line-height: 1.6; }
.header-nav { display: flex; }
.header-nav a, .footer-nav a { color: var(--grey); font-weight: 600; }
.header-nav a { padding: 0 20px; }
.header-nav a:hover, .footer-nav a:hover, .socials a:hover { color: var(--blue); }

.site-footer { margin-top: 40px; }
.footer-row { display: flex; align-items: center; padding-top: 13px; padding-bottom: 14px; }
.footer-row .brand { width: 30%; }
.footer-row .brand img { width: 36px; margin-right: 7px; }
.footer-row .brand span { font-size: 24px; }
.footer-nav { width: 50%; display: flex; align-items: center; }
.footer-nav a { margin: 0 20px; }
.socials { width: 20%; display: flex; justify-content: center; gap: 13px; }
.socials a { color: var(--grey); font-size: 26px; line-height: 1; }
.socials svg { width: 1em; height: 1em; fill: currentColor; display: block; }

/* Post cards: the photo fills a rounded tile, the title in white at the bottom. */
.cards { display: flex; flex-wrap: wrap; justify-content: center; margin: 0 -10px 30px; }
.card { width: calc(33.333% - 20px); height: 370px; margin: 0 10px 20px; }
.card a {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    padding: 20px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(rgba(35, 35, 45, .2), rgba(35, 35, 45, .2)), var(--image, none) center / cover no-repeat, #23232d;
    transition-duration: .05s;
}
.card a:hover { transform: translateY(3px); filter: brightness(115%); box-shadow: 6px 6px var(--blue); }
.card h3 { margin: 0; font-size: 22px; font-weight: 800; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.home-cards { justify-content: space-between; margin-left: 0; margin-right: 0; }
.home-cards .card { margin: 0; width: calc(33.333% - 14px); }

/* Home page */
.home-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 33px; }
.home-title { display: flex; align-items: center; color: var(--blue); }
.home-title .icon { font-size: 30px; margin: 0 6px; }
.home-title h1 { margin: 0; font-weight: 900; }
.home-intro { margin: 14px 0 35px; color: var(--grey); }
.home-buttons { display: flex; justify-content: space-around; width: 70%; }
.button {
    display: inline-block;
    margin: 0 10px;
    padding: 10px 16px;
    border: 1px solid #000;
    border-radius: 5px;
    background: #000;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 4px var(--blue);
}
.button:hover { transform: translateY(2px); }
.home-section { padding-top: 31px; }
.home-heading { display: flex; align-items: center; margin: 0 0 13px; font-weight: 900; }
.home-heading .icon { color: var(--blue); font-size: 36px; margin-right: 5px; }
.home-band { display: flex; flex-direction: column; justify-content: center; min-height: 270px; padding: 20px; border-radius: 10px; background: var(--blue); color: #fff; }
.home-band h2 { margin: 0 0 17px; color: #fff; font-size: 42px; font-weight: 800; line-height: 1.3; }
.home-band p { margin: 0 0 12px; }
.home-band a { display: inline-flex; align-items: center; color: #fff; font-weight: 800; }
.home-band .icon { font-size: 16px; }

/* Posts: one column of 58%, as on WordPress (the side columns were empty). */
.post-wrap { max-width: 1440px; padding-top: 34px; }
.post { width: 58%; margin: 0 auto; overflow-wrap: break-word; }
.post-category { color: var(--blue); font-size: 16px; }
.post h1 { margin: 0; padding-bottom: 8px; font-weight: 900; line-height: 1.2; text-transform: capitalize; }
.byline { display: flex; align-items: center; margin: 8px 0 22px; }
.byline img { width: 60px; height: 60px; border-radius: 30px; object-fit: cover; }
.byline > div { margin-left: 16px; }
.byline p { margin: 0; font-size: 14px; }
.byline time { display: block; margin-top: 0; color: var(--grey); font-size: 14px; }
.featured { display: block; max-width: 100%; max-height: 600px; border-radius: 5px; object-fit: cover; }
.content { font-size: 18px; line-height: 1.7; }
.content a { color: var(--link); }
.content img { display: block; margin: 0 auto; border-radius: 5px; }
.content iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.content blockquote {
    max-width: 670px;
    margin: 20px auto;
    padding-left: 15px;
    border-left: 8px solid var(--blue);
    font-size: 20px;
    font-style: italic;
}
.content table { border-collapse: collapse; width: 100%; }
.content th, .content td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; }
.callout { max-width: 767px; margin: 20px auto; padding: 30px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 600; }
.callout p { margin: 0; }
.video { margin: 20px 0; }

/* Category, author and "All Posts" pages: the name centred over the cards. */
.archive { padding-top: 31px; text-align: center; }
.archive h1 { margin: 0 0 46px; padding: 0 20px; font-weight: 900; }
.archive-intro { margin: -46px 0 39px; font-size: 18px; }
.archive-intro p { margin: 8px 0 0; }
.archive .cards { text-align: left; }
.pagination { display: flex; justify-content: center; gap: 12px; margin-bottom: 30px; font-size: 14px; }

/* Plain pages (Cookie Policy, Privacy Policy) */
.page { padding-top: 11px; }
.page .content { font-size: 15px; line-height: 1.6; }

/* About */
.about-section { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 75px; }
.about-section + .about-section { padding-top: 62px; padding-bottom: 60px; }
.kicker { margin: 0 20px; color: var(--blue); font-size: 20px; font-weight: 900; letter-spacing: 4px; line-height: 1.1; text-transform: uppercase; }
.heading-two { margin: 20px 20px 25px; font-size: 65px; font-weight: 900; line-height: 1; }
.big-text { max-width: 640px; margin: 13px 20px 33px; font-size: 18px; line-height: 1.5; }
.big-text p { margin: 0 0 1.5em; }
.big-text p:last-child { margin-bottom: 0; }
.team-member { display: flex; width: 100%; max-width: 720px; padding: 48px; border: 1px solid var(--line); border-bottom: 0; border-radius: 5px; text-align: left; }
.team-member:last-child { border-bottom: 1px solid var(--line); }
.team-member:hover { box-shadow: 0 20px 40px 0 rgba(194, 191, 211, .4); }
.team-member img { width: 144px; height: 144px; margin-right: 24px; border-radius: 50px; filter: grayscale(100%); flex: none; }
.team-member h4 { margin: 6px 0; color: var(--blue); font-size: 20px; font-weight: 900; line-height: 1.1; }
.team-member p { margin: 0; font-size: 20px; line-height: 1.5; }

/* Contact */
.contact { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 36px; }
.contact-title { display: flex; align-items: center; }
.contact-title .icon { color: var(--blue); font-size: 50px; margin-right: 6px; }
.contact-title h1 { margin: 0 0 8px; font-weight: 800; }
.contact-intro { max-width: 60%; margin: 0 0 40px; color: var(--grey); }
.contact-buttons { display: flex; justify-content: center; }
.contact-button { display: flex; flex-direction: column; align-items: center; margin: 0 20px; color: var(--grey); }
a.contact-button:hover { transform: scale(1.1); }
.contact-icon { display: flex; padding: 20px; border-radius: 100%; background: var(--blue); color: #fff; }
.contact-icon svg { width: 30px; height: 30px; fill: currentColor; }
.contact-button p { margin: 6px 0 0; font-weight: 600; }

@media (max-width: 1120px) {
    .footer-nav { font-size: 13px; }
    .footer-row .brand span { font-size: 20px; }
    .footer-row .brand img { width: 30px; }
}
@media (max-width: 991px) {
    .post { width: 100%; padding: 0 8px; }
    .post h1 { font-size: 36px; padding-bottom: 10px; }
    .card, .home-cards .card { width: calc(50% - 20px); margin: 0 10px 20px; }
    .home-cards { justify-content: center; margin: 0 -10px 30px; }
    .home-title h1 { font-size: 29px; }
    .home-band h2 { font-size: 36px; }
    .button { font-size: 14px; }
    .footer-row { flex-direction: column; gap: 12px; }
    .footer-row .brand, .footer-nav, .socials { width: 100%; justify-content: center; }
    .footer-nav a { margin: 0 10px; }
    .heading-two { font-size: 56px; }
}
@media (max-width: 767px) {
    .brand span { font-size: 18px; }
    .brand img { width: 24px; }
    .header-nav a { font-size: 14px; padding: 0 10px; }
    .post h1 { font-size: 30px; }
    .byline img { flex: none; }
    .card, .home-cards .card { width: 100%; }
    .home-title h1 { font-size: 22px; }
    .home-title .icon { font-size: 24px; }
    .home-buttons { width: 100%; }
    .button { font-size: 12px; }
    .home-band h2 { font-size: 24px; }
    .footer-nav { font-size: 12px; flex-wrap: wrap; }
    .heading-two { font-size: 44px; }
    .team-member { flex-direction: column; align-items: center; padding: 32px 24px; text-align: center; }
    .team-member img { margin: 0 0 12px; }
    .contact-title h1 { font-size: 20px; }
    .contact-title .icon { font-size: 30px; }
    .contact-intro { max-width: 100%; font-size: 16px; }
}
@media (max-width: 479px) {
    .brand span { font-size: 12px; }
    .post h1 { font-size: 24px; }
    .featured { border-radius: 15px; }
    .home-title h1 { font-size: 16px; }
    .home-band h2 { font-size: 20px; }
    .heading-two { font-size: 36px; }
}
