/* ---------------------------------------------------------------- social login buttons */
.ir-social-login{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.ir-social{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border-radius:4px;font:600 14px/1 Arial,sans-serif;text-decoration:none!important;box-sizing:border-box}
.ir-social-google{background:#fff;color:#3c4043!important;border:1px solid #dadce0}
.ir-social-google:hover{background:#f8f9fa}
.ir-social-facebook{background:#1877f2;color:#fff!important;border:1px solid #1877f2}
.ir-social-facebook:hover{background:#166fe5}
.ir-social-error{background:#fdecea;color:#8a1c1c;border:1px solid #f5c2c0;padding:8px 10px;border-radius:4px;margin:8px 0}
.ir-social-box{margin:10px 0}
@media (max-width:767px){.ir-social{flex:1 1 100%;justify-content:center}}

/* header: small icons next to "Acces" */
#header1 #menu .ir-hsocial-wrap { float: left; display: flex; align-items: center; gap: 6px; height: 40px; margin-right: 4px; }
#header1 #menu a.ir-hsocial { float: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0;
    line-height: 1; border-radius: 50%; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s; }
#header1 #menu a.ir-hsocial:hover { transform: scale(1.08); background: none; }
#header1 #menu a.ir-hsocial-google { background: #fff; }
#header1 #menu a.ir-hsocial-facebook { background: #1877f2; }
#header1 #menu a.ir-hsocial-facebook:hover { background: #166fe5; }
#header1 #menu a.ir-hsocial svg { width: 16px; height: 16px; display: block; }
/* inside the login popup */
.ir-social-login.ir-compact { margin: 12px 0 0; }

/* ---------------------------------------------------------------- AdSense placements + consent bar */
.ir-ad { margin: 8px auto; max-width: 100%; text-align: center; overflow: hidden; }
.ir-ad-placeholder { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%;
    border: 1px dashed #9db4d6; background: repeating-linear-gradient(45deg, #f4f7fb, #f4f7fb 8px, #eef3f9 8px, #eef3f9 16px);
    color: #6a7f9c; font: 11px/1.2 Arial, sans-serif; letter-spacing: .3px; }
.topper-728 .ir-ad { margin: 0 auto; }
.ir-consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 100000; max-width: 720px; margin: 0 auto; background: #fff;
    border: 1px solid #cfd8e3; border-radius: 8px; box-shadow: 0 6px 24px rgba(0,0,0,.18); padding: 12px 14px; font: 13px/1.4 Arial, sans-serif;
    display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ir-consent[hidden] { display: none; }
.ir-consent p { margin: 0; flex: 1 1 260px; color: #333; }
.ir-consent button { margin: 2px 0; }

/* share links (replace Facebook/Twitter/Google+ widgets) */
.ir-share { display: inline-flex; flex-wrap: wrap; gap: 6px; vertical-align: middle; }
.ir-share a { display: inline-block; padding: 4px 10px; border-radius: 3px; font: bold 11px/1.4 Arial, sans-serif; color: #fff !important; text-decoration: none !important; }
.ir-share a:hover { opacity: .88; }
.ir-share-facebook { background: #1877f2; } .ir-share-whatsapp { background: #25d366; } .ir-share-x { background: #111; }
.ir-fb-page { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 14px 58px; position: relative; border: 1px solid #dbe3f0; border-radius: 6px;
    background: #f5f8ff; color: #1c2b41 !important; text-decoration: none !important; font: 13px/1.3 Arial, sans-serif; }
.ir-fb-page::before { content: "f"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%;
    background: #1877f2; color: #fff; font: bold 22px/34px Arial, sans-serif; text-align: center; }
.ir-fb-page span { color: #1877f2; }

/* responsive video embeds */
.ir-video { position: relative; width: 100%; max-width: 640px; aspect-ratio: 16 / 9; margin: 10px 0; background: #000; }
.ir-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* restaurant / sub pages: vote box + share buttons in one flexible container (no fixed widths, wraps when narrow) */
#restaurantVote.scoreCardAndBadges { display: flex; flex-wrap: wrap; align-items: stretch; gap: 6px; height: auto; min-height: 103px; box-sizing: border-box; padding: 0 6px 6px 0; max-width: 100%; }
#restaurantVote .voteModule { float: none; flex: 1 1 170px; min-width: 0; }
#restaurantVote .sharetop, #details-place .sharetop { float: none; width: auto; padding-top: 6px; flex: 0 1 auto; min-width: 0; }
.sharetop .facebook { width: auto !important; max-width: 100%; float: none; }
#restaurantVote .sharetop .ir-share { display: flex; flex-direction: column; gap: 4px; }
#restaurantVote .sharetop .ir-share a { display: block; text-align: center; padding: 4px 10px; white-space: nowrap; }
#details-place.subpage .sharetop .ir-share { flex-direction: row; flex-wrap: wrap; }
@media (max-width: 767px) {
  #restaurantVote.scoreCardAndBadges { width: auto !important; float: none !important; margin-left: 0 !important; }
  #restaurantVote .sharetop { flex: 1 1 100%; padding: 0 0 0 6px; }
  #restaurantVote .sharetop .ir-share { flex-direction: row; flex-wrap: wrap; }
  #restaurantVote .sharetop .ir-share a { flex: 1 1 auto; min-height: 36px; line-height: 28px; }
}

/* restaurant sub-pages: Facebook / WhatsApp / X sit on the same line as the blue tab buttons (#actions) */
#details-place #actions li > .ir-share { display: contents; }
#details-place #actions a.ir-share-facebook { background: #1877f2; }
#details-place #actions a.ir-share-whatsapp { background: #25d366; }
#details-place #actions a.ir-share-x { background: #111; }
#details-place #actions a.ir-share-facebook:hover, #details-place #actions a.ir-share-whatsapp:hover, #details-place #actions a.ir-share-x:hover { background: #000; }
#details-place #actions li::after { content: ""; display: table; clear: both; }
#details-place #actions li > span + .ir-share a:first-child { margin-left: 6px; }

/* job offer detail: label | value grid (the floated columns let the "Descrierea Job-ului" heading overlap the rows) */
#main .ir-job-details { font-size: 13px; line-height: 1.45; }
#main .ir-job-details .job_item { display: grid; grid-template-columns: 190px minmax(0, 1fr); column-gap: 18px; row-gap: 9px; align-items: baseline; padding: 10px 14px; }
#main .ir-job-details .job_item .clearspacer { display: none; }
#main .ir-job-details .job_item_left, #main .ir-job-details .job_item_right { float: none; width: auto; margin: 0; padding: 0; line-height: 1.45; }
#main .ir-job-details .job_item_left { color: #333; }
#main .ir-job-details .job_item_right { overflow-wrap: anywhere; }
#main .ir-job-details .job_item_right p { margin: 0 0 6px; padding: 0; }
#main .ir-job-details .job_item_right p:last-child { margin-bottom: 0; }
#main .ir-job-details .job_item_title { grid-column: 1 / -1; margin: 6px 0 2px; padding: 0 0 4px; line-height: 1.3; font-size: 15px; }
#main .ir-job-details .job_item + .job_item { border-top: 0; padding-top: 0; }
#main .action-list { height: auto; width: auto; margin: 0 0 8px; }
#main .action-list ul { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 8px 0 0 5px; }
#main .action-list li { display: block; margin: 0; }
.related_articles ul li::after { content: ""; display: table; clear: both; }
.related_articles li img { min-height: 40px; }

@media (max-width: 767px) {
    #details-place #actions li > span + .ir-share a:first-child { margin-left: 0; }
    #main .ir-job-details .job_item { grid-template-columns: minmax(0, 1fr); row-gap: 2px; padding: 10px 12px; }
    #main .ir-job-details .job_item_left { font-size: 13px !important; color: #4b5d6b; margin-top: 8px; }
    #main .ir-job-details .job_item_right { font-size: 15px !important; }
    #main .ir-job-details .job_item_title { margin-top: 10px; }
    #main .action-list ul { font-size: 14px; padding-left: 0; }
    .related_articles li img { width: 72px !important; }
}
