/*
Theme Name: American Luck Blog
Theme URI: https://americanluckinfo.com
Author: American Luck
Author URI: https://americanluck.com
Description: A modern and responsive WordPress theme for American Luck Info, featuring clean typography, fast performance, and a flexible layout.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: american-luck-blog
Tags: news, blog, responsive, minimal, modern, entertainment!
*/

/* ========== Base Reset ========== */

/* variables.css is enqueued in functions.php (handle al-variables) before this file. */

/* Now you can use the variables like this: */
body {
  font-family: var(--font-inter);
  background-color: var(--neutral-background);
  color: var(--text-foreground-secondary);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ===== Contact Button ===== */
.header-contact-us-button {
  cursor: pointer;
}
#main {
  margin: 0 auto 7.875rem;
}
/* ===== Sidebar (hidden on mobile) ===== */
.header-lobby-not-login-side-bar {
  position: fixed;
  display: none;
  left: 0;
  top: 0;
  z-index: 100;
  padding-top: 3%;
  background: var(--blue);
  width: 108px;
  height: 100%;
  transition: width 0.3s ease;
  flex-direction: column;
  align-items: center;
}

.header-lobby-not-login-side-bar img {
  width: 34px;
  cursor: pointer;
  transition: filter 0.3s;
}

.header-lobby-not-login-side-bar img:hover {
  filter: invert(25%) sepia(100%) saturate(2477%) hue-rotate(1deg)
    brightness(105%) contrast(103%);
}

/* ===== Header ===== */
.header-lobby-not-login-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 10;
  margin-bottom: 5.5rem;
  transition: width 0.3s ease;
  background-color: var(--neutral-background);
  padding-left:var(--viewport-horizon-padding);
}


.header-lobby-not-login-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 5.5rem;
}

.header-lobby-not-login-navigation .left-links li,
.header-lobby-not-login-navigation .left-links-menu li {
  margin-bottom:0;
}

/* ===== Left Links ===== */
.left-links {
  width: 40%;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.left-links > .left-links-menu {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.left-links li {
  list-style: none;
}
.left-links a {
  font-family: var(--font-bluescreen-bold);
  font-size: 1.5rem;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--text-foreground-secondary);
  transition: color 0.3s;
}


.left-links a:hover {
  color: var(--text-foreground-secondary-hover);
}

/* ===== Logo ===== */
.header-lobby-not-login-logo {
  width: 5rem;
  height: 100%;
  position: relative;
  cursor: pointer;
}

.header-lobby-not-login-logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: scale(1.4) translate(-50%, -50%);
  transform-origin: left top;
  transition: transform 0.33s ease-in-out;
}

.header-lobby-not-login-logo img.expand {
  transform: scale(2) translate(-50%, -20%);
}

/* ===== Buttons (Right Side) ===== */
.header-lobby-not-login-btn-group {
  width: 40%;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  align-items: center;
}

.header-lobby-not-login-login-btn,
.header-lobby-not-login-sign-up-btn {
  font-family: var(--font-bluescreen-bold);
  text-transform: uppercase;
  min-width: 6.9375rem;
  min-height: 2.5rem;
  padding: 0;
  border-radius: 5px;
  font-size: 1.5rem;
  cursor: pointer;
  text-decoration: none;
}

.header-lobby-not-login-login-btn {
  background: transparent;
  color: var(--text-foreground-secondary);
  border: 1px solid var(--gray);
}

.header-lobby-not-login-login-btn:hover {
  color: var(--text-foreground-secondary-hover);
  border-color: var(--red);
}

.header-lobby-not-login-sign-up-btn {
  margin-left: 8px;
  background-color: var(--primary-main-red);
  color: var(--white);
  border-radius: 0.5rem 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-lobby-not-login-sign-up-btn:hover,.al-search-btn:hover,.claim-my-gift .btn:hover ,.article-section .see-more:hover,.article-card-author .read-more:hover,
.article-card-cat .read-more:hover,
.article-card-alt .read-more:hover   {
  background: #ff969d;
  color: #fafafa;
}

/* ===== Sidebar Expanded ===== */
.sidebar--open {
  width: 240px;
  transition: width 0.3s ease;
}

.sidebar--open .header-lobby-not-login-btn {
  position: absolute;
  right: -1rem;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  background-color: var(--light-blue);
}

.sidebar--open .header-lobby-not-login-btn img {
  transform: rotate(180deg);
  width: 1.4rem;
  position: absolute;
  inset: 0;
  margin: auto;
}
.hamburger-container {
  position: relative;
  font-size: 1.5rem;
  color: black;
  cursor: pointer;
  transition: color 0.3s;
}
.hamburger-container:hover {
  color: var(--primary-main-red);
}
.hamburger {
  height: 45px;
  width: 45px;
  background-color: currentColor;
  --folder: /2025/11/;
  mask-image: var(--img-icon-menu);
}
.hamburger.closed {
  mask-image: var(--img-icon-menu-close);
}

.container {
  width: min(95%, 87.9375rem);
  margin: 0 auto;
}
.static-side-bar {
  background-color: var(--secondary-main-blue);
  border-radius: 0.625rem 0 0 0.625rem;
  width: min(19.375rem, 100vw);
  height: 100vh; /* $screen-h */
  padding: 0.94rem;
  font-family: var(--font-fjalla-one);
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s ease-in-out, visibility 0.3s;
  overflow-y: auto;
}

.static-side-bar > * {
  flex-shrink: 0;
}

.static-side-bar.open {
  transform: translateX(0);
  visibility: visible;
}

/* Header container */
.static-side-bar .header-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}

