/* Build 30.1 — Photo Albums Widget */
.photo-albums-widget{
  direction:rtl;
  margin:0 0 22px;
  padding:0;
  background:#fff;
}
.photo-albums-widget__header{
  margin:0 0 18px;
  border-bottom:4px solid #666;
}
.photo-albums-widget__header h2{
  display:inline-block;
  min-width:210px;
  margin:0;
  padding:7px 16px 6px;
  background:#666;
  color:#fff;
  font-size:20px;
  line-height:1.3;
  font-weight:700;
  text-align:right;
}
.photo-albums-widget__list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px 22px;
}
.photo-albums-widget__item{
  min-width:0;
  text-align:center;
}
.photo-albums-widget__link{
  display:block;
  color:inherit;
  text-decoration:none;
}
.photo-albums-widget__stack{
  position:relative;
  display:block;
  width:88%;
  margin:14px auto 24px;
  aspect-ratio:16/10;
}
.photo-albums-widget__back{
  position:absolute;
  inset:0;
  border:6px solid #fff;
  background:#e9e9e9;
  box-shadow:0 4px 13px rgba(0,0,0,.2);
  transition:transform .24s ease;
}
.photo-albums-widget__back--one{
  transform:rotate(5deg) translate(6px,-4px);
}
.photo-albums-widget__back--two{
  transform:rotate(-5deg) translate(-6px,5px);
}
.photo-albums-widget__image,
.photo-albums-widget__placeholder{
  position:relative;
  z-index:2;
  display:flex;
  width:100%;
  height:100%;
  align-items:center;
  justify-content:center;
  border:7px solid #fff;
  background:#eee;
  box-shadow:0 5px 16px rgba(0,0,0,.23);
  object-fit:cover;
  font-size:48px;
}
.photo-albums-widget__count{
  position:absolute;
  z-index:4;
  right:12px;
  bottom:12px;
  padding:5px 9px;
  border-radius:13px;
  background:rgba(215,25,32,.94);
  color:#fff;
  font-size:11px;
  font-weight:700;
}
.photo-albums-widget__item h3{
  height:62px;
  margin:0;
  overflow:hidden;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  color:#c51623;
  font-size:19px;
  line-height:1.65;
  font-weight:700;
  transition:color .2s ease;
}
.photo-albums-widget__item:hover .photo-albums-widget__back--one{
  transform:rotate(7deg) translate(9px,-7px);
}
.photo-albums-widget__item:hover .photo-albums-widget__back--two{
  transform:rotate(-7deg) translate(-9px,8px);
}
.photo-albums-widget__item:hover h3{
  color:#9f0f19;
}
.photo-albums-widget__footer{
  margin-top:18px;
  text-align:center;
}
.photo-albums-widget__footer a{
  display:inline-flex;
  min-height:38px;
  padding:0 20px;
  align-items:center;
  justify-content:center;
  border-radius:4px;
  background:#d71920;
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
}
.photo-albums-widget__footer a:hover{
  background:#b80f16;
  color:#fff;
}
@media(max-width:760px){
  .photo-albums-widget__list{
    grid-template-columns:1fr;
    gap:24px;
  }
  .photo-albums-widget__stack{
    width:min(88%,420px);
  }
}


/* Build 30.2 — Visible album action */
.photo-albums-widget__view{
  display:inline-flex;
  min-width:125px;
  min-height:36px;
  margin-top:10px;
  padding:0 16px;
  align-items:center;
  justify-content:center;
  border:1px solid #d71920;
  border-radius:4px;
  background:#fff;
  color:#d71920;
  font-size:12px;
  font-weight:700;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.photo-albums-widget__item:hover .photo-albums-widget__view{
  background:#d71920;
  color:#fff;
  transform:translateY(-2px);
}


/* Build 30.3 — Final simplified album widget */
.photo-albums-widget__item{
  position:relative;
  padding-bottom:12px;
  border-bottom:3px solid transparent;
  transition:transform .22s ease,border-color .22s ease;
}
.photo-albums-widget__link{
  position:relative;
}
.photo-albums-widget__stack{
  width:94%;
  margin-top:12px;
  margin-bottom:20px;
}
.photo-albums-widget__image,
.photo-albums-widget__placeholder{
  transition:transform .28s ease;
}
.photo-albums-widget__item:hover{
  transform:translateY(-3px);
  border-bottom-color:#d71920;
}
.photo-albums-widget__item:hover .photo-albums-widget__image{
  transform:scale(1.035);
}
.photo-albums-widget__view{
  display:none !important;
}


/* Build 30.4 — Match Opinion Writers centered red title */
.photo-albums-widget__header{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  margin:0 0 18px;
  border:0;
}
.photo-albums-widget__header::before{
  content:"";
  position:absolute;
  right:0;
  left:0;
  top:25px;
  height:2px;
  background:#d81f27;
}
.photo-albums-widget__header::after{
  content:"";
  position:absolute;
  top:25px;
  right:0;
  width:6px;
  height:6px;
  margin-top:-2px;
  border-radius:50%;
  background:#d81f27;
  box-shadow:calc(-100% + 6px) 0 0 #d81f27;
}
.photo-albums-widget__header h2{
  position:relative;
  z-index:1;
  display:block;
  min-width:0;
  margin:0;
  padding:7px 20px 8px;
  border-radius:0 0 11px 11px;
  background:#d81f27;
  color:#fff;
  box-shadow:0 2px 0 rgba(0,0,0,.08);
  font-family:"TheSans",Arial,sans-serif;
  font-size:18px;
  font-weight:700;
  line-height:1.15;
  text-align:center;
}


/* Build 30.5 — Framed photo albums widget */
.photo-albums-widget{
  position:relative;
  margin:0 0 22px;
  padding:18px 14px 20px;
  border:1px solid #e4e4e4;
  border-radius:7px;
  background:#fff;
  box-shadow:0 5px 16px rgba(0,0,0,.045);
}
.photo-albums-widget__header{
  margin-top:-18px;
}
.photo-albums-widget__list{
  padding-top:4px;
}
@media(max-width:760px){
  .photo-albums-widget{
    padding:16px 10px 18px;
  }
  .photo-albums-widget__header{
    margin-top:-16px;
  }
}
