/*!
Theme Name: SafeJournalists
Theme URI: https://kontrabit.com/
Author: Automattic
Author URI: https://kontrabit.com/
Description: I am theme made for a SafeJournalists website.
Version: 1.0.0
Tested up to: 6.5
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: sj-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Kontrabit Start is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------*/
.pagination {
  --bs-pagination-active-bg: #fbba00;
  --bs-pagination-active-border-color: #fbba00;
  --bs-pagination-color: #fbba00;
  --bs-pagination-active-color: #222222;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/* layouts
--------------------------------------------- */
/* Typography
--------------------------------------------- */
html {
  font-size: 18px;
}

body,
button,
input,
select,
optgroup,
textarea {
  color: #222222;
  font-family: "Roboto", "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.lead {
  font-size: 1.2rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  clear: both;
  font-family: "Roboto", "Helvetica Neue", sans-serif;
  font-weight: bold;
}

h1, .h1 {
  font-size: 2rem;
}

h2, .h2 {
  font-size: 1.45rem;
}

h3, .h3 {
  font-size: 1rem;
}

h4, .h4 {
  font-size: 1rem;
}

h5, .h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
}

p {
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
}

:root {
  --bs-primary: #fbba00;
  --bs-primary-rgb: 251, 186, 0;
}

.dropdown-item {
  --bs-dropdown-link-active-bg: #fbba00;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0;
}

.site-main ul,
.site-main ol {
  margin-bottom: 1rem;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

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

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

.entry-header {
  padding: 50px 0;
}

.site-footer {
  padding: 50px 0 30px;
  background-color: #E9E9E9;
}
.site-footer .widget {
  margin-top: 50px;
}
@media (min-width: 992px) {
  .site-footer .widget {
    margin-top: 0;
  }
}

.site-info {
  padding-top: 50px;
}
@media (min-width: 992px) {
  .site-info {
    padding-top: 150px;
  }
}

.logos-box {
  text-align: center;
  align-items: center;
}
.logos-box .logo-single {
  margin: 30px 0;
  vertical-align: middle;
}
@media (min-width: 992px) {
  .logos-box {
    display: flex;
    -moz-column-gap: 50px;
         column-gap: 50px;
  }
  .logos-box img {
    max-height: 70px;
  }
}

.fundedby img.logo {
  max-height: 70px;
}

/* Links
--------------------------------------------- */
a:not(.btn) {
  color: #222222;
  transition: all 0.15s ease;
}
a:not(.btn):visited {
  color: #222222;
}
a:not(.btn):hover, a:not(.btn):focus, a:not(.btn):active {
  color: #191970;
}
a:not(.btn):focus {
  outline: 0;
}
a:not(.btn):hover, a:not(.btn):active {
  outline: 0;
}

.tags-links a {
  display: inline-block;
  background: lightgray;
  padding: 3px 15px;
  border-radius: 5px;
  text-decoration: none;
  margin-right: 15px;
  margin-bottom: 15px;
}
.tags-links a:last-of-type {
  margin-right: 0;
}
.tags-links a:hover, .tags-links a:focus, .tags-links a:active {
  color: #222222;
  outline: 0;
  background: #bababa;
}

.post-title a {
  text-decoration: none;
}

/* Forms
--------------------------------------------- */
button,
input[type=button],
input[type=reset] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}
button:hover,
input[type=button]:hover,
input[type=reset]:hover {
  border-color: #ccc #bbb #aaa;
}
button:active, button:focus,
input[type=button]:active,
input[type=button]:focus,
input[type=reset]:active,
input[type=reset]:focus {
  border-color: #aaa #bbb #bbb;
}

#load-more-button {
  width: 100%;
  margin: 50px 0;
}

