/*
Theme Name:     Newspaper Child theme
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description:    Child theme made by tagDiv
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       Newspaper
Version:        9.0c
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/


/* character counter */
.remaining-chars {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

/* — teaser with fade-out — */
.article-teaser.fade-teaser {
  position: relative;
  max-height: 8em;
  /* height roughly 6 lines; adjust as needed */
  overflow: hidden;
  margin-bottom: 1.5em;
  line-height: 1.6;
}

.article-teaser.fade-teaser::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4em;
  /* fade height */
  background: linear-gradient(to top, #fff 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

/* the grey container */
.membership-prompt {
  background: #ededed;
  border: 1px solid #ddd;
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 10px 10px 30px 3px rgba(0, 0, 0, 0.2);
}

/* title above buttons */
.membership-prompt .prompt-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
}

.membership-prompt .btn-number {
  position: absolute;
  display: block;
  margin-left: -15px;
}


.membership-prompt .login-btns {
  display: flex;
  align-content: center;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 20px;
  margin-bottom: 40px;
  width: 90%;
}

.membership-prompt .login-btns .member {
  display: flex;
  align-content: center;
  justify-content: center;
  flex-wrap: wrap;
  min-height: 80px;
  color: white !important;
  padding: 14px 20px;
  box-shadow: 1px 4px 7px rgba(4 4 4 / 50%);
  border-radius: 10px;
  max-width: 250px;
  text-decoration: none;
  font-size: 16px;
}

/* legacy button */
.membership-prompt .login-btns .member.legacy {
  background: linear-gradient(45deg, #565c5f, #929393);
}

.membership-prompt .login-btns .member.legacy:hover {
  color: black !important;
  background: linear-gradient(45deg, #929393, #565c5f);
}

/* login button */
.membership-prompt .login-btns .member.login {
  background: linear-gradient(45deg, #30657f, #4c616bb8);
}

.membership-prompt .login-btns .member.login:hover {
  background: linear-gradient(45deg, #4c616bb8, #30657f);
  color: #000000 !important;
}

.membership-prompt .register-container{
  width: 90%;
  margin: 0 auto;
}

.membership-prompt .register-container p,
.membership-prompt .login-btns p {
  margin-left: 10px;
  margin-bottom: 0;
}

/* red register button */
.membership-prompt .register-container .btn-register {
  min-height: 80px;
  display: flex;
  align-content: center;
  justify-content: center;
  flex-wrap: wrap;
  background-color: #ffffff;
  color: #000000 !important;
  padding: 14px 30px;
  font-size: 18px;
  border-radius: 10px;
  text-decoration: none;
  margin-bottom: 12px;
  max-width: 460px;
  margin: 0 auto 10px;
  box-shadow: 1px 4px 7px rgba(4 4 4 / 50%);
}

.membership-prompt .btn-register:hover {
  background-color: #4e4e4e;
  color: #ffffff !important;
  border-color: #324047;
}


/* info section title with lines */
.membership-prompt .info-title {
  position: relative;
  display: inline-block;
  color: #666;
  font-size: 14px;
  margin: 24px 0 8px;
  padding: 0 12px;
}

.membership-prompt .info-title::before,
.membership-prompt .info-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background: #ccc;
}

.membership-prompt .info-title::before {
  left: -90px;
}

.membership-prompt .info-title::after {
  right: -90px;
}

/* plan details text */
.membership-prompt .info {
  font-size: 14px;
  color: #999;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.legacy-unlock {
  width: 50%;
  margin: 40px auto;
  box-shadow: 10px 10px 30px 3px rgba(0, 0, 0, 0.2);
  background: #ededed;
  padding: 30px;
}

.legacy-unlock h2{
  text-align: center;
  margin-top: 0;
}

.legacy-unlock form label {
  text-align: left;
}

.legacy-unlock form #legacy-code {
  width: 40%;
  padding-left: 20px;
}

.legacy-unlock form button {
  display: block;
  background-color: #607d8b;
  color: #fff !important;
  padding: 14px 30px;
  font-size: 18px;
  border-radius: 4px;
  text-decoration: none;
  margin-bottom: 12px;
  max-width: 350px;
  margin: 10px auto;
}

.legacy-unlock form button:hover {
  background-color: #3f4f57;
}

/* Login form */
#popmake-3179 {
  /* max-width: 350px;
  left: calc(50% - 175px); */
  border: 1px solid #c4c4c4;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

.senshoku-login-container {
  padding: 1rem;
}

.login-submit {
  text-align: center;
}

.senshoku-login-container input[type="text"],
.senshoku-login-container input[type="password"] {
  padding: 1rem;
  background-color: #fff;
  margin-top: 0.5rem;
}

.senshoku-login-container input[type="submit"] {
  background: #4c616b;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  min-width: 300px;
}

.senshoku-login-container input[type="submit"]:hover {
  background: #3b4f58;
}

#popmake-3179 .popmake-close {
  padding: 0 1rem;
  background-color: #d4dbe4;
  color: #515250;
  border-radius: 5px;
}

#user-registration {
  margin: 3rem auto;
}

#user-registration button[type="submit"] {
  background-color: #4787b2 !important;
}

#user-registration button[type="submit"]:hover {
  background-color: #254457 !important;
}

.code-login-container {
  margin: 0 auto;
}

.code-login-container h2 {
  font-size: 1.5rem;
  margin-top: 0;
  text-align: center;
}

.code-login-container .user-registration-Button {
  margin-top: 2rem;
}

.code-login-container p {
  display: inline-block;
}

.code-login-container span.required {
  text-decoration: none;
  border: none;
  color: #ff4f55;
}

@media screen and (max-width: 524px) {
  .legacy-unlock{
    width: 90%;
  }
  .membership-prompt .login-btns{
    flex-direction: column;
    row-gap: 20px;
  }
  .membership-prompt .login-btns .member{
    width: 90%;
    max-width: 90%;
  }
}

@media screen and (min-width: 525px) {
  .article-teaser.fade-teaser {
    max-height: 5em;
  }
}

@media screen and (min-width: 924px) {
  .membership-prompt{
    width: 650px;
  }
}