/*---------------------------------------------------------------------------------

 Theme Name:   Kristensamfundet
 Theme URI:    https://dospuntos.no
 Description:  Utviklet for Kristensamfundet i Danmark og menighetene.
 Author:       Johan Wagenheim
 Author URI:   https://dospuntos.no
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

------------------------------ ADDITIONAL CSS HERE ------------------------------*/

.et_pb_fullwidth_header.et_pb_fullwidth_header_0 {
  background-image: none !important;
  background-color: rgba(255, 255, 255, 0.1);
}

#main-header {
  border-bottom: 4px solid #8d008c;
}

.logo_container {
  text-align: center;
}

/* Tidsskriftet */
.post-module {
  position: relative;
  z-index: 1;
  display: block;
  background: #ffffff;
  min-width: 270px;
  height: 440px;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
  transition: all 0.3s linear 0s;
}

.post-module:hover,
.hover {
  box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.3);
}

.post-module:hover .thumbnail img,
.hover .thumbnail img {
  transform: scale(1.1);
  opacity: 0.6;
}

.post-module .thumbnail {
  background: #000000;
  height: 400px;
  overflow: hidden;
}

.post-module .thumbnail .date {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  background: #8d008c;
  width: 55px;
  height: 55px;
  padding: 12.5px 0;
  border-radius: 100%;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  box-sizing: border-box;
}

.post-module .thumbnail .date .day {
  font-size: 18px;
}

.post-module .thumbnail .date .month {
  font-size: 12px;
  text-transform: uppercase;
}

.post-module .thumbnail img {
  display: block;
  width: 120%;
  transition: all 0.3s linear 0s;
}

.post-module .post-content {
  position: absolute;
  bottom: 0;
  background: #ffffff;
  width: 100%;
  padding: 30px;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s;
}

.post-module .post-content .category {
  position: absolute;
  top: -34px;
  left: 0;
  background: #8d008c;
  padding: 10px 15px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.post-module .post-content .title {
  margin: 0;
  padding: 0 0 10px;
  color: #333333;
  font-size: 26px;
  font-weight: 700;
}

.post-module .post-content .sub_title {
  margin: 0;
  padding: 0 0 20px;
  color: #8d008c !important;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 1 !important;
  text-transform: none !important;
}

.post-module .post-content .description {
  display: none;
  color: #666666;
  font-size: 14px;
  line-height: 1.8em;
}

.post-module .post-content .post-meta {
  margin: 30px 0 0;
  color: #999999;
}

.post-module .post-content .post-meta .timestamp {
  margin: 0 16px 0 0;
}

.post-module .post-content .post-meta a {
  color: #999999;
  text-decoration: none;
}

.tidsskriftene-container .row {
  display: flex;
}

.tidsskriftene-container .row .column {
  flex: 50%;
  padding: 5%;
}

.tidsskriftene-container .button {
  border: 1px solid #8300e9;
  padding: 14px;
  box-shadow: 0px 0px 8px 0px;
}

@media screen and (max-width: 787px) {
  .tidsskriftene-container .row {
    display: block;
  }

  .tidsskriftene-container .row .column {
    width: 100%;
  }
}

/* Blog intro */
.entry-item {
  margin-bottom: 5px;
  width: 100%;
}

@media screen and (min-width: 767px) {
  .entry-item {
    width: 50%;
    float: left;
  }
}

.entry-item img {
  max-width: 100px;
}

span.entry-meta {
  font-weight: 300;
  font-size: 80%;
  color: grey;
  font-style: italic;
}

span.entry-excerpt {
  white-space: nowrap;
  overflow: hidden;
  display: block;
  text-overflow: ellipsis;
  font-weight: 300;
}

/* Link to KIN - fixed left side */
.fixed-side-link {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 10;
  padding: 12px 10px;
  border-radius: 0 10px 10px 0;
  background: #fff;
  color: purple;
  border: 1px solid purple;
  border-left: none;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: 
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.fixed-side-link:hover {
  background: purple;
  color: #fff;
  transform: translateY(-50%) translateX(4px);
}

.fixed-side-link a {
  transition: color .6s ease;
}
.fixed-side-link:hover a {
  color: white;
}

.fixed-side-link a:before {
  font-family: "ETmodules";
  content: "\3c";
  padding-bottom: 5px;
}

/* Sakramenter accordion */
.sakramenter-accordion {
    max-width: 900px;
    margin: 0 auto;
    font-family: inherit;
}

/* Individual item */
.sakramenter-item {
    border-bottom: 1px solid #e5e5e5;
}

/* Title */
.sakramenter-title {
    padding: 16px 14px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    font-size: 1.2rem;
    background: #f9f9f9;
    transition: background 0.2s ease;
}

/* Hover effect */
.sakramenter-title:hover {
    background: #f1f1f1;
}

/* Remove default marker */
.sakramenter-title::-webkit-details-marker {
    display: none;
}

/* Plus/minus icon */
.sakramenter-title::before {
    content: "+";
    display: inline-block;
    width: 1.2em;
    font-weight: bold;
    color: #666;
}

/* Open state icon */
details[open] > .sakramenter-title::before {
    content: "−";
}

/* Open item styling */
details[open] {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin: 8px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Adjust title when open */
details[open] > .sakramenter-title {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

/* Content */
.sakramenter-content {
    padding: 14px;
    color: #333;
    line-height: 1.5;
}

/* Ensure full width rows inside */
.sakramenter-content .et_pb_row {
    width: 100%;
}

h1.not-found-title {
    display: none;
}

/* FOOTER */
#footer-info {
  width: 100%;
}

.footer-logo {
  float: right;
}

.footer-logo img {
  width: 200px;
}

/* Clearfix */
.clearfix {
  *zoom: 1;
}

.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}