nav .-report a,
nav .-report a:visited {
  background-color: #fbba00;
  margin-right: 15px;
  border-radius: 5px;
  transition: all 0.15s ease;
}
nav .-report a:hover,
nav .-report a:visited:hover {
  background-color: #c89400;
}
nav .-sos a,
nav .-sos a:visited {
  background-color: #e61f1f;
  border-radius: 5px;
  transition: all 0.15s ease;
  color: white;
}
nav .-sos a:hover,
nav .-sos a:visited:hover {
  background-color: #bd1515;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* Grid and columns
--------------------------------------------- */
.row.equalize {
  display: flex;
  flex-wrap: wrap;
}

.row.equalize > [class*=col-] {
  display: flex;
  flex-direction: column;
}

.row.no-gutter {
  margin-left: 0;
  margin-right: 0;
}

.row.no-gutter [class*=col-]:not(:first-child),
.row.no-gutter [class*=col-]:not(:last-child) {
  padding-right: 0;
  padding-left: 0;
}

.row.small-gutter {
  margin-left: -3px;
  margin-right: -3px;
}

.row.small-gutter [class*=col-]:not(:first-child),
.row.small-gutter [class*=col-]:not(:last-child) {
  padding-right: 3px;
  padding-left: 3px;
}

.col-5th {
  flex: 0 0 20%;
  max-width: 20%;
}

@media (min-width: 768px) {
  .col-sm-5th {
    flex: 0 0 20%;
    max-width: 20%;
  }
}
@media (min-width: 992px) {
  .col-md-5th {
    flex: 0 0 20%;
    max-width: 20%;
  }
}
@media (min-width: 1200px) {
  .col-lg-5th {
    flex: 0 0 20%;
    max-width: 20%;
  }
}
@media (min-width: 1600px) {
  .col-xl-5th {
    flex: 0 0 20%;
    max-width: 20%;
  }
}
/* Navigation
--------------------------------------------- */
.navbar-brand img {
  max-height: 40px;
}
@media (min-width: 992px) {
  .navbar-brand img {
    max-height: 70px;
  }
}

.primary-navigation a {
  color: #222222;
}
.primary-navigation .navbar-nav > li > a {
  font-weight: 600;
}
@media (min-width: 992px) {
  .primary-navigation {
    padding-top: 35px;
  }
}

.secondary-navigation {
  background-color: #ffd366;
}
.secondary-navigation .navbar-nav > li > a {
  font-size: 0.75rem;
  padding-bottom: 0;
  padding-top: 0;
}
@media (min-width: 992px) {
  .secondary-navigation .navbar-nav > .nav-item {
    position: relative;
  }
  .secondary-navigation .navbar-nav > .nav-item:hover {
    cursor: pointer;
  }
  .secondary-navigation .navbar-nav > .nav-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    border-right: 2px solid #888; /* Change color as needed */
    z-index: 1;
  }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}
.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

.widget ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.widget ul li {
  margin-bottom: 1rem;
}
.widget ul a {
  text-decoration: none;
}
.widget ul .sub-menu {
  margin-top: 1rem;
}

#sidebar li {
  margin-bottom: 5px;
}

.view-more-link {
  font-weight: bold;
  font-size: 0.75rem;
  color: #888;
  text-decoration: none;
  align-self: center;
}

.page-pagination {
  margin: 50px 0 100px;
}

/* Content
--------------------------------------------- */
.sticky {
  display: block;
}

.site-main {
  padding-bottom: 50px;
}

.updated:not(.published) {
  display: none;
}

#offcanvasRight {
  background-color: #f4eed8;
}

.card.no-border {
  border: 0;
}

