/*
Theme Name: Astra Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Astra Wordpress Theme.
Version: 1.0
Author: sraggio
Author URI: http://ragg.io
Template: astra
*/

/* Add your own styles here: */

.custom-id {
  font: bold 16px Helvetica, Arial, sans-serif;
  margin-bottom: 20px;
}

/* Two-column format for Documents: */
.post-container {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.post-thumbnail {
  flex: 0 0 400px;
  max-width: 100%;
  height: 400px;
  overflow: hidden;
}

.post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-content {
  flex: 1;
  min-width: 0;
}

.post-content a {
	text-decoration: underline;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .post-container {
    flex-direction: column;
  }

.post-thumbnail {
    width: 100%;
    height: auto;
  }

.post-image {
    height: auto;
    object-fit: contain;
  }
}
#page .site-content {
	margin-top: 40px;
}

#doc-body {
	width: 70%;
	clear: both;
}

.site-title a {
		color: #71273d !important;
}
.main-menu a {
	font-weight: bold;
}

.main-menu a:hover {
	text-decoration: underline;
}

.loyalist-listing a {
	text-decoration: underline;
}
.documents-list a {
	text-decoration: underline;
}

.home-text {
	max-width: 1024px !important;
	margin-left: 0 !important;
}

/* Main loyalist page filter form */

.loyalist-filter-form {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.loyalist-filter-row {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

@media (min-width: 768px) {
    .loyalist-filter-row {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .loyalist-filter-row label {
        flex: 1 1 22%;
    }
}

.loyalist-filter-form input[type="text"] {
    width: 100%;
    box-sizing: border-box;
}