/* Close button */
.static-side-bar .close-button {
  cursor: pointer;
  background: none;
  border: none;
}

/* Promo block */
.static-side-bar .promo-block {
  border-radius: 0.625rem;
  background-color: var(--white);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: fit-content;
}

.static-side-bar .promo-block .image-wrapper {
  display: flex;
  align-items: flex-end;
  flex-grow: 1;
  height: 100%;
  position: relative;
  width: 7rem;
  max-width: 7.5rem;
  overflow: hidden;
}

.static-side-bar .promo-block .image-wrapper img {
  left: -0.3125rem;
  object-fit: cover;
  position: absolute;
  width: 100%;
  height: auto;
}

.static-side-bar .promo-block .text-container {
  padding: 0.5625rem 0.625rem 0.5625rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.static-side-bar .promo-block .text-container .title {
  font-family: var(--font-bluescreen-bold);
  font-size: 2rem;
  color: var(--primary-main-red);
  line-height: 100%;
}

.static-side-bar .promo-block .text-container .subtitle {
  font-family: var(--font-fjalla-one);
  font-size: 0.75rem;
  line-height: 100%;
}

.static-side-bar .promo-block .text-container a {
  margin-top: 0.5rem;
  font-family: var(--font-bluescreen-bold);
  font-size: 1.5rem;
  height: 2.5rem;
  width: 100%;
  border-radius: 0.5rem;
  background-color: var(--primary-main-red);
  color: var(--white);
  border: none;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.static-side-bar .promo-block .text-container a:hover {
  opacity: 0.8;
}

/* Links */
.static-side-bar .link-wrapper {
  margin-top: 0.625rem;
  display: flex;
  flex-direction: column;
  gap: 0.9375rem;
}

.static-side-bar .link-wrapper > ul,
.static-side-bar .link-wrapper .sidebar-link-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.static-side-bar .link-wrapper a:before {
  background-repeat:none;
  background-size:contain;
  content: "";
  width:24px;
  height:24px;
}

.static-side-bar .link-wrapper .icon-home a:before {
  background-image:url();
}


.static-side-bar .link-wrapper .link-row {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 0.9375rem;
  text-decoration: none;
  color: var(--secondary-main-blue-hover);
  font-size: 1.125rem;
  transition: color 0.3s ease;
}

.static-side-bar .link-wrapper .link-row img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}

.static-side-bar .link-wrapper .link-row.active {
  color: var(--white);
}

.static-side-bar .link-wrapper .link-row.active img {
  filter: brightness(100);
}

.static-side-bar .link-wrapper .link-row:hover {
  opacity: 0.8;
}

/* Overlay */
.static-side-bar__overlay {
  position: fixed;
  inset: 0;
  background-color: var(--backdrop-dark);
  z-index: 999;
}


.dmca-badge-image {
  max-width: 6.25rem;
}

.left-img-container,
.right-img-container {
  position: absolute;
  bottom: 0;
  transform: translateY(20%);
  display:none;
}

.left-img-container img,
.right-img-container img {
  opacity: 0.5;
}

.left-img-container .us-block,
.right-img-container .us-block {
  object-fit: cover;
  bottom: auto;
  filter: grayscale(100%);
}

.left-img-container {
  left: 0;
}

.right-img-container {
  right: 0;
}


.rag-button.rag-button--link {
  padding: 0;
  font-size: inherit;
  color: #9db3e5;
  border: none;
  background: #0000;
  border-radius: 0;
  font-family: inherit;
  text-transform: inherit;
}



h1,h2,h3 {
  font-family:var(--font-bluescreen-bold);
  color:var(--black);
}
h1 {
  color: var(--primary-main-red);
  font-size: 72px;
  line-height: 60px; /* 150% */
}
h1 span{
  color: var( --secondary-main-blue);
}
h2 {
  font-size: 32px;
  line-height: 49px; /* 98% */
}
h3 {
  font-size: 28px;
  line-height: 42px; /* 175% */
}

.body-large, .body-base, .body-small {
  font-family:var(--font-fjalla-one);
  color:var(--black);  
}
.body-large {
  font-size:18px;
  line-height: 27px; /* 150% */
}
.body-base {
  font-size:16px;
  line-height: 24px; /* 150% */
}
.body-small {
  font-size:14px;
  line-height: 21px; /* 150% */
}
.caption {
  font-family: var(--font-inter-bold);
  font-size:12px;
  line-height: 18px; /* 150% */
}
.overline {
  font-family: var(--font-inter-med);
  font-size:10px;
  line-height: 15px; /* 150% */
}


li,
p {
  margin-bottom: 1.44rem;
}

ol,
ul {
  padding-left: 1.2rem;
}
p,
li {
  color: rgba(55, 44, 53, 0.502);
}
a {
  display: inline;
  font-size: inherit;
  color: #9db3e5;
  border: none;
  background: #0000;
  border-radius: 0;
  text-decoration: underline;
  font-family: inherit;
  cursor: pointer;
}
.al-search-bar {
    margin: 25px auto 40px;
    background: #ffffff;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.al-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    font-family:var(--font-inter);
    line-height: 24px; 
    background: transparent;
}
.al-search-input::placeholder {
    color: #aaa;
}
.al-search-btn {
    border-radius: 8.188px;
    background: var(--primary-main-red);
    color: #fff;
    border: none;
    padding: 8.188px 19.65px;
    cursor: pointer;
    transition: 0.25s ease;
    font-family: var(--font-fjalla-one);
    font-size: 16px;
    line-height: 24px; /* 106.667% */
}

/* Header search icon + dropdown */
.search-button-container {
  position: relative;
  z-index: 20;
}

.search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  line-height: 0;
}

