
:root {
  --background-colour: #fff;
  --text-colour: #000;
  --primary-colour: #025A92;
  --secondary-colour: #B30000;
  --border-colour: #e4e4e4;
  --copy-colour: #757575;
  --font-family: 'Roboto', -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-size: 17px;
  --line-height: 1.8;
  --letter-spacing: .3px;
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; box-sizing: border-box; }
*, *:before, *:after { word-wrap: break-word; overflow-wrap: break-word; }

html, body { background: var(--background-colour); color: var(--text-colour); font-family: var(--font-family); font-size: var(--font-size); line-height: var(--line-height); letter-spacing: var(--letter-spacing); }
img, picture, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-colour); text-decoration: none; font-weight: 500; }
a:hover { text-decoration: underline; }

/* Layout */
.container { max-width: 1200px; min-width: 240px; margin: 0 auto; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; }
.main-container { width: 100%; display: block; }
.clearfix::after { content: ""; display: table; clear: both; }

/* Header */
.site-header { position: relative; width: 100%; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid #ddd; box-shadow: 0 2px 5px rgba(0,0,0,.3); }
.site-header .container { padding: 10px 15px; }
.logo img { display: block; height: 60px; width: auto; }
.menu-toggle { display: flex; flex-direction: column; justify-content: space-between; width: 40px; height: 25px; background: transparent; border: none; cursor: pointer; margin-left: 10px; }
.menu-toggle .bar { width: 100%; height: 3px; background: #000; border-radius: 2px; }

/* Navigation */
.main-nav { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #fff; color: #000; padding: 20px; transform: translateX(-100%); transition: transform .3s ease; overflow-y: auto; }
.main-nav.open { display: block; transform: translateX(0); }
.main-nav .close-nav { background: none; border: none; color: var(--secondary-colour); font-size: 24px; cursor: pointer; margin-bottom: 20px; font-weight: 700; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list li { margin-bottom: 10px; position: relative; }
.nav-list li a { color: #000; white-space: nowrap; }
.dropdown { display: none; position: static; background: inherit; border: 0; padding: 0; width: 100%; }
.dropdown.open { display: block; }
.toggle-link { display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.toggle { margin-left: 8px; }

@media(min-width: 1200px) {
  .main-nav { display: block; position: static; transform: none; padding: 0; height: auto; }
  .menu-toggle, .main-nav .close-nav { display: none; }
  .nav-list { display: flex; justify-content: flex-end; align-items: center; flex-wrap: nowrap; }
  .nav-list li { margin: 0 15px; }
  .dropdown { position: absolute; top: 100%; left: 0; display: none; background: #fff; border: 1px solid #ddd; padding: 10px; box-shadow: 0 4px 6px rgba(0,0,0,.1); width: max-content; }
  .nav-list li:hover > .dropdown { display: block; }
  .dropdown .dropdown { top: 0; left: 100%; }
  .dropdown li { margin: 0; border-bottom: 1px solid #eee; }
  .dropdown li:last-child { border-bottom: 0; }
  .dropdown a { display: block; padding: 8px 14px; }
}

/* Headings */
h1, h2, h3, h4, h5, h6 { line-height: 1.4; margin: .3rem 0 .5rem; font-weight: 500; }
h1 { font-size: 28px; }
h2 { font-size: 24px; }
h3 { font-size: 22px; }
.headingblue { color: var(--primary-colour); }
.headingorange { color: var(--secondary-colour); }

/* Home blocks */
.h2.title { display: block; width: 100%; margin: 20px 0; }
.msg-icon { display: inline-block; fill: var(--secondary-colour); height: 1.2em; width: 1.2em; vertical-align: middle; margin-right: 6px; }

.trendpost, .recentpost { width: 100%; float: left; border-bottom: 1px dotted #ddd; padding: 6px 0; }
.trend-title h2, .recent-title h2 { font-size: 20px; }
.trend-thumbnail img { width: 50px; height: 50px; object-fit: cover; border-radius: 2px; margin-right: 10px; }
.trend-thumbnail { float: left; }
.featured-thumbnail img { width: 90px; height: 90px; object-fit: cover; border-radius: 2px; }
.featured-thumbnail { float: left; margin-right: 10px; }
.post-info { font-size: 14px; color: var(--copy-colour); margin-top: 10px; margin-bottom: 5px; }
.post-info a { color: var(--copy-colour); }

/* Search + sidebar */
#sidebar { width: 100%; }
.sidebar .widget { background: #fff; padding: 20px; border: 1px solid #eee; margin: 20px 0; }
.sidebar .widget-title { font-weight: 700; border-bottom: 5px solid var(--primary-colour); margin-bottom: 10px; }
#sidebar-search .search-input { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 3px; }
#sidebar-search .sbutton { margin-top: 10px; background: var(--primary-colour); color: #fff; border: none; border-radius: 3px; padding: 12px; cursor: pointer; }

/* Buttons */
#load-more { width: 100%; background: var(--primary-colour); color: #fff; border: 2px solid var(--primary-colour); border-radius: 5px; padding: 10px 20px; font-size: 16px; font-weight: 700; cursor: pointer; }
#load-more:hover { background: #fff; color: var(--primary-colour); }
.loadmore { text-align: center; margin: 20px 0; }

/* Single */
.articlemain { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.sumt { font-weight: 500; border-top: 1px solid var(--primary-colour); border-bottom: 1px solid var(--primary-colour); padding: 0 20px; margin: 5px 0; }
.myschoolgistsharing { display: flex; flex-wrap: wrap; gap: .6rem; margin: 16px 0; }
.myschoolgistsharing .button { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .9rem; color: #fff; border-radius: 5px; font-weight: 700; text-transform: uppercase; border: 0; }
.myschoolgistsharing .button.whatsapp { background: #075e54; }
.myschoolgistsharing .button.twitter { background: #000; }
.myschoolgistsharing .button.facebook { background: #3b5998; }

/* Footer */
#site-footer { margin-top: 30px; background: #222; color: #fff; }
#copyright-note { font-size: 14px; color: #ddd; text-align: center; padding: 20px 0; }
.navfo { list-style: none; display: flex; justify-content: center; gap: 8px; padding: 0; margin: 10px 0; }
.navfo li a { color: #fff; }
.c { text-align: center; color: #fff; margin-bottom: 14px; }

/* Responsive */
@media(max-width: 865px){
  .site-header .container { flex-wrap: wrap; }
}

@media(max-width: 720px){
  .featured-thumbnail img { width: 90px; height: 90px; }
}

@media(max-width: 600px){
  .trend-thumbnail img { width: 50px; height: 50px; }
}

:focus-visible{ outline: 2px solid var(--primary-colour); outline-offset: 2px; }