.page-header {
  padding: 30px 0;
  overflow: hidden;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.entry-footer {
  margin-top: 50px;
}

.tags-links {
  margin-top: 20px;
}

.comments-link {
  margin-top: 20px;
}

.report-banner {
  margin: 100px 0;
  padding: 25px;
  border-radius: 10px;
}
.report-banner img {
  height: 100px;
  margin: 15px;
}
@media (min-width: 992px) {
  .report-banner img {
    height: 150px;
    margin: -50px 15px;
  }
  .report-banner .banner-text {
    margin: 0;
  }
  .report-banner .-cta {
    text-align: right;
  }
}

section.content-section {
  margin: 100px 0;
}

.post-author {
  color: #fbba00;
}

.post-meta {
  color: #888;
  font-size: 0.75rem;
  margin-bottom: 0;
}

.content-section-header {
  margin-bottom: 30px;
  padding-bottom: 5px;
  border-bottom: 1px solid #888;
}

.post-thumbnail {
  margin-bottom: 30px;
}
.post-thumbnail img {
  border-radius: 10px;
}

@media (min-width: 992px) {
  .post-item.layout-1,
  .post-item.layout-6,
  .post-item.layout-7,
  .post-item.layout-2,
  .post-item.layout-4 {
    margin-bottom: 30px;
  }
  .post-item.layout-5 {
    margin-bottom: 50px;
  }
}
.archive-post-thumbnail {
  position: relative;
  width: 100%; /* or any specific width as needed */
  padding-top: 75%; /* Aspect ratio (e.g., 16:9) */
  overflow: hidden; /* Ensure no overflow */
  border-radius: 10px;
  border: 1px solid lightgray;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(251, 186, 0, 0.5); /* Adjust color and opacity */
  transition: opacity 0.3s ease;
  pointer-events: none; /* Ensure overlay does not capture mouse events */
  opacity: 0;
}

.archive-post-thumbnail:hover .overlay {
  opacity: 1;
}

.archive-post-thumbnail:hover .background-image {
  transform: scale(1.1); /* Slight zoom effect */
}

.layout-4 .archive-post-thumbnail {
  margin-bottom: 15px;
}

.layout-5 .archive-post-thumbnail,
.layout-6-featured .archive-post-thumbnail,
.layout-7-featured .archive-post-thumbnail {
  margin-bottom: 30px;
}

@media (max-width: 767px) {
  .layout-7 .archive-post-thumbnail {
    margin-bottom: 30px;
  }
}

.-featured .background-image {
  position: relative;
  min-height: 300px;
}

.scrollable-container {
  overflow-x: auto;
  white-space: nowrap;
}

.scrollable-container .row {
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping */
}

.scrollable-container .post {
  flex: 0 0 25%; /* 4 items per row */
  max-width: 25%;
}

/* Optional: Adjust container padding and margins for mobile view */
@media (max-width: 768px) {
  .scrollable-container {
    padding: 0;
  }
}
#attacks-filter .form-floating {
  margin-bottom: 15px;
}

#attacks-list {
  overflow: hidden;
}

.hero-header .post-img {
  min-height: 500px;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 5px;
  background-position: center;
}
@media (min-width: 992px) {
  .hero-header .post-img {
    min-height: 400px;
  }
}
.hero-header .card-img-overlay {
  display: flex;
  align-items: end;
}
@media (max-width: 767px) {
  .hero-header .row {
    flex-wrap: nowrap;
    overflow-x: scroll;
  }
  .hero-header .row .-item {
    max-width: 350px;
  }
}

.post_attachments a {
  line-height: 1;
}

.attachment_icon {
  width: 30px;
  margin-right: 20px;
}

.case-info-label {
  font-weight: bold;
}

.list-group-item-title {
  background-color: #444;
}
.list-group-item-title h2 {
  color: #fff;
  margin: 15px 0;
}

.list-group-item-subtitle {
  background-color: #f1f0ed;
}
.list-group-item-subtitle .case-info-heading {
  margin-bottom: 0;
}

.entry-header-archive {
  padding: 0 0 25px;
}

.blog .post {
  margin-bottom: 100px;
}

.list-archive-posts {
  padding: 50px 0;
}
.list-archive-posts .post-item {
  margin-bottom: 50px;
}

.search-results-page .post-item {
  margin-bottom: 15px;
}
.search-results-page .post-title {
  margin-bottom: 0;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin-top: 50px;
}
.widget .widget-title {
  margin-bottom: 30px;
}
.widget select {
  max-width: 100%;
}

#sidebar .widget:first-of-type {
  margin-top: 0;
}
#sidebar .widget-title {
  font-size: 1.5rem;
  border-bottom: 1px solid lightgray;
  padding-bottom: 10px;
}

#primary, #sidebar {
  padding-top: 50px;
}
/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

.thumbnail-caption {
  font-size: 0.9rem;
  font-style: italic;
  color: #aaaaaa;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}
.wp-caption img[class*=wp-image-] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
/* Accessibility
--------------------------------------------- */
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  -webkit-clip-path: none;
          clip-path: none;
  color: #222222;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;
  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;
  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}/*# sourceMappingURL=style.css.map */