.search-button:focus-visible {
  outline: 2px solid var(--secondary-main-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.search-button img {
  display: block;
}

.header-search-dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  width: min(21.5rem, calc(100vw - 1.5rem));
  padding: 10px;
  background: var(--secondary-main-blue);
  border-radius: 0.625rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 23, 68, 0.35);
}

.header-search-dropdown::before {
  content: "";
  position: absolute;
  bottom: 100%;
  right: 1.125rem;
  border-left: 0.5rem solid transparent;
  border-right: 0.5rem solid transparent;
  border-bottom: 0.5rem solid var(--secondary-main-blue);
}

.header-search-dropdown .al-search-bar,
.header-search-dropdown__form.al-search-bar {
  margin: 0;
  width: 100%;
  padding: 0.375rem 0.5rem 0.375rem 0.75rem;
  border-radius: 0.5rem;
  box-shadow: none;
  gap: 0.5rem;
}

.header-search-dropdown .al-search-input {
  min-width: 0;
}

.header-search-dropdown .al-search-btn {
  flex-shrink: 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link.screen-reader-text:focus {
  position: fixed;
  left: 0.5rem;
  top: 0.5rem;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  border-radius: 0.25rem;
  font-size: 1rem;
  line-height: 1.4;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.social-share {
  display:flex;
  flex-wrap: nowrap;
  gap:var(--social-share-gap);
  align-items: center;
}
.social-share > * {
  width:25px;
  height:25px;
  cursor: pointer;
  background-color:red;

  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: cover;

  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  text-indent: -9999px;
  overflow: hidden;
  display: inline-block;  
  border:0;
}

.social-share .icon-facebook {
  mask-image:var(--img-facebook);
  -webkit-mask-image: var(--img-facebook);  
}

.social-share .icon-x {
  mask-image:var(--img-x);
  -webkit-mask-image: var(--img-x);  
}

.social-share .icon-instagram {
  mask-image:var(--img-instagram);
  -webkit-mask-image: var(--img-instagram);  
}

.social-share .icon-tiktok {
  mask-image:var(--img-tiktok);
  -webkit-mask-image: var(--img-tiktok);  
}

.avatar {
    aspect-ratio: 500/500;
    border:1px solid var(--secondary-main-blue);
    border-radius:50%;
    margin:0;
    margin-right:14px;
}

/* Tighten space between Yoast breadcrumbs and post title (task 87041). */
p#breadcrumbs {
  margin-bottom: 0;
}

.search .al-search-bar {
  margin-left:0;
  margin-right:0;
  width:100%;
}

@media (min-width:993px) {
  .menu-search-box {
    display:none;
  }  
}
@media (min-width:1024px) {


  .al-search-bar {
      margin: 50px auto 40px;
  }
}

@media (min-width:1400px) {
  .left-img-container,
  .right-img-container { 
    display:block;
  }
}